
Disks
212
www.vmware.com
Using Storage Area Networks
with ESX Server
VMware ESX Server can be used effectively with storage area networks (SANs). ESX
Server supports Qlogic and Emulex host bus adapters, which allow an ESX Server
computer to be connected to a SAN and to see the disk arrays on the SAN.
Detecting All LUNs
In order to use all storage devices on your SAN, you may need to change some
VMkernel configuration options as described below. To make these changes, log in to
the VMware Management Interface as root, then go to Configure System > VMkernel
Configuration. To change an option, click the current value, then enter the new value
in the dialog box and click Update.
By default, the VMkernel scans for only LUN 0 to LUN 7 for every target. If you are using
LUN numbers larger than 7 you must change the setting for DiskMaxLUN field from
the default of 8 to the value that you need. For example, if you now have LUN
numbers 0 to 15 active, set this option to 16.
By default, the VMkernel is not configured to support sparse LUNs — that is, a case
where some LUNs in the range 0 to N are not present, but LUN N is present. If you
need to use such a configuration, set the DiskSupportSparseLUN field to 1. (The
default is 0.)
Special Options for SAN Configurations
Because the disks on the SANs can potentially be accessed by multiple ESX Server
computers, there are some configuration issues that are unique to SANs.
Note: Be sure that only one computer has access to the SAN while you are
configuring it for use with ESX Server and formatting it. If the other computers that
will access the SAN are also ESX Server machines, they should be powered off while
you are configuring the SAN. After you have finished the configuration and checked
to be sure all partitions on the shared disk are set for public or shared access (as
described in the VMFS Accessibility section below), you may connect and power on
the other computers that need access to the SAN.
VMFS Accessibility
Any VMFS partition on a disk that is on a SAN should have VMFS accessibility set to
public or shared, rather than private. Choosing public makes the VMFS partition
available to multiple physical servers and to virtual machines on those servers, but
Comentários a estes Manuais