Huawei OceanStor S2600 Command Reference Manual

Huawei OceanStor S2600 Command Reference Manual

Storage system v100r002
Hide thumbs Also See for OceanStor S2600:
Table of Contents

Advertisement

OceanStor S2600 Storage System
V100R002

Command Reference

Issue
07
Date
2010-05-20
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.

Advertisement

Table of Contents
loading

Summary of Contents for Huawei OceanStor S2600

  • Page 1: Command Reference

    OceanStor S2600 Storage System V100R002 Command Reference Issue Date 2010-05-20 Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 2 All other trademarks and trade names mentioned 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.
  • Page 3: Table Of Contents

    3.4 Commands of Setting the IP Address of the Management Network Interface on the Controller....3-6 3.4.1 chgctrlip..............................3-6 3.4.2 showctrlip...............................3-7 3.5 CLI Idle Time Setting Command........................3-8 3.5.1 chgidletime.............................3-8 Issue 07 (2010-05-20) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 4 4.7.1 swapsys..............................4-29 4.7.2 showmaster............................4-30 4.8 System Reset Command..........................4-31 4.8.1 resetsys..............................4-31 4.9 System Time Changing Command.......................4-32 4.9.1 chgsystime............................4-32 4.10 CHAP Setting Command..........................4-33 4.10.1 chap..............................4-33 4.11 TrapIP Management Commands.........................4-37 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 5 5.11 Command of Querying the Fan Group Information..................5-21 5.11.1 showfan..............................5-21 5.12 Commands of Querying the Information About Buzzer Status..............5-22 5.12.1 showbuzzerstatus..........................5-22 5.12.2 chgbuzzerstatus..........................5-23 5.13 Host Port Configuration Commands......................5-24 Issue 07 (2010-05-20) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 6 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.3.12 deleteport............................6-26 6.3.13 chgport..............................6-27 6.3.14 showunmap............................6-28 6.3.15 addmap...............................6-29 6.3.16 showmap.............................6-30 6.3.17 deletemap............................6-30 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 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-5 9.1.5 rmlunfrompool............................9-6 9.1.6 showpoollun............................9-7 9.1.7 showpoolinfo............................9-8 9.1.8 chgpoolalarmvalue..........................9-9 9.1.9 showlunforhyimg..........................9-10 9.1.10 createhyimg............................9-11 9.1.11 deletehyimg............................9-12 Issue 07 (2010-05-20) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 8 9.3.5 addluntoexplun.............................9-48 9.3.6 showexplunnum...........................9-49 9.4 Initiator and target (controller) Configuration Commands................9-50 9.4.1 addtgt..............................9-50 9.4.2 showtgt..............................9-52 9.4.3 connecttgt.............................9-53 9.4.4 chgtgt..............................9-53 9.4.5 disconnecttgt............................9-55 9.4.6 chgiscsiininame............................9-56 9.4.7 showiscsiname............................9-57 9.4.8 deletetgtinfo............................9-57 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 9 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 Issue 07 (2010-05-20) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 11 ....................................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 Issue 07 (2010-05-20) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 13 Table 2-4 Device management 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 Issue 07 (2010-05-20) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 15: About This Document

    About This Document Purpose This document describes how to configure and manage the storage system through the CLI provided by the OceanStor S2600 Storage System, and how to use the commands according to the functions. Related Versions The following table lists the product versions related to this document.
  • Page 16 CAUTION performance degradation, or unexpected results. Indicates a tip that may help you solve a problem or save time. Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 17 [ x | y | ... ] vertical bars. Several items or no item can be selected. GUI Conventions The GUI conventions that may be found in this document are defined as follows. Issue 07 (2010-05-20) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 18 Updates between document issues are cumulative. Therefore, the latest document issue contains all updates made in previous issues. Updates in Issue 07 (2010-05-20) The seventh commercial release. Add showlicense, showvoltage and showfcport commands. Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 19 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. Issue 07 (2010-05-20) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 21: Introduction To The Cli

    This chapter describes the command line interface (CLI), and how to configure and manage the storage system through the CLI. 1.1 Overview of the CLI Provided by the OceanStor S2600 storage system (hereinafter referred to as S2600), the CLI supports batch processing operations, which helps you manage and maintain the devices efficiently and quickly.
  • Page 22: Overview Of The Cli

    1 Introduction to the CLI Command Reference 1.1 Overview of the CLI Provided by the OceanStor S2600 storage system (hereinafter referred to as S2600), the CLI supports batch processing operations, which helps you manage and maintain the devices efficiently and quickly.
  • Page 23: Figure 1-1 Connection Description

    COM1, and click OK. Figure 1-2 Connect To In the COM1 Properties dialog box, set the parameters as shown in Figure 1-3. Click Issue 07 (2010-05-20) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 24: Figure 1-3 Com1 Properties

    Press the Enter key. If the controller subrack is connected to the maintenance terminal successfully, the system displays the following information. See Figure 1-4. Figure 1-4 Interface for successful connection between the controller subrack and the maintenance terminal Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 25: Figure 1-5 Interface For Successful Login

    This document takes the PuTTY software as an example. You can download the PuTTY software on related websites. Run the PuTTY software and the PuTTY Configuration dialog box is displayed, as shown Figure 1-6. Issue 07 (2010-05-20) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 26: Figure 1-6 Putty Configuration

    IP addressHost Name (or IP address). Select Protocol as SSH. Click Open and the displayed interface is as shown in Figure 1-7. Figure 1-7 Logging to the server through the PuTTY software Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 27: Configuration And Management

    3.4 Commands of Setting the IP Address of the Management Network Interface on the Controller. NOTE The initial IP addresses of the management network interfaces of the controllers are 192.168.128.101 and 192.168.128.102. Issue 07 (2010-05-20) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 28 After setting the IP addresses of the management network interfaces, you can log in to the storage system remotely over the secure shell (SSH) protocol for routine maintenance and management. Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 29: Introduction To The Cli Commands

    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. Issue 07 (2010-05-20) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 30: Overview Of The Cli Commands

    This topic describes the format of the CLI commands and shows how to use the commands in the CLI. When using the CLI commands, follow the conventions of the CLI commands. Table 2-1 lists the conventions of the CLI commands. Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 31: Table 2-1 Conventions Of The Cli Commands

    Enter add, and press Tab. No information is displayed. Press Tab again, the commands that start with letters add are displayed. OceanStor: admin> add Issue 07 (2010-05-20) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 32: Command Classification

    The basic operation commands are mainly used to set the basic information of storage system. Table 2-2 lists the basic operation commands. Table 2-2 Basic operation command set Classification Command Help command clihelp System exiting and logout commands exit logout Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 33: System Management Commands

    Controller management commands offline showctrlinfo Alarm log exporting or log exporting exportalm commands Configuration management commands exportcofferdb exportblackbox exportconf importconf exportstat Statistics management commands showstatswitch chgstatswitch statperf statres Issue 07 (2010-05-20) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 34: 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 Command Disk enclosure configuration commands showsubrack Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 35 Commands of querying the information showbuzzerstatus about buzzer status chgbuzzerstatus Host port configuration commands showfps chgfps showsasmode showiscsiip chgiscsiip chgiscsiroute chgiscsiname showiscsiroute showfcmode chgfcmode showfcport a: Backup Battery Unit Issue 07 (2010-05-20) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 36: Service Management Commands

    LUN mapping configuration commands createhostgroup deletehostgroup chghostgroup showhostgroup addhost chghost deletehost showhost showfreeport addport showhostport deleteport chgport Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 37: Alarm Management Commands

    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 commands. Issue 07 (2010-05-20) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 38: 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 recreatehyimg activehyimg 2-10 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 39 LUN-expanding management commands showexpluninfo showexplunmember rmlunfromexplun showlunforexplun addluntoexplun showexplunnum Initiator and target (controller) Configuration addtgt Commands showtgt connecttgt chgtgt Issue 07 (2010-05-20) Huawei Proprietary and Confidential 2-11 Copyright © Huawei Technologies Co., Ltd.
  • Page 40 Classification Command disconnecttgt chgiscsiininame showiscsiname deletetgtinfo chgini Link information Configuration Commands showlinkinfo showarraylinkinfo Other Configuration Commands showarrayinfo createvirlunmask cancelvirlunmask showthirdpartyluninfo statlink testlink chglinkstat showlinkperiod chglicensestatus showincrementlicense 2-12 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 41: Basic Operation Commands

    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. Issue 07 (2010-05-20) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 42: Help Command

    The command clihelp -h command name is used to query the help information about the command. Example Query the help information about the chgrg command. OceanStor: admin> clihelp -h chgrg CHGRG(1) User Commands CHGRG(1) NAME Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 43: System Exit And Logout Commands

    AUTHOR 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.
  • Page 44: Logout

    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 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 45 /home/ISM/ on the FTP server. OceanStor: admin> autobat -i 10.10.10.1 -u root -p 123456 -f /home/ISM/cmdfile Lun ID Name Status LUNXX fault Raid Group ID Name Level Status RAIDXX fault Issue 07 (2010-05-20) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 46: Commands Of Setting The Ip Address Of The Management Network Interface On The Controller

    Level Super administrator level and administrator level. Usage Guidelines The command chgctrlip is used to set the IP address of the management network interface on the controller. Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 47: Showctrlip

    Query the information about the IP addresses of all controllers. OceanStor: admin> showctrlip Controller IP Address Subnet Mask Gateway MAC Address 129.26.10.31 255.255.0.0 0.0.0.0 00:12:34:56:70:46 129.26.10.32 255.255.255.0 0.0.0.0 00:12:34:56:79:92 Issue 07 (2010-05-20) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 48: Cli Idle Time Setting Command

    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 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 49: System Management Commands

    4.8 System Reset Command System reset command is used to reset the system. 4.9 System Time Changing Command System time changing command is used to change the system time. Issue 07 (2010-05-20) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 50 SES version, and logic version. 4.14 Mirroring Information Query Commands Mirroring information query commands are used to query the mirroring information. Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 51: System Information Query Commands

    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 Issue 07 (2010-05-20) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 52: Showsysfail

    After Power on Fail System Status: Normal mode 4.1.3 showtemperature Function The command showtemperature is used to query the temperature of the controller, expander module, or host port module. Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 53: Showvoltage

    South bridge(°C) North bridge(°C) Air inlet(°C) 4.1.4 showvoltage Function The command showvoltage is used to query the voltage of the controller or expander module. Format showvoltage -t type Issue 07 (2010-05-20) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 54: Showsn

    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. Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 55: Showlicense

    Query the license of the device. OceanStor: admin> showlicense ============================================ License Information -------------------------------------------- Used LUN Mapping License Total LUN Mapping License Used Disk License Total Disk License ============================================ Issue 07 (2010-05-20) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 56: Controller Configuration Commands

    For a storage system configured with one controller, the command cannot be used. Example Disable the services of controller A. OceanStor: admin> offline -c a Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 57: Showctrlinfo

    Query the information about all online controllers. OceanStor: admin> showctrlinfo =============================================== Controller Information ----------------------------------------------- Controller CPU Utility(%) Master Status Master IP Address for Management 129.26.10.31 Running Status Normal Software Version 1.04.01.101.T09 =============================================== Issue 07 (2010-05-20) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 58: File Management Command

    FTP server. -t type The type of the logs. The None. value can be 1 or 2. 1: Exports alarm logs. 2: Exports logs. 4-10 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 59: Configuration Management Commands

    The command exportcofferdb is used to export the data of the configuration file from the coffer. Format exportcofferdb -i host IP address -di coffer disk ID -u user name -p password -f file Issue 07 (2010-05-20) Huawei Proprietary and Confidential 4-11 Copyright © Huawei Technologies Co., Ltd.
  • Page 60 -f file The path where the alarm file None. is stored on the FTP server, and the file name. Modes Normal mode and safe mode. 4-12 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 61: Exportblackbox

    The user password of the FTP None. server. -f file The path where the None. debugging information is stored on the FTP server, and the file name. Issue 07 (2010-05-20) Huawei Proprietary and Confidential 4-13 Copyright © Huawei Technologies Co., Ltd.
  • Page 62: Exportconf

    FTP server can access the storage network system. -u user name The user name of the FTP None. server. -p password The user password of the FTP None. server. 4-14 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 63: Importconf

    Default Value -i host IP address The IP address of the FTP None. server. It is requested that the FTP server can access the storage network system. Issue 07 (2010-05-20) Huawei Proprietary and Confidential 4-15 Copyright © Huawei Technologies Co., Ltd.
  • Page 64: Exportstat

    The command exportstat is used to export the configuration information from the system. The configuration file is a readable .txt file. Format exportstat -i host IP address -u user name -p password -f file 4-16 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 65: 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.5.1 showstatswitch Issue 07 (2010-05-20) Huawei Proprietary and Confidential 4-17 Copyright © Huawei Technologies Co., Ltd.
  • Page 66: Showstatswitch

    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-18 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 67: Statperf

    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 Collect port-based None. performance statistics. Issue 07 (2010-05-20) Huawei Proprietary and Confidential 4-19 Copyright © Huawei Technologies Co., Ltd.
  • Page 68 Super administrator level, administrator level and guest level. Usage Guidelines When using this command, note the following items: Before running the command, ensure that the performance statistics of the system is enabled. 4-20 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 69: Statres

    The controller ID. The value None. is A or B, and is case insensitive. Modes Normal mode. Level Super administrator level, administrator level and guest level. Issue 07 (2010-05-20) Huawei Proprietary and Confidential 4-21 Copyright © Huawei Technologies Co., Ltd.
  • Page 70: Staterr

    Collect statistics on error None. codes of the mini SAS host ports. Modes Normal mode. Level Super administrator level, administrator level and guest level. 4-22 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 71: Cleanerr

    Keyword and Value Description Default Value -c controller ID The controller ID. The value None. is A or B, and is case insensitive. Modes Normal mode. Issue 07 (2010-05-20) Huawei Proprietary and Confidential 4-23 Copyright © Huawei Technologies Co., Ltd.
  • Page 72: Software Upgrade Commands

    The command upgradesys is used to upgrade the system software. Format upgradesys -i host IP address -u user name -p password -f file [ -force ] 4-24 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 73: Synchronize

    Run the command synchronize on the primary controller to synchronize the latest version to it. OceanStor: admin> synchronize 4.6.2 synchronize Issue 07 (2010-05-20) Huawei Proprietary and Confidential 4-25 Copyright © Huawei Technologies Co., Ltd.
  • Page 74: Showsesmac

    The command showsesmac is used to query the SES version's MAC address about the controllers or the expander modules. Format showsesmac Parameters None. Modes Normal mode. 4-26 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 75: Showsesversion

    The value can be 0 or 1. Modes Normal mode. Level Super administrator level, administrator level and guest level. Usage Guidelines When using this command, note the following items: Issue 07 (2010-05-20) Huawei Proprietary and Confidential 4-27 Copyright © Huawei Technologies Co., Ltd.
  • Page 76: Upgradeses

    FTP Server, and the file name. Modes Normal mode, safe mode, and upgrade mode. Level Super administrator level and administrator level. 4-28 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 77: Primary/Secondary Switchover Commands

    The command swapsys is used to switch the state of the primary/secondary controller. Format swapsys Parameters None. Modes Normal mode and upgrade mode. Level Super administrator level and administrator level. Issue 07 (2010-05-20) Huawei Proprietary and Confidential 4-29 Copyright © Huawei Technologies Co., Ltd.
  • Page 78: Showmaster

    Query the primary and secondary state of the controller that the user admin logs in to. OceanStor: admin> showmaster the controller you log in is master controller! 4-30 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 79: System Reset Command

    Issue 07 (2010-05-20) Huawei Proprietary and Confidential 4-31 Copyright © Huawei Technologies Co., Ltd.
  • Page 80: System Time Changing Command

    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-32 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 81: Chap Setting Command

    4 to 25 characters, including numbers, letters, underscores, and hyphens. The first character must be a letter. -password password: The password. It contains 12 to 16 characters. Issue 07 (2010-05-20) Huawei Proprietary and Confidential 4-33 Copyright © Huawei Technologies Co., Ltd.
  • Page 82 The name of the iSCSI host port. -showuser: queries created CHAP user names. NOTE chap -showuser -initiator initiator name: queries the CHAP user name for a specified iSCSI host port. 4-34 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 83 -user username1...usernameN: deletes the CHAP user for a specified iSCSI host port. chap -deluser -user username1...usernameN: deletes the CHAP user of the storage system. Issue 07 (2010-05-20) Huawei Proprietary and Confidential 4-35 Copyright © Huawei Technologies Co., Ltd.
  • Page 84 The name of the iSCSI host port . -status { START | STOP } : START means to enable the CHAP setting. STOP means to disable the CHAP setting. 4-36 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 85: Trapip Management Commands

    Are you sure to create the CHAP user(y/n)?y 4.11 TrapIP Management Commands TrapIP management commands are used to manage the Trap IP. 4.11.1 showtrapip 4.11.2 addtrapip 4.11.3 deletetrapip Issue 07 (2010-05-20) Huawei Proprietary and Confidential 4-37 Copyright © Huawei Technologies Co., Ltd.
  • Page 86: Showtrapip

    Query the information about the Trap IP. OceanStor: admin> showtrapip Index IP Address Port ID Version 129.24.11.81 SNMPv1 129.24.11.82 SNMPv1 129.24.11.83 SNMPv1 129.24.11.84 SNMPv1 4.11.2 addtrapip 4-38 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 87: Deletetrapip

    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 Issue 07 (2010-05-20) Huawei Proprietary and Confidential 4-39 Copyright © Huawei Technologies Co., Ltd.
  • Page 88: Chgtrapip

    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-40 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 89: Command Of Clearing The Db Configuration Of The Coffer

    4.12 Command of Clearing the DB Configuration of the Coffer Command of clearing the DB configuration of the coffer is used to clear the DB configuration of the coffer. 4.12.1 cleancofferdb Issue 07 (2010-05-20) Huawei Proprietary and Confidential 4-41 Copyright © Huawei Technologies Co., Ltd.
  • Page 90: Cleancofferdb

    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.13.1 showallver 4-42 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 91: Showallver

    SES Version S022 S022 ------------------------------------------------ Logic Version: Controller Logic Version 230T02 230T02 ------------------------------------------------- SAS Version: Controller Port ID Mode FirmwareVersion Initiator 007 Initiator 007 Initiator 007 Issue 07 (2010-05-20) Huawei Proprietary and Confidential 4-43 Copyright © Huawei Technologies Co., Ltd.
  • Page 92: Mirroring Information Query Commands

    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-44 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 93: Device Management Commands

    The command is used to power off the device. 5.10 BBU Information Query Command BBU information query command is used to query the information about BBU. 5.11 Command of Querying the Fan Group Information Issue 07 (2010-05-20) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 94 Commands of querying the information 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. Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 95: Disk Enclosure Configuration Commands

    The command showsubrack -s subrack ID is used to query the information about a specified enclosure. Example Query the information about all enclosures. OceanStor: admin> showsubrack Issue 07 (2010-05-20) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 96: Deletesubrack

    Delete a disk enclosure 1. OceanStor: admin> deletesubrack -s 1 delete subrack 1? y or n:y 5.2 Disk Management Commands Disk management commands are used to manage disks. 5.2.1 showdiskinfo Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 97: Showdiskinfo

    Query the manufacturer information about the disks in the controller enclosure. OceanStor: admin> showdiskinfo -s 0 Subrack ID 0 disk info DiskID Vendor SEAGATE SEAGATE SEAGATE SEAGATE SEAGATE SEAGATE SEAGATE SEAGATE SEAGATE SEAGATE SEAGATE SEAGATE 5.2.2 chgdisklight Issue 07 (2010-05-20) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 98: Controller Management Commands

    OceanStor: admin> chgdisklight -o 1 -s 0 -sl 4 5.3 Controller Management Commands The controller management commands are used to manage the controller. 5.3.1 showctrlboard 5.3.2 chgctrlmodel Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 99: Showctrlboard

    Not Connected UPS Serial Port Not Connected Management Serial Port Not Connected Network Port Connected Heartbeat Port Connected Logic Version 230T02 PCB Version STE1SCUA VER.C BIOS Version Issue 07 (2010-05-20) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 100: Chgctrlmodel

    Description=Main Control Unit Manufactured=2009-04-23 VendorName=Huawei IssueNumber=00 CLEIcode= BOM= ========================================================================= 5.3.2 chgctrlmodel Function The command chgctrlmodel is used to set the mode of the controller. Format chgcache -m model Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 101: Hibernation Management Commands

    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 ] Issue 07 (2010-05-20) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 102 -i compose id The component ID. The None. value ranges from 0 to 31. -t compose type The component type. The None. value is 1, indicating RAID. 5-10 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 103 7: The components hibernate after two days in the case of no operations. Modes Normal mode. Level Super administrator level and administrator level. Issue 07 (2010-05-20) Huawei Proprietary and Confidential 5-11 Copyright © Huawei Technologies Co., Ltd.
  • Page 104: Showcomsleep

    1 or 2, and is described as follows: 1: The RAID. 2: The disk. -i is unavailable. Modes Normal mode. Level Super administrator level, administrator level and guest level. 5-12 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 105: Command Of Querying The Information About A Host Port Module

    -c controller ID The controller ID. The value None. is A or B, and is case insensitive. -i interface ID The ID of an host port module. Issue 07 (2010-05-20) Huawei Proprietary and Confidential 5-13 Copyright © Huawei Technologies Co., Ltd.
  • Page 106: Expander Module Management Command

    Description=FC Host Interface Card Manufactured=2009-04-24 VendorName=Huawei IssueNumber=00 CLEIcode= BOM= 5.6 Expander Module Management Command Expander module management command is used to manage the expander module. 5.6.1 showexpboard 5-14 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 107: Showexpboard

    Query the information about an expander module by specifying its enclosure ID to 1 and board ID to 1. OceanStor: admin> showexpboard -s 1 -i 1 ========================================================================= Expander Board Infomation ------------------------------------------------------------------------- Issue 07 (2010-05-20) Huawei Proprietary and Confidential 5-15 Copyright © Huawei Technologies Co., Ltd.
  • Page 108: Ups Information Query Commands

    -i ups id The UPS ID. The value can None. be 0 or 1. Modes Normal mode. Level Super administrator level, administrator level and guest level. 5-16 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 109: Showupsstat

    ------------------------------------------------ Heathy Status | Normal Operate Status | OnLine Enough Time To Write | yes Discharge Status | No Discharge Charge Status | Not Average Charge Issue 07 (2010-05-20) Huawei Proprietary and Confidential 5-17 Copyright © Huawei Technologies Co., Ltd.
  • Page 110: Command Of Managing The Power Supply Information

    The command showpowerinfo is used to query the information about all power supplies. The command showpowerinfo [ -s subrack id -i power id ] is used to query the information about a specified power supply in an enclosure. 5-18 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 111: Power Off The Device Command

    If the system permit power off the device by CLI, the interface will prompts whether power off the device or not. Example Power off the device. Issue 07 (2010-05-20) Huawei Proprietary and Confidential 5-19 Copyright © Huawei Technologies Co., Ltd.
  • Page 112: Bbu Information Query Command

    Enter showbbu -i bbu id to query the information about a designated BBU, including the present status and if it is fully charged. Example Query the all information about the BBU. OceanStor: admin> showbbu ================================================ 5-20 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 113: Command Of Querying The Fan Group Information

    -i fan ID The fan group ID. The value None. can be 0 or 1. Modes Normal mode. Level Super administrator level, administrator level and guest level. Issue 07 (2010-05-20) Huawei Proprietary and Confidential 5-21 Copyright © Huawei Technologies Co., Ltd.
  • Page 114: Commands Of Querying The Information About Buzzer Status

    The command showbuzzerstatus is used to query the state information about a buzzer. Format showbuzzerstatus Parameters None. Modes Normal mode. Level Super administrator level, administrator level and guest level. 5-22 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 115: Chgbuzzerstatus

    -o command to enable the buzzer, the buzzer generates a sound when a critical alarm is generated. Example Disable the buzzer. OceanStor: admin > chgbuzzerstatus -c Issue 07 (2010-05-20) Huawei Proprietary and Confidential 5-23 Copyright © Huawei Technologies Co., Ltd.
  • Page 116: Host Port Configuration Commands

    [ -c controller ID [ -i port ID ] ] Parameters Keyword and Value Description Default Value -c controller ID The controller ID. The value None. is A or B, and is case insensitive. 5-24 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 117 The command can be used only when the storage system uses the S2600F or S2600C controller enclosure. Example Query the current rates of the FC host ports. OceanStor: admin> showfps Controller FCPort ID Speed Auto Issue 07 (2010-05-20) Huawei Proprietary and Confidential 5-25 Copyright © Huawei Technologies Co., Ltd.
  • Page 118: Chgfps

    1: The rate of 1 Gbit/s. 2: The rate of 2 Gbit/s. 4: The rate of 4 Gbit/s. Modes Normal mode. Level Super administrator level and administrator level. 5-26 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 119: Showsasmode

    2 (or 02) and 3 (or 03) indicate initiators. Modes Normal mode. Level Super administrator level, administrator level and guest level. Usage Guidelines When using this command, note the following items: Issue 07 (2010-05-20) Huawei Proprietary and Confidential 5-27 Copyright © Huawei Technologies Co., Ltd.
  • Page 120: Showiscsiip

    FC host ports and two iSCSI host ports. From left to right, the iSCSI host ports are numbered 0 and 1 in sequence. 5-28 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 121: Chgiscsiip

    -c controller ID -p Port ID -a IP address -s subnet mask -m config mode Parameters Keyword and Value Description Default Value -c controller ID The controller ID. The value None. is A or B, and is case insensitive. Issue 07 (2010-05-20) Huawei Proprietary and Confidential 5-29 Copyright © Huawei Technologies Co., Ltd.
  • Page 122 On controller A , change the IP address of iSCSI host port 1 to 10.10.10.2, and the subnet mask to 255.255.255.0. OceanStor: admin> chgiscsiip -c a -p 1 -a 10.10.10.2 -s 255.255.255.0 -m 3 5-30 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 123: Chgiscsiroute

    -s subnet mask The subnet mask of the None. destination host. -g gateway The gateway of the iSCSI None. host port on the controller. Issue 07 (2010-05-20) Huawei Proprietary and Confidential 5-31 Copyright © Huawei Technologies Co., Ltd.
  • Page 124: Chgiscsiname

    1 to 32 characters, including numbers, letters, underscores, and hyphens. The first character cannot be a hyphen. The host port names must be unique. Modes Normal mode. 5-32 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 125: Showiscsiroute

    -c controller ID -p Port ID Parameters Keyword and Value Description Default Value -c controller ID The controller ID. The value None. is A or B, and is case insensitive. Issue 07 (2010-05-20) Huawei Proprietary and Confidential 5-33 Copyright © Huawei Technologies Co., Ltd.
  • Page 126: Showfcmode

    Port ID Dest IP Subnet Mask Gateway 192.12.5.0 255.255.255.0 192.168.200.1 5.13.9 showfcmode Function The command showfcmode is used to query the topology of the current FC port. 5-34 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 127: Chgfcmode

    A or B, and is case insensitive. -i Port ID The ID of an FC port. The ID None. value ranges from 0 to 3. Issue 07 (2010-05-20) Huawei Proprietary and Confidential 5-35 Copyright © Huawei Technologies Co., Ltd.
  • Page 128: Showfcport

    FC host ports exist in the system. Format showfcport Parameters None. Modes Normal mode. Level Guest level and administrator level. 5-36 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 129 WWN. Example Query the information of all the FC host ports。 OceanStor: admin> showfcport Controller Port ID Mode Loop 2200001882f4a59a Loop 2201001882f4a59a Loop 2210001882f4a59a Loop 2211001882f4a59a Issue 07 (2010-05-20) Huawei Proprietary and Confidential 5-37 Copyright © Huawei Technologies Co., Ltd.
  • Page 131: Service Management Commands

    6.5 Cache Configuration Commands Cache configuration commands are used to set the cache water level and query the details about the cache. Issue 07 (2010-05-20) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 132: Raid Group Configuration Commands

    The default name can be used for only once. -l level The RAID group level. The None. value can be 0, 1, 3, 5, 6 or Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 133: Deleterg

    Create a RAID group by specifying the RAID level to 1, number of mirroring disks to 2, and disk list to 0,5:0,3: OceanStor: admin> createrg -l 1 -m 2 -d 0,5:0,3: 6.1.2 deleterg Issue 07 (2010-05-20) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 134: Chgrg

    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 group ID -n RAID group name Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 135: Showrg

    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 ] Issue 07 (2010-05-20) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 136: Chgrgredundantcopy

    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 RAID group. Format chgrgredundantcopy -t type Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 137: Showrgredundantcopy

    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. Issue 07 (2010-05-20) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 138: Lun Configuration Commands

    [ -p prefetchtype [-v prefetch value ] ] Parameters Keyword and Value Description Default Value -i RAID group ID The RAID group ID. None. Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 139 0: Unmirroring. 1: Mirroring. -p prefetchtype The cache prefetch strategy. The value ranges from 0 to 3: 0: Non-prefetch. 1: Constant prefetch. 2: Variable prefetch. 3: Intelligent prefetch. Issue 07 (2010-05-20) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 140: Deletelun

    KB, LUN name to asd, write-back, mirroring, constant prefetch, and cache prefetch value to 1 OceanStor: admin> createlun -i 1 -s 200 -u 32 -n asd -w 1 -m 1 -p 1 -v 1 6.2.2 deletelun 6-10 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 141: Chglun

    Format chglun -i LUN ID -n name | -c controller ID | -w is write through | -m is mirror | -p prefetchtype [-v prefetch value] Issue 07 (2010-05-20) Huawei Proprietary and Confidential 6-11 Copyright © Huawei Technologies Co., Ltd.
  • Page 142 1: Mirroring. -p prefetchtype The cache prefetch strategy. The value ranges from 0 to 3: 0: None-prefetch. 1: Constant prefetch. 2: Variable prefetch. 3: Intelligent prefetch. 6-12 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 143: Showlun

    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 used to query the details about a LUN. Issue 07 (2010-05-20) Huawei Proprietary and Confidential 6-13 Copyright © Huawei Technologies Co., Ltd.
  • Page 144 Write back; Mirroring Changed Strip Unit Size(KB) Strip Unit Size Progress(%) Strip Unit Size Speed Whether Private LUN Expanded LUN Pool ID SnapShot ID HyperCopy ID ========================================================================= 6-14 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 145: Lun Mapping Configuration Commands

    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 Issue 07 (2010-05-20) Huawei Proprietary and Confidential 6-15 Copyright © Huawei Technologies Co., Ltd.
  • Page 146: Deletehostgroup

    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 ID 6-16 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 147: 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 None. ranges from 0 to 31. Issue 07 (2010-05-20) Huawei Proprietary and Confidential 6-17 Copyright © Huawei Technologies Co., Ltd.
  • Page 148: Showhostgroup

    OceanStor: admin> chghostgroup -i 2 -n bcd -t 1 6.3.4 showhostgroup Function The command showhostgroup is used to query the details about a host group. Format showhostgroup [ -i host group ID ] 6-18 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 149: Addhost

    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 Issue 07 (2010-05-20) Huawei Proprietary and Confidential 6-19 Copyright © Huawei Technologies Co., Ltd.
  • Page 150: Chghost

    Add the host user into host group 2. OceanStor: admin> addhost -i 2 -n user 6.3.6 chghost Function The command chghost is used to change the host name. 6-20 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 151: Deletehost

    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 Issue 07 (2010-05-20) Huawei Proprietary and Confidential 6-21 Copyright © Huawei Technologies Co., Ltd.
  • Page 152: Showhost

    [ -i host group ID ] Parameters Keyword and Value Description Default Value -i host group ID The host group ID. The value None. ranges from 0 to 31. 6-22 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 153: Showfreeport

    Normal mode. Level Super administrator level, administrator level and guest level. Usage Guidelines The command showfreeport is used to query the information about all free host ports. Issue 07 (2010-05-20) Huawei Proprietary and Confidential 6-23 Copyright © Huawei Technologies Co., Ltd.
  • Page 154: Addport

    -I port information The information about iSCSI None. host ports. The parameter is required when the iSCSI host ports are used as the front- end host ports. 6-24 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 155: Showhostport

    OceanStor: admin> addport -i 5 -t 2 -w 5001882847b12001 -n test_fc 6.3.11 showhostport Function The command showhostport is used to query the list information about a host port based on the host ID. Issue 07 (2010-05-20) Huawei Proprietary and Confidential 6-25 Copyright © Huawei Technologies Co., Ltd.
  • Page 156: Deleteport

    [ -f ] -i port ID Parameters Keyword and Value Description Default Value When you delete a host port, None. you do not need to enter the confirmation information. 6-26 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 157: Chgport

    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. Issue 07 (2010-05-20) Huawei Proprietary and Confidential 6-27 Copyright © Huawei Technologies Co., Ltd.
  • Page 158: Showunmap

    Query the list of unmapped device LUNs. OceanStor: admin> showunmap Unmap LUN ID RAID ID Status Ctrler Capacity(MB) LUN Name Normal 2048 Lun004 Not formatted LUN4 6-28 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 159: Addmap

    LUN to a host group or host. Example Map the device LUN 0 to the host 0 and set the host LUN ID to 0 . Issue 07 (2010-05-20) Huawei Proprietary and Confidential 6-29 Copyright © Huawei Technologies Co., Ltd.
  • Page 160: Showmap

    Host LUN Mapped to RAID ID Dev LUN Cap(MB) 0x1010000 Host: 0 1048576 0x1010001 Host: 0 2096640 0x1010003 Host: 0 10240 0x1010004 Host: 0 10241 6.3.17 deletemap 6-30 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 161: 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.3 showdisk 6.4.4 chgdisktype Issue 07 (2010-05-20) Huawei Proprietary and Confidential 6-31 Copyright © Huawei Technologies Co., Ltd.
  • Page 162: Startrecon

    Modes Normal mode. Level Super administrator level and administrator level. Usage Guidelines The command startrecon is used to enable the hard disk reconstruction function. 6-32 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 163: Startcopyback

    Copyback the data from the spare disk to the new disk that is in slot 11, enclosure 1 without confirmation. OceanStor: admin> startcopyback -f -ns 1 -nsl 11 Issue 07 (2010-05-20) Huawei Proprietary and Confidential 6-33 Copyright © Huawei Technologies Co., Ltd.
  • Page 164: Showdisk

    The command showdisk -h is used to query the information about a hot spare disk. Example Query the details about a hard disk in enclosure 0, slot 4. OceanStor: admin> showdisk -s 0 -sl 4 ============================================== 6-34 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 165: Chgdisktype

    The value ranges from 0 to -t disk type The disk type. The value can None. be 1 or 3. 1: Free disks. 3: Hot spare disks. Modes Normal mode. Issue 07 (2010-05-20) Huawei Proprietary and Confidential 6-35 Copyright © Huawei Technologies Co., Ltd.
  • Page 166: Cache Configuration Commands

    Keyword and Value Description Default Value -c controller ID The controller ID. The value None. is A or B, and is case insensitive. Modes Normal mode. 6-36 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 167: Chgcache

    The command chgcache is used to set high and low water levels of the cache. Format chgcache [-h high water position] | [-l low water position] Issue 07 (2010-05-20) Huawei Proprietary and Confidential 6-37 Copyright © Huawei Technologies Co., Ltd.
  • Page 168 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-38 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 169: Alarm Management Commands

    Alarm email 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. Issue 07 (2010-05-20) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 170: Alarm Email Management Commands

    The email box list of email None. boxes that receive alarms. The lists are separated with colons. -e sender email The email box of an alarm None. sender. Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 171 Set an email box. The user name for logging in to the SMTP email server is S2600. The password is 123456. The IP address of the SMTP email server is 129.80.10.46. The email addresses for Issue 07 (2010-05-20) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 172: Showemail

    Is Need Send Is Need Check Send Level Warning ========================================================== 7.2 Alarm Short Message Management Commands Alarm short message management commands are used to manage alarm short message. Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 173: Chgsms

    The lowest alarm severity for sending an alarm email. The value ranges from 3 to 6 and is described as follows: 3: Warning. 4: Minor. 5: Major. 6: Critical. Issue 07 (2010-05-20) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 174: Showsms

    Super administrator level and administrator level. Usage Guidelines Before running the command chgsms , ensure that the GSM modem is properly installed and configured. For details, see OceanStor S2600 Storage System Initial Configuration Guide. Example Set a short message. OceanStor: admin> chgsms -c 01 -r 88037312 -l 4 7.2.2 showsms...
  • Page 175 OceanStor S2600 Storage System Command Reference 7 Alarm Management Commands INFORMATION ------------------------------ Send Country China Receiver Number 88037312 Send Level Minor Is Need Send ============================== Issue 07 (2010-05-20) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 177: User Management Commands

    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. Issue 07 (2010-05-20) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 178: User Adding Command

    2: The administrator level. 3: The guest level. Modes Normal mode. Level Super administrator level. Usage Guidelines The command adduser is used to add a user. Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 179: User Deleting Command

    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 the following items: Issue 07 (2010-05-20) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 180: User Information Query Command

    The command showuser is used to display the basic information about all users. The command showuser -u name is used to display the basic information about a specified user. Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 181: User Level Change Command

    The user level. The value can None. be 2 or 3 and is described as follows: 2: The administrator level. 3: The guest level. Modes Normal mode. Level Super administrator level. Issue 07 (2010-05-20) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 182: User Password Change Command

    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: Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 183: User Logout Command

    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 Issue 07 (2010-05-20) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 185: Value-Added Service Management Commands

    Link information configuration commands are used to query and modify link information. 9.6 Other Configuration Commands Other configuration commands are used to manage some relative information of the storage system. Issue 07 (2010-05-20) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 186: Hyperimage Configuration Commands

    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 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 187: Chghyimgname

    Active 2008-11-18 15:12:54 CPY_Pair2_Snap Private Active 2008-11-24 16:25:28 Session0_snap00 Private Active 2008-11-17 19:53:09 _Lun0004 Session0_snap01 Private Disable _Lun0004 Session0_snap02 Private Disable _Lun0004 System Response None. 9.1.2 chghyimgname Issue 07 (2010-05-20) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 188: Showlunforpool

    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 showlunforpool Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 189: Addluntopool

    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 Issue 07 (2010-05-20) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 190: Rmlunfrompool

    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 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 191: Showpoollun

    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] Issue 07 (2010-05-20) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 192: Showpoolinfo

    Pool LUN Name Free System Response None. 9.1.7 showpoolinfo Function The command showpoolinfo is used to query information on a resource pool. Format showpoolinfo -i pool ID Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 193: Chgpoolalarmvalue

    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 Issue 07 (2010-05-20) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 194: Showlunforhyimg

    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 Parameters None. 9-10 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 195: Createhyimg

    RAID0 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 Issue 07 (2010-05-20) Huawei Proprietary and Confidential 9-11 Copyright © Huawei Technologies Co., Ltd.
  • Page 196: Deletehyimg

    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 9-12 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 197: Disablehyimg

    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 Issue 07 (2010-05-20) Huawei Proprietary and Confidential 9-13 Copyright © Huawei Technologies Co., Ltd.
  • Page 198: Cancelrollbackhyimg

    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-14 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 199: Rollbackhyimg

    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 Issue 07 (2010-05-20) Huawei Proprietary and Confidential 9-15 Copyright © Huawei Technologies Co., Ltd.
  • Page 200: Recreatehyimg

    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 {HyperImage ID...} 9-16 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 201: Activehyimg

    When the command is complete, you can run the showhyimginfo command to view the result. 9.1.16 activehyimg Function The command activehyimg is used to start a HyperImage. Format activehyimg {-i HyperImage ID ...} Issue 07 (2010-05-20) Huawei Proprietary and Confidential 9-17 Copyright © Huawei Technologies Co., Ltd.
  • Page 202: Createhyimgcp

    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-18 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 203: Chghyimgrollbackspeed

    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 level Issue 07 (2010-05-20) Huawei Proprietary and Confidential 9-19 Copyright © Huawei Technologies Co., Ltd.
  • Page 204: Createtimehyimg

    The command createtimehyimg is used to create a HyperImage according to the source LUN at a specified point-in-time and time interval. Format createtimehyimg {-i source LUN ID...} -n nums -st start time -ti time interval 9-20 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 205 11:05:00, 11:35:00, and 12:05:00. Then, the snapshot data created at 11:05:00 is updated by that created at 12:35:00, the snapshot data created at 11:35:00 is updated by that created at 13:05:00, and the like. Issue 07 (2010-05-20) Huawei Proprietary and Confidential 9-21 Copyright © Huawei Technologies Co., Ltd.
  • Page 206: Stoptimehyimg

    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-22 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 207 The time to activate the timing HyperImage must be later than the current time shown on the device. Example Change the time interval of creating the HyperImage for the session with the ID of 1 to 40 minutes. Issue 07 (2010-05-20) Huawei Proprietary and Confidential 9-23 Copyright © Huawei Technologies Co., Ltd.
  • Page 208: Showhyimgoflun

    OceanStor: admin> showhyimgoflun -i 10 Snapshot Name Snapshot ID Type Snapshot Status Time Stamp Session1_snap00 Private Disable _Lun0010 Session1_snap01 Private Disable _Lun0010 Session1_snap02 Private Disable _Lun0010 9-24 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 209: Deletetimehyimg

    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. Issue 07 (2010-05-20) Huawei Proprietary and Confidential 9-25 Copyright © Huawei Technologies Co., Ltd.
  • Page 210: Showlunoftimehyimg

    9.1.25 showlunoftimehyimg Function The command showlunoftimehyimg is used to query the LUN information on the timing HyperImage with a specified session ID. Format showlunoftimehyimg -i session ID 9-26 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 211: Showlunfortimehyimg

    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 showlunfortimehyimg Issue 07 (2010-05-20) Huawei Proprietary and Confidential 9-27 Copyright © Huawei Technologies Co., Ltd.
  • Page 212: 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.7 showlunforhycp 9.2.8 createhycp 9-28 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 213: Showhycpinfo

    LUN belongs to is displayed. Example Query detailed information of the HyperCopy with the ID of 2. OceanStor: admin> showhycpinfo -i 2 ============================================== Issue 07 (2010-05-20) Huawei Proprietary and Confidential 9-29 Copyright © Huawei Technologies Co., Ltd.
  • Page 214: Showhycpluninfo

    Default Value -i HyperCopy ID None. The HyperCopy ID. The value ranges from 0 to 63. You can query the information by running the showhycpinfo command. 9-30 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 215 Destination LUN Type External LUN Destination LUN Capacity(MB) 1024 Destination LUN Status Normal Destination LUN WWN Destination LUN WWPN Destination LUN Number Array Name Array WWN 2100135790864213 =================================================== Issue 07 (2010-05-20) Huawei Proprietary and Confidential 9-31 Copyright © Huawei Technologies Co., Ltd.
  • Page 216: Chghycpinfo

    -t the HyperCopy type None. The HyperCopy type. The value can be 1 or 2. The value 1 stands for full copy. The value 2 stands for increment copy. 9-32 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 217 Change the HyperCopy type with the ID of 2 to incremental copy, and perform initial synchronization. OceanStor: admin> chghycpinfo -i 2 -t 2 -is 1 The command has been sent, please wait... Issue 07 (2010-05-20) Huawei Proprietary and Confidential 9-33 Copyright © Huawei Technologies Co., Ltd.
  • Page 218: Deletehycplun

    LUN is deleted, the HyperCopy task is started automatically. Example Delete the target LUN with the ID of 0 of the HyperCopy with the ID of 0. 9-34 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 219: Deletehycp

    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.6 chghycpstatus Issue 07 (2010-05-20) Huawei Proprietary and Confidential 9-35 Copyright © Huawei Technologies Co., Ltd.
  • Page 220 The HyperCopy should be in created mode, copy completed mode, or stop mode. When suspending the HyperCopy: Ensure that the HyperCopy is in waiting or copying mode. Before resuming the HyperCopy: 9-36 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 221: Showlunforhycp

    You can query the information by running the showlinkinfo command. NOTE If you don not input this parameter, indicates querying the LUN on local device. Otherwise, indicates querying the LUN on remote device. Issue 07 (2010-05-20) Huawei Proprietary and Confidential 9-37 Copyright © Huawei Technologies Co., Ltd.
  • Page 222: Createhycp

    RAID0 Full Session0_s Master Unknown Full nap00_Lun0 Session0_s Master Unknown Full nap01_Lun0 Session0_s Master Unknown Full nap02_Lun0 Master RAID01 RAID0 Full System Response None. 9.2.8 createhycp 9-38 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 223 The link ID of the source LUN. The value ranges from 0 to 255. -si source LUN ID None. The sourceLUN ID. The value ranges from 0 to 511. Issue 07 (2010-05-20) Huawei Proprietary and Confidential 9-39 Copyright © Huawei Technologies Co., Ltd.
  • Page 224 The target LUN number. This number is used only when the twwpn parameter is valid. The value ranges from 0 to 511. Modes Normal mode. Level Super administrator level and administrator level. 9-40 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 225: Taghycp

    The HyperCopy ID. The value ranges from 0 to 63. You can query the information by running the showhycpinfo command. Modes Normal mode. Level Super administrator level and administrator level. Issue 07 (2010-05-20) Huawei Proprietary and Confidential 9-41 Copyright © Huawei Technologies Co., Ltd.
  • Page 226: Addhycplun

    "internal LUN", the value ranges from 0 to 511. When the target LUN is "external LUN", the value ranges from 100000 to 101023. You can query the information by running the showlunforhycp command. 9-42 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 227 OceanStor: admin> addhycplun -i 0 -tli 0 -ti 1 The command has been sent, please wait... System Response When the command is complete, you can run the showhycpluninfo command to view the result. Issue 07 (2010-05-20) Huawei Proprietary and Confidential 9-43 Copyright © Huawei Technologies Co., Ltd.
  • Page 228: Lun-Expanding Management Commands

    The showexpluninfo command queries detailed information of the expanded LUNs in the system. The showexpluninfo -i expanded LUN ID command queries detailed information of a specified expanded LUNs in the system. 9-44 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 229: Showexplunmember

    Super administrator level, administrator level and guest level. Usage Guidelines NOTE For other information on LUNs, you can query the information by running the showlun command. Issue 07 (2010-05-20) Huawei Proprietary and Confidential 9-45 Copyright © Huawei Technologies Co., Ltd.
  • Page 230: Rmlunfromexplun

    The ID of the last slave LUN to the expanded LUN. The value ranges from 0 to 511. You can query the information by running the showexplunmember command. 9-46 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 231: Showlunforexplun

    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. Issue 07 (2010-05-20) Huawei Proprietary and Confidential 9-47 Copyright © Huawei Technologies Co., Ltd.
  • Page 232: Addluntoexplun

    The ID of the slave LUN. The value ranges from 0 to 511. You can query the information by running the showlunforexplun command. Modes Normal mode. Level Super administrator level and administrator level. 9-48 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 233: Showexplunnum

    Level Super administrator level, administrator level and guest level. Usage Guidelines None. Example Query the LUN number of the expanded LUN with the ID of 23. Issue 07 (2010-05-20) Huawei Proprietary and Confidential 9-49 Copyright © Huawei Technologies Co., Ltd.
  • Page 234: Initiator And Target (Controller) Configuration Commands

    [-user user -pwd password] Parameters Keyword and Value Description Default Value -c controller ID None. The controller ID. The value is A or B, and it is case insensitive. 9-50 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 235 ID is 00, and the TCP/IP port is 3260. The link recovery policy is manual, and the CHAP authentication is disabled. OceanStor: admin> addtgt -c a -p 00 -ip 128.12.13.25 Issue 07 (2010-05-20) Huawei Proprietary and Confidential 9-51 Copyright © Huawei Technologies Co., Ltd.
  • Page 236: Showtgt

    Query information of the target on controller A. OceanStor: admin> showtgt -c a Controller ID Target ID Target IP Target Port Connect Status 128.12.13.25 3260 Unconnected System Response None. 9-52 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 237: Connecttgt

    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). Issue 07 (2010-05-20) Huawei Proprietary and Confidential 9-53 Copyright © Huawei Technologies Co., Ltd.
  • Page 238 -user user None. The CHAP user name. -pwd password None. The CHAP password. Modes Normal mode. Level Super administrator level and administrator level. 9-54 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 239: Disconnecttgt

    The target ID. The value ranges from 0 to 7. Modes Normal mode. Level Super administrator level and administrator level. Usage Guidelines None. Example Disconnect the target with the ID of 1 on controller A. Issue 07 (2010-05-20) Huawei Proprietary and Confidential 9-55 Copyright © Huawei Technologies Co., Ltd.
  • Page 240: Chgiscsiininame

    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 showiscsiname command to view the result. 9-56 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 241: Showiscsiname

    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 Issue 07 (2010-05-20) Huawei Proprietary and Confidential 9-57 Copyright © Huawei Technologies Co., Ltd.
  • Page 242: Chgini

    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 target ID 9-58 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 243: 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] Issue 07 (2010-05-20) Huawei Proprietary and Confidential 9-59 Copyright © Huawei Technologies Co., Ltd.
  • Page 244: Showarraylinkinfo

    Link Type iSCSI Local Controller Local Port Remote Controller Remote Port Connect Status Connect Whether Be Used Is Mirror Link ================================ System Response None. 9.5.2 showarraylinkinfo 9-60 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 245 -------------------------------- Link ID Array ID Link Type iSCSI Local Controller Local Port Remote Controller Remote Port Connect Status Unknown Whether Be Used Is Mirror Link ================================ Issue 07 (2010-05-20) Huawei Proprietary and Confidential 9-61 Copyright © Huawei Technologies Co., Ltd.
  • Page 246: Other Configuration Commands

    The scope. The value ranges can be 1 or 2. The value 1 stands for all. The value 2 stands for connected (used by LUN copy). 9-62 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 247: Createvirlunmask

    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 Issue 07 (2010-05-20) Huawei Proprietary and Confidential 9-63 Copyright © Huawei Technologies Co., Ltd.
  • Page 248: Cancelvirlunmask

    When the command is complete, you can run the showmap command to view the result. 9.6.3 cancelvirlunmask Function The command cancelvirlunmask is used to cancel a virtual lunmasking. 9-64 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 249: Showthirdpartyluninfo

    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]} Issue 07 (2010-05-20) Huawei Proprietary and Confidential 9-65 Copyright © Huawei Technologies Co., Ltd.
  • Page 250: Statlink

    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-66 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 251: Testlink

    Max IOPS(IO/S) Max Delay(S) Average Delay(S) ========================================= System Response None. 9.6.6 testlink Function The command testlink is used to test the statistics time of the link. Issue 07 (2010-05-20) Huawei Proprietary and Confidential 9-67 Copyright © Huawei Technologies Co., Ltd.
  • Page 252: Chglinkstat

    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-68 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 253: Showlinkperiod

    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 Issue 07 (2010-05-20) Huawei Proprietary and Confidential 9-69 Copyright © Huawei Technologies Co., Ltd.
  • Page 254: Chglicensestatus

    Link Statistic Period ====================================== 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-70 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 255: Showincrementlicense

    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] Issue 07 (2010-05-20) Huawei Proprietary and Confidential 9-71 Copyright © Huawei Technologies Co., Ltd.
  • Page 256 None. Example Query the license information of HyperImage. OceanStor: admin> showincrementlicense -i 2 Feature Name Feature ID Lisence Status Open Status Left Time Snapshot Valid Open 9-72 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 257: A How To Obtain Help

    Huawei. A.2 How to Use the Document Huawei provides guide documents shipped with the device. The guide documents can be used to handle the common problems occurring in daily maintenance or troubleshooting. A.3 How to Obtain Help from Website...
  • Page 258: Preparations For Contacting Huawei

    You need to collect troubleshooting information before troubleshoot. 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.
  • Page 259: Ways To Contact Huawei

    Customer service center Technical support website: http://support.huawei.com You can query how to contact the regional offices at http://support.huawei.com. A.4 Ways to Contact Huawei Huawei Technologies Co., Ltd. provides customers with comprehensive technical support and service. For any assistance, contact our local office or company headquarters.
  • Page 261: B Glossary

    The system is defined under IEEE standard 1149.1 and is also often known as JTAG (Joint Test Action Group). Issue 07 (2010-05-20) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 262 This strategy applies to the applications that require reading data of a fixed size in a certain order. An example is the streaming media demanded by multiple subscribers who use the same bit rate. Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 263 During the operations of defragment, expanding the member disk of RAID group, modifying the stripe unit size and transferring the level of RAID group dynamically, create a temporary LUN that can help data transfer. Issue 07 (2010-05-20) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 264 A type of hot spare disk. A global spare disk can serve as the spare disk disk for multiple RAID groups of an array while a local hot spare disk can only serve as the spare disk for only one RAID group. Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 265 Management commands are sent through the service channel, that is, the I/O read-and-write channel. The advantage is quick and stable transmission, which requires no other management network interface. Issue 07 (2010-05-20) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 266 LUNs are located. LUN mapping The OceanStor storage system maps LUNs to ASs so that the ASs can access the storage reorganization. Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 267 LUN, the number of the application server that is displayed as the local device is consistent with the number of physical paths. OceanStor A trademark of Huawei storage device. Outband A management mode used during outband networking. In the outband...
  • Page 268 To restore the data in a member disk, when the member disk in a RAID group is faulty. Reconstruct hot- To restore the data from the faulty member disk in a RAID group to the spare disk spare disk. Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 269 Since some components or channels are not redundant, the failure of a failure device or component causes the breakdown of all devices or components. Smooth expansion A process of expanding capacity online without interrupting services. Issue 07 (2010-05-20) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 270 B-10 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 271 UltraPath The trademark of multi-path software provided by Huawei. Unload slave LUN The process of unloading the last slave LUN from the connected LUNs. Used hot-spare A hot-spare disk that is in use.
  • Page 272 A cache technology. Data is written to disks. And only when the data cache is safely written to disks, the procedure of write requests can be ended. Disks need to be accessed during each write operation. B-12 Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 273: Acronyms And Abbreviations

    RAID redundant array of independent disks serial attached SCSI SCSI small computer system interface Issue 07 (2010-05-20) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 274 OceanStor S2600 Storage System C Acronyms and Abbreviations Command Reference user interface Huawei Proprietary and Confidential Issue 07 (2010-05-20) Copyright © Huawei Technologies Co., Ltd.

Table of Contents