You can change the path policy with vicfg-mpath.

Specify one of the options listed in Connection Options for vCLI Host Management Commands in place of <conn_options>.

Prerequisites

Verify that you are familiar with the supported path policies. See Managing Path Policies.

Procedure

  1. List all multipathing plugins loaded into the system.
    vicfg-mpath <conn_options> --list-plugins
    At a minimum, this command returns NMP (Native Multipathing Plug-in) and MASK_PATH. If other MPP plug-ins have been loaded, they are listed as well.
  2. Set the path policy by using ESXCLI.
    esxcli <conn_options> nmp device set --device naa.xxx --psp VMW_PSP_RR
  3. (Optional) If you specified the VMW_PSP_FIXED policy, you must make sure the preferred path is set correctly.
    1. Check which path is the preferred path for a device.
      esxcli <conn_options> storage nmp psp fixed deviceconfig get -d naa.xxxx
    2. If necessary, change the preferred path.
      esxcli <conn_options> storage nmp psp fixed deviceconfig set --device naa.xxx --path vmhba3:C0:T5:L3
      The command sets the preferred path to vmhba3:C0:T5:L3.