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 FailoverProcedure1 Delete the MASK_PATH claim rule.esxcli --<strong>server</strong>=<strong>server</strong>_name <strong>storage</strong> core claimrule remove -r rule#2 Verify that the claim rule was deleted correctly.esxcli --<strong>server</strong>=<strong>server</strong>_name <strong>storage</strong> core claimrule list3 Reload the path claiming rules from the configuration file into the VMkernel.esxcli --<strong>server</strong>=<strong>server</strong>_name <strong>storage</strong> core claimrule load4 Run the esxcli --<strong>server</strong>=<strong>server</strong>_name <strong>storage</strong> core claiming unclaim command for each path to themasked <strong>storage</strong> device.For example:esxcli --<strong>server</strong>=<strong>server</strong>_name <strong>storage</strong> core claiming unclaim -t location -A vmhba0 -C 0 -T 0 -L1495 Run the path claiming rules.esxcli --<strong>server</strong>=<strong>server</strong>_name <strong>storage</strong> core claimrule runYour host can now access the previously masked <strong>storage</strong> device.Define NMP SATP RulesThe NMP SATP claim rules specify which SATP should manage a particular <strong>storage</strong> device. Usually you donot need to modify the NMP SATP rules. If you need to do so, use the esxcli commands to add a rule to thelist of claim rules for the specified SATP.You might need to create a SATP rule when you install a third-party SATP for a specific <strong>storage</strong> array.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 add a claim rule for a specific SATP, run theesxcli --<strong>server</strong>=<strong>server</strong>_name <strong>storage</strong> nmp satp rule add command. The command takes thefollowing options.Option-b|--boot-c|--claim-option=string-e|--description=string-d|--device=string-D|--driver=string-f|--force-h|--helpDescriptionThis is a system default rule added at boot time. Do not modify esx.conf oradd to host profile.Set the claim option string when adding a SATP claim rule.Set the claim rule description when adding a SATP claim rule.Set the device when adding SATP claim rules. Device rules are mutuallyexclusive with vendor/model and driver rules.Set the driver string when adding a SATP claim rule. Driver rules aremutually exclusive with vendor/model rules.Force claim rules to ignore validity checks and install the rule anyway.Show the help message.VMware, Inc. 233

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

Saved successfully!

Ooh no, something went wrong!