6.0.1

Table Of Contents
Display NMP Storage Devices
Use the esxcli command to list all storage devices controlled by the VMware NMP and display SATP and
PSP information associated with each device.
In the procedure, --server=server_name species the target server. The specied target server prompts you
for a user name and password. Other connection options, such as a conguration le or session le, are
supported. For a list of connection options, see Geing Started with vSphere Command-Line Interfaces.
Prerequisites
Install vCLI or deploy the vSphere Management Assistant (vMA) virtual machine. See Geing Started with
vSphere Command-Line Interfaces. For troubleshooting, run esxcli commands in the ESXi Shell.
Procedure
u
To list all storage devices, run the following command:
esxcli --server=server_name storage nmp device list
Use the --device | -d=device_ID option to lter the output of this command to show a single device.
Add Multipathing Claim Rules
Use the esxcli commands to add a new multipathing PSA claim rule to the set of claim rules on the system.
For the new claim rule to be active, you rst dene the rule and then load it into your system.
You add a new PSA claim rule when, for example, you load a new multipathing plug-in (MPP) and need to
dene which paths this module should claim. You may need to create a claim rule if you add new paths and
want an existing MPP to claim them.
C When creating new claim rules, be careful to avoid a situation where dierent physical paths to
the same LUN are claimed by dierent MPPs. Unless one of the MPPs is the MASK_PATH MPP, this
conguration will cause performance problems.
In the procedure, --server=server_name species the target server. The specied target server prompts you
for a user name and password. Other connection options, such as a conguration le or session le, are
supported. For a list of connection options, see Geing Started with vSphere Command-Line Interfaces.
Prerequisites
Install vCLI or deploy the vSphere Management Assistant (vMA) virtual machine. See Geing Started with
vSphere Command-Line Interfaces. For troubleshooting, run esxcli commands in the ESXi Shell.
Procedure
1 To dene a new claim rule, run the following command:
esxcli --server=server_name storage core claimrule add
The command takes the following options:
Option Description
-A|--adapter=<str>
Indicate the adapter of the paths to use in this operation.
-u|--autoassign
The system will auto assign a rule ID.
-C|--channel=<long>
Indicate the channel of the paths to use in this operation.
-c|--claimrule-class=<str>
Indicate the claim rule class to use in this operation.
Valid values are: MP, Filter, VAAI.
-d|--device=<str>
Indicate the device Uid to use for this operation.
Chapter 17 Understanding Multipathing and Failover
VMware, Inc. 197