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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

vSphere StorageOption-D|--driver=-f|--forceDescriptionIndicate the driver of the paths to use in this operation.Force claim rules to ignore validity checks and install the rule anyway.--if-unset= Execute this command if this advanced user variable is not set to 1.-i|--iqn=-L|--lun=-M|--model=-P|--plugin=-r|--rule=-T|--target=-R|--transport=-t|--type=-V|--vendor=--wwnn=--wwpn=Indicate the iSCSI Qualified Name for the target to use in this operation.Indicate the LUN of the paths to use in this operation.Indicate the model of the paths to use in this operation.Indicate which PSA plugin to use for this operation. (required)Indicate the rule ID to use for this operation.Indicate the target of the paths to use in this operation.Indicate the transport of the paths to use in this operation.Valid values are: block, fc, iscsi, iscsivendor, ide, sas, sata, usb, parallel,unknown.Indicate which type of matching is used for claim/unclaim or claimrule.Valid values are: vendor, location, driver, transport, device, target.(required)Indicate the vendor of the paths to user in this operation.Indicate the World-Wide Node Number for the target to use in thisoperation.Indicate the World-Wide Port Number for the target to use in thisoperation.2 To load the new claim rule into your system, run the following command:esxcli --<strong>server</strong>=<strong>server</strong>_name <strong>storage</strong> core claimrule loadThis command loads all newly created multipathing claim rules from your system's configuration file.Example: Defining Multipathing Claim RulesIn the following example, you add and load rule # 500 to claim all paths with the NewMod model string andthe NewVend vendor string for the NMP plug-in.# esxcli --<strong>server</strong>=<strong>server</strong>_name <strong>storage</strong> core claimrule add -r 500 -t vendor -V NewVend -M NewMod -PNMP# esxcli --<strong>server</strong>=<strong>server</strong>_name <strong>storage</strong> core claimrule loadAfter you run the esxcli --<strong>server</strong>=<strong>server</strong>_name <strong>storage</strong> core claimrule list command, you can see thenew claim rule appearing on the list.NOTE The two lines for the claim rule, one with the Class of runtime and another with the Class of file,indicate that the new claim rule has been loaded into the system and is active.Rule Class Rule Class Type Plugin MatchesMP 0 runtime transport NMP transport=usbMP 1 runtime transport NMP transport=sataMP 2 runtime transport NMP transport=ideMP 3 runtime transport NMP transport=blockMP 4 runtime transport NMP transport=unknownMP 101 runtime vendor MASK_PATH vendor=DELL model=Universal XportMP 101 file vendor MASK_PATH vendor=DELL model=Universal XportMP 500 runtime vendor NMP vendor=NewVend model=NewModMP 500 file vendor NMP vendor=NewVend model=NewMod230 VMware, Inc.

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

Saved successfully!

Ooh no, something went wrong!