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 an 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 esxcli nmp satp addrule command. The command takes the following options.

Option

Description

-c|--claim-option

Set the claim option string when adding a 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.

-e|--description

Set the claim rule description when adding a SATP claim rule.

-d|--device

Set the device when adding SATP claim rules. Device rules are mutually exclusive with vendor/model and driver rules.

-D|--driver

Set the driver string when adding a SATP claim rule. Driver rules are mutually exclusive with vendor/model rules.

-f|--force

Force claim rules to ignore validity checks and install the rule anyway.

-h|--help

Show the help message.

-M|--model

Set the model string when adding SATP a claim rule. Vendor/Model rules are mutually exclusive with driver rules.

-o|--option

Set the option string when adding a SATP claim rule.

-P|--psp

Set the default PSP for the SATP claim rule.

-O|--psp-option

Set the PSP options for the SATP claim rule.

-s|--satp

The SATP for which a new rule will be added.

-R|--transport

Set the claim transport type string when adding a SATP claim rule.

-V|--vendor

Set the vendor string when adding SATP claim rules. Vendor/Model rules are mutually exclusive with driver rules.

Note

When searching the SATP rules to locate a 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.

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

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.