background image

Parameters

Keyword and Value Description

Default Value

-i HyperImage ID

The HyperImage ID. The value ranges from 0 to
127.

You can query the information by running the

showhyimginfo

 command.

None.

Modes

Normal mode.

Level

Super administrator level and administrator level.

Usage Guidelines

None.

Example

Stop the HyperImage with the 

ID

 of 

13

.

OceanStor: admin> disablehyimg -i 13      
The command has been sent, please wait...

System Response

When the command is complete, you can run the 

showhyimginfo

 command to view the result.

9.1.13 cancelrollbackhyimg

Function

The command 

cancelrollbackhyimg

 is used to cancel the in-progress rollback of the

HyperImage.

Format

cancelrollbackhyimg

 

-i

 

HyperImage ID

9 Value-Added Service Management Commands

OceanStor S2600 Storage System

Command Reference

9-14

Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

Issue 07 (2010-05-20)

Summary of Contents for OceanStor S2600

Page 1: ...OceanStor S2600 Storage System V100R002 Command Reference Issue 07 Date 2010 05 20 Huawei Proprietary and Confidential Copyright Huawei Technologies Co Ltd ...

Page 2: ...d in this document are the property of their respective holders Notice The purchased products services and features are stipulated by the contract made between Huawei and the customer All or part of the products services and features described in this document may not be within the purchase scope or the usage scope Unless otherwise specified in the contract all statements information and recommend...

Page 3: ...ands 2 6 2 2 4 Service Management Commands 2 8 2 2 5 Alarm Management Commands 2 9 2 2 6 User Management Commands 2 9 2 2 7 Value Added Service Management Commands 2 10 3 Basic Operation Commands 3 1 3 1 Help Command 3 2 3 1 1 clihelp 3 2 3 2 System Exit and Logout Commands 3 3 3 2 1 exit 3 3 3 2 2 logout 3 4 3 3 Batch Processing Command 3 4 3 3 1 autobat 3 4 3 4 Commands of Setting the IP Address...

Page 4: ...ommands 4 17 4 5 1 showstatswitch 4 18 4 5 2 chgstatswitch 4 18 4 5 3 statperf 4 19 4 5 4 statres 4 21 4 5 5 staterr 4 22 4 5 6 cleanerr 4 23 4 6 Software Upgrade Commands 4 24 4 6 1 upgradesys 4 24 4 6 2 synchronize 4 25 4 6 3 showsesmac 4 26 4 6 4 showsesversion 4 27 4 6 5 upgradeses 4 28 4 7 Primary Secondary Switchover Commands 4 29 4 7 1 swapsys 4 29 4 7 2 showmaster 4 30 4 8 System Reset Com...

Page 5: ... 5 4 2 showcomsleep 5 12 5 5 Command of Querying the Information About a Host Port Module 5 13 5 5 1 showinterface 5 13 5 6 Expander Module Management Command 5 14 5 6 1 showexpboard 5 15 5 7 UPS Information Query Commands 5 16 5 7 1 showupstime 5 16 5 7 2 showupsstat 5 17 5 8 Command of Managing the Power Supply Information 5 18 5 8 1 showpowerinfo 5 18 5 9 Power off the device command 5 19 5 9 1...

Page 6: ...figuration Commands 6 8 6 2 1 createlun 6 8 6 2 2 deletelun 6 10 6 2 3 chglun 6 11 6 2 4 showlun 6 13 6 3 LUN Mapping Configuration Commands 6 15 6 3 1 createhostgroup 6 15 6 3 2 deletehostgroup 6 16 6 3 3 chghostgroup 6 17 6 3 4 showhostgroup 6 18 6 3 5 addhost 6 19 6 3 6 chghost 6 20 6 3 7 deletehost 6 21 6 3 8 showhost 6 22 6 3 9 showfreeport 6 23 6 3 10 addport 6 24 6 3 11 showhostport 6 25 6 ...

Page 7: ... 3 8 3 User Information Query Command 8 4 8 3 1 showuser 8 4 8 4 User Level Change Command 8 5 8 4 1 chguserlevel 8 5 8 5 User Password Change Command 8 6 8 5 1 chgpasswd 8 6 8 6 User Logout Command 8 7 8 6 1 logout 8 7 9 Value Added Service Management Commands 9 1 9 1 Hyperimage Configuration Commands 9 2 9 1 1 showhyimginfo 9 2 9 1 2 chghyimgname 9 3 9 1 3 showlunforpool 9 4 9 1 4 addluntopool 9...

Page 8: ...cplun 9 34 9 2 5 deletehycp 9 35 9 2 6 chghycpstatus 9 35 9 2 7 showlunforhycp 9 37 9 2 8 createhycp 9 38 9 2 9 taghycp 9 41 9 2 10 addhycplun 9 42 9 3 LUN Expanding Management Commands 9 44 9 3 1 showexpluninfo 9 44 9 3 2 showexplunmember 9 45 9 3 3 rmlunfromexplun 9 46 9 3 4 showlunforexplun 9 47 9 3 5 addluntoexplun 9 48 9 3 6 showexplunnum 9 49 9 4 Initiator and target controller Configuration...

Page 9: ...showlinkperiod 9 69 9 6 9 chglicensestatus 9 70 9 6 10 showincrementlicense 9 71 A How to Obtain Help A 1 A 1 Preparations For Contacting Huawei A 2 A 1 1 Collecting Troubleshooting Information A 2 A 1 2 Making Debugging Preparations A 2 A 2 How to Use the Document A 2 A 3 How to Obtain Help from Website A 2 A 4 Ways to Contact Huawei A 3 B Glossary B 1 C Acronyms and Abbreviations C 1 OceanStor S...

Page 10: ......

Page 11: ...ack and the maintenance terminal 1 4 Figure 1 5 Interface for successful login 1 5 Figure 1 6 PuTTY Configuration 1 6 Figure 1 7 Logging to the server through the PuTTY software 1 6 Figure 1 8 Interface of successful login 1 7 OceanStor S2600 Storage System Command Reference Figures Issue 07 2010 05 20 Huawei Proprietary and Confidential Copyright Huawei Technologies Co Ltd ix ...

Page 12: ......

Page 13: ...ent command set 2 6 Table 2 5 Service configuration command set 2 8 Table 2 6 Alarm management command set 2 9 Table 2 7 User management command set 2 10 Table 2 8 Value added service management commands set 2 10 OceanStor S2600 Storage System Command Reference Tables Issue 07 2010 05 20 Huawei Proprietary and Confidential Copyright Huawei Technologies Co Ltd xi ...

Page 14: ......

Page 15: ...e This document is intended for l Data configuration engineers l Management and maintenance personnel Organization This document is organized as follows Chapter Description 1 Introduction to the CLI This chapter describes the CLI and how to configure and manage the storage system through the CLI 2 Introduction to the CLI Commands This chapter describes the modes levels and types of commands accord...

Page 16: ... for obtaining help from Huawei B Glossary This chapter describes the terms referred to in this document C Acronyms and Abbreviations This chapter describes the acronyms and abbreviations referred to in this document Conventions Symbol Conventions The symbols that may be found in this document are defined as follows Symbol Description DANGER Indicates a hazard with a high level of risk which if no...

Page 17: ...eywords of a command line are in boldface Italic Command arguments are in italics Items keywords or arguments in brackets are optional x y Optional items are grouped in braces and separated by vertical bars One item is selected x y Optional items are grouped in brackets and separated by vertical bars One item is selected or no item is selected x y Optional items are grouped in braces and separated...

Page 18: ...ressed in turn Mouse Operations The mouse operations that may be found in this document are defined as follows Action Description Click Select and release the primary mouse button without moving the pointer Double click Press the primary mouse button twice continuously and quickly without moving the pointer Drag Press and hold the primary mouse button and move the pointer to a certain position Upd...

Page 19: ...se has the following updates Add two commands Brand changes Updates in Issue 03 2009 10 27 The third commercial release has the following updates Bugs revised Updates in Issue 02 2009 09 30 The second commercial release has the following updates Bugs revised Updates in Issue 01 2009 08 31 Initial field trial release OceanStor S2600 Storage System Command Reference About This Document Issue 07 2010...

Page 20: ......

Page 21: ...red to as S2600 the CLI supports batch processing operations which helps you manage and maintain the devices efficiently and quickly 1 2 Configuring and Managing the Storage System Through the CLI This document describes how to configure and manage the storage system through the CLI OceanStor S2600 Storage System Command Reference 1 Introduction to the CLI Issue 07 2010 05 20 Huawei Proprietary an...

Page 22: ...ine Interface The CLI that provided by the ISM helps you to query configure and manage the services of the storage system NOTE You can log in to the CLI interface in the following two ways l through the management network port After connect the maintenance terminal to the controller subrack through the serial cable DB 9 to DB 9 you can connect to the CLI of the controller through the Hyper Termina...

Page 23: ...t select a serial port for example COM1 and click OK Figure 1 2 Connect To 3 In the COM1 Properties dialog box set the parameters as shown in Figure 1 3 Click OK OceanStor S2600 Storage System Command Reference 1 Introduction to the CLI Issue 07 2010 05 20 Huawei Proprietary and Confidential Copyright Huawei Technologies Co Ltd 1 3 ...

Page 24: ...system displays the following information See Figure 1 4 Figure 1 4 Interface for successful connection between the controller subrack and the maintenance terminal 1 Introduction to the CLI OceanStor S2600 Storage System Command Reference 1 4 Huawei Proprietary and Confidential Copyright Huawei Technologies Co Ltd Issue 07 2010 05 20 ...

Page 25: ...is document takes the PuTTY software as an example You can download the PuTTY software on related websites 1 Run the PuTTY software and the PuTTY Configuration dialog box is displayed as shown in Figure 1 6 OceanStor S2600 Storage System Command Reference 1 Introduction to the CLI Issue 07 2010 05 20 Huawei Proprietary and Confidential Copyright Huawei Technologies Co Ltd 1 5 ...

Page 26: ...t Name or IP address Select Protocol as SSH 3 Click Open and the displayed interface is as shown in Figure 1 7 Figure 1 7 Logging to the server through the PuTTY software 1 Introduction to the CLI OceanStor S2600 Storage System Command Reference 1 6 Huawei Proprietary and Confidential Copyright Huawei Technologies Co Ltd Issue 07 2010 05 20 ...

Page 27: ...etwork port you can log in to the storage system remotely for routine maintenance and management 1 2 2 Configuration and Management This topic introduces the settings you are recommended to do when you first log in to the CLI You are recommended to set the IP address of the management network interface on the controller when you first log in to the CLI For the commands and methods used in the sett...

Page 28: ... in to the storage system remotely over the secure shell SSH protocol for routine maintenance and management 1 Introduction to the CLI OceanStor S2600 Storage System Command Reference 1 8 Huawei Proprietary and Confidential Copyright Huawei Technologies Co Ltd Issue 07 2010 05 20 ...

Page 29: ...ands 2 2 Command Classification The CLI commands are classified into the basic operation commands system management commands device management commands service management commands alarm management commands user management commands and value added service management commands OceanStor S2600 Storage System Command Reference 2 Introduction to the CLI Commands Issue 07 2010 05 20 Huawei Proprietary an...

Page 30: ...command level can be classified into super administrator level administrator level and guest level The command level can be classified into the following types l Super administrator level Only the super administrator can use the commands of this level The administrator and guest cannot use the commands of this level l Administrator level Only the super administrator and administrator can use the c...

Page 31: ... through the entered letters you can complete the command by pressing Tab NOTE l If no character is entered on the CLI no information is displayed when you press Tab for the first time All commands are displayed after you press Tab again l After part of a command is entered if no information is displayed after you press Tab twice it indicates that the command start with the entered letters does no...

Page 32: ...mands The service configuration commands are mainly used to configure and query the service information of the storage system 2 2 5 Alarm Management Commands The alarm management commands are mainly used to configure and query the alarm information of the storage system 2 2 6 User Management Commands The user management commands are mainly used to configure and query the user information of the st...

Page 33: ...System management command set Classification Command System information query commands showsys showsysfail showtemperature showvoltage showsn showlicense Controller management commands offline showctrlinfo Alarm log exporting or log exporting commands exportalm Configuration management commands exportcofferdb exportblackbox exportconf importconf exportstat Statistics management commands showstatsw...

Page 34: ...n information query command showallver Mirroring Information Query Commands showmirror a Challenge Handshake Authentication Protocol b Database 2 2 3 Device Management Commands The device management commands are mainly used to configure and query the hardware information of the storage system Table 2 4 lists the device management commands Table 2 4 Device management command set Classification Comm...

Page 35: ...formation query command showpowerinfo Power off the device command shutdown BBUa information query command showbbu Fan information query command showfan Commands of querying the information about buzzer status showbuzzerstatus chgbuzzerstatus Host port configuration commands showfps chgfps showsasmode showiscsiip chgiscsiip chgiscsiroute chgiscsiname showiscsiroute showfcmode chgfcmode showfcport ...

Page 36: ...mands createrg deleterg chgrg showrg chgrgredundantcopy showrgredundantcopy LUNb configuration commands createlun deletelun chglun showlun LUN mapping configuration commands createhostgroup deletehostgroup chghostgroup showhostgroup addhost chghost deletehost showhost showfreeport addport showhostport deleteport chgport 2 Introduction to the CLI Commands OceanStor S2600 Storage System Command Refe...

Page 37: ...em Table 2 6 lists the alarm management commands Table 2 6 Alarm management command set Classification Command Alarm email management commands chgemail showemail Alarm short message management commands chgsms showsms 2 2 6 User Management Commands The user management commands are mainly used to configure and query the user information of the storage system Table 2 7 lists the user management comma...

Page 38: ... of the storage system Table 2 8 lists the value added service management commands Table 2 8 Value added service management commands set Classification Command Hyperimage configuration commands showhyimginfo chghyimgname showlunforpool addluntopool rmlunfrompool showpoollun showpoolinfo chgpoolalarmvalue showlunforhyimg createhyimg deletehyimg disablehyimg cancelrollbackhyimg rollbackhyimg recreat...

Page 39: ...lun deletehycp chghycpstatus showlunforhycp createhycp taghycp addhycplun LUN expanding management commands showexpluninfo showexplunmember rmlunfromexplun showlunforexplun addluntoexplun showexplunnum Initiator and target controller Configuration Commands addtgt showtgt connecttgt chgtgt OceanStor S2600 Storage System Command Reference 2 Introduction to the CLI Commands Issue 07 2010 05 20 Huawei...

Page 40: ...ther Configuration Commands showarrayinfo createvirlunmask cancelvirlunmask showthirdpartyluninfo statlink testlink chglinkstat showlinkperiod chglicensestatus showincrementlicense 2 Introduction to the CLI Commands OceanStor S2600 Storage System Command Reference 2 12 Huawei Proprietary and Confidential Copyright Huawei Technologies Co Ltd Issue 07 2010 05 20 ...

Page 41: ...nd is used to execute the command scripts 3 4 Commands of Setting the IP Address of the Management Network Interface on the Controller Commands of setting the IP address of the management network interface on the controller is used to set the IP address of the management network interface on the controller 3 5 CLI Idle Time Setting Command CLI idle time setting command is used to set CLI idle time...

Page 42: ...d guest level Usage Guidelines When using this command note the following items l Each user can only query the command help information under the related rights l The command clihelp is used to query the information about all the commands in current mode l The command clihelp h command name is used to query the help information about the command Example Query the help information about the chgrg c...

Page 43: ...R Written by Qiao Lina COPYRIGHT All right reserved C 2008 Huawei Technologies Co Ltd SEPTEMBER 2006 CHGRG 1 3 2 System Exit and Logout Commands System exit and logout commands are used to exit the storage system 3 2 1 exit 3 2 2 logout 3 2 1 exit Function The command exit is used to exit the CLI Format exit Parameters None Modes Normal mode safe mode and upgrade mode Level Super administrator lev...

Page 44: ...el Super administrator level administrator level and guest level Usage Guidelines The command logout is used to log out of the CLI Example Log out of the CLI OceanStor admin logout 3 3 Batch Processing Command Batch processing command is used to execute the command scripts 3 3 1 autobat 3 3 1 autobat 3 Basic Operation Commands OceanStor S2600 Storage System Command Reference 3 4 Huawei Proprietary...

Page 45: ...d administrator level Usage Guidelines When using this command note the following items l One line is for one command only l Commands such as chgpasswd that require manual entering the parameter cannot be used Example Execute the cmdfile script The IP address of the FTP server is 10 10 10 1 The user name is root and the password is 123456 The batch process file whose name is cmdfile is stored in t...

Page 46: ...hgctrlip c controller ID a IP address s subnet mask g gateway Parameters Keyword and Value Description Default Value c controller ID The controller ID The value is A or B and is case insensitive None a IP address The IP address of the management network interface on the controller None s subnet mask The subnet mask None g gateway The gateway None Modes Normal mode Level Super administrator level a...

Page 47: ...r level administrator level and guest level Usage Guidelines When using this command note the following items l The command showctrlip is used to query the information about the IP addresses of all controllers l The command showctrlip c controller ID is used to query the information about the IP address of a specified controller Example Query the information about the IP addresses of all controlle...

Page 48: ...han two minutes The unit can be s second m minute h hour The default unit is s second None Modes Normal mode Level Super administrator level and administrator level Usage Guidelines If the user does not perform any operation during the idle time the user exits the CLI automatically after the idle time Example Set the CLI idle time to ten minutes OceanStor admin chgidletime t 10m 3 Basic Operation ...

Page 49: ...tem configuration information and to import and export the configuration file 4 5 Statistics Management Commands The performance statistics management commands are used to make statistics upon performance based on the interfaces or LUNs and they are also used to clear the error codes on the FC host ports 4 6 Software Upgrade Commands Software upgrade commands are used to upgrade the system softwar...

Page 50: ...nfiguration of the coffer 4 13 Version Information Query Command Version information query command is used to query the version information of the storage system including software version product version SES version and logic version 4 14 Mirroring Information Query Commands Mirroring information query commands are used to query the mirroring information 4 System Management Commands OceanStor S26...

Page 51: ...command showsys is used to query the information about the storage system Format showsys Parameters None Modes Normal mode Level Super administrator level administrator level and guest level Usage Guidelines The command showsys is used to query the information about the storage system Example Query the system information OceanStor admin showsys System Information System Name aaa OceanStor S2600 St...

Page 52: ... Usage Guidelines The command showsysfail is used to query the cause of the system power on failure and the system status due to the power on failure Example Query the cause of the system power on failure and the system status due to the power on failure OceanStor admin showsysfail Power On Fail Reason None After Power on Fail System Status Normal mode 4 1 3 showtemperature Function The command sh...

Page 53: ...the temperature of the controller expander module or host port module Example Query the temperature of the controller OceanStor admin showtemperature t 0 Controller board temperature information CPU C South bridge C North bridge C Air inlet C 32 32 36 33 4 1 4 showvoltage Function The command showvoltage is used to query the voltage of the controller or expander module Format showvoltage t type Oc...

Page 54: ...ery the voltage of the controller OceanStor admin showvoltage t 0 Controller board voltage information Power supply V South north bridge chip V Memory V CPU kernel V 11 9 1 2 1 2 1 2 4 1 5 showsn Function The command showsn is used to query the serial number of the device Format showsn Parameters None Modes Normal mode Level Super administrator level administrator level and guest level 4 System Ma...

Page 55: ...s None Modes Normal mode Level Super administrator level administrator level and guest level Usage Guidelines showlicense is used to query licenses for basic service and valued added service such as disk license and LUN license Example Query the license of the device OceanStor admin showlicense License Information Used LUN Mapping License 1 Total LUN Mapping License 48 Used Disk License 4 Total Di...

Page 56: ...ID The value is A or B and is case insensitive None Modes Normal mode Level Super administrator level and administrator level Usage Guidelines When using this command note the following items l For a storage system configured with two controllers the command is used when the system works properly l For a storage system configured with one controller the command cannot be used Example Disable the s...

Page 57: ...vel Usage Guidelines When using this command note the following items l The command showctrlinfo is used to query the information about all online controllers l The command showctrlinfo c controller ID is used to query the information about a specified online controller Example Query the information about all online controllers OceanStor admin showctrlinfo Controller Information Controller A CPU U...

Page 58: ...directory t type Parameters Keyword and Value Description Default Value i host IP address The IP address of the FTP server It is requested that the FTP server can access the storage network system None u user name The user name of the FTP server None p password The password of the FTP server None f file directory The path that stores the alarm file on the FTP server None t type The type of the log...

Page 59: ...ed in the path home ISM OceanStor admin exportalm i 10 10 10 1 u root p 123456 f home ISM t 1 4 4 Configuration Management Commands The configuration management commands are used to export the debug information system configuration information and to import and export the configuration file 4 4 1 exportcofferdb 4 4 2 exportblackbox 4 4 3 exportconf 4 4 4 importconf 4 4 5 exportstat 4 4 1 exportcof...

Page 60: ...ots 0 1 2 and 3 are the same When the configuration files are different the storage system switches to the safe mode It is recommended to back up the configuration files periodically When the system fails you can restore the settings of the system by using the importconf command For details on the importconf commands see 4 4 4 importconf None u user name The user name of the FTP server None p pass...

Page 61: ...tcofferdb i 10 10 10 1 di 3 u root p adfjla f home temp cofferdb dat 4 4 2 exportblackbox Function The command exportblackbox is used to export the debugging information from the black box Format exportblackbox i host IP address u user name p password f file Parameters Keyword and Value Description Default Value i host IP address The IP address of the FTP server It is requested that the FTP server...

Page 62: ...nformation tgz in home temp The FTP user name is root and the password is adfjla OceanStor admin exportblackbox i 10 10 10 1 u root p adfjla f home temp information tgz 4 4 3 exportconf Function The command exportconf is used to export the data of the configuration file from the memory Format exportconf i host IP address u user name p password f file Parameters Keyword and Value Description Defaul...

Page 63: ...dress of the FTP server is 10 10 10 1 The user name is root and the password is 123456 The configuration file configurefile dat is stored in the path home ISM OceanStor admin exportconf i 10 10 10 1 u root p 123456 f home ISM configurefile dat 4 4 4 importconf Function The command importconf is used to import the data of the configuration file Format importconf i host IP address u user name p pass...

Page 64: ...ver Example Import the data of the configuration file The IP address of the FTP server is 10 10 10 1 The user name is root and the password is 123456 The configuration file configurefile dat is stored in the path home ISM OceanStor admin importconf i 10 10 10 1 u root p 123456 f home ISM configurefile dat if the file is imported the system will be restarted do you want to continue y or n y the sys...

Page 65: ...n information l When you run this command ensure that the FTP service is enabled on the FTP server Example Query the configuration information about the system The IP address of the FTP server is 10 10 10 1 The user name is root and the password is 123456 The system configuration file configurefile txt is stored in the path home ISM OceanStor admin exportstat i 10 10 10 1 u root p 123456 f home IS...

Page 66: ...Guidelines The command showstatswitch is used to query the status of system performance statistics Example Query the status of system performance statistics OceanStor admin showstatswitch Statistic status Open 4 5 2 chgstatswitch Function The command chgstatswitch is used to set the status of the system performance statistics Format chgstatswitch c o 4 System Management Commands OceanStor S2600 St...

Page 67: ...m performance statistics Example Disable system performance statistics OceanStor admin chgstatswitch c 4 5 3 statperf Function The command statperf is used to collect performance statistics of the system Format statperf p t type l i LUN Port ID Parameters Keyword and Value Description Default Value p Collect port based performance statistics None OceanStor S2600 Storage System Command Reference 4 ...

Page 68: ... For S2600S the value ranges from 0 to 3 port 0 and 1 belong to controller A port 2 and 3 belong to controller B l For S2600C the value can be 0 1 4 and 5 port 0 and 1 belong to controller A port 4 and 5 belong to controller B None Modes Normal mode Level Super administrator level administrator level and guest level Usage Guidelines When using this command note the following items l Before running...

Page 69: ... Max Bandwidth MB s 0 Current IOPS IO s 0 Max IOPS IO s 0 Cache Hit 0 Local Cache 0 Mirror Cache 0 4 5 4 statres Function The command statres is used to collect statistics on cache usage Format statres c controller ID Parameters Keyword and Value Description Default Value c controller ID The controller ID The value is A or B and is case insensitive None Modes Normal mode Level Super administrator ...

Page 70: ...erformance of front end host ports Format staterr c controller ID f i s Parameters Keyword and Value Description Default Value c controller ID The controller ID The value is A or B and is case insensitive None f Collect statistics on error codes of FC host ports None i Collect statistics on error codes of iSCSI host ports None s Collect statistics on error codes of the mini SAS host ports None Mod...

Page 71: ...rr c a f Controller Port ID Link Status LSGENum BRCENum LSYNum LFENum StartTime A 00 Connected 1 765 255 1 2009 08 25 08 43 12 A 01 Connected 1 765 255 1 2009 08 25 08 43 12 A 02 Connected 1 765 255 1 2009 08 25 08 43 12 A 03 Connected 5 771 255 1 2009 08 25 08 43 12 4 5 6 cleanerr Function The command cleanerr is used to clear the error codes of the FC host ports and restart the statistics of err...

Page 72: ... of FC host ports on controller A OceanStor admin cleanerr c a 4 6 Software Upgrade Commands Software upgrade commands are used to upgrade the system software and SCSI Enclosure Services SES Fiemware version 4 6 1 upgradesys 4 6 2 synchronize 4 6 3 showsesmac 4 6 4 showsesversion 4 6 5 upgradeses 4 6 1 upgradesys Function The command upgradesys is used to upgrade the system software Format upgrade...

Page 73: ...system software Log in to the current secondary controller of the system The IP address of the FTP Server is 10 10 10 1 The user name is root and the password is 123456 The upgrade file ISM_20081218 tgz is stored in the path home OceanStor admin upgradesys i 10 10 10 1 u root p 123456 f home ISM_20081218 tgz if the software is imported the system will be restarted do you want to continue y or n y ...

Page 74: ...ary controller first After upgraded the secondary controller is automatically reset Then run the command synchronize on the primary controller to synchronize the latest version to it Example Synchronize the system software OceanStor admin synchronize 4 6 3 showsesmac Function The command showsesmac is used to query the SES version s MAC address about the controllers or the expander modules Format ...

Page 75: ... showsesversion s subrack ID i board ID Parameters Keyword and Value Description Default Value s subrack ID The enclosure ID The value ranges from 0 to 7 None i board ID The ID of the controller or the expander module The value can be 0 or 1 None Modes Normal mode Level Super administrator level administrator level and guest level Usage Guidelines When using this command note the following items O...

Page 76: ...ormat upgradeses i host IP address u user name p password f file Parameters Keyword and Value Description Default Value i host IP address The IP address of the FTP Server It is requested that the FTP Server can access the storage network system None u user name The user name of the FTP server None p password The password of the FTP server None f file The path of the SES package that is stored on t...

Page 77: ...min upgradeses i 10 10 10 1 u admin p 123456 f home ISM tar Are you sure to upgrade SES y or n y 4 7 Primary Secondary Switchover Commands Primary Secondary switchover commands are used to set the state for system swapping and query the system swapping state of the controller that the user logs in to 4 7 1 swapsys 4 7 2 showmaster 4 7 1 swapsys Function The command swapsys is used to switch the st...

Page 78: ... command showmaster is used to query the primary and secondary state of the controller that the user logs in to Format showmaster Parameters None Modes Normal mode Level Super administrator level administrator level and guest level Usage Guidelines The command can be used only when the storage system is in dual controller mode and it s two controllers are in the normal state Example Query the prim...

Page 79: ...en using this command note the following items l The command resetsys is used to reset the system in general mode l The command resetsys f is used to reset the system in mandatory mode Example Reset the system OceanStor admin resetsys the system will be reset and restarted which will cause temporary service interruption do you want to continue y or n y the system is going to be reset please wait O...

Page 80: ...e items is described as follows l yyyy stands for year l mm stand for month l dd stands for day l hh stands for hour l mm stands for minute l ss stands for second None Modes Normal mode Level Super administrator level and administrator level Usage Guidelines The command chgsystime is used to change the system time The time ranges from 1970 01 01 00 00 00 to 2069 12 31 23 59 00 4 System Management ...

Page 81: ...rname free chgchapuser initiator initiator name1 initiator nameN status START STOP addinitiator initiator initiator name1 initiator nameN delinitiator initiator initiator name1 initiator nameN Parameters Keyword and Value Description Default Value adduser user username password password The command provides the functions of adding a CHAP user and setting the password l user username CHAP user name...

Page 82: ... user username password password The command provides the function of changing the password None showuser initiator initiator name The command queries created CHAP user names or the CHAP user names for a specified iSCSI host port l initiator initiator name The name of the iSCSI host port l showuser queries created CHAP user names NOTE chap showuser initiator initiator name queries the CHAP user na...

Page 83: ...5 characters including numbers letters underscores and hyphens The first character must be a letter You can enter multiple names at a time NOTE l chap deluser initiator initiator name user username1 usernameN deletes the CHAP user for a specified iSCSI host port l chap deluser user username1 usernameN deletes the CHAP user of the storage system None OceanStor S2600 Storage System Command Reference...

Page 84: ...e information about all interfaces corresponding to a specified CHAP user name l chap showinitiator free queries the information about an iSCSI host port of which the CHAP setting is not enabled None chgchapuser initiator initiator name1 initiator nameN status START STOP Enables or disables the CHAP setting for an iSCSI host port l initiator initiator name1 initiator nameN The name of the iSCSI ho...

Page 85: ...level and administrator level Usage Guidelines The command chap is used to set CHAP related functions for iSCSI host ports NOTE The command sets can be used only when the storage system uses the S2600i or S2600C controller enclosure Example Add a CHAP user Set the name to chap1 and the password to 1234567890123 OceanStor admin chap adduser user chap1 password 1234567890123 Are you sure to create t...

Page 86: ...l Trap IPs including the index number IP address port number and version number l Enter showtrapip i index to query the information of a designated Trap IP including the IP address port number and version number Example Query the information about the Trap IP OceanStor admin showtrapip Index IP Address Port ID Version 0 129 24 11 81 167 SNMPv1 1 129 24 11 82 167 SNMPv1 2 129 24 11 83 167 SNMPv1 3 ...

Page 87: ... Level Super administrator level and administrator level Usage Guidelines Add four Trap IPs at most Example Add a Trap IP The port ID of the Trap IP is 2234 the IP address is 129 16 101 127 and the version number is 1 OceanStor admin addtrapip p 2234 a 129 16 101 127 v 1 4 11 3 deletetrapip Function The command deletetrapip is used to delete a Trap IP Format deletetrapip i index OceanStor S2600 St...

Page 88: ...rator level Usage Guidelines None Example Delete the Trap IP whose index is 1 OceanStor admin deletetrapip i 1 4 11 4 chgtrapip Function The command chgtrapip is used to modify the information about a designated Trap IP Format chgtrapip i index p port ID a IP address v version 4 System Management Commands OceanStor S2600 Storage System Command Reference 4 40 Huawei Proprietary and Confidential Cop...

Page 89: ...el and administrator level Usage Guidelines When using the command chgtrapip the parameter i is indispensable and at least one parameter of p a and v must be entered Example Modify the port ID of the Trap IP whose index is 1 to 210 OceanStor admin chgtrapip i 1 p 210 4 12 Command of Clearing the DB Configuration of the Coffer Command of clearing the DB configuration of the coffer is used to clear ...

Page 90: ...nd the system prompts you to enter the password The default password is 654321 l The system will restart automatically after executing the cleancofferdb command Example Clear the DB configuration of a coffer OceanStor admin cleancofferdb Enter Password this operation will lead to clean up the DB configuration do you want to continue y or n y 4 13 Version Information Query Command Version informati...

Page 91: ...n information and SAS version information Example Query the version information OceanStor admin showallver Software Version Controller Software Version A 1 04 02 101 T01 B 1 04 02 101 T01 Product Version V100R002C01 SES Version Subrack ID Board ID SES Version 0 0 S022 0 1 S022 Logic Version Controller Logic Version A 230T02 B 230T02 SAS Version Controller Port ID Mode FirmwareVersion A 02 Initiato...

Page 92: ...lue i lun id The ID of the LUN to be queried The value is an integer ranging from 0 to 511 None Modes Normal mode Level Super administrator level administrator level and guest level Usage Guidelines The command showmirror is used to query whether a specified LUN is mirrored Example Query whether LUN 1 is mirrored OceanStor admin showmirror i 1 MIRROR RESULT MIRROR 4 System Management Commands Ocea...

Page 93: ...ule Command of querying the information about a host port module is used to query the information about the host port module 5 6 Expander Module Management Command Expander module management command is used to manage the expander module 5 7 UPS Information Query Commands UPS information query commands are used to query the UPS information 5 8 Command of Managing the Power Supply Information Comman...

Page 94: ...ion about buzzer status are used to query the information about the buzzer status 5 13 Host Port Configuration Commands Host port configuration commands are used to configure and query the information about the host port 5 Device Management Commands OceanStor S2600 Storage System Command Reference 5 2 Huawei Proprietary and Confidential Copyright Huawei Technologies Co Ltd Issue 07 2010 05 20 ...

Page 95: ...enclosure The value ranges from 0 to 7 None Modes Normal mode Level Super administrator level administrator level and guest level Usage Guidelines When using this command note the following items l The command showsubrack is used to query the information about all enclosures of the system l The command showsubrack s subrack ID is used to query the information about a specified enclosure Example Qu...

Page 96: ...hen using this command note the following items l The command deletesubrack can be used only when the storage system is in dual controller mode and it s two controllers are in the normal state l The disk enclosure must be in the offline state and have no member disk of a RAID group Example Delete a disk enclosure 1 OceanStor admin deletesubrack s 1 delete subrack 1 y or n y 5 2 Disk Management Com...

Page 97: ...age Guidelines The command showdiskinfo is used to query the information about disk manufacturers Example Query the manufacturer information about the disks in the controller enclosure OceanStor admin showdiskinfo s 0 Subrack ID 0 disk info DiskID Vendor 0 SEAGATE 1 SEAGATE 2 SEAGATE 3 SEAGATE 4 SEAGATE 5 SEAGATE 6 SEAGATE 7 SEAGATE 8 SEAGATE 9 SEAGATE 10 SEAGATE 11 SEAGATE 5 2 2 chgdisklight Ocea...

Page 98: ...ue ranges from 0 to 11 None Modes Normal mode Level Super administrator level and administrator level Usage Guidelines The command chgdisklight is used to set the status of the running indicator on a disk Example Set the status of the running indicator on the disk in slot 4 enclosure 0 to be on OceanStor admin chgdisklight o 1 s 0 sl 4 5 3 Controller Management Commands The controller management c...

Page 99: ...ormation about all controllers l The command showctrlboard c controller ID is used to query the state information about a specified controller Example Query the state information about all controllers OceanStor admin showctrlboard Controller Board Information Controller Board ID A Type SAS Controller Board Status On Primary Port Not Connected UPS Serial Port Not Connected Management Serial Port No...

Page 100: ... Connected Heartbeat Port Connected Logic Version 230T02 PCB Version STE1SCUA VER C BIOS Version T02 Electronic Label ArchivesInfo Version ArchivesInfoVersion 3 0 Board Properties BoardType STE1MCONS BarCode 03G015Z094000123 Item 0303G015 Description Main Control Unit Manufactured 2009 04 23 VendorName Huawei IssueNumber 00 CLEIcode BOM 5 3 2 chgctrlmodel Function The command chgctrlmodel is used ...

Page 101: ... controller normal mode OceanStor admin chgctrlmodel m 1 5 4 Hibernation Management Commands Hibernation management commands are used to manage the hibernation of the components 5 4 1 chgcomsleep 5 4 2 showcomsleep 5 4 1 chgcomsleep Function The command chgcomsleep is used to allow or prohibit hibernation of a component Format chgcomsleep o operate type i component id t component type id idle time...

Page 102: ...it components from hibernating l 2 Allow components hibernating None i compose id The component ID The value ranges from 0 to 31 None t compose type The component type The value is 1 indicating RAID None 5 Device Management Commands OceanStor S2600 Storage System Command Reference 5 10 Huawei Proprietary and Confidential Copyright Huawei Technologies Co Ltd Issue 07 2010 05 20 ...

Page 103: ...ur in the case of no operations l 3 The components hibernate after three hours in the case of no operations l 4 The components hibernate after five hours in the case of no operations l 5 The components hibernate after twelve hours in the case of no operations l 6 The components hibernate after one day in the case of no operations l 7 The components hibernate after two days in the case of no operat...

Page 104: ...e If allowed query whether the components are in hibernation state and the wait time before hibernation Format showcomsleep i raid id t component type Parameters Keyword and Value Description Default Value i raid id The RAID ID The value ranges from 0 to 31 None t component type The component type The value can be 1 or 2 and is described as follows l 1 The RAID l 2 The disk i is unavailable None M...

Page 105: ...n showcomsleep i 0 t 1 RAID Id Is Allow Hibernate Hibernate Status Idle Time 0 Yes sleep ten minutes 5 5 Command of Querying the Information About a Host Port Module Command of querying the information about a host port module is used to query the information about the host port module 5 5 1 showinterface 5 5 1 showinterface Function The command showinterface is used to query the information about...

Page 106: ...0 Port1 Port2 Port3 PCBVer A 0 4 FC online Connected Connected Connected Connected STE1FCHA VER B Electronic Label Board Properties BoardType STE1FCHA BarCode 02G055Z094000017 Item 0302G055 Description FC Host Interface Card Manufactured 2009 04 24 VendorName Huawei IssueNumber 00 CLEIcode BOM B 0 4 FC online Connected Connected Connected Not connected STE1FCHA VER B Electronic Label Board Propert...

Page 107: ...the following items l The command showexpboard is used to query the information about all expander modules l The command showexpboard s subrack ID is used to query the information about all expander modules for a specified enclosure l The command showexpboard s subrack ID i board ID is used to query the information about an expander module in a specified enclosure and board Example Query the infor...

Page 108: ...ands UPS information query commands are used to query the UPS information 5 7 1 showupstime 5 7 2 showupsstat 5 7 1 showupstime Function The command showupstime is used to query the system time of a UPS Format showupstime i ups id Parameters Keyword and Value Description Default Value i ups id The UPS ID The value can be 0 or 1 None Modes Normal mode Level Super administrator level administrator l...

Page 109: ...be 0 or 1 None Modes Normal mode Level Super administrator level administrator level and guest level Usage Guidelines The command showupsstat is used to query the information about all the states of a UPS Example Query the information about all the states of a UPS OceanStor admin showupsstat Ups Id 1 Information Heathy Status Normal Operate Status OnLine Enough Time To Write yes Discharge Status N...

Page 110: ...e s subrack id The subrack ID The value ranges from 0 to 7 None i power id The power ID The value can be 0 or 1 None Modes Normal mode Level Super administrator level administrator level and guest level Usage Guidelines When using this command note the following items l The command showpowerinfo is used to query the information about all power supplies l The command showpowerinfo s subrack id i po...

Page 111: ...e command shutdown is used to power off the device Format shutdown Parameters None Modes Normal mode Level Administrator level Usage Guidelines When using this command note the following items l If the system do not permit power off the device by CLI the interface will prompts The system can not permit to power off by CLI l If the system permit power off the device by CLI the interface will prompt...

Page 112: ...o be queried None Modes Normal mode Level Super administrator level administrator level and guest level Usage Guidelines When using this command note the following items l Enter showbbu to query all information about the BBU such as the ID present status BBU status and if it is fully charged l Enter showbbu i bbu id to query the information about a designated BBU including the present status and i...

Page 113: ... showfan is used to query the state information about a fan group Format showfan s subrack ID i fan ID Parameters Keyword and Value Description Default Value s subrack ID The controller enclosure or the disk enclosure ID The value ranges from 0 to 7 None i fan ID The fan group ID The value can be 0 or 1 None Modes Normal mode Level Super administrator level administrator level and guest level Ocea...

Page 114: ...evel 0 0 Normal Medium 0 1 Normal Medium 1 0 Second fan fault N A 1 1 Second fan fault N A 5 12 Commands of Querying the Information About Buzzer Status Commands of querying the information about buzzer status are used to query the information about the buzzer status 5 12 1 showbuzzerstatus 5 12 2 chgbuzzerstatus 5 12 1 showbuzzerstatus Function The command showbuzzerstatus is used to query the st...

Page 115: ...used to disable the buzzer None o The command is used to enable the buzzer None Modes Normal mode Level Super administrator level and administrator level Usage Guidelines The command chgbuzzerstatus is used to set the state of a buzzer After you run the chgbuzzerstatus o command to enable the buzzer the buzzer generates a sound when a critical alarm is generated Example Disable the buzzer OceanSto...

Page 116: ... 9 showfcmode 5 13 10 chgfcmode 5 13 11 showfcport 5 13 1 showfps Function The command showfps is used to query the rates of FC host ports Format showfps c controller ID i port ID Parameters Keyword and Value Description Default Value c controller ID The controller ID The value is A or B and is case insensitive None 5 Device Management Commands OceanStor S2600 Storage System Command Reference 5 24...

Page 117: ...elines The command applies to FC host ports on the controller of the storage device l The command showfps is used to query the rates of all FC host ports l The command showfps c controller ID i port ID is used to query the rate of a specified FC host port on a controller NOTE The command can be used only when the storage system uses the S2600F or S2600C controller enclosure Example Query the curre...

Page 118: ...host ports are numbered 0 1 2 and 3 in sequence l S2600C Each host port module is configured with two FC host ports and two iSCSI host ports From left to right the FC host ports are numbered 0 and 1 in sequence None s speed The rate of an FC host port The value can be 0 1 2 or 4 l 0 Auto adaptation l 1 The rate of 1 Gbit s l 2 The rate of 2 Gbit s l 4 The rate of 4 Gbit s None Modes Normal mode Le...

Page 119: ...ormat showsasmode c controller ID i port ID Parameters Keyword and Value Description Default Value c controller ID The controller ID The value is A or B and is case insensitive None i port ID The ID of a mini SAS host port The value ranges from 0 or 00 to 3 or 03 0 or 00 and 1 or 01 indicate targets 2 or 02 and 3 or 03 indicate initiators None Modes Normal mode Level Super administrator level admi...

Page 120: ...p Function The command showiscsiip is used to query the IP addresses of all iSCSI host ports Format showiscsiip c controller ID p port ID Parameters Keyword and Value Description Default Value c controller ID The controller ID The value is A or B and is case insensitive None p port ID The iSCSI host port ID The ID value ranges from 0 to 3 l S2600i Each host port module is configured with four iSCS...

Page 121: ... the IP addresses of all iSCSI host ports OceanStor admin showiscsiip Controller Port ID IP Address Subnet Mask A 0 192 168 1 153 255 255 255 0 B 0 192 168 26 1 255 255 255 0 5 13 5 chgiscsiip Function The command chgiscsiip is used to change the IP addresses of iSCSI host ports Format chgiscsiip c controller ID p Port ID a IP address s subnet mask m config mode Parameters Keyword and Value Descri...

Page 122: ...e can be 2 or 3 and is described as follows l 2 The Trunk mode l 3 The normal mode None Modes Normal mode Level Super administrator level and administrator level Usage Guidelines The IP addresses of iSCSI host ports and that of the management network interface cannot be on the same network segment NOTE The command is only applicable to iSCSI host ports on the controller of the storage device Examp...

Page 123: ... the controller The value ranges from 0 to 3 l S2600i Each host port module is configured with four iSCSI host ports From left to right the host ports are numbered 0 1 2 and 3 in sequence l S2600C Each host port module is configured with two FC host ports and two iSCSI host ports From left to right the iSCSI host ports are numbered 0 and 1 in sequence None a Dest IP address The network segment whi...

Page 124: ...host port to 192 168 1 1 OceanStor admin chgiscsiroute c a p 1 a 129 16 11 0 s 255 255 255 0 g 192 168 1 1 5 13 7 chgiscsiname Function The command chgiscsiname is used to modify the name of an iSCSI host port Format chgiscsiname n iscsiname Parameters Keyword and Value Description Default Value n iscsiname The changed name of an iSCSI host port The name contains 1 to 32 characters including numbe...

Page 125: ...is used to query the routing configurations information about an iSCSI host port Format showiscsiroute c controller ID p Port ID Parameters Keyword and Value Description Default Value c controller ID The controller ID The value is A or B and is case insensitive None OceanStor S2600 Storage System Command Reference 5 Device Management Commands Issue 07 2010 05 20 Huawei Proprietary and Confidential...

Page 126: ...vel Usage Guidelines The command showiscsiroute is used to query the routing configurations information about an iSCSI host port NOTE The command is only applicable to iSCSI host ports on the controller of the storage device Example On controller A query the configurations of iSCSI host port with ID 1 OceanStor admin showiscsiroute c a p 1 Controller Port ID Dest IP Subnet Mask Gateway A 1 192 12 ...

Page 127: ...hgfcmode is used to change the topology of the current FC port Format chgfcmode c controller ID i Port ID m mode Parameters Keyword and Value Description Default Value c controller ID The controller ID The value is A or B and is case insensitive None i Port ID The ID of an FC port The ID value ranges from 0 to 3 None OceanStor S2600 Storage System Command Reference 5 Device Management Commands Iss...

Page 128: ...or admin chgfcmode c a i 1 m 1 This operation will lead to interrupt the service Do you want to continue y Y or n N y 5 13 11 showfcport Function showfcport is used to query the detail information of all FC host ports exist in the system Format showfcport Parameters None Modes Normal mode Level Guest level and administrator level 5 Device Management Commands OceanStor S2600 Storage System Command ...

Page 129: ...tion of all the FC host ports OceanStor admin showfcport Controller Port ID Mode WWN A 0 Loop 2200001882f4a59a A 1 Loop 2201001882f4a59a B 0 Loop 2210001882f4a59a B 1 Loop 2211001882f4a59a OceanStor S2600 Storage System Command Reference 5 Device Management Commands Issue 07 2010 05 20 Huawei Proprietary and Confidential Copyright Huawei Technologies Co Ltd 5 37 ...

Page 130: ......

Page 131: ... a LUN 6 3 LUN Mapping Configuration Commands LUN mapping configuration commands are used to manage the hostgroups hosts host ports and mappings of LUNs 6 4 Disk Configuration Commands Disk configuration commands are used to enable the disk reconstruction function and the disk copyback function query the details and set the type for a disk 6 5 Cache Configuration Commands Cache configuration comma...

Page 132: ...ubrack ID slot ID subrack ID slot ID Parameters Keyword and Value Description Default Value n name The name of a RAID group The name contains 1 to 32 characters including numbers letters underscores and hyphens The first character cannot be a hyphen The name of the RAID groups is case sensitive and must be unique The default name can be used for only once RAIDXXX l level The RAID group level The v...

Page 133: ...ote the following items when creating RAID group l The number of disks in a RAID 0 ranges from 1 to 24 l The number of disks in a RAID 1 ranges from 2 to 24 l The number of disks in a RAID 3 group ranges from 3 to 24 l The number of disks in a RAID 5 group ranges from 3 to 24 l The number of disks in a RAID 6 or RAID 10 group ranges from 4 to 24 l The enclosure number ranges from 0 to 7 The slot n...

Page 134: ...or level and administrator level Usage Guidelines The command deleterg can only be used in the RAID group without a LUN Example Delete RAID group 1 OceanStor admin deleterg i 1 If the RAID group is deleted the data of the RAID group will be lost Are you sure you want to delete the RAID group y n y 6 1 3 chgrg Function The command chgrg is used to change the name of a RAID group Format chgrg i RAID...

Page 135: ...ust be unique None Modes Normal mode Level Super administrator level and administrator level Usage Guidelines The command chgrg is used to change the name of a RAID group Example Change the name of RAID group 1 to asd OceanStor admin chgrg i 1 n asd 6 1 4 showrg Function The command showrg is used to query the information about a RAID group Format showrg i RAID group ID OceanStor S2600 Storage Sys...

Page 136: ...y the details about a specified RAID group Example Query the information about RAID group 0 OceanStor admin showrg i 0 RAID Group Information ID 0 Name RAID001 Level RAID0 Total Capacity MB 1400087 Free Capacity MB 1377557 Status Normal Member disk list 0 0 0 1 Maximum Capacity MB 1377557 6 1 5 chgrgredundantcopy Function The command chgrgredundantcopy is used to set the redundant copy status of a...

Page 137: ... is used to set the redundant copy status of a RAID group Example Set the redundant copy status of a RAID group to enable OceanStor admin chgrgredundantcopy t 1 6 1 6 showrgredundantcopy Function The command showrgredundantcopy is used to query the redundant copy status of a RAID group Format showrgredundantcopy Parameters None Modes Normal mode OceanStor S2600 Storage System Command Reference 6 S...

Page 138: ...nge format and query the information about a LUN 6 2 1 createlun 6 2 2 deletelun 6 2 3 chglun 6 2 4 showlun 6 2 1 createlun Function The command createlun is used to create a LUN Format createlun i RAID group ID n name s size u su size c controller ID w is write through m is mirror p prefetchtype v prefetch value Parameters Keyword and Value Description Default Value i RAID group ID The RAID group...

Page 139: ...512 in KB None c controller ID The ID for a LUN owning controller A w is write through The way to write the cache The value can be 1 2 or 3 l 1 Write back l 2 Write through l 3 Write back mandatory 1 m is mirror Whether the cache is mirroring The value can be 0 or 1 l 0 Unmirroring l 1 Mirroring 1 p prefetchtype The cache prefetch strategy The value ranges from 0 to 3 l 0 Non prefetch l 1 Constant...

Page 140: ... parameter when the cache prefetch strategy is intelligent prefetch or non prefetch None Modes Normal mode Level Super administrator level and administrator level Usage Guidelines When you use this command to create LUNs the number of LUNs cannot be more than 512 Example Create a LUN in RAID group 1 by specifying the LUN size to 200 MB strip unit size to 32 KB LUN name to asd write back mirroring ...

Page 141: ...and administrator level Usage Guidelines The command deletelun is used to delete a LUN Example Delete LUN 9 without confirmation OceanStor admin deletelun f i 9 6 2 3 chglun Function The command chglun is used to change the parameters of a LUN Format chglun i LUN ID n name c controller ID w is write through m is mirror p prefetchtype v prefetch value OceanStor S2600 Storage System Command Referenc...

Page 142: ...troller None w is write through The way to write the cache The value can be 1 or 2 l 1 Write back l 2 Write through None m is mirror Whether the cache is mirroring The value can be 0 or 1 l 0 Non mirroring l 1 Mirroring None p prefetchtype The cache prefetch strategy The value ranges from 0 to 3 l 0 None prefetch l 1 Constant prefetch l 2 Variable prefetch l 3 Intelligent prefetch 3 6 Service Mana...

Page 143: ...ache prefetch strategy is constant prefetch or variable prefetch You do not need to use this parameter when the cache prefetch strategy is intelligent prefetch or non prefetch None Modes Normal mode Level Super administrator level and administrator level Usage Guidelines None Example Change the name of the LUN 2 to qwe OceanStor admin chglun i 2 n qwe 6 2 4 showlun Function The command showlun is ...

Page 144: ...UN 0 OceanStor admin showlun i 0 LUN Information ID 0 Name 10g_1 LUN WWN 60 01 88 21 00 E8 41 29 00 08 7F AD 00 00 00 00 Status Fault Capacity MB 10240 Strip Unit Size KB 64 RAID Group ID 1 Format Progress Ascription Controller A Working Controller A Cache Prefetch Policy Intelligent Cache Write Policy Write back Mirroring Running Cache Write Policy Write back Mirroring Changed Strip Unit Size KB ...

Page 145: ...t 6 3 8 showhost 6 3 9 showfreeport 6 3 10 addport 6 3 11 showhostport 6 3 12 deleteport 6 3 13 chgport 6 3 14 showunmap 6 3 15 addmap 6 3 16 showmap 6 3 17 deletemap 6 3 1 createhostgroup Function The command createhostgroup is used to create a host group Format createhostgroup n name t OS type OceanStor S2600 Storage System Command Reference 6 Service Management Commands Issue 07 2010 05 20 Huaw...

Page 146: ... 4 AIX None Modes Normal mode Level Super administrator level and administrator level Usage Guidelines The command createhostgroup is used to create a host group Example Create a host group with name abc and the OS type is Linux OceanStor admin createhostgroup n abc t 0 6 3 2 deletehostgroup Function The command deletehostgroup is used to delete a host group Format deletehostgroup f i host group I...

Page 147: ...ontain a host or a mapping Example Delete host group 2 without confirmation OceanStor admin deletehostgroup f i 2 6 3 3 chghostgroup Function The command chghostgroup is used to change the name and the OS type of a host group Format chghostgroup i host group ID n host group name t OS type Parameters Keyword and Value Description Default Value i host group ID The host group ID The value ranges from...

Page 148: ...evel Super administrator level and administrator level Usage Guidelines After changing the name and the OS type of a host group you can run the command showhostgroup to view the details about the host group Example Change the name of the host group 2 to bcd and the OS type to Windows OceanStor admin chghostgroup i 2 n bcd t 1 6 3 4 showhostgroup Function The command showhostgroup is used to query ...

Page 149: ... host groups l The command showhostgroup i host group ID is used to query the details about a specified host group Example Query the information about host group 2 OceanStor admin showhostgroup i 2 Host Group Information ID 2 Name abc OsType Linux 6 3 5 addhost Function The command addhost is used to add a host to a host group Format addhost i host group ID n host name OceanStor S2600 Storage Syst...

Page 150: ...administrator level and administrator level Usage Guidelines When using this command note the following items l The command addhost n host name is used to name the host and add it to the default host group l The command addhost i host group ID n host name is used to name the host and add it to a specified host group Example Add the host user into host group 2 OceanStor admin addhost i 2 n user 6 3...

Page 151: ...s case sensitive and must be unique None Modes Normal mode Level Super administrator level and administrator level Usage Guidelines The command chghost is used to change the host name Example Change the name of host 0 to host_1 OceanStor admin chghost i 0 n host_1 6 3 7 deletehost Function The command deletehost is used to delete a specified host Format deletehost f i host ID OceanStor S2600 Stora...

Page 152: ...the host does not contain any port otherwise you cannot delete the host Example Delete host 1 without confirmation OceanStor admin deletehost f i 1 6 3 8 showhost Function The command showhost is used to query the list information about a host Format showhost i host group ID Parameters Keyword and Value Description Default Value i host group ID The host group ID The value ranges from 0 to 31 None ...

Page 153: ...anStor admin showhost Host ID Host Group ID Host Name 0 1 Host_35 1 1 Host_24 2 0 wang 6 3 9 showfreeport Function The command showfreeport is used to query the information about all free host ports Format showfreeport Parameters None Modes Normal mode Level Super administrator level administrator level and guest level Usage Guidelines The command showfreeport is used to query the information abou...

Page 154: ...dport i host ID t port type I port information w wwn n name Parameters Keyword and Value Description Default Value i host ID The host ID The value ranges from 0 to 255 None t port type The type of a host port The value can be 0 1 or 2 l 0 The FC host port l 1 The iSCSI host port l 2 The mini SAS host port None I port information The information about iSCSI host ports The parameter is required when...

Page 155: ...port is case sensitive and must be unique None a World Wide Name Modes Normal mode Level Super administrator level and administrator level Usage Guidelines The command addport is used to add a host port Example Add an FC host port on host 5 The WWN is 5001882847b12001 and the name is test_fc OceanStor admin addport i 5 t 2 w 5001882847b12001 n test_fc 6 3 11 showhostport Function The command showh...

Page 156: ...port 0 OceanStor admin showhostport i 0 Port ID Port Name Port Information Port Type Host ID 0 a34b 2101001b32a34bc6 FC 0 1 834b 2100001b32834bc6 FC 0 6 3 12 deleteport Function The command deleteport is used to delete a specified host port Format deleteport f i port ID Parameters Keyword and Value Description Default Value f When you delete a host port you do not need to enter the confirmation in...

Page 157: ...sed to change the name of a host port Format chgport i port ID n name Parameters Keyword and Value Description Default Value i port ID The ID of a host port The value ranges from 0 to 255 None n name The port name The name contains 1 to 32 characters including digits letters underscores and hyphens The first character cannot be a hyphen The interface name is case sensitive and must be unique None ...

Page 158: ...nmap Parameters None Modes Normal mode Level Super administrator level administrator level and guest level Usage Guidelines The command showunmap is used to query the list of unmapped device LUNs Example Query the list of unmapped device LUNs OceanStor admin showunmap Unmap LUN ID RAID ID Status Ctrler Capacity MB LUN Name 3 1 Normal A 2048 Lun004 4 0 Not formatted A 1 LUN4 6 Service Management Co...

Page 159: ...ch is to be mapped The value ranges from 0 to 511 None Modes Normal mode Level Super administrator level and administrator level Usage Guidelines When using this command note the following items l The command addmap gi host group ID hi host ID dl device LUN is used to map a LUN to a host group or host The system automatically specifies the host LUN ID l The command addmap gi host group ID hi host ...

Page 160: ... Level Super administrator level administrator level and guest level Usage Guidelines The command showmap is used to query the LUN mapping list Example Query the LUN mapping list by specifying the host ID to 0 OceanStor admin showmap hi 0 Map ID Ctrler Dev LUN ID Host LUN Mapped to RAID ID Dev LUN Cap MB 0x1010000 A 0 0 Host 0 0 1048576 0x1010001 A 6 1 Host 0 2 2096640 0x1010003 B 3 3 Host 0 1 102...

Page 161: ...to delete a host LUN mapping Example Delete a LUN mapping by specifying the ID to 0x1010000 OceanStor admin deletemap i 0x1010000 Are you sure to delete the mapping y n y 6 4 Disk Configuration Commands Disk configuration commands are used to enable the disk reconstruction function and the disk copyback function query the details and set the type for a disk 6 4 1 startrecon 6 4 2 startcopyback 6 4...

Page 162: ...one ss spare disk subrack ID The enclosure ID of a hot spare disk The value ranges from 0 to 7 None ssl spare disk slot ID The slot ID of a hot spare disk The value ranges from 0 to 11 None f When you enable the hard disk reconstruction function you do not need to type the confirmation information None Modes Normal mode Level Super administrator level and administrator level Usage Guidelines The c...

Page 163: ... information None ns new disk subrack ID The enclosure ID of a new disk The value ranges from 0 to 7 None nsl new disk slot ID The slot ID of a new disk The value ranges from 0 to 11 None Modes Normal mode Level Super administrator level and administrator level Usage Guidelines The command startcopyback is used to enable the copyback function for a hard disk Example Copyback the data from the spar...

Page 164: ...delines When using this command note the following items l The command showdisk p is used to query the information about a physical disk l The command showdisk l is used to query the information about a logical disk l The command showdisk s subrack ID sl slot ID is used to query the details about a disk in a specified disk enclosure and slot l The command showdisk h is used to query the informatio...

Page 165: ...ktype Function The command chgdisktype is used to set the type of a hard disk Format chgdisktype s subrack ID sl slot ID t disk type Parameters Keyword and Value Description Default Value s subrack ID The enclosure ID of a hard disk The value ranges from 0 to 7 None sl slot ID The slot ID of a hard disk The value ranges from 0 to 11 None t disk type The disk type The value can be 1 or 3 l 1 Free d...

Page 166: ...che configuration commands are used to set the cache water level and query the details about the cache 6 5 1 showcache 6 5 2 chgcache 6 5 1 showcache Function The command showcache is used to query the cache information Format showcache c controller ID Parameters Keyword and Value Description Default Value c controller ID The controller ID The value is A or B and is case insensitive None Modes Nor...

Page 167: ... 0 Mirroring Write Cache Utility 0 Cache Hit Percentage 0 Whether there is dirty data No High Water Level 70 Low Water Level 20 Controller B cache Cache Information Memory Capacity MB 2048 Read Cache Utility 0 Write Cache Utility 0 Mirroring Write Cache Utility 0 Cache Hit Percentage 0 Whether there is dirty data No High Water Level 70 Low Water Level 20 6 5 2 chgcache Function The command chgcach...

Page 168: ...idelines When you use this command to set the cache water level ensure that the cache high water level is higher than the cache low water level The default value of the cache high water level is 70 and the default value of the cache low water level is 20 Example Set the cache high water level to 70 and the cache low water level to 20 OceanStor admin chgcache h 70 l 20 6 Service Management Commands...

Page 169: ...management commands are used to manage alarm emails 7 2 Alarm Short Message Management Commands Alarm short message management commands are used to manage alarm short message OceanStor S2600 Storage System Command Reference 7 Alarm Management Commands Issue 07 2010 05 20 Huawei Proprietary and Confidential Copyright Huawei Technologies Co Ltd 7 1 ...

Page 170: ... s is need send The parameter indicates whether an email needs be sent The value can be 0 or 1 and is described as follows l 0 The email does not need to be sent l 1 The email need to be sent 1 i server IP The IP address of an SMTP email server None r receiver list The email box list of email boxes that receive alarms The lists are separated with colons None e sender email The email box of an alar...

Page 171: ...r sending an alarm email The value ranges from 2 to 6 and is described as follows l 2 Event l 3 Warning l 4 Minor l 5 Major l 6 Critical None a Simple Mail Transfer Protocol Modes Normal mode Level Super administrator level and administrator level Usage Guidelines The command chgemail is used to set the email boxes Example Set an email box The user name for logging in to the SMTP email server is S...

Page 172: ...level administrator level and guest level Usage Guidelines The command showemail is used to query the settings of an email box Example Query the setting of an email box OceanStor admin showemail EMAIL INFORMATION UserName test1 Server Ip 129 24 11 213 Sender Email hjf s2600v1r2 com Receiver email list hjf r2 com lsk r2 com zcz r2 com Is Need Send YES Is Need Check YES Send Level Warning 7 2 Alarm ...

Page 173: ...ent 1 c send country The code of the country to which a short message is sent None r receiver number The short message number of a receiver namely the short message number of a maintenance person You can input multiple receiver numbers the total length is less than 255 None l sender level The lowest alarm severity for sending an alarm email The value ranges from 3 to 6 and is described as follows ...

Page 174: ...d showsms is used to query the settings of a short message sent when an alarm occurs Format showsms Parameters None Modes Normal mode Level Super administrator level administrator level and guest level Usage Guidelines The command showsms is used to query the settings of a short message notifying an alarm Example Query the setting of a short message notifying an alarm OceanStor admin showsms 7 Ala...

Page 175: ...a Receiver Number 88037312 Send Level Minor Is Need Send YES OceanStor S2600 Storage System Command Reference 7 Alarm Management Commands Issue 07 2010 05 20 Huawei Proprietary and Confidential Copyright Huawei Technologies Co Ltd 7 7 ...

Page 176: ......

Page 177: ...ommand is used to query the information about the user 8 4 User Level Change Command User level change command is used to change user level 8 5 User Password Change Command User password change command is used to change user password 8 6 User Logout Command User logout command is used to log out of the current user OceanStor S2600 Storage System Command Reference 8 User Management Commands Issue 0...

Page 178: ...rs underscores and hyphens The first character cannot be a hyphen The user name must be unique None l level The user level The value can be 2 or 3 and is described as follows l 2 The administrator level l 3 The guest level None Modes Normal mode Level Super administrator level Usage Guidelines The command adduser is used to add a user 8 User Management Commands OceanStor S2600 Storage System Comma...

Page 179: ... password Input the password again 8 2 User Deleting Command User deleting command is used to delete user 8 2 1 deleteuser 8 2 1 deleteuser Function The command deleteuser is used to delete a user Format deleteuser u name Parameters Keyword and Value Description Default Value u name The user name None Modes Normal mode Level Super administrator level Usage Guidelines When using this command note t...

Page 180: ...u name Parameters Keyword and Value Description Default Value u name The user name None Modes Normal mode Level Super administrator level administrator level and guest level Usage Guidelines When using this command note the following items l The command showuser is used to display the basic information about all users l The command showuser u name is used to display the basic information about a s...

Page 181: ...o change user level 8 4 1 chguserlevel 8 4 1 chguserlevel Function The command chguserlevel is used to change the user level Format chguserlevel u name l level Parameters Keyword and Value Description Default Value u name The user name None l level The user level The value can be 2 or 3 and is described as follows l 2 The administrator level l 3 The guest level None Modes Normal mode Level Super a...

Page 182: ... of the current user Format chgpasswd Parameters None Modes Normal mode Level Super administrator level and administrator level Usage Guidelines The command chgpasswd is used to change the login password for the current user only Example Change the login password of the user admin OceanStor admin chgpasswd please input old password please input new password please input new password again 8 User M...

Page 183: ...gout Parameters None Modes Normal mode Level Guest level and administrator level Usage Guidelines The command logout is used to log out of the current user Example Log out of the current user OceanStor admin logout OceanStor S2600 Storage System Command Reference 8 User Management Commands Issue 07 2010 05 20 Huawei Proprietary and Confidential Copyright Huawei Technologies Co Ltd 8 7 ...

Page 184: ......

Page 185: ...ands are used to query the information about a expanded LUN add or delete a expanded LUN 9 4 Initiator and target controller Configuration Commands Initiator and target controller configuration commands are used to modify the information of the initiator and target controller 9 5 Link information Configuration Commands Link information configuration commands are used to query and modify link infor...

Page 186: ...hyimg 9 1 12 disablehyimg 9 1 13 cancelrollbackhyimg 9 1 14 rollbackhyimg 9 1 15 recreatehyimg 9 1 16 activehyimg 9 1 17 createhyimgcp 9 1 18 chghyimgrollbackspeed 9 1 19 createtimehyimg 9 1 20 stoptimehyimg 9 1 21 chgtimehyimg 9 1 22 showhyimgoflun 9 1 23 deletetimehyimg 9 1 24 showtimehyimg 9 1 25 showlunoftimehyimg 9 1 26 showlunfortimehyimg 9 1 1 showhyimginfo 9 Value Added Service Management ...

Page 187: ... of a specific HyperImage Example Queries information of all HyperImages OceanStor admin showhyimginfo Snapshot Name Snapshot ID Type Snapshot Status Time Stamp HyperImage 12 Public Disable HyperImage55 13 Public Active 2008 11 18 15 12 54 CPY_Pair2_Snap 17 Private Active 2008 11 24 16 25 28 Session0_snap00 20 Private Active 2008 11 17 19 53 09 _Lun0004 Session0_snap01 21 Private Disable _Lun0004 ...

Page 188: ...letters underscores and hyphens The first character cannot be a hyphen None Modes Normal mode Level Super administrator level and administrator level Usage Guidelines None Example Change the name of the HyperImage with ID of 19 to 456456 OceanStor admin chghyimgname i 19 n 456456 System Response When the command is complete you can run the showhyimginfo command to view the result 9 1 3 showlunforp...

Page 189: ...to the resource pool OceanStor admin showlunforpool LUN Name LUN ID Capacity MB RAID Group RAID Level LUN03 2 100 RAID01 RAID0 f3 6 15 RAID01 RAID0 f5 8 10 RAID01 RAID0 f6 9 10 RAID01 RAID0 f7 10 4 RAID01 RAID0 System Response None 9 1 4 addluntopool Function The command addluntopool is used to add a resource LUN to the resource pool Format addluntopool i LUN ID pi pool ID OceanStor S2600 Storage ...

Page 190: ...ator level and administrator level Usage Guidelines None Example Add a resource LUN to pool A The ID of the LUN is 8 OceanStor admin addluntopool i 8 pi a System Response None 9 1 5 rmlunfrompool Function The command rmlunfrompool is used to remove a resource LUN from the resource pool Format rmlunfrompool i LUN ID pi pool ID 9 Value Added Service Management Commands OceanStor S2600 Storage System...

Page 191: ...l and administrator level Usage Guidelines None Example Remove the resource LUN with the ID of 8 from resource pool A OceanStor admin rmlunfrompool i 8 pi a System Response None 9 1 6 showpoollun Function The command showpoollun is used to query information of resource LUNs in a resource pool Format showpoollun pi pool ID i LUN ID OceanStor S2600 Storage System Command Reference 9 Value Added Serv...

Page 192: ... The showpoollun pi pool ID i LUN ID command queries information of a specified resource LUN in the resource pool Example Query information of all the resource LUNs in resource pool A OceanStor admin showpoollun pi a Pool ID Pool LUN ID Pool LUN Status Pool LUN Name A 8 Free f5 System Response None 9 1 7 showpoolinfo Function The command showpoolinfo is used to query information on a resource pool...

Page 193: ...or admin showpoolinfo i a Pool Information Pool ID A Pool Size MB 2048 Pool Usage MB 0 Pool Alarm 80 Pool Valid Size MB 2048 System Response None 9 1 8 chgpoolalarmvalue Function The command chgpoolalarmvalue is used to set the alarm threshold of a resource pool Format chgpoolalarmvalue i pool ID v alarm value OceanStor S2600 Storage System Command Reference 9 Value Added Service Management Comman...

Page 194: ...esponse When the command is complete you can run the showpoolinfo command to view the result 9 1 9 showlunforhyimg Function The command showlunforhyimg is used to query information of all qualified LUNs that are to be used as source LUNs of HyperImages The information includes the LUN name LUN ID capacity the raid group that the LUN belongs to and the level of the RAID group Format showlunforhyimg...

Page 195: ...1000 RAID01 RAID0 f1 4 14 RAID01 RAID0 f3 6 15 RAID01 RAID0 f6 9 10 RAID01 RAID0 f7 10 4 RAID01 RAID0 h2 11 1000 RAID01 RAID0 J1 14 1000 RAID01 RAID0 J2 15 1000 RAID01 RAID0 test 16 100 RAID01 RAID0 e1 23 98 RAID01 RAID0 System Response None 9 1 10 createhyimg Function The command createhyimg is used to create a HyperImage Format createhyimg i source LUN ID n name OceanStor S2600 Storage System Co...

Page 196: ... administrator level and administrator level Usage Guidelines None Example Create a HyperImage with the source LUN ID of 9 and name of wwwww OceanStor admin createhyimg i 9 n wwwww System Response When the command is complete you can run the showhyimginfo command to view the result 9 1 11 deletehyimg Function The command deletehyimg is used to delete a HyperImage Format deletehyimg i HyperImage ID...

Page 197: ... state or rollback state is forbidden Example Delete the HyperImage with the ID of 19 OceanStor admin deletehyimg i 19 System Response When the command is complete you can run the showhyimginfo command to view the result 9 1 12 disablehyimg Function The command disablehyimg is used to stop a HyperImage Format disablehyimg i HyperImage ID OceanStor S2600 Storage System Command Reference 9 Value Add...

Page 198: ... OceanStor admin disablehyimg i 13 The command has been sent please wait System Response When the command is complete you can run the showhyimginfo command to view the result 9 1 13 cancelrollbackhyimg Function The command cancelrollbackhyimg is used to cancel the in progress rollback of the HyperImage Format cancelrollbackhyimg i HyperImage ID 9 Value Added Service Management Commands OceanStor S...

Page 199: ...e HyperImage with ID of 19 OceanStor admin cancelrollbackhyimg i 19 The command has been sent please wait System Response None 9 1 14 rollbackhyimg Function The command rollbackhyimg is used to copy data on the HyperImage back to the source LUN that is rolls back the HyperImage Format rollbackhyimg i HyperImage ID l speed level OceanStor S2600 Storage System Command Reference 9 Value Added Service...

Page 200: ...trator level Usage Guidelines You can only roll back the HyperImage with the Public type and in Active state Example Roll back the HyperImage with the ID of 19 Set rollback speed to high OceanStor admin rollbackhyimg i 19 l 3 The command has been sent please wait System Response None 9 1 15 recreatehyimg Function The command recreatehyimg is used to recreate a HyperImage Format recreatehyimg i Hyp...

Page 201: ... status if you want to recreate it this HyperImage is activated The snapshot time is set to the recreated time l When the HyperImage is in the rollback or error status if you want to recreate it the system prompts that recreation fails Example Recreate the HyperImages with the ID of 12 and ID of 27 OceanStor admin recreatehyimg i 12 27 The command has been sent please wait System Response When the...

Page 202: ...e Example Start the HyperImages with the ID of 12 and ID of 13 OceanStor admin activehyimg i 12 13 The command has been sent please wait System Response When the command is complete you can run the showhyimginfo command to view the result 9 1 17 createhyimgcp Function The command createhyimgcp is used to create a HyperImage copy Format createhyimgcp i HyperImage ID n copy name 9 Value Added Servic...

Page 203: ...evel and administrator level Usage Guidelines None Example Create a copy of the HyperImage with the ID of 13 and name of hey OceanStor admin createhyimgcp i 13 n hey The command has been sent please wait System Response None 9 1 18 chghyimgrollbackspeed Function The command chghyimgrollbackspeed is used to change rollback speed of the HyperImage Format chghyimgrollbackspeed i HyperImage ID l speed...

Page 204: ...y when the HyperImage is in the rollback state Example Set rollback speed of the HyperImage with the ID of 19 to low OceanStor admin chghyimgrollbackspeed i 19 l 1 The command has been sent please wait System Response None 9 1 19 createtimehyimg Function The command createtimehyimg is used to create a HyperImage according to the source LUN at a specified point in time and time interval Format crea...

Page 205: ...es the HyperImage at a specified time interval Example Create HyperImages The source LUN IDs are 10 and 11 and the HyperImage number is 3 The start time is 5 00 11 AM May 26th 2009 and the time interval is 30 minutes OceanStor admin createtimehyimg i 10 11 n 3 st 2009 05 26 11 05 00 ti 30 System Response In this application scenario the number of snapshots created in each source LUN is 3 and the i...

Page 206: ...rator level and administrator level Usage Guidelines None Example Stop creating the timing HyperImage with the ID of 1 OceanStor admin stoptimehyimg i 1 System Response When the command is complete you can run the showtimehyimg command to view the result 9 1 21 chgtimehyimg Function The command chgtimehyimg is used to modify information on a timing HyperImage 9 Value Added Service Management Comma...

Page 207: ...ice None Modes Normal mode Level Super administrator level and administrator level Usage Guidelines l The chgtimehyimg command modifies the information on a timing HyperImage The information includes the source LUN ID the number of the HyperImages to be created the time interval and start time l This command is available only when the HyperImage is stopped After being modified the timing HyperImag...

Page 208: ...UN The ID value ranges from 0 to 511 None Modes Normal mode Level Super administrator level administrator level and guest level Usage Guidelines None Example Query the HyperImage information of the source LUN with the ID of 10 OceanStor admin showhyimgoflun i 10 Snapshot Name Snapshot ID Type Snapshot Status Time Stamp Session1_snap00 28 Private Disable _Lun0010 Session1_snap01 30 Private Disable ...

Page 209: ...mode Level Super administrator level and administrator level Usage Guidelines None Example Delete the timing HyperImage with the ID of 0 OceanStor ad deletetimehyimg 1 0 System Response None 9 1 24 showtimehyimg Function The command showtimehyimg is used to query information on a timing HyperImage OceanStor S2600 Storage System Command Reference 9 Value Added Service Management Commands Issue 07 2...

Page 210: ...session ID Example Query information on all the timing HyperImages OceanStor admin showtimehyimg Session ID Source LUN ID Snapshot Times Start Time Time Interval s 0 4 3 2008 11 17 200 19 53 09 1 10 11 3 2008 11 26 40 11 05 00 System Response None 9 1 25 showlunoftimehyimg Function The command showlunoftimehyimg is used to query the LUN information on the timing HyperImage with a specified session...

Page 211: ...hot ID 1 f7 10 Session1_snap 28 00_Lun0010 1 h2 11 Session1_snap 29 00_Lun0011 1 f7 10 Session1_snap 30 01_Lun0010 1 h2 11 Session1_snap 31 01_Lun0011 1 f7 10 Session1_snap 32 02_Lun0010 1 h2 11 Session1_snap 33 02_Lun0011 System Response None 9 1 26 showlunfortimehyimg Function The command showlunfortimehyimg is used to query qualified LUNs for the source LUN of a timing HyperImage Format showlun...

Page 212: ... RAID01 RAID0 J1 14 1000 RAID01 RAID0 J2 15 1000 RAID01 RAID0 test 16 100 RAID01 RAID0 e1 23 98 RAID01 RAID0 System Response None 9 2 Hypercopy Configuration Commands Hypercopy configuration commands are used to create delete modify query Hypercopy information and label Hypercopy 9 2 1 showhycpinfo 9 2 2 showhycpluninfo 9 2 3 chghycpinfo 9 2 4 deletehycplun 9 2 5 deletehycp 9 2 6 chghycpstatus 9 2...

Page 213: ...ies detailed information of a specific HyperCopy The information includes the HyperCopy ID HyperCopy name source LUN ID source LUN name source LUN array name source LUN array WWN source LUN type source LUN status source LUN capacity HyperCopy user HyperCopy speed HyperCopy pair state HyperCopy status mark state marking time start time and end time Considering a full HyperCopy if the source LUN is ...

Page 214: ...rmal HyperCopy Progress 0 HyperCopy Type Full Mark No MarkTime StartTime EndTime System Response None 9 2 2 showhycpluninfo Function The command showhycpluninfo is used to query information on the target LUN of the HyperCopy Format showhycpluninfo i HyperCopy ID ti LUN ID Parameters Keyword and Value Description Default Value i HyperCopy ID The HyperCopy ID The value ranges from 0 to 63 You can qu...

Page 215: ...name type capacity state number WWN and WWPN of the target LUN If the target LUN is in an external array the information including the external link ID link type link status and external array WWN of the external array is displayed Example Query detailed information of the external target LUN with the ID of 101023 on the HyperCopy with the ID of 1 OceanStor admin showhycpluninfo i 1 ti 101023 Hype...

Page 216: ...unning the showhycpinfo command None n the HyperCopy name The HyperCopy name The name contains 1 to 32 characters including numbers letters underscores and hyphens The first character cannot be a hyphen None s the HyperCopy speed The HyperCopy speed The value ranges from 1 to 4 l 1 stands for low l 2 stands for middle l 3 stands for high l 4 stands for ASAP NOTE ASAP is short for As Soon As Possib...

Page 217: ...yperCopy ID s the HyperCopy speed command modifies the HyperCopy speed l The chghycpinfo i HyperCopy ID t the HyperCopy type command modifies the HyperCopy type l The chghycpinfo i HyperCopy ID t the HyperCopy type is initially synchronize command to decide whether to perform initial synchronization when the HyperCopy type is changed from full copy to incremental copy A source LUN can be shared by...

Page 218: ...000 to 101023 You can query the information by running the showhycpluninfo command None Modes Normal mode Level Super administrator level and administrator level Usage Guidelines l Before deleting you can run the showhycpluninfo command to query the correct target LUN ID thus preventing deletion by mistake l Failure of a certain target LUN might cause fault of the HyperCopy task When the failed ta...

Page 219: ...e showhycpinfo command None Modes Normal mode Level Super administrator level and administrator level Usage Guidelines When the HyperCopy is in copying mode or waiting mode deletion is forbidden Example Delete the HyperCopy with the ID 0 OceanStor admin deletehycp i 0 The command has been sent please wait System Response When the command is complete you can run the showhycpinfo command to view the...

Page 220: ...the HyperCopy l Ensure that the HyperCopy is in created mode copy completed mode or stop mode l Create a resource pool for incremental copy l If the maximum number of the HyperCopy tasks supported by the controller is reached the HyperCopy tasks is waiting After a certain HyperCopy task in the copy mode is complete a HyperCopy task in the waiting mode is automatically started Before ending the Hyp...

Page 221: ...s li link ID Parameters Keyword and Value Description Default Value t The HyperCopy type The value can be 1 or 2 l The value 1 stands for full copy l The value 2 stands for increment copy None m The source LUN of the HyperCopy None s The target LUN of the HyperCopy None li The link ID between devices The value ranges from 0 to 255 You can query the information by running the showlinkinfo command N...

Page 222: ...dmin showlunforhycp t 1 m LUN Name LUN ID LUN Type Capacity MB RAID Group RAID Level Copy Type LUN01 0 Master 100 RAID01 RAID0 Full LUN02 1 Master 100 RAID01 RAID0 Full LUN03 2 Master 100 RAID01 RAID0 Full h1 3 Master 1000 RAID01 RAID0 Full f1 4 Master 14 RAID01 RAID0 Full f3 6 Master 15 RAID01 RAID0 Full f5 8 Master 10 RAID01 RAID0 Full f6 9 Master 10 RAID01 RAID0 Full f7 10 Master 4 RAID01 RAID0...

Page 223: ...hyphen None ct copy type The HyperCopy type The value can be 1 or 2 l 1 stands for full copy l 2 stands for incremental copy 1 sl speed level The HyperCopy speed The value ranges from 1 to 4 l 1 stands for low l 2 stands for middle l 3 stands for high l 4 stands for ASAP 2 is initially synchronized This parameter decides whether to perform initial synchronization The parameter takes effect only wh...

Page 224: ...one ti target LUN ID The target LUN ID The value ranges from 0 to 511 None twwn target LUN WWN The target LUN WWN This command is used only when the target LUN is in a third party array The value includes 32 hexadecimal numbers each two number are grouped and groups are separated by colons None twwpn target LUN WWPN The target LUN WWPN This command is used only when the target LUN is in a third pa...

Page 225: ...anStor admin createhycp n full_between_S2600 si 1 tli 0 ti 2 The command has been sent please wait System Response When the command is complete you can run the showhycpinfo command to view the result 9 2 9 taghycp Function The command taghycp is used to tag a HyperCopy Format taghycp i HyperCopy ID Parameters Keyword and Value Description Default Value i HyperCopy ID The HyperCopy ID The value ran...

Page 226: ...is used to add a target LUN to the HyperCopy Format addhycplun i HyperCopy ID ti target LUN ID tli target LUN link ID ti target LUN ID twwn target LUN WWN twwpn target LUN WWPN tln target LUN number Parameters Keyword and Value Description Default Value i HyperCopy ID The HyperCopy ID The value ranges from 0 to 63 You can query the information by running the showhycpinfo command None ti target LUN...

Page 227: ...tor level Usage Guidelines l If the copy type is full copy and the source LUN is not an internal LUN the target LUN must be an internal LUN l The HyperCopy should be in the created mode copy completed mode or stop mode l The number of target LUNs has an upper threshold For the S2600 the maximum is 64 l A target LUN cannot be shared by multiple HyperCopy processes l When adding an external LUN chec...

Page 228: ... Parameters Keyword and Value Description Default Value i expanded LUN ID The ID of the expanded LUN The value ranges from 0 to 127 None Modes Normal mode Level Super administrator level administrator level and guest level Usage Guidelines l The showexpluninfo command queries detailed information of the expanded LUNs in the system l The showexpluninfo i expanded LUN ID command queries detailed inf...

Page 229: ...he ID of the expanded LUN The value ranges from 0 to 127 You can query the information by running the showexpluninfo command None mi member LUN ID The ID of the member LUN The value ranges from 0 to 127 You can query the information by running the showexplunmember command None Modes Normal mode Level Super administrator level administrator level and guest level Usage Guidelines NOTE For other info...

Page 230: ... 25 Master 12 RAID01 RAID0 e2 24 Slave 13 RAID01 RAID0 f2 5 Slave 10 RAID01 RAID0 f4 7 Slave 5 RAID01 RAID0 f8 18 Slave 23 RAID01 RAID0 System Response None 9 3 3 rmlunfromexplun Function The command rmlunfromexplun is used to remove the last slave LUN or all slave LUNs from the expanded LUN Format rmlunfromexplun i expanded LUN ID si slave LUN ID Parameters Keyword and Value Description Default V...

Page 231: ...nStor admin rmlunfromexplun i 23 si 18 The command has been sent please wait System Response None 9 3 4 showlunforexplun Function The command showlunforexplun is used to query the slave LUN which can used to expand LUN Format showlunforexplun Parameters Keyword and Value Description Default Value None None None Modes Normal mode Level Super administrator level administrator level and guest level O...

Page 232: ...s Keyword and Value Description Default Value i expanded LUN ID The ID of the expanded LUN The value ranges from 0 to 511 You can query the information by running the showexpluninfo command None si slave LUN ID The ID of the slave LUN The value ranges from 0 to 511 You can query the information by running the showlunforexplun command None Modes Normal mode Level Super administrator level and admin...

Page 233: ...Format showexplunnum i expanded LUN ID Parameters Keyword and Value Description Default Value i expanded LUN ID The ID of the expanded LUN The value ranges from 0 to 511 You can query the information by running the showexpluninfo command None Modes Normal mode Level Super administrator level administrator level and guest level Usage Guidelines None Example Query the LUN number of the expanded LUN ...

Page 234: ...siname 9 4 8 deletetgtinfo 9 4 9 chgini 9 4 1 addtgt Function The command addtgt is used to add a related target controller to the initiator Format addtgt c controller ID p port ID ip IP address port TCP IP port m recovery mode chap yes or no user user pwd password Parameters Keyword and Value Description Default Value c controller ID The controller ID The value is A or B and it is case insensitiv...

Page 235: ... 1 stands for yes The CHAP authentication is enabled 0 user user The CHAP user name It contains 4 to 25 characters including numbers letters underscores The first character cannot be a hyphen None pwd password The CHAP password It contains 12 to 16 characters None Modes Normal mode Level Super administrator level and administrator level Usage Guidelines None Example Add a target to the initiator o...

Page 236: ...ator level administrator level and guest level Usage Guidelines l The showtgt c controller ID command queries information of all the targets controllers added to the initiator l The showtgt c controller ID ti target ID command queries detailed information of a specified target controller added to the initiator Example Query information of the target on controller A OceanStor admin showtgt c a Cont...

Page 237: ...Level Super administrator level and administrator level Usage Guidelines None Example Connect to the target with the ID of 1 on controller A OceanStor admin connecttgt c a ti 1 System Response When the command is complete you can run the showtgt command to view the result 9 4 4 chgtgt Function The command chgtgt is used to modify configurations of the initiator added to a target controller OceanSt...

Page 238: ...lue ranges from 0 to 65535 None m recovery mode The link recovery policy The value can be 1 or 2 l The value 1 stands for the auto mode l The value 2 stands for the manual mode None chap yes or no The parameter decides whether to enable the CHAP authentication The value can be 0 or 1 l The value 0 stands for no The CHAP authentication is disabled l The value 1 stands for yes The CHAP authenticatio...

Page 239: ... used to disconnect a target controller from the initiator Format disconnecttgt c controller ID ti Target ID Parameters Keyword and Value Description Default Value c controller ID The ID of the connected controller The value is A or B and it is case insensitive None ti Target ID The target ID The value ranges from 0 to 7 None Modes Normal mode Level Super administrator level and administrator leve...

Page 240: ... new name The name contains 1 to 217 characters including numbers letters dots colons and hyphens The first character cannot be a hyphen None Modes Normal mode Level Super administrator level and administrator level Usage Guidelines None Example Change the name of an iSCSI initiator to abida OceanStor admin chgiscsiininame c a n abida System Response When the command is complete you can run the sh...

Page 241: ...s None Example Query the name of the iSCSI initiator in the system OceanStor admin showiscsiname iSCSI Name Target iqn 2006 08 com huawei OceanStor 210000e0fc000005 notconfig Initiator Controller A abida Initiator Controller B iqn 2006 08 com huawei OceanStor 210000e0fc000005 notconfigB System Response None 9 4 8 deletetgtinfo OceanStor S2600 Storage System Command Reference 9 Value Added Service ...

Page 242: ...er administrator level and administrator level Usage Guidelines None Example Delete configurations of the target on controller A OceanStor admin deletetgtinfo c a ti 0 System Response When the command is complete you can run the showtgt command to view the result 9 4 9 chgini Function The command chgini is used to switchover the initiator of a target controller Format chgini c controller ID ti tar...

Page 243: ...roller A OceanStor admin chgini c a ti 0 System Response None 9 5 Link information Configuration Commands Link information configuration commands are used to query and modify link information 9 5 1 showlinkinfo 9 5 2 showarraylinkinfo 9 5 1 showlinkinfo Function The command showlinkinfo is used to query the link information Format showlinkinfo t link type i link ID OceanStor S2600 Storage System C...

Page 244: ...formation on a specified link including the array ID link type local controller local port remote controller remote port connect status whether be used or is a mirrored link FC local WWPN FC remote WWPN and remote WWN Example Query information of local link with ID 4 in the system OceanStor admin showlinkinfo t 0 i 4 Link Information Link ID 4 Array ID 0 Link Type iSCSI Local Controller B Local Po...

Page 245: ...linkinfo i array ID command queries link information of a specified array l The showarraylinkinfo i array ID li link ID command queries information of a specified link in a specified array Example Query information of the link with the ID of 4 in the array with the ID of 0 OceanStor admin showarraylinkinfo i 0 li 4 Link Information Link ID 4 Array ID 0 Link Type iSCSI Local Controller B Local Port...

Page 246: ... showarrayinfo Function The command showarrayinfo is used to query array information Format showarrayinfo i array ID s the scope Parameters Keyword and Value Description Default Value i array ID The array ID The value ranges from 0 to 31 None s the scope The scope The value ranges can be 1 or 2 l The value 1 stands for all l The value 2 stands for connected used by LUN copy None 9 Value Added Serv...

Page 247: ... ID of 0 OceanStor admin showarrayinfo i 0 s 1 Array Information Array ID 0 Link ID0 1 Link ID1 1 WWN 0x2100269853476258 Name Status Connected System Response None 9 6 2 createvirlunmask Function The command createvirlunmask is used to create a virtual lunmasking Format createvirlunmask i host or hostgroup ID t virtual lunmask type OceanStor S2600 Storage System Command Reference 9 Value Added Ser...

Page 248: ... LUN mask of the host l The value 2 stands for the host group that is the virtual LUN mask of the host group None Modes Normal mode Level Super administrator level and administrator level Usage Guidelines None Example Create a lunmasking on the host group with the ID of 2 OceanStor admin createvirlunmask i 2 t 2 System Response When the command is complete you can run the showmap command to view t...

Page 249: ...nmasking with the ID of 0x20003 OceanStor admin cancelvirlunmask m 0x20003 System Response When the command is complete you can run the showmap command to view the result 9 6 4 showthirdpartyluninfo Function The command showthirdpartyluninfo is used to query the LUNs exist in third part arrays Format showthirdpartyluninfo wwn LUN wwn wwpn port wwn n number OceanStor S2600 Storage System Command Re...

Page 250: ...r level and guest level Usage Guidelines None Example Query the information of the third part LUN with wwn 6882C9A10014513F000C398100000001 OceanStor admin showthirdpartyluninfo wwn 6882C9A10014513F000C398100000001 System Response None 9 6 5 statlink Function The command statlink is used to query statistics information of a link Format statlink i Link ID 9 Value Added Service Management Commands O...

Page 251: ...tor admin statlink i 0 Link Statistic Link ID 0 Read IO Number Bytes 0 Write IO Number Bytes 1 Read IO Total Bytes 0 Write IO Total Bytes 0 Current Bandwidth MB S 0 Max Bandwidth MB S 0 Current IOPS IO S 0 Max IOPS IO S 0 Max Delay S 0 Average Delay S 1 System Response None 9 6 6 testlink Function The command testlink is used to test the statistics time of the link OceanStor S2600 Storage System C...

Page 252: ...uidelines None Example Test the statistics time of the link 0 OceanStor admin testlink i 0 link statistic time is 69 System Response None 9 6 7 chglinkstat Function The command chglinkstat is used to modify the link statistic status and statistic period Format chglinkstat o c t statistic period 9 Value Added Service Management Commands OceanStor S2600 Storage System Command Reference 9 68 Huawei P...

Page 253: ...xample Enable the link statistic function and set the period to 3s OceanStor admin chglinkstat o t 3 System Response When the command is complete you can run the showlinkperiod command to view the result 9 6 8 showlinkperiod Function The command showlinkperiod is used to query the statistic status and statistic cycle of links Format showlinkperiod OceanStor S2600 Storage System Command Reference 9...

Page 254: ...anStor admin showlinkperiod Link Statistic Period Link Statistic status 0 Link Statistic Period 3 System Response None 9 6 9 chglicensestatus Function The command chglicensestatus is used to open or close the license Format chglicensestatus i license ID o c 9 Value Added Service Management Commands OceanStor S2600 Storage System Command Reference 9 70 Huawei Proprietary and Confidential Copyright ...

Page 255: ...he license of HyperImage OceanStor admin chglicensestatus i 2 o System Response When the command is complete you can run the showincrementlicense i license ID command to view the result 9 6 10 showincrementlicense Function The command showincrementlicense is used to query the license information Format showincrementlicense i license ID OceanStor S2600 Storage System Command Reference 9 Value Added...

Page 256: ...trator level and guest level Usage Guidelines None Example Query the license information of HyperImage OceanStor admin showincrementlicense i 2 Feature Name Feature ID Lisence Status Open Status Left Time Snapshot 2 Valid Open 90 9 Value Added Service Management Commands OceanStor S2600 Storage System Command Reference 9 72 Huawei Proprietary and Confidential Copyright Huawei Technologies Co Ltd I...

Page 257: ...s occurring in daily maintenance or troubleshooting A 3 How to Obtain Help from Website Huawei provides users with timely and efficient technical support through the regional offices secondary technical support system telephone technical support remote technical support and onsite technical support A 4 Ways to Contact Huawei Huawei Technologies Co Ltd provides customers with comprehensive technica...

Page 258: ...ine A 1 2 Making Debugging Preparations When you contact Huawei for help the technical support engineer of Huawei might assist you to do certain operations to collect information about the fault or rectify the fault directly Before contacting Huawei for help you need to prepare the boards port modules screwdrivers screws cables for serial ports network cables and other required materials A 2 How t...

Page 259: ...port and service For any assistance contact our local office or company headquarters Huawei Technologies Co Ltd Address Huawei Industrial Base Bantian Longgang Shenzhen 518129 People s Republic of China Website http www huawei com Telephone number 86 755 28780808 Customer Service Center Phone 86 755 28560000 4008302118 Huawei Service fax 86 755 28560111 Service E mail support huawei com OceanStor ...

Page 260: ......

Page 261: ...aximum rate of signal state changes per second on a communications circuit In low speed communications each signal state corresponds to a code bit then the baud rate and the bit rate are the same that is the reciprocal of code bits in one second Bit error rate The percentage of bits that have errors relative to the total number of bits received in a transmission Boundary scan A test methodology th...

Page 262: ...as the right to access a system by using a challenge Coffer A technology for ensuring data security and integrity in the OceanStor storage system The hard disks in slots 0 to 3 serving as coffers which store the data of system configuration data of alarm logs and the data in the cache that is not written to the disk when the system power is off for emergency and alarm log data Coffer disk Physical...

Page 263: ...oup fails part or all of the redundancy is lost Delete RAID group To delete a RAID group so that member disk in a RAID group becomes a free disk DIP switch board It is used to adjust the FC cascading rate and FC disk rate and can mute the alarm buzzer Dirty page The data that is stored in only the cache but not written into disks Disk array A set of disks from one or more commonly accessible disk ...

Page 264: ...ptical module and battery module Not all FRU supports hot swapping Firmware The program that is embedded in a programmable non volatile memory Fragment The free physical space that has not been divided among different LUNs on a disk Free disk A hard disk which is available in the OceanStor storage system Free hot spare disk A hot spare disk that is available Front end host port The port on the con...

Page 265: ...backup Online backup A form of backup in which the data being backed up may be accessed by applications during the backup Hot swap In a running system inserting or removing a blade does not affect normal running of the system Hot spare disk The disk that is used to replace the damaged member disk in a RAID group A spare disk carries the data that is saved on faulty disks Hot spare disk reconstruct...

Page 266: ... O commands After a SCSI I O command is sent to an object the logic unit inside the object executes this command Usually each SCSI physical disk has one logic unit A tape drive and array controller may have multiple logic units which process different I O commands Each logic unit inside an array controller corresponds to a virtual disk Logical unit number The SCSI identifier of the internal logica...

Page 267: ...y in which two or more identical copies of data are maintained on separate media This prevents data loss due to disk errors Mirroring group In a RAID group at the RAID 10 level the member disks that are mirrors of each other are known as a mirroring group Modify the stripe unit size dynamically To modify the stripe unit size without interrupting the normal services of LUN N Native devices The appl...

Page 268: ...t AC power entry module in the OceanStor storage system can use the battery to supply power This ensures that dirty page in cache can be written into the coffer safely and avoids data inconsistency caused by data lost Primary Storage Controller The controller which plays a leading role in controlling the management is primary storage controller It can perform relevant management operations on the ...

Page 269: ... backup for the primary storage controller When the primary storage controller fails the secondary controller can be replaced to be the primary storage controller and performs management operations on the controller subrack Serial port An input output location channel that sends and receives data to and from a computer s CPU or a communications device one bit at a time Serial ports are used for se...

Page 270: ...ical extent block that consists of strips in each physical extent of a redundancy group Strip verify To verify whether the check data block in a redundancy group strip protects the protected space in the strip Subnet mask The technology used by the IP protocol to determine where network segment packets are destined for The subnet mask is in binary format Stored in a client server or router The sub...

Page 271: ... A cache prefetch strategy The size of the data to be prefetched is the multiple for prefetching multiplied by the length of a read command This strategy applies to the applications that require reading data of variable size in a certain order or to the situations where multiple subscribers read data concurrently but no fixed prefetch size can be set because the amount of pre read data cannot be j...

Page 272: ... cache technology Data is written to the local cache and at the same time written to the opposite cache Write through cache A cache technology Data is written to disks And only when the data is safely written to disks the procedure of write requests can be ended Disks need to be accessed during each write operation B Glossary OceanStor S2600 Storage System Command Reference B 12 Huawei Proprietary...

Page 273: ...ms interface IP internet protocol L LUN logic unit number R RAID redundant array of independent disks S SAS serial attached SCSI SCSI small computer system interface U OceanStor S2600 Storage System Command Reference C Acronyms and Abbreviations Issue 07 2010 05 20 Huawei Proprietary and Confidential Copyright Huawei Technologies Co Ltd C 1 ...

Page 274: ...UI user interface C Acronyms and Abbreviations OceanStor S2600 Storage System Command Reference C 2 Huawei Proprietary and Confidential Copyright Huawei Technologies Co Ltd Issue 07 2010 05 20 ...

Reviews: