No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Advanced O&M Command Reference

OceanStor 18000 V3 Series V300R006

This document is applicable to OceanStor 18500 V3 and 18800 V3. Based on the CLI, this document describes how to use various commands classified by functionsand how to set the CLI and manage the storage system through these commands. The document that you browse online matches the latest C version of the product. Click Download to download documents of other C versions.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Logging In to the Storage System

Logging In to the Storage System

After logging in to the storage system through the command line interface (CLI), you can query, set, manage, and maintain the storage system.

You can log in to the CLI using any of the following methods:

  • Through the serial port

    After the controller enclosure is connected with the maintenance terminal using serial cables, you can log in to the CLI of the storage device using a terminal program (such as PuTTY).

  • Through the remote login software
    • You can log in to the CLI by using the IPv4 address or IPv6 address.
    • After the SVP management network port is connected to the maintenance terminal by a network cable, you can log in to the storage system by using the remote login software (for example, PuTTY) that supports the SSH protocol.
    NOTE:

    For a maintenance terminal's access to the storage system using the management network port on the engine of the storage system, the SSH protocol also supports public key authentication besides user name + password authentication. If the super administrator enables public key authentication for a user and imports a public key for the user, the user must import the private key that matches the public key when logging in to the storage system. After the public and private keys are authenticated, the user can access the storage system. Note that you can log in to the CLI only through management network port 0 of the engine. To configure public key authentication, see Administrator Guide.

    • In the method, one controller allows a maximum of four CLI management windows to be opened concurrently.
  • Through the service processor (SVP)
    • From a local computer
    • From a remote desktop

Logging In to the CLI Through the Serial Port (Windows)

NOTE:
  • This document uses the PuTTY software as an example. You can download PuTTY from chiark website.
  • You are advised to use the latest version of PuTTY, otherwise you may fail to log in to the storage system.
  1. Run the PuTTY software. The PuTTY Configuration dialog box is displayed, as shown in Figure 1-1.
    Figure 1-1 The dialog box of PuTTY Configuration
  2. In Connection type, select Serial. In Speed, enter 115200.
  3. Click Open. When the connection succeeds, the following output is displayed.
    Authorized users only. All activities may be monitored and reported. 
    Storage Login:
  4. Enter the user name and password as prompted. You are required to change the password upon your initial login to ensure system security. If the login succeeds, the following information is displayed.
    Storage Login: admin 
     
    Authorized users only. All activity may be monitored and reported. 
    Using keyboard-interactive authentication. 
    password: 
     
    WARNING: You have accessed the system. 
    You are required to have a personal authorisation from the system administrator before you use this computer. Unauthorised access to or misuse of this system is prohibited. 
     
    For security purposes, please change the initial password and log in to the system using the new password. 
    Old password:************* 
    New password:************** 
    Reenter password:************** 
     
      System Name     : XXXXX 
      Health Status : Normal 
      Running Status  : Normal 
      Total Capacity  : 6.240TB 
      SN              : 210235G6TFZ0C7000045 
      Location        : 
      Product Model : XXXXX 
      Product Version : VXXXRXXXCXX 
      Time            : 2014-04-09/16:38:22 +08:00 
    admin:/>
NOTE:
  • The default user name and password of super administrator are admin and Admin@storage respectively.
  • The default user name and password of super administrator are admin and Admin@storage respectively. If the name and password of the system super administrator has been changed, use the new user name and password.
  • Product Model and Product Version vary with the actual device you have logged in to. The actual interface display prevails.
  • You are advised to change your login password periodically in the future by executing the change user_password command. This reduces the password leakage risks.
  • Logging in to the CLI of a storage system as a domain user:
    • For a domain user of the domain authentication server whose ID is "0", the user can log in to the CLI of a storage system typing domain/domain user name or a combination of the dc field in the domain authentication server's base DN/domain user name.
    • For a domain user of the domain authentication server whose ID is "1", "2", or "3", the user can log in to the CLI of a storage system only typing a combination of the dc field in the domain authentication server's base DN/domain user name.

      If the base DN of the domain authentication server contains only one dc field, the dc field is used as the combination of the dc field in the domain authentication server's base DN. For example, if the base DN of the domain authentication server is ou=applications,dc=bigcorp, bigcorp is the combination of the dc field in the domain authentication server's base DN.

      If the base DN of the domain authentication server contains multiple dc fields, they are combined and then separated by a period (.) to serve as the combination of the dc field in the domain authentication server's base DN. For example, if the base DN of the domain authentication server is ou=applications,dc=bigcorp,dc=com, bigcorp.com is the combination of the dc field in the domain authentication server's base DN.

Logging In to the CLI Using the Serial Port (Linux)

NOTE:
  • This document uses the Minicom software as an example. You can download Minicom from its official website.
  • This document uses SSH Secure Shell Client to upload the Minicom installation package to the Linux host. You can download SSH Secure Shell Client from its official website.
  • You must enable SSH on the Linux host. The default port ID is 22.
  1. Check whether Minicom has been installed on the host.

    Log in to the Linux client and run the rpm -qa | grep minicom command.

    • If Minicom has been installed, its version is returned, for example:
      [root@localhost ~]# rpm -qa |grep minicom 
      [root@localhost ~]# minicom-2.3-27.24.4.1

      Go to 5 to configure Minicom.

    • If Minicom is not installed, no information will be returned. Go to 2, 3 and 4 to install it.
  2. Upload the Minicom and rzsz installation package to the Linux host. This document uses SSH Secure Shell Client on a Windows host to upload the packages to the Linux host.
    1. Install SSH Secure Shell Client on a Windows host. Double-click the Secure File Transfer Client shortcut to run the software.
    2. Click Quick Connect on the menu bar. Input the Host Name, User Name, Port, and Authentication of the Linux host and click connect. Then enter the password to access the Linux host.

      NOTE:

      The default port is 22.

    3. Click on the menu bar. The file transfer page is displayed.

      By default, Local Name is the file directory on the Windows host and Remote Name is the file directory on the Linux host.

    4. Select the Minicom installation package and rzsz installation package on the Windows host, right-click on it, and select upload to upload the installation packages to the Linux host.
  3. Install the rzsz software.

    On the Linux client, run the rpm -ivh Installation package name command.

    [root@localhost minicom]# rpm -ivh rzsz-0.12.20-853.2.i586.rpm 
    Preparing...     #############################################[100%] 
     1:rzsz        #############################################[100%]
  4. Install the Minicom software.

    On the Linux client, run the rpm -ivh Installation package name command.

    [root@localhost minicom]# rpm -ivh minicom-2.3-27.24.4.1.x86_64.rpm 
    Preparing...     #############################################[100%] 
     1:minicom     #############################################[100%]
  5. Configure Minicom.

    After Minicom has been installed, configure Minicom to connect the Linux host to the storage system.

    1. Log in to the Linux client and run the minicom -s command. The configuration page is displayed.

    2. Select Serial port setup and press Enter.

    3. Configure serial port parameters.
      1. Configure the serial port device.

        Press A. Input /dev/ttS0 in Serial Device and press Enter.

      2. Configure the Baud rate for the serial port.

        Press E. The Comm Parameters page is displayed. Generally, the Baud rate of the storage system is 115200. Press E and select 115200. Then press Enter to return to the configuration page.

      3. On the configuration page, click Save setup as dfl to save the configurations and then click Exit.
  6. After configuring Minicom, run the minicom command on the Linux client. The following message is returned:
    Authorized users only. All activities may be monitored and reported. 
    Storage login:
  7. Enter the user name and password as prompted. The system asks you to change the password upon the first login. Change the password immediately to ensure system security. The following information is displayed if the login is successful:
    Storage login: admin 
     
    Authorized users only. All activity may be monitored and reported. 
    Using keyboard-interactive authentication. 
    password: 
     
    WARNING: You have accessed the system operated by XXX. 
    You are required to have a personal authorisation from the system administrator before you use this computer. Unauthorised access to or misuse of this system is prohibited. 
     
    For security purposes, please change the initial password and log in to the system using the new password. 
    Old password:************* 
    New password:************** 
    Reenter password:************** 
     
      System Name     : XXXXX 
      Health Status : Normal 
      Running Status  : Normal 
      Total Capacity  : 6.240TB 
      SN              : XXXXXXXXXXXXXXXXXXXXXXXXX 
      Location        : 
      Product Model : XXXXX 
      Product Version : XXXXX 
      Time            : XXXX-XX-XX/16:38:22 +08:00 
    admin:/>
NOTE:
  • The default user name and password of super administrator are admin and Admin@storage respectively.
  • Product Model and Product Version vary with the actual device you have logged in to. The actual interface display prevails.
  • You are advised to change your login password periodically in the future by executing the change user_password command. This reduces the password leakage risks.
  • Logging in to the CLI of a storage system as a domain user:
    • For a domain user of the domain authentication server whose ID is "0", the user can log in to the CLI of a storage system typing domain/domain user name or a combination of the dc field in the domain authentication server's base DN/domain user name.
    • For a domain user of the domain authentication server whose ID is "1", "2", or "3", the user can log in to the CLI of a storage system only typing a combination of the dc field in the domain authentication server's base DN/domain user name.

      If the base DN of the domain authentication server contains only one dc field, the dc field is used as the combination of the dc field in the domain authentication server's base DN. For example, if the base DN of the domain authentication server is ou=applications,dc=bigcorp, bigcorp is the combination of the dc field in the domain authentication server's base DN.

      If the base DN of the domain authentication server contains multiple dc fields, they are combined and then separated by a period (.) to serve as the combination of the dc field in the domain authentication server's base DN. For example, if the base DN of the domain authentication server is ou=applications,dc=bigcorp,dc=com, bigcorp.com is the combination of the dc field in the domain authentication server's base DN.

Logging In to the Storage System Through the Remote Login Software

NOTE:
  • This document uses the PuTTY software as an example. You can download PuTTY from chiark website.
  • You are advised to use the latest version of PuTTY, otherwise you may fail to log in to the storage system.
  1. Run the PuTTY software. The PuTTY Configuration dialog box is displayed, as shown in Figure 1-2.
    Figure 1-2 The dialog box of PuTTY Configuration

  2. Select Session. Type the IP address of the SVP management network port in the Host Name (or IP address) text box in the Specify your connection by host name or IP address area. The IP address 192.168.6.96 is used as an example. Set Protocol to SSH.
  3. Click Open, and the interface is displayed, and the following output is displayed.
    login as:
  4. Enter the user name and password as prompted. You are required to change the password upon your initial login to ensure system security. If the login succeeds, the following information is displayed.
    login as: admin 
     
    Authorized users only. All activity may be monitored and reported. 
    Using keyboard-interactive authentication. 
    password: 
     
    WARNING: You have accessed the system operated by XXX. 
    You are required to have a personal authorisation from the system administrator before you use this computer. Unauthorised access to or misuse of this system is prohibited. 
     
    For security purposes, please change the initial password and log in to the system using the new password. 
    Old password:************* 
    New password:************** 
    Reenter password:************** 
     
      System Name     : XXXXX 
      Health Status : Normal 
      Running Status  : Normal 
      Total Capacity  : 6.240TB 
      SN              : 210235G6TFZ0C7000045 
      Location        : 
      Product Model : XXXXX 
      Product Version : VXXXRXXXCXX 
      Time            : 2014-04-09/16:38:22 +08:00 
    admin:/>
NOTE:
  • The default user name and password of super administrator are admin and Admin@storage respectively.
  • Product Model and Product Version vary with the actual device you have logged in to. The actual interface display prevails.
  • You are advised to change your login password periodically in the future by executing the change user_password command. This reduces the password leakage risks.
  • Logging in to the CLI of a storage system as a domain user:
    • For a domain user of the domain authentication server whose ID is "0", the user can log in to the CLI of a storage system typing domain/domain user name or a combination of the dc field in the domain authentication server's base DN/domain user name.
    • For a domain user of the domain authentication server whose ID is "1", "2", or "3", the user can log in to the CLI of a storage system only typing a combination of the dc field in the domain authentication server's base DN/domain user name.

      If the base DN of the domain authentication server contains only one dc field, the dc field is used as the combination of the dc field in the domain authentication server's base DN. For example, if the base DN of the domain authentication server is ou=applications,dc=bigcorp, bigcorp is the combination of the dc field in the domain authentication server's base DN.

      If the base DN of the domain authentication server contains multiple dc fields, they are combined and then separated by a period (.) to serve as the combination of the dc field in the domain authentication server's base DN. For example, if the base DN of the domain authentication server is ou=applications,dc=bigcorp,dc=com, bigcorp.com is the combination of the dc field in the domain authentication server's base DN.

Logging In to the Storage System Through the SVP (Running CLI commands interactively)

  1. Log in to the SVP.
    • When logging in to the SVP from a local computer, input the user name and password by using the keyboard, video, and mouse (KVM) of system bay 0 to log in.
    • When logging in to the SVP from a remote desktop, perform the following operations:
      1. On a maintenance terminal, choose Start > All Programs > Attachment > Remote Desktop Connection.

        The Remote Desktop Connection dialog box is displayed.

      2. In the Computer text box, type the IP address of the SVP management network port that is connected to the maintenance terminal. Press Enter.
      3. Type the user name and password to log in to the SVP.
    NOTE:

    The initial user name and password of the SVP are administrator and Admin@storage.

  2. On the main page of the SVP, start PuTTY and click Session. In the Host Name (or IP Address) text box of the Specify your connection by host name or IP address area, enter 172.17.126.11 to log in to the CLI of the SVP, or enter 172.16.192.200~172.16.192.215 or 172.16.193.200~172.16.193.215 (IDs from 200 to 215 indicate controller 0 to controller 15.) to log in to the CLI of the disk array. Then set Protocol to SSH.
  3. Click Open, and the interface is displayed, and the following output is displayed.
    login as:
  4. Enter the user name and password as prompted. You are required to change the password upon your initial login to ensure system security. If the login succeeds, the following information is displayed.
    login as: admin 
     
    Authorized users only. All activity may be monitored and reported. 
    Using keyboard-interactive authentication. 
    password: 
     
    WARNING: You have accessed the system operated by XXX. 
    You are required to have a personal authorisation from the system administrator before you use this computer. Unauthorised access to or misuse of this system is prohibited. 
     
    For security purposes, please change the initial password and log in to the system using the new password. 
    Old password:************* 
    New password:************** 
    Reenter password:************** 
     
      System Name     : XXXXX 
      Health Status : Normal 
      Running Status  : Normal 
      Total Capacity  : 6.240TB 
      SN              : 210235G6TFZ0C7000045 
      Location        : 
      Product Model : XXXXX 
      Product Version : VXXXRXXXCXX 
      Time            : 2014-04-09/16:38:22 +08:00 
    admin:/>
NOTE:
  • The default user name and password of super administrator are admin and Admin@storage respectively.
  • Product Model and Product Version vary with the actual device you have logged in to. The actual interface display prevails.
  • You are advised to change your login password periodically in the future by executing the change user_password command. This reduces the password leakage risks.
  • Logging in to the CLI of a storage system as a domain user:
    • For a domain user of the domain authentication server whose ID is "0", the user can log in to the CLI of a storage system typing domain/domain user name or a combination of the dc field in the domain authentication server's base DN/domain user name.
    • For a domain user of the domain authentication server whose ID is "1", "2", or "3", the user can log in to the CLI of a storage system only typing a combination of the dc field in the domain authentication server's base DN/domain user name.

      If the base DN of the domain authentication server contains only one dc field, the dc field is used as the combination of the dc field in the domain authentication server's base DN. For example, if the base DN of the domain authentication server is ou=applications,dc=bigcorp, bigcorp is the combination of the dc field in the domain authentication server's base DN.

      If the base DN of the domain authentication server contains multiple dc fields, they are combined and then separated by a period (.) to serve as the combination of the dc field in the domain authentication server's base DN. For example, if the base DN of the domain authentication server is ou=applications,dc=bigcorp,dc=com, bigcorp.com is the combination of the dc field in the domain authentication server's base DN.

Logging In to the Storage System Through the SVP (Running CLI commands remotely)

NOTE:

The method of running CLI commands remotely can only be used to connect arrays.

  1. Log in to the SVP.
    • When logging in to the SVP from a local computer, input the user name and password by using the keyboard, video, and mouse (KVM) of system bay 0 to log in.
    • When logging in to the SVP from a remote desktop, perform the following operations:
      1. On a maintenance terminal, choose Start > All Programs > Attachment > Remote Desktop Connection.

        The Remote Desktop Connection dialog box is displayed.

      2. In the Computer text box, type the IP address of the SVP management network port that is connected to the maintenance terminal. Press Enter.
      3. Type the user name and password to log in to the SVP.
    NOTE:

    The initial user name and password of the SVP are administrator and Admin@storage.

  2. On the main page of the SVP, start PuTTY, click Session and set parameters as shown in Figure 1-3.
    Figure 1-3 Setting the Session parameter
    • In the Specify your connection by host name or IP address, in Host Name (or IP address), enter 172.16.192.200 to 172.16.192.215 or 172.16.193.200 to 172.16.193.215. (The number from 200 to 215 indicates controller 0 to controller 15) to log in to the array CLI.
    • Select Connection type as SSH.
    • In Close Windows on exit, select Never.
  3. Select SSH. In Remote command, enter the command that needs to be executed, as shown in Figure 1-4.
    Figure 1-4 Options remote command
  4. Click Open, and the interface is displayed, and the following output is displayed.
    login as:
  5. Enter the user name and password as prompted. You are required to change the password upon your initial login to ensure system security. If the login succeeds, the following information is displayed.
    login as: admin 
     
    Authorized users only. All activity may be monitored and reported. 
    Using keyboard-interactive authentication. 
    password: 
     
    WARNING: You have accessed the system operated by XXX. 
    You are required to have a personal authorisation from the system administrator before you use this computer. Unauthorised access to or misuse of this system is prohibited. 
     
    For security purposes, please change the initial password and log in to the system using the new password. 
    Old password:************* 
    New password:************** 
    Reenter password:************** 
    #show system general 
     
      System Name         : XXXXX 
      Health Status       : Normal 
      Running Status      : Normal 
      Total Capacity      : 6.240TB 
      SN                  : 210235G6TFZ0C7000045 
      Location            : 
      Product Model       : XXXXX 
      Product Version     : VXXXRXXXCXX 
      High Water Level(%) : XX 
      Low Water Level(%)  : XX 
      WWN                 : 2100d494e80e9df2 
      Time                : 2017-05-18/01:02:25 UTC+08:00 Time            : 2014-04-09/16:38:22 +08:00 
      Patch Version       : SPCXXX     
    NOTE:
    • The default user name and password of super administrator are admin and Admin@storage respectively.
    • Product Model and Product Version vary with the actual device you have logged in to. The actual interface display prevails.
    • You are advised to change your login password periodically in the future by executing the change user_password command. This reduces the password leakage risks.
    • Only CLI commands are supported (running CLI commands remotely in the diagnostic view is not supported).
    • The total length of remotely run commands varies with the clients. When the length exceeds 2,097,152 characters, the command is truncated (the client needs to support 2,097,152 characters).
    • Logging in to the CLI of a storage system as a domain user:
      • For a domain user of the domain authentication server whose ID is "0", the user can log in to the CLI of a storage system typing domain/domain user name or a combination of the dc field in the domain authentication server's base DN/domain user name.
      • For a domain user of the domain authentication server whose ID is "1", "2", or "3", the user can log in to the CLI of a storage system only typing a combination of the dc field in the domain authentication server's base DN/domain user name.

        If the base DN of the domain authentication server contains only one dc field, the dc field is used as the combination of the dc field in the domain authentication server's base DN. For example, if the base DN of the domain authentication server is ou=applications,dc=bigcorp, bigcorp is the combination of the dc field in the domain authentication server's base DN.

        If the base DN of the domain authentication server contains multiple dc fields, they are combined and then separated by a period (.) to serve as the combination of the dc field in the domain authentication server's base DN. For example, if the base DN of the domain authentication server is ou=applications,dc=bigcorp,dc=com, bigcorp.com is the combination of the dc field in the domain authentication server's base DN.

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138389

Views: 489091

Downloads: 85

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next