|
Objective 1.4 – Install VMware ESX/ESXi on SAN Storage |
|
|
|
Written by Matthijs van den Berg
|
|
Wednesday, 07 October 2009 21:04 |
Knowledge
-
- Connect network cables, referring to any cabling guide that applies to your setup.
- Ensure IP connectivity between your storage system and server. This includes proper configuration of any routers or switches on your storage network. Storage systems must be able to ping the iSCSI HBAs in your ESX hosts.
- Configure the storage system.
- Create a volume (or LUN) on the storage system for ESX to boot from.
- Configure the storage system so that the ESX system has access to the assigned LUN. This could involve updating ACLs with the IP addresses, iSCSI names, and the CHAP authentication parameter you use on the ESX system. On some storage systems, in addition to providing access information for the ESX host, you must also explicitly associate the assigned LUN with the host.
- Ensure that the LUN is presented to the ESX system as LUN 0. The host can also boot from LUN 255. On storage systems that present volumes as multiple targets rather than multiple LUNs, the volumes are always presented as LUN 0.
- Ensure that no other system has access to the configured LUN.
- Record the iSCSI name and IP addresses of the targets assigned to the ESX host.
- You must have this information to configure your iSCSI HBA.
- Configure FC or iSCSI HBA BIOS
To boot from SAN you need fibre channel adaptors that support this option. When you presented a LUN you need to enter the BIOS of the adaptor during boot time of the server and configure the LUN you wish to boot from. During the installation of ESX this LUN is visible to install ESX onto. Specific instructions for a qLogic adaptor can be found here. Instruction for the Emulex adaptor can be found here.
- Enable BIOS
Instructions on how to enable the BIOS for Qlogic and Bootbios:
- Select Boot LUN
If you are using an active/passive storage array, the selected SP must be on the preferred (active) path to the boot LUN. If you are not sure which SP is on the active path, use your storage array management software to find out. The target IDs are created by the BIOS and might change with each reboot.
- Use the cursor keys to select the first entry in the list of storage processors.
- Press Enter to open the Select Fibre Channel Device page.
- Use the cursor keys to select the chosen SP and press Enter.
- If the SP has only one LUN attached, it is selected as the boot LUN.
- If the SP has more than one LUN attached, the Select LUN page opens. Use the arrow keys to position to the selected LUN and press Enter. If any remaining storage processors show in the list, position to those entries and press C to clear the data.
- Press Esc twice to exit.
- Press Enter to save the setting.
- Install VMware ESX/ESXi
A detailed installation procedure can be found here.
- Determine boot LUN size in a given situation
VMware recommends a partition of minimal 8 GB in size for the optional partitions. Best practice is to set the /var/log to a separate partition. More info on the best practices: http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1009080
- FC or iSCSI HBA BIOS
On dedicated Fibre channel and iSCSI cards a BIOS is available. Depending on the vendor of the card they function of the BIOS may vary, but mostly this BIOS is used to allow a server to boot from a SAN / NAS. More info in the VMware Storage guide.
Tools
|