American Megatrends MAN-STOR-ITX27-CLI manual ISCSI Configuration

Page 20

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

Description

get iscsi

-t/--type {tgtstatus}

Gives the status of the target as

 

-n/--targetname <targetsuffix>

enabled or disabled.

 

For example: get –t tgtstatus –n target1 iscsi

 

get iscsi

-t/--type {tgtname}

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

activate iscsi

-t/--type {portal}

Activates the specified iSCSI

 

-p/--ipaddress <Ipaddress of the target machine>

portal. You have to specify a portal

 

-g/--portaltag <portal tag>

tag at the time of activation of the

 

For example: activate –t portal –p 10.15.1.1 –g 3

portal.

 

iscsi

 

deactivate iscsi

-t/--type {portal}

Deactivates the specified iSCSI

 

-p/--ipaddress <ipaddress of the target machine>

portal.

enable iscsi

-t /--type {tgt}

Enables the specified target.

 

-n/--targetname <target suffix>

 

disable iscsi

-t/--type {tgt}

Disables the specified target.

 

-n/--targetname <target suffix>

 

 

For example: cli disable –t tgt –n newtgt iscsi

 

start iscsi

 

To start the iSCSI service.

stop iscsi

For example: stop iscsi

To stop the iSCSI service.

set iscsi

-t/--type {params}

Sets specified iSCSI Login

 

-o/--choiceno {0-12}

negotiation parameters.

 

-l/--value <value>

The possible values are:

 

For example: set –t params –o 1 –l 256 iscsi.

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)

get iscsi

-t/--type {lunwritecachemode}

Gets the Write Cache mode for the

 

-v/--volumename <volume name>

specified disk.

 

-c/--containername <containername>

 

set iscsi

-t/ --type {lunwritecachemode}

Sets the Write Cache mode for the

 

-v/--volumename <volume name>

specified disk.

14StorTrends® iTX Software CLI (Command Line Interface) (Version 2.7) User’s Guide

Image 20 Contents
MAN-STOR-ITX27-CLI 06/07/2010 Revision History Preface Table of Contents Technical Support Limited WarrantyLimitations of Liability Disclaimer Overview of CLI Accessing CLIPreface Initial Setup NIC-1Volume Configuration This will list the available RAID LD’s present in the systemPage Similarly a SAN volume can be created as follows To create a target, use the following commandsThen, to enable the target, use the syntax below Next step is to activate a port for iSCSI trafficCommand Set ChapterFor example To find out how the show command works, type CLIshow -h EnterAlert Configuration These commands configure the way alerts are generated These commands configure the time zone and date Date/Time Configuration Domain Configuration Event log Commands These commands display or clear the event logFirewall Configuration These commands configure the network firewall optionsThese commands get the health information General Server ConfigurationHealth Configuration ISCSI Configuration Command Argument Description License configuration These commands configure the LicenseNetwork Controller Configuration NAS Quota Configuration For exmaple set -t user -u test1 -p test1 -f Test1 ug NAS User / Group ConfigurationList retrieved will be given for both instead of singly Protocol Configuration RAID & Disk Management Commands Command Argument Description Upgrades the firmware for a Share, Directory & ACL Configuration These commands work on NAS shares and directoryLevel for NT System Control Configuration Volume and Snapshot CommandsThese commands configure the System controls 3provisiontype 0-ThinCommand Argument Description Command Argument Description Xml UPS ConfigurationThese commands configure the UPS for power management For example update -l c0v0 -p 50 -m Syncreplica Synchronous replicationFor example For example Update -l c0v0 -p 50 -m 172.16.70.102 Update -l c0v0 -g rg0 syncreplicaUtilization bandwidth utilization These commands configure asynchronous replicationAsynchronous Replication Command Argument Description Failedduetorollback Command Argument Description Command Argument Description Command Argument Description Journal Volume Management These commands configure a journal and journal fileExample Example Get -t journalfile -c Cont0 -f jf0 journalPage Recovery Wizard These commands are to view cdp for journal fileThese commands are used as part of recovery wizard Continuous Data ProtectionThese commands are used as part of SRM Storage Resource ManagementList the tasks in report, pending Workflow queueThese commands are used as part of snap validation Local and Replicated Snapshot validationPage Appendix a Error Codes Code 175 Error in mounting the share 338 License file read write error Code Code Code Code Description Code Description Code Description