background image

 

 
 
 
 
 
 
 
 
 
 
 
 
 

 

 
 

StorTrends® 
iTX Software 

CLI (Command Line Interface) 

(Version 2.7) 

User’s Guide 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

MAN-STOR-ITX27-CLI 

06/07/2010 

Summary of Contents for StorTrends iTX

Page 1: ...StorTrends iTX Software CLI Command Line Interface Version 2 7 User s Guide MAN STOR ITX27 CLI 06 07 2010...

Page 2: ...istered trademarks of the Novell Corporation UNIX is a registered trademark in the United States and other countries licensed exclusively through X Open Company Ltd Linux is a registered trademark of...

Page 3: ...pdate the create replication commands 06 07 10 Corrected the output of cli main 06 07 10 Removed the term apple 06 07 10 Corrected set t nfs command 06 07 10 Corrected set raid commands 06 07 10 Added...

Page 4: ...iguration 9 Date Time Configuration 10 Domain Configuration 10 Event log Commands 11 Firewall Configuration 12 General Server Configuration 13 Health Configuration 13 iSCSI Configuration 14 License co...

Page 5: ...zed third parties employees or agents in connection with the distribution of Licensed Software to end users including without limitation claims suits and liability for bodily or other injuries to end...

Page 6: ...erican Megatrends provides this publication as is without warranty of any kind either expressed or implied including but not limited to the implied warranties of merchantability or fitness for a speci...

Page 7: ...e output produced can be controlled depending on the need For example in automation scripting Output can also be made to be in the W3C standard compliant self descriptive XML format The output format...

Page 8: ...port name or n NIC 1 info or i network Enter Example get t port n nic 1 i network This will display the NIC 1 network settings To configure static IP to this port CLI set type or t port name or n NIC...

Page 9: ...that are available for configuration in controller number zero PD s can be grouped through a RAID level to form a Logical disk LD CLI create type or t LD stripesize or p 64 diskname or d dev sda use...

Page 10: ...le Example create t container c marketing k 64 l dev md1 volume The next step is the creation of volumes A NAS volume can be created by the following command CLI create type or t volume containername...

Page 11: ...sure the corresponding share protocol is enabled in the system First create the directory in the path before creating a share for the path CLI create path or p container1_nasvol0 test dir Enter Examp...

Page 12: ...rgetname or n sanvol0 iscsi Enter Example enable t tgt n sanvol0 iscsi Next step is to activate a port for iSCSI traffic CLI activate type or t portal ipaddress or p 10 0 0 100 portaltag or g 1 iscsi...

Page 13: ...extensive online help Each command supports a help option using h or help that will display the grammar of the command To get the main list of targets or modules present in CLI the user should type t...

Page 14: ...r CLI show d verbs Enter The show option can display the functions available for a target or even the functions available for a verb For example To display the functions available for targets verbs th...

Page 15: ...yyy ami com x alert Deletes the specified email address from the alert configuration set alert t type snmp e enable or d disable v value alertmask communityname destination x xml For example set t snm...

Page 16: ...mmands configure the domain server to be used for authentication Command Argument Description get domain t type nis ms x xml For example get t nis domain Displays the domain information of either NIS...

Page 17: ...rd count i info f fatal w warning or a all eventlog x xml For example get s vs o 2 n 20 f w eventlog Lists event log content matching the given criteria v Volume s System o OS h Health get eventlog c...

Page 18: ...mple edit a i 10 0 0 218 r 1 m 255 255 255 255 p icmp x firewall Modifies specified allowed or blocked firewall rule with given rule number to the given values for ICMP delete firewall a allow or b bl...

Page 19: ...mpt you to enter and confirm the new administrator root cli password Password length should be 32 or less characters create dump Creates a dump of the running system that is useful for debugging The f...

Page 20: ...al enable iscsi t type tgt n targetname target suffix Enables the specified target disable iscsi t type tgt n targetname target suffix For example cli disable t tgt n newtgt iscsi Disables the specifi...

Page 21: ...nge 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 target suffix Gets the available LUNs in the...

Page 22: ...t type iSNS Rescan for targets and initiators update iscsi t type noderegistrations Updates the nodes that are registered with all iSNS servers this iTX device is registered with reset iscsi Resets t...

Page 23: ...t type adp c count x xml Displays the number of network adapters present list network t type adp Displays the available network adapters and their status create network t type team m mode 1 2 3 p pri...

Page 24: ...Displays the quota configured for the given member set quota t type user p path volume path n name user name q quotasize size f filecount file count x xml For example set t user p c0_nas0 n user1 q 40...

Page 25: ...ser get ug t type user group s section local ads nis all c count x xml For example get t user i u test1 ug Displays the count of users groups of specified type list ug t type user group s section loca...

Page 26: ...protocol Enables or Disables the specified protocol get protocol t type snmp n communityname For example get t snmp n protocol Gets the community name for snmp get protocol t type cifs w winserver Get...

Page 27: ...slotindex n ControllerNo m cachemode For example get t pd d 1 n 0 m raid Gets the physical disk cache mode get raid t type ld l ldname Logical_Osname m cachemode Gets the logical drive cache setting...

Page 28: ...t type ld pd d diskname diskname or slotindex n controllerno controllerno For example blink t pd l dev sda n 0 raid Blinks a disk not supported on a 1U yet blink raid t type ld pd l ldname ldname Blin...

Page 29: ...remove t spare l dev md0 d dev sdb raid Removes a drive assigned as a spare disk or dedicated disk add raid t type spare d diskname or slotindex or enclosurenumber slotindex l ldname ldname for dedica...

Page 30: ...are add share n name name of the share p path path to be added s prototype cifs nfs upnp apple http ftp x xml For example add n share0 p c0_nas0 new s cifs s ftp share Adds specified share to the syst...

Page 31: ...e Attributes H Write Extended Attributes I Delete Subfolders and files J Delete K Read Permissions L Change Permissions m Take Ownership INHERITANCE FOR NT 0 No inheritance 1 this folder sub folders a...

Page 32: ...lumesize in GB k chunksize 64 or 8 in KB volumesize p provisiontype provisiontype 0 1 2 e volumetype volumetype 0 f voldialect volumedialect 0 1 For example create t volume c Cont0 v AutoNas k 64 z 20...

Page 33: ...it will delete the local snapshot delete volume t type volume c containername containername a all f force optional Deletes all the volumes within that container delete volume t type snap c containern...

Page 34: ...0 s Volume0WriteableSnap0 w volume Activates writeable Snapshot deactivate volume t snap snap c containername containername v volumename volumename s snapname snapname Deactivates the Snapshot rollbac...

Page 35: ...ery value should be between 0 and 100 Timeout value should be between 0 and 1000 minutes set UPS e enable or d disable b battery min battery value t timeout mins m mode 2 i masterip HostName Master Ip...

Page 36: ...50 m 172 16 70 102 x syncreplica Updates the given parameters of the volpair in DDF and in module get syncreplica l local local primary cont_vol_name For example get l c0_v0 syncreplica Displays the...

Page 37: ...ica Managerg command is used to manage and configure Resource Group Action denotes the operation to be perfomed on the RG This command is also used to add remove edit virtual IP configured for a speci...

Page 38: ...syncreplica delete l c0_v0 f syncreplica delete l c0_v0 l c1_v2 l c1_v2 f syncreplica Deletes the given synchronous replication pair Note Use force to clean up non operational pair locally Multiple pa...

Page 39: ...lume Dialect 0 ISCSI 1 NAS 2 Compression Type 0 No compression 1 9 levels 3 secsnapcount can take values between 1 to 1022 4 WDS mode is used only in Snap Assisted Replication and HA DR 5 This command...

Page 40: ...defined For all other status this command would return error resume asyncreplica n name asynchronous replication name c containername container name d index system assigned name Example resume n name...

Page 41: ...ary and or secondary update asyncreplica n name asynchronous replication name c containername container name d index system assigned name i primaryip primary host IP address m secondaryip secondary ho...

Page 42: ...and can be issued in a primary update asyncreplica n name asynchronous replication name c containername container name d index system assigned name i primaryip primary host IP address Update primaryip...

Page 43: ...icates all hours of the day or all days of the week based on its position Note The end_time and end_day are not included Meaning 15 16 means 1500 1559 Hours and 0 2 means Monday and Tuesday 5 A Maximu...

Page 44: ...rname container name d index system assigned name i ip other HA system IP Enables HA DR with the HA pair system IP addres should be the WAN IP of HA pair that can be reached from DR This command can b...

Page 45: ...Deletes journal delete journal t type journalfile c containername containername f journalfilename journalfilename Example delete t journalfile c cont0 f jf0 journal Deletes journal file get journal t...

Page 46: ...tes group snapshot and post event to journal creategroup journal t type snap w contname volumename snapname writsnapname d volume_dialect Example creategroup t snap w c0 v0 Vsv0xxxxxxxxxxxxxxSchdL1RT1...

Page 47: ...cdp t review c container containername f journalfile jfname Example get t review c c0 f jf0 cdp Gets CDP Review Progress operation for journal file Recovery Wizard These commands are used as part of r...

Page 48: ...volume volumename s snap snapname x xml optional Example rollback c c0 v vol1 s snap1 recoverywizard rollback c c0 v vol1 v vol2 v vol3 s snap4v1T2 s snap5v2T2 s snap6v3T2 recoverywizard Rollback reco...

Page 49: ...Example resume t local c Cont0 v Volume0snapvalidation This will resume validation of NAS snapshots for already paused enabled NAS volume get snapvalidation t type local c containername containername...

Page 50: ...t type CG c containername containername n cgname cgname x xml Example resume t CG c Cont0 n CG1 snapvalidation This will resume replica validation for the given volume or volumes CG The remote system...

Page 51: ...hare count 36 Unable to create share entry 37 Unable to delete the share entry 38 Share operations not possible on iSCSI volumes 40 Read less number of event log records than requested 41 Event log da...

Page 52: ...st name 97 Invalid RPM name 98 Error in installing RPM 99 UPnP Share Does not exists 110 File open Error 111 User Operation busy 112 Unable to delete user 113 Unable to add group 114 Group operation b...

Page 53: ...e type 263 Invalid CIFS workgroup 264 Invalid SNMP Trap Destination 265 Invalid SNMP community 266 Invalid domain name 267 Duplicate SNMP Trap Destination 268 Duplicate Email ID 270 ACL database error...

Page 54: ...er error 519 Cannot perform this operation there are no iSNS servers 520 Unknown iSNS error 521 Cannot remove ISNS server an operation is in progress 522 LUN serial number error 523 Error in loading S...

Page 55: ...not be shrunk 638 API failure 639 Disk is not a Spare 640 Var Log device error 642 LD Create Expand Transform not supported while another LD Expand Transform is in progress 643 LD Expand Transformatio...

Page 56: ...801 Volume expansion limit exceeded 802 Read only snapshot count exceeded 803 Read write snapshot count exceeded 852 License Read only snapshot count exceeded the license count 853 License iSCSI volu...

Page 57: ...due to it being busy 918 No Target found for volume either in Primary Secondary 919 Replication Operation not permitted on Secondary 1001 Replication General error 1002 Replication Invalid parameters...

Page 58: ...found 1120 Asynchronous Replication Given T number snapshot info not available 1121 Asynchronous Replication Given volume already part of another CG 1122 Asynchronous Replication Remote machine unava...

Page 59: ...Snapshot is in unstable state 1415 CDP Failed to read from journal file 1504 Upgrading packages failed 1506 Upgrade Checksum failed 1507 Upgrade error in downloading image 1508 Upgrade image version i...

Page 60: ...M snap type specified is invalid 8208 DVM invalid UUID specified 8209 DVM duplicate volume name specified 8210 DVM duplicate volume UUID specified 8211 DVM too many volumes in the system 8212 DVM cann...

Reviews: