Server Connection- (SAS) for VMware® ESX

Transcription

Server Connection- (SAS) for VMware® ESX
P3AM-3462-14ENZ0
FUJITSU Storage
ETERNUS DX
Configuration Guide -Server Connection-
(SAS) for VMware® ESX
This page is intentionally left blank.
Preface
This manual briefly explains the operations that need to be performed by the user in order to connect an
ETERNUS DX to a server running VMware® ESX via a SAS interface.
This manual should be used in conjunction with any other applicable user manuals, such as those for the
ETERNUS DX, server, OS, SAS cards, and drivers.
Refer to "FUJITSU Storage ETERNUS DX Configuration Guide -Server Connection- Notations" for the notations
used in this manual such as product trademarks and product names.
This manual references the following documents:
• Server Support Matrix
• FUJITSU Storage ETERNUS DX Configuration Guide -Server Connection- (SAS) ETERNUS DX60 S3/DX100 S3/
DX200 S3 Disk Storage System Settings
• FUJITSU Storage ETERNUS DX Configuration Guide -Server Connection- (SAS) ETERNUS DX80 S2/DX90 S2
Disk Storage System Settings
• FUJITSU Storage ETERNUS DX Configuration Guide -Server Connection- (SAS) ETERNUS DX60/DX60 S2, DX80
Disk Storage System Settings
• ETERNUS Web GUI User's Guide
• Manuals supplied with the SAS card and software
This manual is designed for use with the following ETERNUS DX storage systems:
• ETERNUS DX60 S3/DX100 S3/DX200 S3 Disk storage system
• ETERNUS DX60 S2/DX80 S2/DX90 S2 Disk storage system
• ETERNUS DX60/DX80 Disk storage system
14th Edition
March 2015
3
FUJITSU Storage ETERNUS DX Configuration Guide -Server Connection- (SAS) for VMware® ESX
Copyright 2015 FUJITSU LIMITED
P3AM-3462-14ENZ0
Preface
The Contents and Structure of this Manual
This manual is composed of the following eight chapters.
• "Chapter 1 Workflow" (page 6)
This chapter describes how to connect the ETERNUS DX storage systems to a server running VMware ESX.
• "Chapter 2 Checking the Server Environment" (page 8)
This chapter describes which servers can be connected to ETERNUS DX storage systems.
• "Chapter 3 Notes" (page 9)
This chapter describes issues that should be noted when connecting the ETERNUS DX storage systems and
server.
• "Chapter 4 Setting Up the ETERNUS DX" (page 11)
This chapter describes how to set up the ETERNUS DX storage systems using the ETERNUS Web GUI.
• "Chapter 5 Setting Up the SAS Switches" (page 12)
This chapter describes how to set up the SAS switches.
• "Chapter 6 Setting Up the VMware ESX Server" (page 14)
This chapter describes how to make the server recognize the LUNs of the ETERNUS DX.
• "Chapter 7 Virtual Machine" (page 21)
This chapter describes how to operate the Virtual Machine.
• "Chapter 8 Dynamic Recognition of LUNs Added While VMware ESX is in Use" (page 23)
This chapter describes dynamic recognition of LUNs added while VMware ESX is in use.
4
FUJITSU Storage ETERNUS DX Configuration Guide -Server Connection- (SAS) for VMware® ESX
Copyright 2015 FUJITSU LIMITED
P3AM-3462-14ENZ0
Table of Contents
Chapter 1 Workflow
6
Chapter 2 Checking the Server Environment
8
2.1 Hardware ....................................................................................................................................... 8
2.2 SAS Cards........................................................................................................................................ 8
2.3 Connection Compatibility of ETERNUS DX Storage Systems to VMware ESX .................................... 8
2.4 Virtual Machine .............................................................................................................................. 8
Chapter 3 Notes
9
3.1 VMware ESX Operating Notes ......................................................................................................... 9
3.2 ETERNUS DX Setup Notes................................................................................................................ 9
3.3 SAN Boot Notes .............................................................................................................................. 9
3.4 Server Startup and Power Supply Control Notes............................................................................ 10
Chapter 4 Setting Up the ETERNUS DX
11
Chapter 5 Setting Up the SAS Switches
12
Chapter 6 Setting Up the VMware ESX Server
14
6.1 Turning On the Devices ................................................................................................................ 14
6.2 Enabling ALUA ............................................................................................................................. 15
6.3 Checking the LUNs ....................................................................................................................... 17
6.3.1 For VMware vSphere 6.0 .....................................................................................................................................17
6.3.2 When a Platform other than VMware vSphere 6.0 Is Used ..................................................................................19
Chapter 7 Virtual Machine
21
7.1 For Windows® ............................................................................................................................... 21
7.1.1 Checking the Registry Information......................................................................................................................21
7.2 For Linux ...................................................................................................................................... 22
7.2.1 Applying Required Patches .................................................................................................................................22
Chapter 8 Dynamic Recognition of LUNs Added While VMware ESX is in Use
23
5
FUJITSU Storage ETERNUS DX Configuration Guide -Server Connection- (SAS) for VMware® ESX
Copyright 2015 FUJITSU LIMITED
P3AM-3462-14ENZ0
Chapter 1
Workflow
This chapter describes how to connect the ETERNUS DX storage systems to a server running VMware ESX. This
manual explains how to perform various operations not referenced in other documents.
Required Documents
• Server Support Matrix
• FUJITSU Storage ETERNUS DX Configuration Guide -Server Connection- (SAS) ETERNUS DX60 S3/DX100 S3/
DX200 S3 Disk Storage System Settings
• FUJITSU Storage ETERNUS DX Configuration Guide -Server Connection- (SAS) ETERNUS DX80 S2/DX90 S2
Disk Storage System Settings
• FUJITSU Storage ETERNUS DX Configuration Guide -Server Connection- (SAS) ETERNUS DX60/DX60 S2, DX80
Disk Storage System Settings
• ETERNUS Web GUI User's Guide
• Manuals supplied with the SAS card and software
Workflow
Setting Up the ETERNUS DX
Set up the ETERNUS DX using ETERNUS Web GUI.
• "Chapter 4 Setting Up the ETERNUS DX" (page 11)
• Checking the setup and maintenance operations
- "ETERNUS Web GUI User's Guide"
• Setting up the ETERNUS DX
- "FUJITSU Storage ETERNUS DX Configuration Guide -Server Connection- (SAS) ETERNUS DX60 S3/
DX100 S3/DX200 S3 Disk Storage System Settings"
- "FUJITSU Storage ETERNUS DX Configuration Guide -Server Connection- (SAS) ETERNUS DX80 S2/
DX90 S2 Disk Storage System Settings"
- "FUJITSU Storage ETERNUS DX Configuration Guide -Server Connection- (SAS) ETERNUS DX60/DX60
S2, DX80 Disk Storage System Settings"
6
FUJITSU Storage ETERNUS DX Configuration Guide -Server Connection- (SAS) for VMware® ESX
Copyright 2015 FUJITSU LIMITED
P3AM-3462-14ENZ0
Chapter 1
Workflow
Setting Up the SAS Switches
Set up the SAS switch.
• "Chapter 5 Setting Up the SAS Switches" (page 12)
Setting Up the VMware ESX Server
Install the SAS card in the server, then set up the VMware ESX server to recognize LUNs.
• "Chapter 6 Setting Up the VMware ESX Server" (page 14)
Starting the Virtual Machine
Notes on Virtual Machine operation and related settings are given in this manual and other documents.
• "Chapter 7 Virtual Machine" (page 21)
7
FUJITSU Storage ETERNUS DX Configuration Guide -Server Connection- (SAS) for VMware® ESX
Copyright 2015 FUJITSU LIMITED
P3AM-3462-14ENZ0
Chapter 2
Checking the Server Environment
Connection to servers is possible in the following environments.
Check the "Server Support Matrix" for server environment conditions.
2.1
Hardware
Access the following documents or use the "Server Support Matrix" to determine which models are compatible with which servers.
• Search the VMware Compatibility Guide
http://www.vmware.com/resources/compatibility/search.php
2.2
SAS Cards
Refer to the "Server Support Matrix".
2.3
Connection Compatibility of ETERNUS DX Storage Systems to
VMware ESX
Access the following web-site to check which ETERNUS DX models may be connected to VMware ESX:
• Search the VMware Compatibility Guide
http://www.vmware.com/resources/compatibility/search.php
2.4
Virtual Machine
Virtual Machine is a virtual machine created on the VMware ESX server.
Details of how to install an OS on the VMware ESX Virtual Machine may be checked via the following URL:
http://partnerweb.vmware.com/GOSIG/home.html
8
FUJITSU Storage ETERNUS DX Configuration Guide -Server Connection- (SAS) for VMware® ESX
Copyright 2015 FUJITSU LIMITED
P3AM-3462-14ENZ0
Chapter 3
Notes
Note the following issues when connecting the ETERNUS DX to a server.
3.1
VMware ESX Operating Notes
• Refer to the following web-site for the number of LUNs that VMware ESX can recognize.
http://www.vmware.com/support/pubs/
• When Windows® is used on the Virtual Machine, the registry will need to be modified after Windows® is
installed. For details, refer to "Chapter 7 Virtual Machine" (page 21).
• The VMware ESX multipath function supports path failover, meaning that server access can continue unaffected by any problems that might arise in the SAS cables. It should be noted that path failover can fail to
occur when multiple SCSI sense codes are repeatedly and simultaneously received.
• ETERNUS Multipath Driver and GR Multipath Driver do not need to be installed on a VMware ESX Virtual
Machine. The multipath function of VMware ESX provides path redundancy.
3.2
ETERNUS DX Setup Notes
• When connecting a VMware ESX server to the ETERNUS DX, check that the firmware version is as specified
in the "Server Support Matrix".
• Host Response must be set before connecting the ETERNUS DX to VMware ESX.
• Assign Affinity Group values starting from LUN0 in ascending order. The server cannot recognize the ETERNUS DX LUNs if some other assignment order is used.
• When LUNs are shared among multiple physical servers (in a vMotion configuration, for example), an Affinity Group mapping should be used to ensure that each shared LUN is assigned the same LUN number
across every physical server.
• When connecting to VMware ESX with multiple paths sharing a single LUN, a Reset Group setting is required for the ETERNUS DX device.
• Details of dynamic recognition of LUNs added while VMware ESX is running are given in the "Chapter
8 Dynamic Recognition of LUNs Added While VMware ESX is in Use" (page 23).
3.3
SAN Boot Notes
• All ETERNUS DX storage systems support SAN Boot.
• VMware ESX calls SAN Boot to "Boot From a SAN". "Boot From a SAN" means to boot the VMware ESX server
from a Storage Area Network (SAN).
9
FUJITSU Storage ETERNUS DX Configuration Guide -Server Connection- (SAS) for VMware® ESX
Copyright 2015 FUJITSU LIMITED
P3AM-3462-14ENZ0
Chapter 3 Notes
3.4 Server Startup and Power Supply Control Notes
3.4
Server Startup and Power Supply Control Notes
Before turning the server on, check that the ETERNUS DX storage systems are all "Ready". If the server is
turned on and they are not "Ready", the server will not be able to recognize the ETERNUS DX storage systems.
Also, when the ETERNUS DX power supply is being controlled by a connected server, make sure that the
ETERNUS DX does not shut down before the connected servers. If turned off, data writes from the running
server cannot be saved to the ETERNUS DX storage systems, and already saved data may also be affected.
10
FUJITSU Storage ETERNUS DX Configuration Guide -Server Connection- (SAS) for VMware® ESX
Copyright 2015 FUJITSU LIMITED
P3AM-3462-14ENZ0
Chapter 4
Setting Up the ETERNUS DX
Set up the ETERNUS DX storage systems using ETERNUS Web GUI.
ETERNUS DX setup can be performed independently of server setup. For details on how to perform these settings, refer to the following manuals.
• "FUJITSU Storage ETERNUS DX Configuration Guide -Server Connection- (SAS) ETERNUS DX60 S3/DX100 S3/
DX200 S3 Disk Storage System Settings"
• "FUJITSU Storage ETERNUS DX Configuration Guide -Server Connection- (SAS) ETERNUS DX80 S2/DX90 S2
Disk Storage System Settings"
• "FUJITSU Storage ETERNUS DX Configuration Guide -Server Connection- (SAS) ETERNUS DX60/DX60 S2, DX80
Disk Storage System Settings"
• "ETERNUS Web GUI User's Guide"
11
FUJITSU Storage ETERNUS DX Configuration Guide -Server Connection- (SAS) for VMware® ESX
Copyright 2015 FUJITSU LIMITED
P3AM-3462-14ENZ0
Chapter 5
Setting Up the SAS Switches
The following describes the required settings when connecting the server and the ETERNUS DX storage systems using a SAS switch. For details, refer to the SAS switch manual.
The following examples show configurations in which a server is connected to a SAS switch with zoning.
The following example shows a configuration in which multiple servers are connected to multiple CAs.
Name : Server#1
Slot 0
ZONE1
Name : Server#2
Slot 1
Slot 0
ZONE2
Slot 1
ZONE3
ZONE4
Port0
Port2
Port4
Port6
Port0
SAS switch
Port1
Port3
Port5
CA00
Port4
Port2
Port6
SAS switch
Port7
Port1
CA01
CA10
Port3
Port5
Port7
CA11
CM1
CM0
ETERNUS DX
Name : RAID#1
12
FUJITSU Storage ETERNUS DX Configuration Guide -Server Connection- (SAS) for VMware® ESX
Copyright 2015 FUJITSU LIMITED
P3AM-3462-14ENZ0
Chapter 5
Setting Up the SAS Switches
The following example shows a configuration in which a single server is connected to multiple CAs.
Server
Slot 0
ZONE1
Slot 1
ZONE3
ZONE4
ZONE2
Port0
Port2
Port4
Port6
Port0
Port2
SAS switch
Port1
Port3
Port4
Port6
SAS switch
Port5
Port7
Port1
Port3
P0
P1
P0
P1
Port5
Port7
CM1
CM0
ETERNUS DX
13
FUJITSU Storage ETERNUS DX Configuration Guide -Server Connection- (SAS) for VMware® ESX
Copyright 2015 FUJITSU LIMITED
P3AM-3462-14ENZ0
Chapter 6
Setting Up the VMware ESX Server
This chapter describes settings related to the server SAS interface.
Set up the VMware ESX server using the vSphere Web Client or the vSphere Client. The procedures described
here are based on the following configuration.
VMware ESX server
SAS card
SAS card
SAS port
SAS port
ETERNUS DX
6.1
Turning On the Devices
To turn on the connected devices, use the following procedure:
1
Turn on the ETERNUS DX.
2
Check that the Ready LED is lit on the ETERNUS DX.
3
Turn on the server.
14
FUJITSU Storage ETERNUS DX Configuration Guide -Server Connection- (SAS) for VMware® ESX
Copyright 2015 FUJITSU LIMITED
P3AM-3462-14ENZ0
Chapter 6 Setting Up the VMware ESX Server
6.2 Enabling ALUA
6.2
Enabling ALUA
This procedure is only required when using VMware ESX 4.0.
Do not perform this procedure when using VMware ESX 4.0 Update 1 or later.
When using VMware ESX 4.0 Update 1 or later, proceed to "6.3 Checking the LUNs" (page 17).
After the VMware ESX server has been installed, Asymmetric Logical Unit Access (ALUA) should be enabled
according to the following procedure.
1
Use the terminal to log in to VMware ESX as "root".
2
Execute the following command in the terminal:
esxcli nmp satp addrule --satp="VMW_SATP_ALUA" --vendor="FUJITSU" --model="ETER
NUS_DXL" --description="ETERNUS DX with ALUA" --claim-option tpgs_on
3
Execute the following command in the terminal:
esxcli corestorage claiming unclaim --type location
Ignore the following error message if it appears when the preceding command is executed:
Errors:
Unable to perform unclaim. Error message was : Unable to unclaim paths. Busy
or in use devices detected.
See VMkernel logs for more information.
4
Execute the following command to enable the added SATP claim rule for the ETERNUS DX.
esxcli corestorage claimrule run
5
Execute the following command to check that the SATP claim rule for the ETERNUS DX has been added.
Command
esxcli nmp satp listrules --satp VMW_SATP_ALUA
15
FUJITSU Storage ETERNUS DX Configuration Guide -Server Connection- (SAS) for VMware® ESX
Copyright 2015 FUJITSU LIMITED
P3AM-3462-14ENZ0
Chapter 6 Setting Up the VMware ESX Server
6.2 Enabling ALUA
Display result
VMW_SATP_ALUA FUJITSU ETERNUS_DXL tpgs_on ETERNUS_DXL ALUA enabled
6
Log out of the terminal, and restart the VMware ESX server.
Refer to the following for details of the above commands:
• Reference URL:
http://www.vmware.com/support/pubs/
• Reference documents:
"vSphere Command-Line Interface Concepts and Examples"
16
FUJITSU Storage ETERNUS DX Configuration Guide -Server Connection- (SAS) for VMware® ESX
Copyright 2015 FUJITSU LIMITED
P3AM-3462-14ENZ0
Chapter 6 Setting Up the VMware ESX Server
6.3 Checking the LUNs
6.3
Checking the LUNs
The following procedure describes how to check LUN recognitions using the vSphere Web Client or the
vSphere Client.
6.3.1
For VMware vSphere 6.0
The following procedure describes how to check LUN recognition using the vSphere Web Client.
Check the LUNs from the vSphere Web Client.
The procedure is as follows:
1
Log in to the vSphere Web Client and select in order, [Hosts and Clusters] > target host.
2
Select in order, the [Manage] tab > [Storage] > [Storage Adapters].
3
Select [Rescan...].
After selecting [Rescan...], the VMware ESX should attempt to recognize the ETERNUS DX storage systems' LUNs again.
4
Select the virtual HBA (vmhba3 in this example) for the SAS card from the [Storage Adapters] area.
The recognized devices will be shown in the [Adapter Details] area, as follows.
17
FUJITSU Storage ETERNUS DX Configuration Guide -Server Connection- (SAS) for VMware® ESX
Copyright 2015 FUJITSU LIMITED
P3AM-3462-14ENZ0
Chapter 6 Setting Up the VMware ESX Server
6.3 Checking the LUNs
5
Connect to the VMware ESX server via the vSphere Web Client and check [Path Selection Policy] for all
the LUNs in the ETERNUS DX.
When the VMware ESX server recognizes the LUNs, the active path for each LUN is automatically set.
Even though [Path Selection Policy] is set to [Most Recently Used (VMware)], changing the [Path Selection Policy] for all the LUNs to [Round Robin (VMware)] is recommended.
18
FUJITSU Storage ETERNUS DX Configuration Guide -Server Connection- (SAS) for VMware® ESX
Copyright 2015 FUJITSU LIMITED
P3AM-3462-14ENZ0
Chapter 6 Setting Up the VMware ESX Server
6.3 Checking the LUNs
6.3.2
When a Platform other than VMware vSphere 6.0 Is Used
The following procedure describes how to check LUN recognition using the vSphere Client.
Log in to VMware ESX from the vSphere Client, and then check whether the ETERNUS DX LUNs are recognized.
The procedure is as follows:
1
Use the vSphere Client to log in to VMware ESX as "root".
2
Select the [Configuration] tab.
3
Select [Storage Adapters] from the [Hardware] list.
4
Select [Rescan...].
After selecting [Rescan], the VMware ESX should attempt to recognize the ETERNUS DX storage systems' LUNs again.
5
Select the SAS card (vmhba0 in this example) from the [Storage Adapters] area.
The recognized devices will be shown in the [Details] area, as follows.
19
FUJITSU Storage ETERNUS DX Configuration Guide -Server Connection- (SAS) for VMware® ESX
Copyright 2015 FUJITSU LIMITED
P3AM-3462-14ENZ0
Chapter 6 Setting Up the VMware ESX Server
6.3 Checking the LUNs
6
Connect to the VMware ESX server via the vSphere Client and check [Path Selection] for all the LUNs in
the ETERNUS DX.
When the VMware ESX server recognizes the LUNs, the active path for each LUN is automatically set.
Even though [Path Selection] is set to [Most Recently Used (VMware)], changing the [Path Selection]
for all the LUNs to [RoundRobin (VMware)] is recommended.
20
FUJITSU Storage ETERNUS DX Configuration Guide -Server Connection- (SAS) for VMware® ESX
Copyright 2015 FUJITSU LIMITED
P3AM-3462-14ENZ0
Chapter 7
Virtual Machine
This chapter describes the notes on the Virtual Machine and its settings.
To configure the Virtual Machine, access the following web-site and check the "Guest Operation System Installation Guide".
• Guest Operation System Installation Guide
http://partnerweb.vmware.com/GOSIG/home.html
7.1
For Windows®
7.1.1
Checking the Registry Information
Check the value of the "TimeOutValue" registry key. If the "TimeOutValue" registry key does not exist, then
create it.
The registry file should be backed up before creating or changing any registry values.
1
Click the [Start] button, and then click [Run].
2
In the [Run] dialog box, type "regedit", and then click the [OK] button.
Registry Editor starts.
3
Follow the path described below:
\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Disk
4
Check the value of the "TimeOutValue" registry key.
Check that the value of the "TimeOutValue" registry key is "0x3C". If the name or value is not "0x3C",
change it to "0x3C".
21
FUJITSU Storage ETERNUS DX Configuration Guide -Server Connection- (SAS) for VMware® ESX
Copyright 2015 FUJITSU LIMITED
P3AM-3462-14ENZ0
Chapter 7 Virtual Machine
7.2 For Linux
• If the "TimeOutValue" key does not exist, add a registry key with the following values:
• The "Name" field is case-sensitive.
5
Name
TimeOutValue
Type
REG_DWORD
Radix
Hexadecimal
Data
3C
If any registry values were added or modified, reboot the server. The modified settings will be enabled
after the reboot.
7.2
For Linux
7.2.1
Applying Required Patches
This section describes notes for applying Virtual machine update.
For the following OSs, the Virtual Machine file system may be restricted to being read-only:
If this is a problem, refer to "VMware KB Article 51306" on the VMware web-site for details, and patch the
Virtual Machine as required.
• Red Hat Enterprise Linux 5
• Red Hat Enterprise Linux AS v.4 Update 4
• Red Hat Enterprise Linux AS v.4 Update 3
• SUSE Linux Enterprise Server 10
• SUSE Linux Enterprise Server 9 Service Pack 3
22
FUJITSU Storage ETERNUS DX Configuration Guide -Server Connection- (SAS) for VMware® ESX
Copyright 2015 FUJITSU LIMITED
P3AM-3462-14ENZ0
Chapter 8
Dynamic Recognition of LUNs Added While
VMware ESX is in Use
To have the server dynamically recognize LUNs added while VMware ESX is running, add the volumes to an
ETERNUS DX Host Affinity Group, then refer to "6.3 Checking the LUNs" (page 17) and perform a "Rescan"
operation via the vSphere Web Client or the vSphere Client to make the LUNs visible.
23
FUJITSU Storage ETERNUS DX Configuration Guide -Server Connection- (SAS) for VMware® ESX
Copyright 2015 FUJITSU LIMITED
P3AM-3462-14ENZ0
FUJITSU Storage ETERNUS DX Configuration Guide -Server Connection(SAS) for VMware® ESX
P3AM-3462-14ENZ0
Date of issuance: March 2015
Issuance responsibility: FUJITSU LIMITED
• The content of this manual is subject to change without notice.
• This manual was prepared with the utmost attention to detail. However, Fujitsu shall assume no responsibility for any
operational problems as the result of errors, omissions, or the use of information in this manual.
• Fujitsu assumes no liability for damages to third party copyrights or other rights arising from the use of any information
in this manual.
• The content of this manual may not be reproduced or distributed in part or in its entirety without prior permission from
Fujitsu.