beautypg.com

American Megatrends MAN-STOR-ITX27-CLI User Manual

Page 21

background image

Chapter Two: Command Set

15

Command

Argument

Description

-c/--containername
-m/--mode {0/1/2}
For example: set –t lunwritecachemode –v v1 –c c1
–m 0 iscsi


0 – Write through
1 – Write back

add iscsi

-t/--type {processor}
-n/--targetname

Adds the processor to the specified
target (used for backup).

remove iscsi

-t/--type {processor}
-n/--targetname

Removes the processor from the
specified target.

get iscsi

-t/--type {statistics}
For example: get –t statistics iscsi

Gets the iSCSI statistics, for
example, No. of iSCSI PDU sent
and received, payload, and
login/session failures.

get iscsi

-t/--type {portalstatus}
-p/--ipaddress

Gets the iSCSI Portal Status.

get iscsi

-t/--type {servicestatus}

Gets the iSCSI service status.
(Active/Inactive)

add iscsi

-t/--type {lun}
-v/--volumename
-c/--containername
-n/--targetname

Adds the LUN to the specified
target.

remove iscsi

-t/--type {lun}
-v/--volumename
-c/--containername
-n/--targetname

Removes the LUN from the
specified target.

get iscsi

-t/--type {sessions}
For example: get –t sessions iscsi

Gets the current sessions details
including session id.

remove iscsi

-t/--type {session}
-s/--sessionid

Terminates the session with the
given ID. To avoid automatic
reconnection by the initiator, you
will need to change the security
settings for that target prior to
termination.

list iscsi

-t/--type {tgt}

Gets the List of Targets available.

list iscsi

-t/--type {lun}
-n/--targetname

Gets the available LUNs in the
given target.

get iscsi

-t/--type {tgtauthsettings}
-n/--targetname

Gets the Authorization settings for
the target.

set iscsi

-t/--type {peersecret}
-i/--initiatorname < initiatorname. (Default : none)>
-s/--peersecret
For example: set –t peersecret –I iqn.1991-
10.com.microsoft:newbox –s iscsi

Sets the peer secret for the initiator.
You will be prompted to enter this
twice.

set iscsi

-t/--type {tgtauthsettings}
-n/--targetname
-u/--username
-r/--secretname
-i/--initiatorname default>

Sets the Authorization settings for
the target. The secret name should
be at least 12 characters in size
This will give exclusive access to
the LUN for the specified user and
initiator for maximum security.

get iscsi

-t/--type {lun}
-n/--targetname
-v/--volumename
-c/--containername
-i/--info

Gives the LUN's Information for
the specified target.

get iscsi

-t/--type {tgtoptimizations}
-n/--targetname

Gives the Target's Optimization
settings (i.e. whether multiple
initiator logins are supported).

set iscsi

-t/--type {tgtoptimizations}
-n/--targetname
-p/ --multiplesession {y/n}
-g/--nopinterval < nop ping internal >

Sets the Target's Optimization
settings to allow/disallow multiple
initiators logging in to a target
simultaneously.