18.08.2013 Views

vSphere Storage - ESXi 5.1 - Documentation - VMware

vSphere Storage - ESXi 5.1 - Documentation - VMware

vSphere Storage - ESXi 5.1 - Documentation - VMware

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.

<strong>vSphere</strong> <strong>Storage</strong><br />

3 #esxcli --server=server_name storage core claimrule load<br />

4 #esxcli --server=server_name storage core claimrule list<br />

5 #esxcli --server=server_name storage core claiming unclaim -t location -A vmhba2<br />

#esxcli --server=server_name storage core claiming unclaim -t location -A vmhba3<br />

6 #esxcli --server=server_name storage core claimrule run<br />

Unmask Paths<br />

When you need the host to access the masked storage device, unmask the paths to the device.<br />

In the procedure, --server=server_name specifies the target server. The specified target server prompts you<br />

for a user name and password. Other connection options, such as a configuration file or session file, are<br />

supported. For a list of connection options, see Getting Started with <strong>vSphere</strong> Command-Line Interfaces.<br />

Prerequisites<br />

Install vCLI or deploy the <strong>vSphere</strong> Management Assistant (vMA) virtual machine. See Getting Started with<br />

<strong>vSphere</strong> Command-Line Interfaces. For troubleshooting , run esxcli commands in the <strong>ESXi</strong> Shell.<br />

Procedure<br />

1 Delete the MASK_PATH claim rule.<br />

esxcli --server=server_name storage core claimrule remove -r rule#<br />

2 Verify that the claim rule was deleted correctly.<br />

esxcli --server=server_name storage core claimrule list<br />

3 Reload the path claiming rules from the configuration file into the VMkernel.<br />

esxcli --server=server_name storage core claimrule load<br />

4 Run the esxcli --server=server_name storage core claiming unclaim command for each path to the<br />

masked storage device.<br />

For example:<br />

esxcli --server=server_name storage core claiming unclaim -t location -A vmhba0 -C 0 -T 0 -L<br />

149<br />

5 Run the path claiming rules.<br />

esxcli --server=server_name storage core claimrule run<br />

Your host can now access the previously masked storage device.<br />

Define NMP SATP Rules<br />

The NMP SATP claim rules specify which SATP should manage a particular storage device. Usually you do<br />

not need to modify the NMP SATP rules. If you need to do so, use the esxcli commands to add a rule to the<br />

list of claim rules for the specified SATP.<br />

You might need to create a SATP rule when you install a third-party SATP for a specific storage array.<br />

In the procedure, --server=server_name specifies the target server. The specified target server prompts you<br />

for a user name and password. Other connection options, such as a configuration file or session file, are<br />

supported. For a list of connection options, see Getting Started with <strong>vSphere</strong> Command-Line Interfaces.<br />

Prerequisites<br />

Install vCLI or deploy the <strong>vSphere</strong> Management Assistant (vMA) virtual machine. See Getting Started with<br />

<strong>vSphere</strong> Command-Line Interfaces. For troubleshooting , run esxcli commands in the <strong>ESXi</strong> Shell.<br />

212 <strong>VMware</strong>, Inc.

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

Saved successfully!

Ooh no, something went wrong!