VMware Cloud Community
max2479
Enthusiast
Enthusiast

Round Robin path policy

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?

> if you found this or any other answer useful please consider allocating points for helpful or correct answers <
0 Kudos
8 Replies
Sreejesh_D
Virtuoso
Virtuoso

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.

http://pubs.vmware.com/vsphere-50/index.jsp?topic=/com.vmware.vcli.examples.doc_50/cli_advanced_stor...

max2479
Enthusiast
Enthusiast

Does this work for ESXi 4.1?

> if you found this or any other answer useful please consider allocating points for helpful or correct answers <
0 Kudos
Sreejesh_D
Virtuoso
Virtuoso

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.

0 Kudos
mcowger
Immortal
Immortal

What kind of storage do you have?  Some vendors have plugins that do this for you.

--Matt VCDX #52 blog.cowger.us
0 Kudos
tiagomartinez
Enthusiast
Enthusiast

take a look on this KB http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=101776...

It shows how to change the default multipath policy.
Blog: http://vmwarebrasil.blogspot.com Consider awarding points for helpful or correct answers!
0 Kudos
Sreejesh_D
Virtuoso
Virtuoso

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

max2479
Enthusiast
Enthusiast

Lefthand P4500 G2 is my storage

> if you found this or any other answer useful please consider allocating points for helpful or correct answers <
0 Kudos
max2479
Enthusiast
Enthusiast

Thank you all.

> if you found this or any other answer useful please consider allocating points for helpful or correct answers <
0 Kudos