VMware Cloud Community
bluefluke
Contributor
Contributor
Jump to solution

Syntax to set Round Robin to default

Everytime I add new LUNS to my ESXi 4.1 clusters I have to run the below command to change the path policy to RR vs FIXED.   Is there a command I can run that will make the host set all new LUNS path policy to RR as default?

Get-VMHost hostname_here | Get-ScsiLun | Where {$_.CanonicalName -like 'naa.5000*'} | Set-ScsiLun -MultipathPolicy "RoundRobin"

Thanks

Reply
0 Kudos
1 Solution

Accepted Solutions
gary1012
Expert
Expert
Jump to solution

Have you tried esxcli nmp? Here's a link that might be helpful:

http://www.yellow-bricks.com/2009/07/10/change-the-default-pathing-policy-to-round-robin/

Community Supported, Community Rewarded - Please consider marking questions answered and awarding points to the correct post. It helps us all.

View solution in original post

Reply
0 Kudos
3 Replies
gary1012
Expert
Expert
Jump to solution

Have you tried esxcli nmp? Here's a link that might be helpful:

http://www.yellow-bricks.com/2009/07/10/change-the-default-pathing-policy-to-round-robin/

Community Supported, Community Rewarded - Please consider marking questions answered and awarding points to the correct post. It helps us all.
Reply
0 Kudos
LucD
Leadership
Leadership
Jump to solution

Have a look at Arnim's post called ESXCLI the PowerCLI way. I suspect you want to do this with PowerCLI ?


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos
bluefluke
Contributor
Contributor
Jump to solution

Thanks Gary, Your answer was dead on.  I just had to find the SATP for 3PAR which I had.   

Reply
0 Kudos