VMware Cloud Community
Cruicer
Enthusiast
Enthusiast
Jump to solution

How do I change the pathing policies in vSphere?

In 3.x I was able to run

esxcfg-mpath --policy=rr --preferred --path=vmhbaX:X:X --lun=vmhbax:x:x

However in ESX4, I can't figure out how to display what the current policy is set as I.E. MRU or Fixed via a command line.

Don't want to use VC as I have way too many LUNs to verify.

Reply
0 Kudos
1 Solution

Accepted Solutions
marcelo_soares
Champion
Champion
Jump to solution

Read the SAN config guide at page 79: http://www.vmware.com/pdf/vsphere4/r40_u1/vsp_40_u1_san_cfg.pdf

Now you have to change the path psp used by a lun.

Marcelo Soares

VMWare Certified Professional 310/410

Technical Support Engineer

Globant Argentina

Consider awarding points for "helpful" and/or "correct" answers.

Marcelo Soares

View solution in original post

Reply
0 Kudos
4 Replies
marcelo_soares
Champion
Champion
Jump to solution

Read the SAN config guide at page 79: http://www.vmware.com/pdf/vsphere4/r40_u1/vsp_40_u1_san_cfg.pdf

Now you have to change the path psp used by a lun.

Marcelo Soares

VMWare Certified Professional 310/410

Technical Support Engineer

Globant Argentina

Consider awarding points for "helpful" and/or "correct" answers.

Marcelo Soares
Reply
0 Kudos
Cruicer
Enthusiast
Enthusiast
Jump to solution

Would you be able to supply an example?

Reply
0 Kudos
marcelo_soares
Champion
Champion
Jump to solution

This will list all your devices.

esxcli nmp device list

Based on this, you will be changing the PSP for an specific naa:

esxcli nmp device setpolicy --device naa.XXXXXXXXXXXXXXXXXXXXXXXXX --psp VMW_PSP_FIXED

I am basing my assumption you have the default VMware plugins installed. You will probably need to have in mind what changed from previous version to vSphere regarding multipath and storage plugins. But with this you will be able to go.

Marcelo Soares

VMWare Certified Professional 310/410

Technical Support Engineer

Globant Argentina

Consider awarding points for "helpful" and/or "correct" answers.

Marcelo Soares
Cruicer
Enthusiast
Enthusiast
Jump to solution

PEFECT...Exactly what I was looking for...thanks and points have been awarded.

Reply
0 Kudos