HowTo: Install VMWare vSphere 4.x on IBM XIV
Episode 1
[youtube=http://www.youtube.com/watch?v=8UzFlz15o7k]
Episode 2
[youtube=http://www.youtube.com/watch?v=QEn6AGDqEzA]
Boot from SAN Setup
Use the following guides from VMware and IBM to configure Boot from SAN.
Datastore Multi-pathing (Roundrobin and IOPS)
Use the following instructions to set the vSphere Multi-pathing and also increase the IOPS. Read the below IBM Redbooks to understand the requirements for these commands.
Use the following command to find the identifier for the XIV disk.
#esxcli nmp device list
[sourcecode language=”bash”]
eui.0017380000510f4c
Device Display Name: IBM Fibre Channel Disk (eui.0017380000510f4c)
Storage Array Type: VMW_SATP_DEFAULT_AA
Storage Array Type Device Config:
Path Selection Policy: VMW_PSP_RR
Path Selection Policy Device Config: {policy=rr,iops=1000,bytes=10485760,useANO=0;lastPathIndex=5: NumIOsPending=0,numBytesPending=0}
Working Paths: vmhba4:C0:T1:L1, vmhba4:C0:T2:L1, vmhba4:C0:T3:L1, vmhba4:C0:T4:L1, vmhba4:C0:T5:L1, vmhba4:C0:T0:L1
eui.0017380000511326
Device Display Name: IBM Fibre Channel Disk (eui.0017380000511326)
Storage Array Type: VMW_SATP_DEFAULT_AA
Storage Array Type Device Config:
Path Selection Policy: VMW_PSP_RR
Path Selection Policy Device Config: {policy=iops,iops=32,bytes=10485760,useANO=0;lastPathIndex=5: NumIOsPending=0,numBytesPending=0}
Working Paths: vmhba4:C0:T1:L2, vmhba4:C0:T2:L2, vmhba4:C0:T3:L2, vmhba4:C0:T4:L2, vmhba4:C0:T5:L2, vmhba4:C0:T0:L2
[/sourcecode]
Then run the following two commands to increase the iops
esxcli nmp roundrobin setconfig -d eui.0017380000511326 –iops 32 –type iops
esxcli nmp roundrobin setconfig -d eui.0017380000510f4c –iops 32 –type iops
Commands History
All actions on the IBM XIV GUI is recorded in the following text file.
C:\Documents and Settings\Administrator\Application Data\XIV\GUI10\logs\guiCommands****.log
Example – guiCommands***.log
unmap_vol host="sx_xivdemo" vol="LinuxOracle_boot"
unmap_vol host="sx_xivdemo" vol="LinuxOracle_data_1"
unmap_vol host="sx_xivdemo" vol="LinuxOracle_data_2"
unmap_vol host="sx_xivdemo" vol="LinuxOracle_home"
unmap_vol host="sx_xivdemo" vol="sx_xivdemo_test"
pool_create pool="VMware-vSphere" size=515 snapshot_size=51
vol_create size=103 pool="VMware-vSphere" vol="ESX1"
vol_resize vol="ESX1" size=51 shrink_volume=yes
map_vol host="sx_xivdemo" vol="ESX1" lun="1"
unmap_vol host="sx_xivdemo" vol="LinuxOracle_boot"unmap_vol host="sx_xivdemo" vol="LinuxOracle_data_1"unmap_vol host="sx_xivdemo" vol="LinuxOracle_data_2"unmap_vol host="sx_xivdemo" vol="LinuxOracle_home"unmap_vol host="sx_xivdemo" vol="sx_xivdemo_test"pool_create pool="VMware-vSphere" size=515 snapshot_size=51vol_create size=103 pool="VMware-vSphere" vol="ESX1"vol_resize vol="ESX1" size=51 shrink_volume=yesmap_vol host="sx_xivdemo" vol="ESX1" lun="1"
[/sourcecode]
IBM XIV RedBooks
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1267
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1268
VMware SRM and IBM Disk Storage – http://www-03.ibm.com/support/techdocs/atsmastr.nsf/WebIndex/WP101628
vCenter Site Recovery Manager with XIV – http://communities.vmware.com/servlet/JiveServlet/previewBody/12372-102-4-