Currently i have to go to Manage Path and change the path to round robin manually when the new volume is presented from my storage. Any way to set round robin policy as default on all my volumes when they are added?
Hope you are using the default Multipathing plugin nmp. If so create a SATP claim rule with Round robin (VMW_PSP_RR) as default PSP.
So that whenever you add a new LUN form the define vendor, it will claim Round Robis as PSP.
Example :
esxcli storage nmp satp rule add -s="VMW_SATP_LOCAL" -P="VMW_PSP_FIXED" -V="IBM" -M="1200"
you can find more detail on calim rules in the following link.
Does this work for ESXi 4.1?
its for 5.0, there are minor changes in 4.1.
esxcli nmp satp addrule -s="VMW_SATP_LOCAL" -P="VMW_PSP_FIXED" -V="IBM" -M="1200"
plrease refer http://www.vmware.com/pdf/vsphere4/r41/vsp4_41_vcli_inst_script.pdf for more details.
What kind of storage do you have? Some vendors have plugins that do this for you.
take a look on this KB http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=101776...
here is the steps, hope it will ease your task.
- see the SATP assigned to the existing LUNs.
#esxcli nmp device list
******* note the value of "Storage Array Type"
Eg: Storage Array Type: VMW_SATP_ALUA
- see the existing list of SATP and default PSPs.
#esxcli nmp satp list
- change the default PSP of your SATP
Example:-
# esxcli nmp satp setdefaultpsp --psp VMW_PSP_RR --satp VMW_SATP_ALUA
Lefthand P4500 G2 is my storage
Thank you all.