Unable to remove a defined "Path Selection Policy Device Custom Config"
search cancel

Unable to remove a defined "Path Selection Policy Device Custom Config"

book

Article ID: 404133

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

Unable to remove the defined "Path Selection Policy Device Custom Config" after resetting to default configuration.

Before Reset:

naa.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
   Device Display Name: PURE iSCSI Disk (naa.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx)
   Storage Array Type: VMW_SATP_ALUA
   Storage Array Type Device Config: {implicit_support=on; explicit_support=off; explicit_allow=on; alua_followover=on; action_OnRetryErrors=off; {TPG_id=0,TPG_state=AO}{TPG_id=1,TPG_state=AO}}
   Path Selection Policy: VMW_PSP_RR
   Path Selection Policy Device Config: {policy=iops,iops=1,bytes=10485760,useANO=0; lastPathIndex=3: NumIOsPending=0,numBytesPending=0}
   Path Selection Policy Device Custom Config: policy=iops;iops=1;bytes=10485760;samplingCycles=16;latencyEvalTime=180000;useANO=0;
   Working Paths: vmhba64:C4:T1:L242, vmhba64:C3:T1:L242, vmhba64:C2:T1:L242, vmhba64:C7:T1:L242, vmhba64:C1:T1:L242, vmhba64:C6:T1:L242, vmhba64:C0:T1:L242, vmhba64:C5:T1:L242
   Is USB: false
   

[root@esx:~] esxcli storage nmp satp rule list | grep -i pure

VMW_SATP_ALUA                PURE      FlashArray                                      system                                           VMW_PSP_RR   policy=latency

After reset and default applied 

naa.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
   Device Display Name: PURE iSCSI Disk (naa.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx)
   Storage Array Type: VMW_SATP_ALUA
   Storage Array Type Device Config: {implicit_support=on; explicit_support=off; explicit_allow=on; alua_followover=on; action_OnRetryErrors=off; {TPG_id=0,TPG_state=AO}{TPG_id=1,TPG_state=AO}}
   Path Selection Policy: VMW_PSP_RR
   Path Selection Policy Device Config: {policy=latency,latencyEvalTime=180000,samplingCycles=16,curSamplingCycle=5,useANO=0; CurrentPath=vmhba64:C3:T1:L242: NumIOsPending=0,latency=0}
   Path Selection Policy Device Custom Config: policy=latency;iops=1000;bytes=10485760;samplingCycles=16;latencyEvalTime=180000;useANO=0;
   Working Paths: vmhba64:C4:T1:L242, vmhba64:C3:T1:L242, vmhba64:C2:T1:L242, vmhba64:C7:T1:L242, vmhba64:C1:T1:L242, vmhba64:C6:T1:L242, vmhba64:C0:T1:L242, vmhba64:C5:T1:L242
   Is USB: false

 

Environment

ESXi 7.x and above.

Cause

The custom Path Selection Policy (PSP) configuration on an ESXi host does not and revert back to the Pure Storage default policy. It should be blank after resetting to default and reboot.

Resolution

To remove a custom Path Selection Policy (PSP) configuration on an ESXi host and revert back to the Pure Storage default policy, follow these steps:

1. Identify the Device

Use the following command to list all devices and their PSP settings:

esxcli storage nmp device list

Look for the device(s) associated with your Pure Storage array (usually naa.XXXX... identifiers) and note the device name.

2. Remove Custom PSP Configuration

If a device-specific override was configured via esxcli storage nmp device set, it takes precedence over the Storage Array Type Plugin (SATP) default.

Run the following command to remove the device-level override:

esxcli storage nmp device set --default --device <DeviceName>

Replace <DeviceName> with the actual device identifier, such as:

esxcli storage nmp device set --default --device naa.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

3. Reapply Pure Storage Default Policy

To verify or explicitly reassign the default SATP policy for Pure Storage:

esxcli storage nmp satp list | grep -i pure

Look for the default SATP (usually VMW_SATP_ALUA) and its default PSP (typically VMW_PSP_RR).

You can manually set it again to ensure consistency:

esxcli storage nmp satp set --default-psp VMW_PSP_RR --satp VMW_SATP_ALUA

##This command only affects new devices, not existing ones.

4. Reboot Host

Reboot the ESXi host to ensure NMP settings are re-evaluated from SATP defaults.

5. Confirm the Policy

Check the current PSP on the device:

esxcli storage nmp device list -d <DeviceName>

You should now see the PSP listed as VMW_PSP_RR without a "Device Configured Path Selection Policy".

6. If not reset the device with below command and reboot.  

esxcli storage nmp device set --device naa.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -E 

reboot

7. Check status and it should be cleared.

esxcli storage nmp device list -d naa.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
 

Example:

naa.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx:
   Device Display Name: PURE iSCSI Disk (naa.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx)
   Storage Array Type: VMW_SATP_ALUA
   Storage Array Type Device Config: {implicit_support=on; explicit_support=off; explicit_allow=on; alua_followover=on; action_OnRetryErrors=off; {TPG_id=0,TPG_state=AO}{TPG_id=1,TPG_state=AO}}
   Path Selection Policy: VMW_PSP_RR
   Path Selection Policy Device Config: {policy=latency,latencyEvalTime=180000,samplingCycles=16,curSamplingCycle=16,useANO=0; CurrentPath=vmhba64:C3:T1:L243: NumIOsPending=0,latency=1}
   Path Selection Policy Device Custom Config:
   Working Paths: vmhba64:C4:T1:L242, vmhba64:C3:T1:L242, vmhba64:C2:T1:L242, vmhba64:C7:T1:L242, vmhba64:C1:T1:L242, vmhba64:C6:T1:L242, vmhba64:C0:T1:L242, vmhba64:C5:T1:L242
   Is USB: false