Set host port, Set iscsi initiator – Dell PowerVault MD3000 User Manual

Page 179

Advertising
background image

Script Commands

179

Set Host Port

This command changes the host type for an HBA host port. You can also
change an HBA host port label with this command.

Syntax

set hostPort [

portLabel

] host=

“hostName”

userLabel=

“newPortLabel”

Parameters

NOTE:

When you use this command, you can specify one or more of the optional

parameters. You do not, however, need to use all of the parameters.

NOTE:

You can use any combination of alphanumeric characters, hyphens, and

underscores for the names. Command names can have a maximum of 30
characters. If you exceed the maximum character limit, replace square brackets
([ ]) with angle brackets (< >) to overcome this limitation.

Set iSCSI Initiator

This command sets the attributes for an iSCSI initiator.

Syntax

set iscsiInitiator iscsiName =

new-iSCSI-ID

|

userLabel =

new-name

| host =

new-host-name

|

chapSecret =

new-password

Parameter

Description

hostPort

The name of the HBA host port for which you want to change the
host type, or for which you want to create a new name. Enclose the
HBA host port name in square brackets ([ ]). If the HBA host port
label has special characters, enclose the HBA host port label in
double quotation marks (" ").

host

The name of the host to which the HBA host port is connected.
Enclose the host name in double quotation marks (" ").

userLabel

The new name that you want to give to the HBA host port. Enclose
the new name of the HBA host port in double quotation marks (" ").

Advertising