12.07.2015 Views

vsphere-esxi-vcenter-server-55-storage-guide

vsphere-esxi-vcenter-server-55-storage-guide

vsphere-esxi-vcenter-server-55-storage-guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 23 Understanding Multipathing and FailoverDisplay NMP Storage DevicesUse the esxcli command to list all <strong>storage</strong> devices controlled by the VMware NMP and display SATP andPSP information associated with each device.In the procedure, --<strong>server</strong>=<strong>server</strong>_name specifies the target <strong>server</strong>. The specified target <strong>server</strong> prompts youfor a user name and password. Other connection options, such as a configuration file or session file, aresupported. For a list of connection options, see Getting Started with vSphere Command-Line Interfaces.PrerequisitesInstall vCLI or deploy the vSphere Management Assistant (vMA) virtual machine. See Getting Started withvSphere Command-Line Interfaces. For troubleshooting, run esxcli commands in the ESXi Shell.ProcedureuTo list all <strong>storage</strong> devices, run the following command:esxcli --<strong>server</strong>=<strong>server</strong>_name <strong>storage</strong> nmp device listUse the --device | -d=device_ID option to filter the output of this command to show a single device.Add Multipathing Claim RulesUse 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 first define 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 todefine which paths this module should claim. You may need to create a claim rule if you add new paths andwant an existing MPP to claim them.CAUTION When creating new claim rules, be careful to avoid a situation where different physical paths tothe same LUN are claimed by different MPPs. Unless one of the MPPs is the MASK_PATH MPP, thisconfiguration will cause performance problems.In the procedure, --<strong>server</strong>=<strong>server</strong>_name specifies the target <strong>server</strong>. The specified target <strong>server</strong> prompts youfor a user name and password. Other connection options, such as a configuration file or session file, aresupported. For a list of connection options, see Getting Started with vSphere Command-Line Interfaces.PrerequisitesInstall vCLI or deploy the vSphere Management Assistant (vMA) virtual machine. See Getting Started withvSphere Command-Line Interfaces. For troubleshooting, run esxcli commands in the ESXi Shell.Procedure1 To define a new claim rule, run the following command:esxcli --<strong>server</strong>=<strong>server</strong>_name <strong>storage</strong> core claimrule addThe command takes the following options:Option-A|--adapter=-u|--autoassign-C|--channel=-c|--claimrule-class=-d|--device=DescriptionIndicate the adapter of the paths to use in this operation.The system will auto assign a rule ID.Indicate the channel of the paths to use in this operation.Indicate the claim rule class to use in this operation.Valid values are: MP, Filter, VAAI.Indicate the device Uid to use for this operation.VMware, Inc. 229

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!