Iscsi Configuration - American Megatrends StorTrends User’s guide User Manual

Command line interface version 2.7
Table of Contents

Advertisement

iSCSI Configuration

Note:
Targetname input: Only the suffix portion of the targetname is required.
For example: "iqn.1991-10.com.ami:itx001a2b3c4d5e2006:test1" . The user needs to input only "test1".
Command
Argument
get iscsi
-t/--type {tgtstatus}
-n/--targetname <targetsuffix>
For example: get –t tgtstatus –n target1 iscsi
get iscsi
-t/--type {tgtname}
activate iscsi
-t/--type {portal}
-p/--ipaddress <Ipaddress of the target machine>
-g/--portaltag <portal tag>
For example: activate –t portal –p 10.15.1.1 –g 3
iscsi
deactivate iscsi
-t/--type {portal}
-p/--ipaddress <ipaddress of the target machine>
enable iscsi
-t /--type {tgt}
-n/--targetname <target suffix>
disable iscsi
-t/--type {tgt}
-n/--targetname <target suffix>
For example: cli disable –t tgt –n newtgt iscsi
start iscsi
stop iscsi
For example: stop iscsi
set iscsi
-t/--type {params}
-o/--choiceno {0-12}
-l/--value <value>
For example: set –t params –o 1 –l 256 iscsi.
get iscsi
-t/--type {lunwritecachemode}
-v/--volumename <volume name>
-c/--containername <containername>
set iscsi
-t/ --type {lunwritecachemode}
-v/--volumename <volume name>
StorTrends® iTX Software CLI (Command Line Interface) (Version 2.7) User's Guide
14
Description
Gives the status of the target as
enabled or disabled.
Gets the iSCSI target name. This
value is not configurable and is
unique to the iTX device.
For example:
iqn.1991-
10.com.ami:itx0030482c8d788a7e
Activates the specified iSCSI
portal. You have to specify a portal
tag at the time of activation of the
portal.
Deactivates the specified iSCSI
portal.
Enables the specified target.
Disables the specified target.
To start the iSCSI service.
To stop the iSCSI service.
Sets specified iSCSI Login
negotiation parameters.
The possible values are:
1. FirstBurstLength (0-256 KB,
default=256)
2. MaxBurstLength (must be less
than #1, default=256)
3. MaxRecvDataSegmentLength
(0-256KB, default=256)
4. MaxConnections (0-4,
default=2)
5. DefaultTime2Retain (0-3600,
default=20 sec)
6. DefaultTime2Wait (0-
3600,default=2 sec)
7. InitialR2T (0-1, default=No,0)
8. MaxOutStandingR2T (1-8,
default=1 sec)
9. ErrorRecoveryLevel (0-2,
default=2)
10. ImmediateData (0-1,
default=1,yes)
11. DataPduInOrder (0-1,
default=1,yes)
12. DataSeqInOrd (0-
1,default=1,yes)
Gets the Write Cache mode for the
specified disk.
Sets the Write Cache mode for the
specified disk.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Stortrends itx

Table of Contents