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 StorageProcedureuTo list iSCSI sessions, run the following command:esxcli --<strong>server</strong>=<strong>server</strong>_name iscsi session listThe command takes these options:Option-A|--adapter=str-s|--isid=str-n|--name=strDescriptionThe iSCSI adapter name, for example, vmhba34.The iSCSI session identifier.The iSCSI target name, for example, iqn.X.Add iSCSI SessionsUse the vCLI to add an iSCSI session for a target you specify or to duplicate an existing session. Byduplicating sessions, you increase the default number of sessions and create additional paths to <strong>storage</strong>systems.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 add or duplicate an iSCSI session, run the followign command:esxcli --<strong>server</strong>=<strong>server</strong>_name iscsi session addThe command takes these options:Option-A|--adapter=str-s|--isid=str-n|--name=strDescriptionThe iSCSI adapter name, for example, vmhba34. This option is required.The ISID of a session to duplicate. You can find it by listing all session.The iSCSI target name, for example, iqn.X.What to do nextRescan the iSCSI adapter.Remove iSCSI SessionsUse the vCLI command to remove an iSCSI session between an iSCSI adapter and a target.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.98 VMware, Inc.

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

Saved successfully!

Ooh no, something went wrong!