VMWare + EMC Storage PDF
VMWare + EMC Storage PDF
P/N 300-002-304
REV A02
EMC Corporation
Corporate Headquarters:
Hopkinton, MA 01748 -9103
1-508 -435 -1000
www.emc.com
EMC believes the information in this publication is accurate as of its publication date. The
information is subject to change without notice.
THE INFORMATION IN THIS PUBLICATION IS PROVIDED "AS IS." EMC CORPORATION
MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WITH RESPECT TO THE
INFORMATION IN THIS PUBLICATION, AND SPECIFICALLY DISCLAIMS IMPLIED
WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
Use, copying, and distribution of any EMC software described in this publication requires an
applicable software license.
Trademark Information
ii
Contents
Preface ............................................................................................................................ ix
Chapter 1
Introduction
Purpose of this Document .............................................................. 1-2
Related Documentation .................................................................. 1-2
VMware ESX Server v2.x Features ................................................ 1-3
VMotion ..................................................................................... 1-3
Raw Device Mappings ............................................................. 1-3
Chapter 2
Chapter 3
iii
Contents
Chapter 4
iv
Figures
2-1
2-2
2-3
2-4
2-5
2-6
2-7
2-8
2-9
2-10
2-11
3-1
3-2
4-1
4-2
4-3
Figures
vi
Tables
2-1
3-1
4-1
vii
Tables
viii
Preface
ix
Preface
Organization
Preface
Conventions Used in
This Guide
CAUTION
A caution contains information essential to avoid damage to the
system or equipment. The caution may apply to hardware or
software.
Typographical Conventions
EMC uses the following type style conventions in this guide:
AVANT GARDE
Keystrokes
Palatino,
bold
Palatino,
italic
Courier,
italic
Courier
Courier,
bold
xi
Preface
For questions about technical support, call your local sales office or
service provider.
If you have a valid EMC service contract, contact EMC Customer
Service at:
United States: (800) 782-4362 (SVC-4EMC)
Canada:
Worldwide:
(508) 497-7901
Follow the voice menu prompts to open a service call and select the
applicable product support.
If you are located outside the North America, call the nearest EMC
office for technical assistance.
For the list of EMC sales locations, please access the EMC home page
at:
http://www.emc.com/contact/
Your Comments
xii
Introduction
Introduction
1-1
Introduction
Related Documentation
For the EMC Support Matrix (ESM) for supported server and HBA
combinations, go to:
http://powerlink.EMC.com/
1-2
Introduction
VMotion
Raw Device
Mappings
1-3
Introduction
1-4
Invisible Bo
Overview .............................................................................................2-2
Driver Configuration in VMware ESX Server v2.x .....................2-23
Rescanning the SCSI Bus.................................................................2-26
Persistent Binding ............................................................................2-30
LUN Spanning..................................................................................2-34
Setting Up and Installing Virtual Machines.................................2-37
Additional Notes..............................................................................2-45
Installation Information for VMware ESX Server v2.x with Symmetrix and CLARiiON Arrays
2-1
Installation Information for VMware ESX Server v2.x with Symmetrix and CLARiiON Arrays
Overview
The fibre channel HBA driver functions as a device driver layer
below the standard VMware SCSI adapter driver. The Fibre Channel
interface is therefore transparent to the VMware disk administration
system.
Note: VMware ESX Server is NOT Linux and, therefore, requires its own
EMC-qualified drivers, not the standard EMC-qualified Linux drivers.
Install VMware ESX Server from the CD. The VMware ESX Server
installation is based on a modified Red Hat v7.2 v2.4.9 kernel.
However, VMware ESX Server is NOT Linux.
VMware recommends partitioning the internal hard drive into four
partitions. For example:
/boot
50 MB
primary
swap
256 MB to 1 GB
primary
2.5 GB
primary
/vmimages
4 GB
Note that a swap partition is required by both the service console and the
VMkernel. The reference to the swap partition in this example is for the
service console. The swap partition and core dump partitions for the
VMkernel can be created using the GUI after the initial installation of the
service console OS.
As stated in the Preface, EMC does not recommend fabric boot of the
VMware ESX Server itself over the fabric, but we do support fabric boot with
VMware ESX Server v2.5. The Virtual Machines are expected to boot over the
fabric using the QLogic or Emulex HBAs.
2-2
Installation Information for VMware ESX Server v2.x with Symmetrix and CLARiiON Arrays
Note that emacs, samba, and NFS are not enabled by default in the
Console OS.
Reboot the system after completing the installation.
For VMware ESX Server v2.1.x installations, when the system
reboots, you will be prompted with two options in the LILO boot
prompt:
linux-up,linux
Assuming the system on which you are installing has multiple CPUs,
the default boot image will be linux. This is expected and
acceptable to use.
For VMware ESX Server v2.5 installations, when the system reboots,
you are prompted with three options in the LILO boot prompt:
esx, linux-up,linux
The default boot image for VMware ESX Server v2.5 is esx.
You can now log in to the VMware server using IE or Netscape with
the host name or IP address. This allows you access to the VMware
host using the Management User Interface (MUI).
After you log into the host, the first dialog is the VMware ESX Server
Status Monitor dialog.
The Status Monitor dialog provides a summary reporting of the
system CPU and processor usage by the Virtual Machines as well as a
visual status report of the Virtual Machines themselves.
Overview
2-3
Installation Information for VMware ESX Server v2.x with Symmetrix and CLARiiON Arrays
2
VMware ESX Server Options
Select the Options tab. The Options dialog provides you with a list
of actions that can be performed to configure or modify the VMware
ESX Server, as shown in Figure 2-1.
Figure 2-1
From the Options tab, select the Startup Profile menu. The Startup
Profile creates the VMware ESX Server boot configuration and allows
you to specify whether the server resources should be allocated to the
Service Console, the Virtual Machines, or shared between the two.
Fibre Channel and SCSI HBAs can be allocated for use with the
Virtual Machines only or can be shared between the Virtual Machines
and Service Console. In the case of booting from the fabric, the FC
HBAs must be shared so that the Service Console and the Virtual
Machines can access the boot device.
Networking cards cannot be shared between the Service Console and
the Virtual Machines so they must be allocated either to the Service
2-4
Installation Information for VMware ESX Server v2.x with Symmetrix and CLARiiON Arrays
Figure 2-2
Startup Profile
After the changes appropriate to your system are made, save the
configuration by clicking OK.
After saving the configuration changes, reboot the host so that the
changes can take effect.
Overview
2-5
Installation Information for VMware ESX Server v2.x with Symmetrix and CLARiiON Arrays
2
After the VMware host reboots, proceed with the VMkernel
configuration.
2-6
Installation Information for VMware ESX Server v2.x with Symmetrix and CLARiiON Arrays
Figure 2-3
Security Settings
Overview
2-7
Installation Information for VMware ESX Server v2.x with Symmetrix and CLARiiON Arrays
VMkernel Parameters
A number of parameters define the behavior of the VMkernel.
Currently, EMC recommends that the majority of the parameter
values remain the same as the VMware defaults. The exception at
this time is the Disk.MaxLun parameter.
These values can be viewed and modified using the MUI and in the
subdirectories within the /proc/vmware/config directory.
To view the listing of directories in the /proc/vmware/config
directory, change to the directory and perform a listing:
cd /proc/vmware/config
ls la
dr-xr-xr-x
2 root
dr-xr-xr-x
2 root
dr-xr-xr-x
2 root
dr-xr-xr-x
2 root
dr-xr-xr-x
2 root
dr-xr-xr-x
2 root
dr-xr-xr-x
2 root
dr-xr-xr-x
2 root
dr-xr-xr-x
2 root
dr-xr-xr-x
2 root
root
root
root
root
root
root
root
root
root
root
0
0
0
0
0
0
0
0
0
0
Jan
Jan
Jan
Jan
Jan
Jan
Jan
Jan
Jan
Jan
18
18
18
18
18
18
18
18
18
18
06:07
06:07
06:07
06:07
06:07
06:07
06:07
06:07
06:07
06:07
Cpu
Disk
FileSystem
Irq
Mem
Migrate
Misc
Net
Numa
Scsi
Installation Information for VMware ESX Server v2.x with Symmetrix and CLARiiON Arrays
Figure 2-4
Overview
2-9
Installation Information for VMware ESX Server v2.x with Symmetrix and CLARiiON Arrays
2
In this particular example, the LogMultiPath parameter is being
enabled.
[root@l82bi199 /]# cd /proc/vmware/config/Scsi
[root@l82bi199 Scsi]# ls
ConflictRetries LogAborts LogMultiPath PassthroughLocking
[root@l82bi199 Scsi]# cat LogMultiPath
LogMultiPath (Log path state changes) [default = 0]: 0
[root@l82bi199 Scsi]# echo 1 >> LogMultiPath
[root@l82bi199 Scsi]# cat LogMultiPath
LogMultiPath (Log path state changes) [default = 0]: 1
2-10
Installation Information for VMware ESX Server v2.x with Symmetrix and CLARiiON Arrays
SMP="$NUMPROC-processor "
if [ "$NUMPROC" = "8" -o "$NUMPROC" = "11" ]; then
a="an"
else
a="a"
fi
fi
# This will overwrite /etc/issue at every boot. So, make any changes
you
# want to make to /etc/issue here or you will lose them when you reboot.
echo "" > /etc/issue
echo "$R" >> /etc/issue
echo "Kernel $(uname -r) on $a $SMP$(uname -m)" >> /etc/issue
cp -f /etc/issue /etc/issue.net
echo >> /etc/issue
#Echo the /proc filesystem to enable the
#multipath logging. This will ensure that
#the change persists through reboots.
echo 1 >> /proc/vmware/config/Scsi/LogMultiPath
# END_OF_VMWARE_RC_DOT_LOCAL
2-11
Installation Information for VMware ESX Server v2.x with Symmetrix and CLARiiON Arrays
2
parameter allows the VMkernel to scan past non-existent LUNs, that
is, allows LUN skipping. When attaching to EMC storage arrays, it is
strongly recommended that the Disk.SupportSparseLun parameter
be set at the default of 1.
The following table lists the VMkernel parameters with their
corresponding descriptions and the VMware default and EMC
recommended values.
Table 2-1
EMC
Recommended
Value
1000
1000
Cpu.ConsoleMinCpu
Min percentage of CPU 0 to dedicate to console [0-100]
Cpu.ConsoleOSWarpPeriod
Period in milliseconds [0-100]
20
20
Cpu.CreditAgePeriod
Period in milliseconds [500-10000]
3000
3000
Cpu.IdlePackageRebalancePeriod
Usec between chances to rebalance idle packages (0 to disable, 100000 max)
541
541
Cpu.MachineClearThreshold
Machine clears per million cycles to trigger quarantine
100
100
Cpu.MigratePenalty
Penalty in milliseconds [0-2000]
100
100
Cpu.MigratePeriod
Milliseconds between opportunities to migrate across CPUs
20
20
Cpu.PreemptPenalty
Penalty in milliseconds [0-2000]
10
10
Cpu.Quantum
Quantum in milliseconds [1-1000]
50
50
2-12
Installation Information for VMware ESX Server v2.x with Symmetrix and CLARiiON Arrays
Table 2-1
EMC
Recommended
Value
Cpu.RunnerMovePeriod
Milliseconds between opportunities to move currently-running vcpu
200
200
Cpu.SharesPerVcpuHigh
Shares per vcpu for high CPU priority [100-10000]
2000
2000
Cpu.SharesPerVcpuLow
Shares per vcpu for low CPU priority [100-10000]
500
500
Cpu.SharesPerVcpuNormal
Shares per vcpu for normal/default CPU priority [100-10000]
1000
1000
Cpu.SkewSampleUsec
Interval between vsmp skew tests
500
500
Disk.DelayOnBusy
Delay in milliseconds for completion of commands with a BUSY status
400
400
[empty]
[empty]
128
Default: 8
2000
2000
Disk.MaxVCNotReadyTime
The number of seconds a VC path can report NOT READY status before being declared dead
60
60
Disk.PathEvalTime
The number of seconds between FC path evaluations
300
300
Disk.ResetLatency
Delay in milliseconds between reset thread wake-ups
1000
1000
Cpu.SkewSampleThreshold
Number of skew samples allowed before co-deschedule (0 to disable skew checking)
Disk.MaskLUNs
LUNs to mask from kernel. Format: <adapter>:<target>:<comma separated LUN range list>
Disk.MaxLUN
Maximum number of LUNs per target that we scan for
Disk.MaxResetLatency
Delay in milliseconds before logging warnings and spawning new reset worlds if a reset is
overdue or taking too long
Disk.ResetMaxRetries
Max number of bus reset retries (0=infinite)
Overview
2-13
Installation Information for VMware ESX Server v2.x with Symmetrix and CLARiiON Arrays
2
Table 2-1
EMC
Recommended
Value
Disk.ResetOnFailover
Issue a SCSI reset when failing over to an alternate HBA
Disk.ResetOverdueLogPeriod
Delay in seconds between logs of overdue reset
60
60
Disk.ResetPeriod
Delay in seconds between bus resets retries
30
30
1800
1800
Disk.ResetThreadMax
Max number of reset handler threads
16
16
Disk.ResetThreadMin
Min number of reset handler threads
Disk.RetryUnitAttention
Retry all SCSI commands that return a unit attention error
[empty]
[empty]
Disk.SchedNumReqOutstanding
Number of outstanding commands to a target with competing worlds
16
16
Disk.SchedQControlSeqReqs
Number of consecutive requests from a VM required to raise the outstanding commands to
max
128
128
Disk.SchedQControlVMSwitches
Number of switches between commands issued by different VMs required to reduce
outstanding commands to CONFIG_DISK_CIF
Disk.SchedQuantum
Number of consecutive requests from one World
Disk.SectorMaxDiff
Distance in sectors at which disk BW sched affinity stops
2000
2000
Disk.SharesHigh
Shares for high disk priority [100-10000]
2000
2000
Disk.ResetThreadExpires
Life in seconds of an inactive reset handle thread
Disk.SANDevicesWithAPFailover
SAN devices with Active/Passive Path Failover. Format: <Device Model Id>:<Device Model
Id>:...
2-14
Installation Information for VMware ESX Server v2.x with Symmetrix and CLARiiON Arrays
Table 2-1
EMC
Recommended
Value
Disk.SharesLow
Shares for low disk priority [100-10000]
500
500
Disk.SharesNormal
Shares for normal/default disk priority [100-10000]
1000
1000
Disk.SupportSparseLUN
Support for sparse LUNs if set to one
Disk.UseDeviceReset
Use device reset (instead of bus reset) to reset a SCSI device
Disk.UseLunReset
Use LUN reset (instead of device/bus reset) to reset a SCSI device
Disk.UseReportLUN
Use the REPORT LUN command to speed up scanning for devices
FileSystem.LockRetries
Maximum number of retries when encountering file system lock
15
15
FileSystem.RemoteFSEnabled
Enable remote VMFS support
Irq.BestVcpuRouting
Irq.IRQMaxLoadPct
Maximum percentage of a CPU's resources that should be devoted to interrupts
70
70
Irq.IRQRebalancePeriod
Time in ms between attempts to rebalance interrupts
500
500
Mem.AdmitHeapMin
Free heap space required to power on VM, in KB [256-10240]
1024
1024
Mem.AllocHighThreshold
Threshold (in MB) at which we start allocating memory above 4GB
768
768
Mem.BalancePeriod
Period in seconds [1-120], 0 to disable
15
15
Irq.RoutingPolicy
Policy for interrupt routing, 1 for idle-routing, 2 for random, 0 to disable moving IRQs
Overview
2-15
Installation Information for VMware ESX Server v2.x with Symmetrix and CLARiiON Arrays
2
Table 2-1
EMC
Recommended
Value
Mem.CtlMaxBSD
vmmemctl limit for BSD VM, in MB [0-1024]
256
256
Mem.CtlMaxLinux
vmmemctl limit for Linux VM, in MB [0-1024]
768
768
Mem.CtlMaxNT4
vmmemctl limit for Windows NT4 VM, in MB [0-192]
128
128
Mem.CtlMaxNT5
vmmemctl limit for Windows 2000 or Windows 2003 VM, in MB [0-2048]
2048
2048
Mem.CtlMaxPercent
vmmemctl limit as percentage of VM max size [0-50]
50
50
Mem.IdleTax
Idle memory tax rate [0-99]
75
75
Mem.MinFreePct
Minimum percent of memory that should be kept free
Mem.SamplePeriod
Period in seconds [1-180], 0 to disable
60
60
Mem.ShareCOSBufSize
Specify number of MPNs to be used by COW P2M buffer [2-8]
Mem.ShareScanTotal
Total page scans in pages/sec [1-10000], 0 to disable
200
200
Mem.ShareScanVM
Per-VM page scans in pages/sec [1-1000], 0 to disable
50
50
Mem.SharesPerMBHigh
Shares per MB for high memory priority [1-25]
20
20
Mem.SharesPerMBLow
Shares per MB for low memory priority [1-25]
Mem.SharesPerMBNormal
Shares per MB for normal/default memory priority [1-25]
10
10
90000
90000
Mem.SwapAbortTimeoutMs
Swap timeout(ms) for aborting commands on a SAN[1000-1200000]
2-16
Installation Information for VMware ESX Server v2.x with Symmetrix and CLARiiON Arrays
Table 2-1
EMC
Recommended
Value
Mem.SwapFileOnSAN
Enables swap files on the SAN [0-1]
Mem.SwapIORetry
Retry timeout for swap I/O in seconds [1-2678000], 0 to disable timeout
Mem.SwapShared
Set the max ref count of a swappable shared page [0-100]
Migrate.Enabled
Enable hot migration support
Migrate.MemChksum
Checksum VM's memory while migrating
Migrate.MinReservation
Reserve a percentage of a CPU for use by migration helper worlds[0, 100]
30
30
Migrate.NetTimeout
Timeout for migration network operations
10
10
Migrate.PageInProgress
Time in seconds after which a pagein will be killed if there is no progress[5-1800]
15
15
Migrate.PageInTimeout
Time in seconds to wait for pagein to finish [10-1800]
180
180
Migrate.PreCopyLeftMB
Maximum modified memory left over after pre-copy is done
16
16
Migrate.PreCopyMinProgressMB
Minimum reduction in modified memory after a pre-copy iteration
16
16
Migrate.TSMaster
Pseudo-synchronize clocks for migration to/from this machine[0, 1]
Misc.BlueScreenTimeout
Timeout in seconds, 0 is no timeout
Misc.ConsoleShareXfer
Transfer shares to console on RPC calls
[empty]
[empty]
Misc.CosCorefile
VMFS to write the Service Console core file to [must be symbolic filesystem name]
Overview
2-17
Installation Information for VMware ESX Server v2.x with Symmetrix and CLARiiON Arrays
2
Table 2-1
EMC
Recommended
Value
Misc.DebugMemEnable
Enable memory debugging, 0 to disable
Misc.EnableHighDMA
Enable DMA above 4GB
Misc.KVMapGuardUncached
Use guard pages around uncached kvmap mappings, [0-1]
Misc.LogToFile
Misc.LogToSerial
Misc.LogWldPrefix
Misc.MemAdmitMapEntriesMin
Free KVMap entries required to power on VM, [0-100]
30
30
Misc.MemMapEntriesLow
Point at which to start conserving KVMap entries, [0-1024]
200
200
Misc.MinimalPanic
Misc.ProcVerbose
Option unused
[empty]
[empty]
115200
115200
Misc.TimerHardPeriod
Hard timer interrupt period in microseconds
1000
1000
Misc.TimerMinGuestPeriod
Minimum period for guest timer callbacks in microseconds
100
100
Misc.VmkperfPerWorld
Should performance counters be maintained per-world [0-1]
Net.ClusterHaltCheck
1 to check for clustered tx/rx packets on halt
Misc.PsodOnCosPanic
PSOD VMkernel on Console OS panic / oops [0-1]
Misc.SerialBaudRate
Misc.SerialPort
2-18
Installation Information for VMware ESX Server v2.x with Symmetrix and CLARiiON Arrays
Table 2-1
EMC
Recommended
Value
Net.CopiesBeforeRemap
Copies before remapping, 0 to disable
10
10
Net.DisableWatchdog
Disable network watchdog timeout handler
Net.MaxMallocPackets
Maximum number of packets that can be allocated via the memory allocator
256
256
Net.MaxPrivateSKBs
256
256
Net.MaxRecvPackets
64
64
Net.NotifySwitch
Broadcasts an arp request on net handle enable [0 = disabled, 1 = enabled]
Net.PktsDeferXmitIntIfKeeping
Defer xmit completion interrupts if this many packets still pending
Net.PktsPerXmitInterrupt
Packets to transmit before raising completion interrupt
Net.ProcVerbose
Verbose procfs output for networking, 0 to disable
Net.RXClusterCPUSamplePeriod
CPU %idle sample period (msec) [1-10000]
1000
1000
Net.RXClusterDelayOff
Weighting factor for deactivating clustering
10
10
Net.RXClusterDelayOn
Weighting factor for activating clustering
Net.RXClusterDelayTDec
Decrement timer freq this often
1000
1000
Net.RXClusterDelayTInc
Increment timer freq this often
Net.RXClusterTMaxFreq
Max timer freq as a power of two [1-13]
10
10
Overview
2-19
Installation Information for VMware ESX Server v2.x with Symmetrix and CLARiiON Arrays
2
Table 2-1
EMC
Recommended
Value
Net.RXClusterTMigrateDelay
Timer CPU migration intervals [1-100]
Net.RXClusterTMigrateThresh
Timer CPU migration threshold (delta %idle)
20
20
Net.RXClusterTMinFreq
Min time freq as a power of two [1-13]
Net.RXClusterThreshOff
Interrupts/sec to deactivate clustering
2000
2000
Net.RXClusterThreshOn
Interrupts/sec to activate clustering
4000
4000
Net.RXClusterTimerCPU
Which cpu to run the timer on, 0 for migratory timer
Net.RecvClusterDynAdjRate
50
50
Net.RecvClusterDynQueueMax
20
20
Net.RecvClusterOffCount
30
30
Net.RecvClusterOnCount
40
40
NetRecvClusterQueueMax
10
10
Net.RecvClusterTimeoutCount
Net.RecvClusterTimeoutMS
10
10
Net.RecvCopyLength
200
200
36864
36864
Net.SwitchFailoverBeaconInterval
NIC Teaming switch failover beacon interval [1-60]
Net.SwitchFailoverThreshold
NIC Teaming switch failover threshold, a positive number to enable switch failover policy
Net.TCPIPLog
TCP/IP logging, 0 to disable
Net.SwitchFailoverBeaconEtherType
NIC Teaming switch failover beacon Ether Type [0x6000 - 0x9000]
2-20
Installation Information for VMware ESX Server v2.x with Symmetrix and CLARiiON Arrays
Table 2-1
EMC
Recommended
Value
Net.TcpSegmentationOffload
Allow TSO, 0 to disable
Net.VlanTrunking
1 to enable 802.1Q VLAN Tagging by VMkernel
Net.XmitClusterOffCount
30
30
Net.XmitClusterOnCount
40
40
Net.XmitClusterQueueMax
10
10
Net.XmitClusterTimeoutCount
Net.XmitClusterTimeoutMS
10
10
Net.XmitInterruptIfStopped
Raise an interrupt if a xmit packet is returned and the guest has stopped transmitting
Net.XmitInterruptTimeout
Timeout in milliseconds to check for completed transmits
10
10
Net.XmitMinWinZeroCopyLen
For windows guests the minimum size of packets to try to avoid the copy
256
256
Net.ZeroSpeedLinkDown
Zero speed means link down, 1 to enable it
Numa.AutoMemAffinity
1 to set mem affinity automatically based on cpu affinity, 0 to disable
Numa.Debug
Level of NUMA scheduler debugging information to print [0-4]
Numa.MigImbalanceThreshold
Minimum deviation in owed ms between nodes, per second, to trigger migration
75
75
Numa.PageMig
1 to permit NUMASched to manipulate page migration, 0 to disallow it
Numa.Rebalance
1 to use NUMASched rebalancer, 0 to disallow it
2000
2000
Numa.RebalancePeriod
Frequency of NUMA node rebalancing, in milliseconds
Overview
2-21
Installation Information for VMware ESX Server v2.x with Symmetrix and CLARiiON Arrays
2
Table 2-1
EMC
Recommended
Value
Scsi.ConflictRetries
Maximum number of retries when encountering reservation conflict
Scsi.LogAborts
Log timing of aborted or reset I/Os
Scsi.LogMultiPath
Log path state changes
Scsi.PassthroughLocking
It is not necessary to reboot the VMware ESX Server in order for any
changes to the parameter values to take effect.
2-22
Installation Information for VMware ESX Server v2.x with Symmetrix and CLARiiON Arrays
VMware ESX Server v2.x contains QLogic and Emulex drivers native
to the esx kernel. At the time this document was written, the drivers
qualified for VMware ESX Server v2.1x are the QLogic v6.04.02 driver
and the Emulex v4.02q driver. The drivers qualified for VMware ESX
Server v2.5 are the QLogic v6.07.02 driver and the Emulex v2.01g
driver.
These drivers are the defaults for their respective HBA families and
are contained within the VMware ESX Server v2.x kernel.
No modifications need to be made to the VMkernel in order to use
these drivers. There is no need to follow the documentation to
download, compile, and install the EMC-qualified Linux drivers. The
source code for VMware ESX Server v2.x is not included in the
VMware distribution so the Linux drivers may not be compiled.
Additionally, the Linux Emulex and QLogic drivers need to be ported
from Linux to VMware ESX Server in order for the Linux-specific
drivers to be usable in VMware ESX Server.
The drivers should be enabled in the Startup Profile menu. The
Startup Profile may be modified if the HBAs are added to the system
after the installation and initial configuration of VMware ESX Server.
The command vmkpcidivy can also be used to create a boot
configuration for the VMkernel. When using vmkpcidivy
interactively, you may specify whether your storage controllers are
allocated to the Service Console or to the Virtual Machines or shared.
The boot configuration created with vmkpcidivy will automatically
include the default QLogic and Emulex drivers included in the
kernel.
An example of the output produced when running vmkpcidivy in
interactive mode is as follows:
[root@l82bi199 /]# vmkpcidivy -i
Checking for existing VMnix Boot Configurations.
2-23
Installation Information for VMware ESX Server v2.x with Symmetrix and CLARiiON Arrays
2
The following VMnix kernel images are defined on your system:
Boot image configuration: vmnix
Image file: /boot/vmlinuz-2.4.9-vmnix2
Memory: 384M
Service Console devices:
Ethernet controller: BROADCOM Corporation NetXtreme BCM5703 Gigabit Ethernet
(rev 02)
RAID storage controller: Compaq Computer Corporation Smart Array 5i/532 (rev
01) (shared)
VM devices:
Ethernet controller: BROADCOM Corporation NetXtreme BCM5703 Gigabit Ethernet
(rev 02)
Fiber storage controller: QLogic Corp QLA231x/2340 (rev 02)
Ethernet controller: Intel Corporation 82557 [Ethernet Pro 100] (rev 08)
RAID storage controller: Compaq Computer Corporation Smart Array 5i/532 (rev
01) (shared)
Type in the name of the boot image configuration you wish to configure
or type "new" to create a new image [vmnix]:
Selected configuration was 'vmnix'.
Configuring your setup.
been provided.
Defaults have
2-24
Installation Information for VMware ESX Server v2.x with Symmetrix and CLARiiON Arrays
2-25
Installation Information for VMware ESX Server v2.x with Symmetrix and CLARiiON Arrays
R/W Addr
0x12414a0
0x1297f28
0x1298f30
0x150e1d8
Length
0x53000
0x1000
0x22000
0x2000
ID
1
2
3
4
Loaded
Yes
Yes
Yes
Yes [
Assuming that the devices have been allocated to the VMware host
and that the VMkernel has been configured appropriately, the
Storage Management dialog in the MUI reports the devices that are
allocated to the host.
You may also view the device listing at the command line. This may
be done with the following commands:
1. more /proc/scsi/qla2300/N
/proc/vmware/scsi/vmhbaN
2-26
Installation Information for VMware ESX Server v2.x with Symmetrix and CLARiiON Arrays
For example:
echo scsi-qlascan > /proc/scsi/qla2300/2
b. Next, you will need to have the VMkernel rescan the SCSI bus.
If you are using the command line, issue the following
command:
vmkfstools s <vmware_hba_id>
For example:
vmkfstools -s vmhba0
2-27
Installation Information for VMware ESX Server v2.x with Symmetrix and CLARiiON Arrays
2
For example:
vmkfstools -s vmhba0
For Emulex:
vmkload_mod l
vmkload_mod u lpfcdd
vmkload_mod /usr/lib/vmware/vmkmod/lpfcdd.o vmhba
It is recommended in the case of using either the QLogic or Emulex HBAs
that the Rescan SAN option in the MUI be used to rescan the SCSI bus.
3. You may reboot the host, but since this is disruptive, it is not
recommended.
2-28
Installation Information for VMware ESX Server v2.x with Symmetrix and CLARiiON Arrays
4. If booting from an internal hard drive rather than from the SAN,
you may also remove and reinsert the driver from the VMkernel
to initiate a rescan of the SCSI bus. This is pertinent for both
QLogic and Emulex HBAs.
For QLogic:
vmkload_mod l
vmkload_mod u qla2300_604
vmkload_mod /usr/lib/vmware/vmkmod/qla2300_604.o vmhba
For Emulex:
vmkload_mod l
vmkload_mod u lpfcdd
vmkload_mod /usr/lib/vmware/vmkmod/lpfcdd.o vmhba
2-29
Installation Information for VMware ESX Server v2.x with Symmetrix and CLARiiON Arrays
Persistent Binding
EMC highly recommends that persistent binding be enabled in
VMware ESX Server v2.x. When persistent binding is enabled, the
target IDs are assigned to specific storage array devices. This
assignment persists through reboots so the association remains the
same. This is particularly helpful when using raw devices.
Persistent binding may be enabled or disabled using the MUI or the
command line.
If using the MUI, select the Options tab, and then select the Storage
Management tab. Under Storage Management, there are three
options: Disks and LUNs, Failover Paths, and Adapter Bindings.
To view the current information for your system, select the Adapter
Bindings option.
An example of the output from the Adapter Bindings dialog is
below:
2-30
Installation Information for VMware ESX Server v2.x with Symmetrix and CLARiiON Arrays
To view and reset the persistent binding from the command line,
follow the steps below.
1. Log in as root.
2. To view the current persistent binding entries for the HBAs in the
system, look at the pbindings file.
An example of what the pbindings file may look like is as
follows:
[root@l82bi199 /]# more /etc/vmware/pbindings
6.1.1.qla2300_607 = "scsi-qla1-tgt-0-di-0-port=50060160082012bb;scsi-qla1-tgt-1di-0-port=50060168082012bb;scsi-qla1-tgt-2-di-0-port=5006016010601270;scsi-qla1tgt-3-di-0-port=5006016810601270;"
6.1.0.qla2300_607 = "scsi-qla0-tgt-0-di-0-port=50060168082012bb;scsi-qla0-tgt-1di-0-port=50060160082012bb;scsi-qla0-tgt-2-di-0-port=5006016010601270;scsi-qla0tgt-3-di-0-port=5006016810601270;"
For example:
[root@l82bi199 /]# pbind.pl -D
Deleting ALL bindings
Persistent Binding
2-31
Installation Information for VMware ESX Server v2.x with Symmetrix and CLARiiON Arrays
2
For example:
[root@l82bi199 /]# pbind.pl -A
+-----------------------------------------+
| Setting up the following bindings...
|
+--------+---------+----------------------+
| Host | Target |
World Wide Name
|
|
01
|
000
|
50060160082012bb
|
|
01
|
001
|
50060168082012bb
|
|
01
|
002
|
5006016010601270
|
|
01
|
003
|
5006016810601270
|
|
00
|
000
|
50060168082012bb
|
|
00
|
001
|
50060160082012bb
|
|
00
|
002
|
5006016010601270
|
|
00
|
003
|
5006016810601270
|
+-----------------------------------------+
6. Edit the vmware initialization script. This script is run when the
system is booting up and starts and manages the services needed
by the VMkernel.
vi /etc/init.d/vmware
2-32
Installation Information for VMware ESX Server v2.x with Symmetrix and CLARiiON Arrays
11. Now run wwpn.pl to associate the targets, HBA WWPN, and
vmhba.
[root@l82bi199 /]# wwpn.pl -v
WWPN 1.02 Copyright VMware 2003
Display WW port names and VMHBA information for fibre channel adapters
For each vmhba here are the corresponding Qlogic and Emulex WW Port Names
Adapter WWPN
PCI (decimal)
vmhba1: 210000e08b0910a7 (Qlogic) 6:1:0 /proc/scsi/qla2300/0
vmhba1:0: 50060168082012bb scsi-qla0-port-0=0000000000000000:50060168082012bb;
vmhba1:1: 50060160082012bb scsi-qla0-port-1=0000000000000000:50060160082012bb;
vmhba1:2: 5006016010601270 scsi-qla0-port-2=0000000000000000:5006016010601270;
vmhba1:3: 5006016810601270 scsi-qla0-port-3=0000000000000000:5006016810601270;
vmhba2: 210100e08b2910a7 (Qlogic) 6:1:1 /proc/scsi/qla2300/1
vmhba2:0: 50060160082012bb scsi-qla1-port-0=0000000000000000:50060160082012bb;
vmhba2:1: 50060168082012bb scsi-qla1-port-1=0000000000000000:50060168082012bb;
vmhba2:2: 5006016010601270 scsi-qla1-port-2=0000000000000000:5006016010601270;
vmhba2:3: 5006016810601270 scsi-qla1-port-3=0000000000000000:5006016810601270;
Persistent Binding
2-33
Installation Information for VMware ESX Server v2.x with Symmetrix and CLARiiON Arrays
LUN Spanning
When a volume is spanned, the volume is extended to include
multiple VMFS-2 disks or partitions. A physical extent is defined by
the VMFS-2 disks or partitions that compose a logical spanned
VMFS-2 volume.
There are some restrictions to using spanned volumes. They are:
Data on the physical extents are lost when they are added to the
VMFS-2 spanned volume. Therefore, it is strongly recommended
that only newly created partitions or newly added devices are
used for spanning volumes.
To span a volume using the MUI, select the Options tab then select
Storage Management. Select the Disks and LUNs category. In the
Disks and LUNs category, you are provided with a list of the devices
that are assigned to the host. Select the one that you want to expand.
The configuration window for the device you chose will be shown on
your screen and will provide you with the specifics on the selected
device plus the devices that may be added to the selected device to
create a spanned VMFS-2 volume.
See the figure that follows for an example using the device
vmhba1:2:13.
2-34
Installation Information for VMware ESX Server v2.x with Symmetrix and CLARiiON Arrays
After you have spanned a VMFS-2 volume, you may view the
changes immediately because the /vmfs directory is updated
dynamically. The command vmkfstools should be used to list the
information on the particular device and to provide the spanning and
physical extent information.
For example:
[root@l82bi199 /]# cd /vmfs
[root@l82bi199 /]# vmhba1:0:0:1
vmhba1:2:11:1 vmhba1:2:13:1 vmhba1:2:3:1
[root@l82bi199 /]# vmkfstools --list vmhba1:2:13:1
Name: 1270data13
(public)
Capacity 2826683392 (2679 file blocks * 1048576), 1701838848 (1623 blocks) avail
LUN Spanning
2-35
Installation Information for VMware ESX Server v2.x with Symmetrix and CLARiiON Arrays
2
Permission
rw-------
Uid
0
Gid
0
Attr
Bytes (Blocks) Last Modified Filename
disk 1107296256 ( 1056) Aug 26 06:28 w2k3_data4.dsk
2-36
Installation Information for VMware ESX Server v2.x with Symmetrix and CLARiiON Arrays
Figure 2-5
2-37
Installation Information for VMware ESX Server v2.x with Symmetrix and CLARiiON Arrays
Figure 2-6
Storage Management > Disks and LUNs > Core Dump Partition
2-38
Installation Information for VMware ESX Server v2.x with Symmetrix and CLARiiON Arrays
Figure 2-7
Access Mode
After the devices are formatted with the VMFS file system, the Virtual
Machines can be configured and installed.
In the main screen of the VMware ESX Server, go to the Status
Monitor tab and select Add Virtual Machine. The Wizard will guide
you through the Virtual Machine configuration.
An example of the Virtual Machine Configuration dialog for a
Windows 2000 virtual machine is in Figure 2-8 on page 2-40.
2-39
Installation Information for VMware ESX Server v2.x with Symmetrix and CLARiiON Arrays
Figure 2-8
In this dialog, you can allocate a name for the virtual machine and a
location for the configuration file.
The name allocated in the Virtual Machines dialog will be displayed
in the Status Monitor dialog as shown in Figure 2-9 as well as listed
in the Remote Console listing:
Figure 2-9
2-40
Installation Information for VMware ESX Server v2.x with Symmetrix and CLARiiON Arrays
Figure 2-10
Select a Virtual Machine, and select the Power On button. This will
start up the virtual machine.
2-41
Installation Information for VMware ESX Server v2.x with Symmetrix and CLARiiON Arrays
2
The Phoenix BIOS is used for the Virtual Machines. To initiate an
installation, press F2 to enter the Setup Menu. Go to the Boot menu
and move the entry for the ATAPI CD-ROM Drive to be the first
entry.
For example:
2-42
-> Connect
Edit
Installation Information for VMware ESX Server v2.x with Symmetrix and CLARiiON Arrays
The figure below is an example of what the console will look like
when using the Edit option.
Select the option to Use physical drive, and connect the CD-ROM
device if an actual CD is to be used for the virtual machine OS
installation.
If an ISO image is to be used for the OS installation on the virtual
machine, select Use ISO image, and browse to the location of the ISO
image. In Figure 2-11, an ISO image is selected for installation.
Figure 2-11
2-43
Installation Information for VMware ESX Server v2.x with Symmetrix and CLARiiON Arrays
2
The following is an example of the Virtual Machine Overview dialog
with multiple Virtual Machines installed:
2-44
Installation Information for VMware ESX Server v2.x with Symmetrix and CLARiiON Arrays
Additional Notes
Prior to VMware ESX Server v2.5, the VMware ESX Server itself
was not supported booting from the array. VMware ESX v2.5
adds support for booting from the SAN for the ESX Server itself.
When booting the VMware ESX Server from an internal drive, the
VMware Core Dump and Swap Files should be created on
internal drives rather than SAN attached devices.
Additional Notes
2-45
Installation Information for VMware ESX Server v2.x with Symmetrix and CLARiiON Arrays
2-46
The restriction stating that VMware ESX Server v2.1.x hosts must
be offline for CLARiiON-licensed (FLARE) upgrade and
Storage Processor replacement has been removed. The native
failover functionality within the VMware ESX Server itself has
been successfully qualified and provides the necessary path
failover. NDUs and SP replacements may be performed while the
VMware ESX Server is online.
3
VMware ESX Server v2.x and
Symmetrix Storage Array
Fibre Channel Environment
VMware ESX Server v2.x and Symmetrix Storage Array Fibre Channel Environment
3-1
VMware ESX Server v2.x and Symmetrix Storage Array Fibre Channel Environment
VMware/Symmetrix Environment
This section lists some Symmetrix Fibre Channel support information
specific to the VMware ESX Server environment.
Symmetrix Connectivity
The Symmetrix system is configured by an EMC Customer Engineer
via the Symmetrix service processor.
The EMC Customer Engineer (CE) should contact the EMC
Configuration Specialist for updated online information. This
information is necessary to configure the Symmetrix system to
support the customers host environment.
When attaching a VMware ESX Server host to a Symmetrix, the Linux
default FA settings should be used. They are as follows:
SCP3
SCSI-3
PTOP:
Point to Point
VCM:
Volume Logix
C:
EAN:
3-2
VMware ESX Server v2.x and Symmetrix Storage Array Fibre Channel Environment
Note that the VMware ESX Server installer will recognize LUNs
25MB or less as management LUNs. This includes any gatekeepers
assigned to the VMware host via Solutions Enabler.
It is recommended that each VMware ESX Server host have a
maximum of 8 paths to Symmetrix Storage Arrays. A path is defined
by one HBA port that is zoned to one SP port.
With a recommended maximum of 8 paths from a VMware ESX
Server to Symmetrix Storage Arrays, it is recommended that each
VMware ESX Server host be zoned to a maximum of 4 storage arrays.
A couple of possible configuration scenarios are described in Example
1 on page 3-4 and Example 2 on page 3-5.
VMware/Symmetrix Environment
3-3
VMware ESX Server v2.x and Symmetrix Storage Array Fibre Channel Environment
3
Example 1
In this example as shown in Figure 3-1, one host with two HBAs is
attached to one Symmetrix array using two separate switches. Two
FA ports on each of two FAs within the array are being used. HBA1 is
zoned to 15D0 and to 16C1. HBA2 is zoned to 15D1 and to 16C0. The
zones should be composed of a single initiator and a single target so
they would be created with one HBA and on FA port. Two HBAs
with two paths each to the array totals four paths and if using single
initiator/single target zoning, there are 4 zones.
In this particular example, two switches are used. Using only one
switch is supported, but such a configuration would lack
redundancy. Preferably, a minimum of two switches should be used
to add another level of redundancy. Alternatively, for additional
redundancy, two separate fabrics could be utilized.
Server
H
B
A
0
d0 d1 c0
c1
FA
15D Symm 1
Mirrored
Figure 3-1
3-4
H
B
A
1
d0 d1 c0
c1
FA
16C Symm 1
Mirrored
VMware ESX Server v2.x and Symmetrix Storage Array Fibre Channel Environment
Example 2
In this example as shown in Figure 3-2, one host with two HBAs is
attached using a two-switch fabric to four Symmetrx arrays FA ports.
In this configuration, the zones are created with one HBA and one FA
port. That is,
S e rv e r
H
B
A
0
H
B
A
1
d0 d1 c0
d0 d1 c0
c1
d0 d1 c0
d0 d1 c0
c1
c1
F AM 1ir6 rCo re Sd y m m 3
F AM 1ir6 ro
C re dS y m m 4
c1
d0 d1 c0
d0 d1 c0
c1
F AM 1ir5 rDo re dS y m m 1
c1
d0 d1 c0
F AM 1ir5 rDo re dS y m m 2
d0 d1 c0
c1
c1
F AM 1ir6 rCo re Sd y m m 2
F AM 1ir6 rCo re Sd y m m 1
Figure 3-2
VMware/Symmetrix Environment
3-5
VMware ESX Server v2.x and Symmetrix Storage Array Fibre Channel Environment
When attaching the VMware host to the Symmetrix storage array, use
the adapter in the lowest-numbered PCI slot in the server.
To keep the configuration and installation simple, it is recommended
that only that HBA be cabled to the array. Ensure that the boot BIOS
3-6
VMware ESX Server v2.x and Symmetrix Storage Array Fibre Channel Environment
or firmware has been applied to your HBA and that the boot BIOS
has been enabled on the HBA to be used for boot.
Prior to the installation on a Symmetrix LUN, the Linux host HBA
must have successfully logged into the array. Using Solutions
Enabler from another host, at least one LUN must be assigned to the
host.
During the installation procedure, it is recommended, but not
required, that only one LUN be allocated to the host for ease of use.
After the installation has completed, additional LUNs can be
assigned to the host.
When performing the installation, you will need to manually type
bootfromsan or bootfromsan-text at the installation prompt.
By selecting this option, the HBAs will automatically be set to be
shared between the Service Console and the Virtual Machines.
Remember that this parameter should not be changed when creating
your VMware ESX Server configuration.
Cautions
CAUTION
If VMware loses all paths to the array for a long enough period, the
disks disappear from the system. A hard reboot is required to
bring the system back to a usable state.
Any of these events could crash a system booting from a Symmetrix
storage array:
3-7
VMware ESX Server v2.x and Symmetrix Storage Array Fibre Channel Environment
3
Restrictions
Emulex HBAs are not supported when booting from the fabric;
only QLogic HBAs are supported.
Fabric Zoning
When using VMware ESX Server hosts in a fabric environment, the
zoning must be set up as single initiator and single target zoning. A
single initiator/single target zone is composed of one HBA and one
Symmetrix storage array port.
Multi-initiator zones are not supported in a VMware ESX Server fabric
environment.
3-8
VMware ESX Server v2.x and Symmetrix Storage Array Fibre Channel Environment
Utility/Function
Description
fdisk
grep
vmkpcidivy
vmkfstools
Command used to create and manipulate files on LUNs owned by the VMware ESX Server host.
vmkload_mod
vmkmultipath
Command used to display and set the configuration on a particular device and the paths attached
to that device.
vm-support
Command used to gather information about the VMware ESX Server itself and virtual machines to
assist in debugging issues or to obtain performance information for the virtual machines.
vmkdump
3-9
VMware ESX Server v2.x and Symmetrix Storage Array Fibre Channel Environment
The ANSI standard also defines a World Wide Node Name (WWNN), but
this name has not been consistently defined by the industry.
3-10
VMware ESX Server v2.x and Symmetrix Storage Array Fibre Channel Environment
All three methods use the first two bytes (0 and 1) of the 8-byte LUN
addressing structure. The remaining six bytes are set to 0s.
For Logical Unit and Volume Set addressing, the Symmetrix port
identifies itself as an Array Controller in response to a hosts Inquiry
command sent to LUN 00. This identification is done by returning
the byte 0x0C in the Peripheral Device Type field of the returned
data for Inquiry. If the Symmetrix system returns the byte 0x00 in the
first byte of the returned data for Inquiry, the Symmetrix system is
identified as a direct access device.
Upon identifying the Symmetrix system as an array controller device,
the host should issue a SCSI-3 Report LUNS command (0xA0), in
order to discover the LUNs.
3-11
VMware ESX Server v2.x and Symmetrix Storage Array Fibre Channel Environment
3
The three addressing modes, contrasted in Table 3-1, Symmetrix
SCSI-3 Addressing Modes, differ in the addressing schema (Target ID,
LUN, and Virtual Bus) and number of addressable devices.
Table 3-1
Maximum
Logical
Devicesb
Access LUNs
directly
16,384
256
0x0C Array
Controller
Host issues
Report LUNS
command
2,048
128
0x0C Array
Controller
Host issues
Report LUNS
command
16,384
512
Addressing Mode
Codea
A
Bit
V
Bit
Response to
Inquiry
Peripheral Device
00
0x00 Direct
Access
Logical Unit
10
Volume Set
01
LUN
Discovery
Method
3-12
VMware ESX Server v2.x and CLARiiON Storage Array Fibre Channel Environment
4-1
VMware ESX Server v2.x and CLARiiON Storage Array Fibre Channel Environment
VMware/CLARiiON Environment
This section lists CLARiiON Fibre Channel support information
specific to the VMware ESX Server environment.
CLARiiON Connectivity
Access Logix must be installed on the CLARiiON storage array to
which the VMware ESX Server is being attached.
Currently, the VMware ESX Server host must be manually registered
on the CLARiiON array. The currently-released version of the
Naviagent does not include support for VMware ESX Server.
VMware ESX Server owns the HBAs, not the operating systems
running in the virtual machines. As a result, the VMware ESX
Servers HBAs will be registered on the CLARiiON and assigned to a
Storage Group.
The virtual machines will be assigned LUNs through the VMware
ESX Server service console.
It is recommended that each VMware ESX Server host have a
maximum of 8 paths to CLARiiON Storage Arrays. A path is defined
by one HBA port that is zoned to one SP port.
With a recommended maximum of 8 paths from a VMware ESX
Server to CLARiiON Storage Arrays, it is recommended that each
VMware ESX Server host be zoned to a maximum of 4 storage arrays.
A couple of possible configuration scenarios are described in Example
1 on page 4-3 and Example 2 on page 4-4.
4-2
VMware ESX Server v2.x and CLARiiON Storage Array Fibre Channel Environment
Example 1
In this example as shown in Figure 4-1, one host with two HBAs is
attached to one CLARiiON array using two separate switches. Two
SP ports on each SP within the array are being used. HBA1 is zoned
to SPA0 and to SPB1. HBA2 is zoned to SPA1 and to SPB0. The zones
should be composed of a single initiator and a single target so they
would be created with one HBA and on SP port. Two HBAs with two
paths each to the array totals four paths and if using single
initiator/single target zoning, there are 4 zones.
In this particular example, two switches are used. Using only one
switch is supported, but such a configuration would lack
redundancy. Preferably, a minimum of two switches should be used
as this adds another level of redundancy. Alternatively, for additional
redundancy, two separate fabrics can be utilized.
Server
H
B
A
0
SP A
rored
Figure 4-1
H
B
A
1
SP B
Mirrored
VMware/CLARiiON Environment
4-3
VMware ESX Server v2.x and CLARiiON Storage Array Fibre Channel Environment
4
Example 2
In this example as shown in Figure 4-2, one host with two HBAs is
attached using a two-switch fabric to four CLARiiON array SPs. In
this configuration, the zones are created with one HBA and one SP
port. For instance:
0
0
M ir r oSrePd B
P dB
M irrSo re
1
Pd A
M ir rSo re
Figure 4-2
Pd A
M irrSo re
0
M irr So rePd B
3M ir roS rPe d A
H
B
A
1
M ir roS rPe d A
M ir r oSrePd B
4-4
VMware ESX Server v2.x and CLARiiON Storage Array Fibre Channel Environment
Booting the VMware ESX Server v2.5 from CLARiiON Storage Arrays
VMware ESX Server v2.5 hosts have been qualified for booting from
CLARiiON devices interfaced through Fibre Channel as specified in
the EMC Support Matrix.
EMC does not recommend booting VMware ESX Server from the
CLARiiON storage array unless the host is using VMwares native
failover functionality.
Note that if VMwares native failover functionality is not used and it is
necessary to use a CLARiiON device as a boot disk, you should shut down
the Virtual Machines and the ESX Server during any maintenance procedures
that might cause the boot disk to become unavailable to the host.
VMware/CLARiiON Environment
4-5
VMware ESX Server v2.x and CLARiiON Storage Array Fibre Channel Environment
4
supported. Only FC-SW environments are supported when booting
from the SAN.
It is required that the boot LUN be assigned Host LUN ID 0.
During the installation procedure, it is recommended, but not
required, that only one LUN be assigned to the Storage Group for
ease of use. After the installation has completed, additional LUNs
can be added to the Storage Group.
When performing the installation, you will need to manually type
bootfromsan or bootfromsan-text at the installation prompt.
By selecting this option, the HBAs will automatically be set to be
shared between the Service Console and the Virtual Machines.
Remember that this parameter should not be changed when creating
your VMware ESX Server configuration.
Cautions
CAUTION
If VMware loses all paths to the array for a long enough period, the
disks disappear from the system. A hard reboot is required to
bring the system back to a usable state.
Any of these events could crash a system booting from a CLARiiON
storage array:
Restrictions
4-6
Emulex HBAs are not supported when booting from the fabric;
only QLogic HBAs are supported.
VMware ESX Server v2.x and CLARiiON Storage Array Fibre Channel Environment
Fabric Zoning
When using VMware ESX Server hosts in a fabric environment, the
zoning must be set up as single initiator and single target zoning. A
single initiator/single target zone is composed of one HBA and one
CLARiiON storage array port.
Multi-initiator zones are not supported in a VMware ESX Server
fabric environment.
Table 4-1
Utility/Function
Description
fdisk
grep
vmkpcidivy
vmkfstools
Command used to create and manipulate files on LUNs owned by the VMware ESX Server host.
vmkload_mod
VMware/CLARiiON Environment
4-7
VMware ESX Server v2.x and CLARiiON Storage Array Fibre Channel Environment
4
Table 4-1
4-8
Utility/Function
Description
vmkmultipath
Command used to display and set the configuration on a particular device and the paths attached to
that device.
vm-support
Command used to gather information about the VMware ESX Server itself and virtual machines to
assist in debugging issues or to obtain performance information for the virtual machines.
vmkdump
VMware ESX Server v2.x and CLARiiON Storage Array Fibre Channel Environment
The default policy is Fixed for active/active disk arrays and MRU for
active/passive disk arrays.
The MRU policy is strongly recommended for CLARiiON arrays and
any other active/passive arrays. The reason for this recommendation
is the higher likelihood of path thrashing occurring on
active/passive types of arrays when using the Fixed failover policy.
Path thrashing occurs when two hosts are accessing the same LUN
via different storage processors on a disk array. In the case of the
CLARiiON, this may cause a loop where a LUN is trespassed from
one storage processor to the other and back again. Such thrashing
behavior will cause poor performance and may cause errors.
With the MRU policy, VMware ESX Server hosts will use one active
path to a storage processor. A trespass will be forced to the other
storage processor only when the initial path has failed and there is no
access to devices via that path. Therefore, VMware ESX Server hosts
using the MRU policy will quickly settle on accessing a LUN through
the storage processor that is accessible to all hosts.
The MRU policy will not automatically restore the I/O back to the
initial path. This limitation means that there is not an easy way to
restore the paths initially used by the VMware ESX Server hosts to
access the LUNs. The MRU policy will choose the first available path
that avoids performing a trespass.
Failover Functionality in VMware ESX Server v2.x for Attach to CLARiiON Storage Arrays
4-9
VMware ESX Server v2.x and CLARiiON Storage Array Fibre Channel Environment
4
The trespass back to the original path will need to be performed
manually using the Navisphere Manager.
The Fixed path policy allows you to manually configure the path to
be used. If the preferred path fails, the Fixed path policy will transfer
I/O to the live path until the time when the preferred path is restored.
When the preferred path is restored, all I/O will be transferred back
to the preferred path.
The paths currently being used can be viewed and changed using the
command vmkmultipath or using the MUI. When using the MUI,
select the Options tab and then selecting Storage Management and
last, Failover Paths.
4-10
VMware ESX Server v2.x and CLARiiON Storage Array Fibre Channel Environment
The Failover Paths illustrates the SAN LUN information, the paths
being used, and the failover policy. As can be seen in the figure, the
LUNs attached to the VMware ESX Server host are individually listed
with the pertinent HBA, target, and LUN information. The current
HBA being used and the failover policy being used may be edited
here on a per LUN basis.
When a cable is pulled, I/O from the VMware ESX Server and the
Virtual Machines essentially will be frozen for approximately a
minute. The fibre channel HBA driver within VMware ESX Server
must identify that the link is down before a failover will occur.
Failover Functionality in VMware ESX Server v2.x for Attach to CLARiiON Storage Arrays
4-11
VMware ESX Server v2.x and CLARiiON Storage Array Fibre Channel Environment
4
During the time that the link is down, the Virtual Machines will not
be responsive, but they should resume to their normal behavior once
the failover has occurred. In the event that all paths to the storage
have failed, then I/O errors will be reported by the Virtual Machines
and access to the /vmfs directory will also fail.
4-12
VMware ESX Server v2.x and CLARiiON Storage Array Fibre Channel Environment
Manual Registration of VMware ESX Server v2.x for Attach to CLARiiON Storage Arrays
4-13
VMware ESX Server v2.x and CLARiiON Storage Array Fibre Channel Environment
4
For example, for a host with QLA23xx HBAs:
grep scsi-qla /proc/scsi/qla2300/0
Now that the WWNs have been identified, the VMware ESX Server
host can now be registered to the CLARiiON.
The following section will describe the manual registration process.
In order to manually register the host on the CLARiiON array,
perform the following steps:
1. Start the Navisphere Manager in a web browser on a host to be
used for management purposes.
2. Select the Storage tab so that the arrays being managed by the
Navisphere Manager are displayed.
3. Right click on the appropriate array, and select the Connectivity
Status option.
4. The Connectivity Status dialog for that array will show the
Initiator WWNs for each host logged into the array.
An example of the Connectivity Status dialog can be seen Figure 4-3
on page 4-15.
4-14
VMware ESX Server v2.x and CLARiiON Storage Array Fibre Channel Environment
Figure 4-3
Manual Registration of VMware ESX Server v2.x for Attach to CLARiiON Storage Arrays
4-15
VMware ESX Server v2.x and CLARiiON Storage Array Fibre Channel Environment
4
For a non-failover environment, the required settings are as
follows:
Initiator Type:
CLARiiON Open
ArrayCommPath:
Disabled
FailOverMode:
CLARiiON Open
ArrayCommPath:
Enabled
FailOverMode:
Array
Please note that the failover functionality referred to here is the native
failover functionality incorporated into the VMkernel, not
PowerPath. PowerPath is not available for the VMkernel.
4-16
VMware ESX Server v2.x and CLARiiON Storage Array Fibre Channel Environment
Manual Registration of VMware ESX Server v2.x for Attach to CLARiiON Storage Arrays
4-17
VMware ESX Server v2.x and CLARiiON Storage Array Fibre Channel Environment
4
See below for an example of the warning message.
4-18
VMware ESX Server v2.x and CLARiiON Storage Array Fibre Channel Environment
Manual Registration of VMware ESX Server v2.x for Attach to CLARiiON Storage Arrays
4-19
VMware ESX Server v2.x and CLARiiON Storage Array Fibre Channel Environment
4-20
VMware ESX Server v2.x and CLARiiON Storage Array Fibre Channel Environment
4-21
VMware ESX Server v2.x and CLARiiON Storage Array Fibre Channel Environment
4
5. 1.To view the Properties of the LUNs, right click on the LUN. A
window will provide the specific properties of the LUN.
For example, if you were to select LUN 196 that is allocated to the
host, then you would see the following:
4-22
VMware ESX Server v2.x and CLARiiON Storage Array Fibre Channel Environment
4-23
VMware ESX Server v2.x and CLARiiON Storage Array Fibre Channel Environment
4-24
VMware ESX Server v2.x and CLARiiON Storage Array Fibre Channel Environment
4-25
VMware ESX Server v2.x and CLARiiON Storage Array Fibre Channel Environment
4-26
Index
GSX 1-3
help xii
C
CLARiiON 4-2
connectivity 4-2
Command Descriptor Blocks (CDB) 3-11
Common Serial Number 3-2
connectivity
CLARiiON 4-2
Symmetrix 3-2
customer support xii
D
device mapping 1-3
E
Enable Auto Negotiation (EAN) 3-2
F
FA settings, Linux default 3-2
Fibre Channel
CLARiiON 4-2
Symmetrix 3-2
I
Intel-based servers 1-3
L
LUN
spanning 2-34
trespass, manual 4-21
M
Management User Interface (MUI) 2-3
manual LUN trespass 4-21
mapping, raw device 1-3
Master Boot Record (MBR) 3-6
O
Opteron-based servers 1-3
options, VMware ESX Server 2-4
P
parameters
VMkernel 2-12
pass-through technology 1-3
path policies
Fixed 4-9
i-1
Index
Z
zoning
CLARiiON 4-7
multi-initiator 3-8
single initiator/single target 3-8
R
raw device mapping 1-3
Remote Console software 2-41
S
SCSI pass-through technology 1-3
SCSI-3 Controller Commands (SCC) 3-11
servers
Intel-based 1-3
Opteron 1-3
service xii
Startup Profile 2-4
Symmetrix 3-2
addressing 3-10
booting the VMware ESX Server 3-6
connectivity 3-2
Linux default FA settings 3-2
Volume Logix device 3-6
T
technical support xii
V
Virtual Machines
install 2-37
set up 2-37
VMFS 2-37
VMFS-2 disks 2-34
VMkernel parameters 2-12
VMware
ESX Server 1-3, 2-2
ESX Server options 2-4
GSX 1-3
Volume Logix 3-6
Volume Logix (VCM) 3-2
W
World Wide Port Name (WWPN 3-10
i-2