System information

Procedure
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.
n
-D <driver> -- Driver string to set when adding the SATP claim rule.
n
-V <vendor> -- Vendor string to set when adding the SATP claim rule.
n
-M <model> -- Model string to set when adding the SATP claim rule.
n
-R <transport> -- Transport type string to set when adding the SATP claim rule.
Specify the following options for any SATP claim rule:
n
-e <description> -- Description string to set when adding the SATP claim rule.
n
-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.
Example B-6. Defining an NMP SATP Rule
The following sample command assigns the VMW_SATP_INV plugin 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
Appendix B Managing Storage Paths and Multipathing Plugins
VMware, Inc. 85