To change the default path selection policy for any new storage for a Storage Array Type Plug-in (SATP):
- Log into the ESXi host.
For more information, see:
Using ESXi Shell in ESXi 5.0 and 5.1 (2004746) or Using Tech Support Mode in ESXi 4.1 and ESXi 5.x (1017910) - To check the existing path selection policy, run one of these commands:
# esxcfg-info | grep -A1 "Default Path Selection Policy"
# esxcli storage nmp satp list
- Run this command to change the default pathing policy:
# esxcli storage nmp satp set --default-psp=policy --satp=your_SATP_name
Where policy
is:
VMW_PSP_MRU
for Most Recently Used modeVMW_PSP_FIXED
for Fixed modeVMW_PSP_RR
for Round Robin mode
-
Reboot the ESXi/ host to apply the changes.
To get the current SATP, run one of:
# esxcli storage nmp satp list
# esxcli storage nmp device list
See
Obtaining LUN pathing information for ESX or ESXi hosts (1003973).
Note: By default, VMware ESX uses the recommended failover path policy for the storage array connected. If the configured policy is not listed for the SAN array's entry in the
Hardware Compatibility List, you may experience problems.
Warning: Changing the default pathing policy for a specific SATP when there are multiple storage arrays using the same plug-in can cause other issues, such as incorrect pathing policies and unexpected storage failover results.