The NMP SATP claim rules specify which SATP should manage a particular storage device. Usually you do not need to modify the NMP SATP rules. If you need to do so, use vSphere CLI to add a rule to the list of claim rules for the specified SATP.

You might need to create a new SATP rule when you install a third-party SATP for a specific storage array.

1

To add a claim rule for a specific SATP, run the following command.

esxcli nmp satp addrule <rule_parameter> -e <description> -o <option> -s <SATP_name>

Use the following options for <rule_parameter>. The -V and -M options can be used at the same time. They cannot be used in conjunction with the -R or -D options.

Note

When searching the SATP rules to locate an SATP for a given device, the NMP searches the driver rules first. If there is no match, the vendor/model rules are searched, and finally the transport rules. If there is still no match, NMP selects a default SATP for the device.

-D <driver> -- Driver string to set when adding the SATP claim rule.

-V <vendor> -- Vendor string to set when adding the SATP claim rule.

-M <model> -- Model string to set when adding the SATP claim rule.

-R <transport> -- Transport type string to set when adding the SATP claim rule.

Specify the following options for any SATP claim rule:

-e <description> -- Description string to set when adding the SATP claim rule.

-o <option> -- Claim option string to set when adding the SATP claim rule. This string is passed to the SATP when the SATP claims a path. The contents of this string, and how the SATP behaves as a result, are unique to each SATP. For example, some SATPs support the claim option strings tpgs_on and tpgs_off. If tpgs_on is specified, the SATP will claim the path only if the ALUA Target Port Group support is enabled on the storage device.

2

To delete a rule from the list of claim rules for the specified SATP, run the following command. You can run this command with the same options you used for addrule.

esxcli nmp satp deleterule <rule_parameter> -s <SATP_name>

3

Reboot your host.

The following sample command assigns the VMW_SATP_INV plug-in to manage storage arrays with vendor string NewVend and model string NewMod.

# esxcli nmp satp addrule -V NewVend -M NewMod -s VMW_SATP_INV

If you run the esxcli nmp satp listrules -s VMW_SATP_INV command, you can see the new rule added to the list of VMW_SATP_INV rules.

Name          Vendor  Model    Driver  Transport  Options  Claim Options  Description
VMW_SATP_INV  EMC     Invista
VMW_SATP_INV  EMC     LUNZ                                                Invista LUNZ
VMW_SATP_INV  NewVend NewMod