HP 3PAR VMware ESX Implementation Guide

NOTE: VMware and HP recommend the LSI logic adapter emulation for Windows 2003 Servers.
The LSI Logic adapter is also the default option for Windows 2003 when creating a new virtual
machine. HP testing has noted a high incidence of Windows 2003 virtual machine failures during
an ESX multipath failover/failback event when the BUS Logic adapter is used with Windows 2003
VMs.
NOTE: HP testing indicates that the SCSI timeout value for virtual machine guest operating systems
should be 60 seconds to successfully ride out path failovers at the ESX layer. Most guest operating
systems supported by VMware have a default SCSI timeout value of 60 seconds, but this value
should be checked and verified for each GOS installation. Change the SCSI timeout value in Red
Hat 4.x guest operating systems from their default value of 30 seconds to 60 seconds.
This command can be used to set the SCSI timeout on all SCSI devices presented to a Red Hat 4.x
virtual machine to 60 seconds:
find /sys -name timeout | grep "host.*target.*timeout" | xargs -n 1
echo "echo 60 >"|sh
Add this line in the /etc/rc.local file of the Red Hat 4.x guest OS for the timeout change to
be maintained with a virtual machine reboot.
Example of a modified /etc/rc.local file:
# cat /etc/rc.local
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
find /sys -name timeout | grep "host.*target.*timeout" | xargs -n 1
echo "echo 60 >"|shtouch /var/lock/subsys/local
Creating a VMkernel Port
The following steps describe how to set up a VMkernel port. See the VMware vSphere Installation
and Setup guide at VMware for detailed instructions.
1. Log into the VI/vSphere client and select the server from the inventory panel. The hardware
configuration page for this server appears.
2. Click the Configuration tab and click Networking.
3. Click the Add Networking Link. The Add Network wizard appears as shown below:
64 Configuring the Host for an iSCSI Connection