Huawei OceanStor VIS6000 Series Command Reference Manual

Virtual intelligent storage system
Hide thumbs Also See for OceanStor VIS6000 Series:
Table of Contents

Advertisement

Quick Links

OceanStor VIS6000 Series Virtual Intelligent Storage System
V100R001

Command Reference

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

Advertisement

Table of Contents
loading

Summary of Contents for Huawei OceanStor VIS6000 Series

  • Page 1: Command Reference

    OceanStor VIS6000 Series Virtual Intelligent Storage System V100R001 Command Reference Issue Date 2010-05-10 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

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference Contents Contents About This Document........................1 1 Introduction to the CLI......................1-1 1.1 Overview of the CLI............................1-2 1.2 Logging In to the CLI............................1-2 1.3 Modes and Levels of CLI Commands......................1-3 1.3.1 Command Modes...........................1-3 1.3.2 Command Levels............................1-4...
  • Page 4 OceanStor VIS6000 Series Virtual Intelligent Storage System Contents Command Reference 2.2.12 deluser..............................2-19 2.2.13 exportdebuginfo..........................2-19 2.2.14 exportconf ............................2-21 2.2.15 exportalm............................2-22 2.2.16 setdbattrib............................2-23 2.2.17 exportdb..............................2-24 2.2.18 exportmsg............................2-26 2.2.19 importconf............................2-27 2.2.20 resetpwd.............................2-28 2.2.21 resetctrl...............................2-29 2.2.22 showctrlvoltage..........................2-30 2.2.23 showalmlight............................2-32 2.2.24 shutalmlight............................2-33 2.2.25 showcpu..............................2-34 2.2.26 showmem............................2-35 2.2.27 showsysdisk............................2-37...
  • Page 5 OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference Contents 2.2.54 updatefw.............................2-71 2.2.55 tzselect..............................2-73 2.3 Service Management Commands........................2-75 2.3.1 addarrayip.............................2-79 2.3.2 addchap..............................2-80 2.3.3 addinichap............................2-80 2.3.4 addhost..............................2-81 2.3.5 addhostgp.............................2-83 2.3.6 addhostport............................2-84 2.3.7 addini..............................2-85 2.3.8 addmap..............................2-86 2.3.9 chghost..............................2-87 2.3.10 chgchapenable............................2-88 2.3.11 chgchappwd............................2-89 2.3.12 chghostportname..........................2-90...
  • Page 6 OceanStor VIS6000 Series Virtual Intelligent Storage System Contents Command Reference 2.3.40 showchap............................2-120 2.3.41 showlicense............................2-121 2.3.42 showlicensefunction.........................2-122 2.3.43 showlicensehead..........................2-124 2.3.44 showtarget............................2-125 2.3.45 showinichap............................2-126 2.3.46 showarrayiscsiip..........................2-127 2.3.47 showinistatus............................2-128 2.3.48 showportperformance........................2-129 2.3.49 showlunctrl............................2-131 2.3.50 showvisiniport..........................2-132 2.3.51 vxdctl..............................2-133 2.3.52 vxdisk...............................2-135 2.3.53 vxdg..............................2-138 2.3.54 vxassist.............................2-142 2.3.55 vxprint..............................2-146...
  • Page 7 OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference Contents 2.3.82 hastop...............................2-190 2.3.83 hastatus.............................2-191 2.3.84 hasys..............................2-192 2.3.85 vxaddlogowner..........................2-193 2.3.86 vxaddvirip............................2-194 2.3.87 vxasyncrep............................2-196 2.3.88 vxbackupbydgrvg..........................2-197 2.3.89 vxconfaddhost..........................2-198 2.3.90 vxddladm............................2-199 2.3.91 vxdelclustergroup..........................2-201 2.3.92 vxdmpadm............................2-202 2.3.93 vxdskchk............................2-203 2.3.94 vxibccron............................2-204 2.3.95 vxmake.............................2-206 2.3.96 vxmend.............................2-207 2.3.97 vxping...............................2-208...
  • Page 8 OceanStor VIS6000 Series Virtual Intelligent Storage System Contents Command Reference 2.4.12 setctrloffline.............................2-237 2.4.13 setctrlonline............................2-238 2.4.14 setflowmask............................2-239 2.4.15 showbiosid............................2-241 2.4.16 showgemode.............................2-242 2.4.17 showswapinfo...........................2-244 2.4.18 showtemplimit..........................2-245 2.4.19 swapsys.............................2-246 2.4.20 testibcstatus............................2-247 2.4.21 chgfcportmode..........................2-248 A How to Obtain Help........................ A-1 A.1 Preparations For Contacting Huawei......................A-2 A.1.1 Collecting troubleshooting Information....................A-2...
  • Page 9 OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference Figures Figures Figure 1-1 CLI management interface.........................1-3 Issue 06 (2010-05-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 11 OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference Tables Tables Table 1-1 Basic operation commands........................1-4 Table 1-2 Device management commands......................1-5 Table 1-3 Service management commands......................1-7 Table 1-4 Test management commands......................1-11 Table 1-5 Conventions of the CLI commands....................1-14 Issue 06 (2010-05-10) Huawei Proprietary and Confidential Copyright ©...
  • Page 13: About This Document

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference About This Document About This Document Related Versions The following table lists the product versions related to this document. Product Name Version OceanStor VIS6000 Series V100R001 Virtual Intelligent Storage System Intended Audience...
  • Page 14 OceanStor VIS6000 Series Virtual Intelligent Storage System Command Conventions (Optional) Command Reference Symbol Description Indicates a hazard with a medium or low level of risk, which if not avoided, could result in minor or moderate injury. WARNING Indicates a potentially hazardous situation, which if not...
  • Page 15 OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference Change History Convention Description Boldface Buttons, menus, parameters, tabs, window, and dialog titles are in boldface. For example, click OK. > Multi-level menus are in boldface and separated by the ">"...
  • Page 17: Introduction To The Cli

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 1 Introduction to the CLI Introduction to the CLI About This Chapter This chapter describes the modes, levels, and types of commands based on functions. 1.1 Overview of the CLI The concept and functions of the CLI.
  • Page 18: Overview Of The Cli

    The concept and functions of the CLI. The Integrated Storage Management (ISM) is an integrated storage management platform provided by Huawei Technologies Co., Ltd. (Huawei for short). Serving as the management platform of the OceanStor VIS6000 Virtual Intelligent Storage System (hereinafter referred to as the VIS6000), the ISM provides two management modes: GUI and CLI.
  • Page 19: Modes And Levels Of Cli Commands

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 1 Introduction to the CLI CAUTION At the first login, you can use the administrator account root and the password 123456. To ensure system security, you are recommended to change the password after the first login.
  • Page 20: Command Levels

    OceanStor VIS6000 Series Virtual Intelligent Storage System 1 Introduction to the CLI Command Reference 1.3.2 Command Levels The command level are classified into administrator level and guest level. Super Administrator level Only Super administrators can use the commands of this level.
  • Page 21: Table 1-2 Device Management Commands

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 1 Introduction to the CLI Table 1-2 Device management commands Function Command Adding a user adduser Changing the IP address of a controller chgctrlip Modifying the information about a user chguserdescription...
  • Page 22 OceanStor VIS6000 Series Virtual Intelligent Storage System 1 Introduction to the CLI Command Reference Function Command Viewing the memory information about a showmem controller Viewing the information about the system disk showsysdisk boxes Viewing the information about the network shownetport...
  • Page 23: Service Management Commands

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 1 Introduction to the CLI Function Command Viewing the information about the electronic showsyselabel label of the system Viewing the ID of the local controller showlocalctrlid Viewing the information about all users or a...
  • Page 24 OceanStor VIS6000 Series Virtual Intelligent Storage System 1 Introduction to the CLI Command Reference Function Command Adding a mapping addmap Changing a host name chghost Changing the status of the CHAP chgchapenable authentication Changing the password of the CHAP chgchappwd...
  • Page 25 OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 1 Introduction to the CLI Function Command Viewing the information about interfaces on showhostport the application server Viewing the statistics on an interface showportstat Viewing the information about mappings showmap Viewing the information about unmapped...
  • Page 26 OceanStor VIS6000 Series Virtual Intelligent Storage System 1 Introduction to the CLI Command Reference Function Command Configuring and managing a volume vxvol Initializing a disk vxdisksetup Exporting a disk from the VxVM vxdiskunsetup Modifying the configurations of the VxVM vxedit...
  • Page 27: Test Management Commands

    Volume Replicator) 1.4.4 Test Management Commands Test management commands are used to test the information of the VIS6000. CAUTION If you need to use test management commands, contact Huawei for technical support. describes the test management commands Table 1-4.
  • Page 28: Help Of The Cli Commands

    OceanStor VIS6000 Series Virtual Intelligent Storage System 1 Introduction to the CLI Command Reference Function Command Setting the status of a controller to offline setctrloffline Setting the status of a controller to online setctrlonline Setting the flow control blocking setflowmask...
  • Page 29: Obtaining The Help Information About A Specific Command

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 1 Introduction to the CLI Enter ? following >device, and then press Enter. The following information is displayed on the screen: VIS CLI:root>device>? Commands:adduser chgalarmenable chgctrlip chgiscsiroute chgsyslocation chgsysname chgsystime chguserdescription...
  • Page 30: Conventions Of The Cli Commands

    The first character cannot be a hyphen. -p password The password of the user. The password must satisfy: Length in [6,16]. COPYRIGHT All rights reserved (C), 2008, Huawei Technologies Co., Ltd. September 2008 ADDUSER (1112) The previous information is described as follows: NAME: indicates the function description of the command word and the command.
  • Page 31 OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 1 Introduction to the CLI Symbol Description [ x | y | ... ] * Optional items are grouped in brackets and separated by vertical bars. Several items or no item can be selected.
  • Page 33: Commands

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Commands About This Chapter This chapter describes how to use basic operation commands, device management commands, service management commands, and test management commands. In addition, it describes the precautions of using the commands.
  • Page 34: Basic Operation Commands

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference 2.1 Basic Operation Commands The functions of basic operation commands and how to use these commands. 2.1.1 clihelp 2.1.2 exit 2.1.1 clihelp Function To provide the syntax of a command and the information about how to obtain Help of each command.
  • Page 35 OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands DESCRIPTION CLI architecture: ---------------- Generally, the initial tag head of CLI was like this, VIS CLI(T02.01 .11):admin>.Input ? then press Enter can get all the directories, there were sev eral directories can be chose: <Device><Server><Test>...
  • Page 36: Exit

    You can know the commands supported by the CLI and their usages from the help. The help information for different user levels or of diffe rnet views may be slightly different. COPYRIGHT All rights reserved (C), 2008, Huawei Technologies Co., Ltd. SEPTEMBER 2008 CLIHELP(1112) System Response The previous information is described as follows: NAME: indicates the function description of the command word and the command.
  • Page 37: Device Management Commands

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Level Guest level. Usage Guidelines You can run the exit command to log out of the CLI or return to the command prompt of the previous stage. Example Return to the mode of the user root from the Device mode, and then go back to the CLI.
  • Page 38 OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference 2.2.18 exportmsg 2.2.19 importconf 2.2.20 resetpwd 2.2.21 resetctrl 2.2.22 showctrlvoltage 2.2.23 showalmlight 2.2.24 shutalmlight 2.2.25 showcpu 2.2.26 showmem 2.2.27 showsysdisk 2.2.28 shownetport 2.2.29 showserialport 2.2.30 showinterface 2.2.31 showifelabel 2.2.32 showifport 2.2.33 showfibremodule...
  • Page 39: Adduser

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands 2.2.51 showalarmenable 2.2.52 synclocalfw 2.2.53 setalmmask 2.2.54 updatefw 2.2.55 tzselect 2.2.1 adduser Function To add a user. Format adduser -l level -u user name -p password Parameters Parameter Description...
  • Page 40: Chgctrlip

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Usage Guidelines You can add an administrator or a guest and initialize the password of a user by running the command adduser -l level -u user name -p password.
  • Page 41: Usage Guidelines

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Function Description Value -i netport ID Specifies the interface The value options are 0, 1, 2, number of a controller. The and 3. They are described as value 2 indicates the...
  • Page 42: Chguserdescription

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference 129.16.101.1 Success : Command executed success. System Response None. 2.2.3 chguserdescription Function To modify the description of a user. Format chguserdescription -u user name -d description Parameters Parameter Description...
  • Page 43: Chguserlevel

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands System Response None. 2.2.4 chguserlevel Function To change the user level. Format chguserlevel -u user name -l level Parameters Parameter Description Value -u user name Specifies the user name.
  • Page 44: Chguserpwd

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference 2.2.5 chguserpwd Function To change the password of a user. Format chguserpwd Parameters Parameter Description Value None. None. None. Modes Normal. Level Guest level. Usage Guidelines You can change the password of a user by running the command chguserpwd . A password is a character string containing 6 to 16 characters.
  • Page 45: Chgsystime

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Function To change the name of the VIS6000. Format chgsysname -n system name Parameters Parameter Description Value -n system name Specifies the new name of the system. The new name must be None.
  • Page 46: Chgsyslocation

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Parameters Parameter Description Value -t time None. Specifies the system time. The value is in the 24-hour notation in the form YYYY-MM-DD-hh:mm:ss. -tz timezone Specifies the time zone. You can obtain the value of the parameter by None.
  • Page 47: Chgiscsiroute

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Parameters Parameter Description Value -l location None. Specifies the system location. The character string contains 1 to 32 characters and consists of letters, numbers, underscores, and hyphens. Modes Normal.
  • Page 48 OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Parameter Description Value -c controller Specifies the controller. The value options are 0 and 1. they are described as follows: 0: indicates controller A. 1: indicates controller B. -i interface id...
  • Page 49: Chgalarmenable

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Example VIS CLI:root>device>chgiscsiroute -c 0 -i 2 -p 0 -ip 192.168.99.0 -m 255.255.255.0 -g 192.168.100.1 Success : Command executed success. System Response None. 2.2.10 chgalarmenable Function To modify the status of the alarm buzzer.
  • Page 50: Cleardb

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference VIS CLI:root>device>chgalarmenable -e 0 Success : Command executed success. System Response None. 2.2.11 cleardb Function To clear the database information. Format cleardb Parameters Parameter Description Value None. None. None.
  • Page 51: Deluser

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands This command will cause system-restart, Are you sure (y/n)? Success : Command executed success. System Response None. 2.2.12 deluser Function To delete a user. Format deluser -u user name...
  • Page 52 OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Function To export the fault location information of the system. Format exportdebuginfo [-i host IP address -u user name -p password] -f file directory Parameters Parameter Description Value -i host IP address Specifies the IP address of the remote SSH FTP (SFTP) server.
  • Page 53: Exportconf

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands VIS CLI:root>device>exportdebuginfo -f OSM/ISM/CLI/debug.tgz Download file from device to local temporary path... Complete 100% Success : Command executed success. System Response None. 2.2.14 exportconf Function To export configuration data or running data from the data center.
  • Page 54: Exportalm

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Usage Guidelines When using the command, pay attention to the following points: The system automatically names the configuration data file or the running data file. To avoid file overwrite due to the same file name, you are recommended to move the exported configuration data file or running data file from the specified directory to another directory.
  • Page 55: Setdbattrib

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Parameter Description Value -f file directory None. Specifies the directory for storing the alarm file. Modes Normal. Level Guest level. Usage Guidelines When using the command, pay attention to the following points: The system automatically names the alarm file.
  • Page 56: Exportdb

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Parameters Parameter Description Value -a volume attrib Specifies the attributes of the The value options are 0 and configuration volume. 1. They are described as follows: 0: diables the function of...
  • Page 57 OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Function To export the configuration data from the configuration volume in the disaster recovery center. Format exportdb [-i host IP address -u user name -p password] -f file directory -gn group name -vn...
  • Page 58: Exportmsg

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference The system automatically names the configuration file. To avoid file overwrite due to the same file name, you are recommended to move the exported configuration file from the specified directory to another directory.
  • Page 59: Importconf

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Parameter Description Value -f file directory None. Specifies the directory for saving the debugging log file. Modes Normal. Level Guest level. Usage Guidelines When using the command, pay attention to the following points: The system automatically names the debugging log file.
  • Page 60: Resetpwd

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Parameters Parameter Description Value -i host IP address None. Specifies the IP address of the remote SFTP server. -u user name None. Specifies the user name of the remote SFTP server.
  • Page 61: Resetctrl

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Function To reset the user password. Format resetpwd -u user name Parameters Parameter Description Value resetpwd -u user name None. Specifies the user name. Modes Normal. Level Administrator level.
  • Page 62: Showctrlvoltage

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Format resetctrl -c controller ID Parameters Parameter Description Value -c controller ID Specifies the controller ID. The value options are 0 and 1. They are described as follows: 0: indicates controller A.
  • Page 63 OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Parameters Parameter Description Value -c controller ID Specifies the controller ID. The value options are 0 and 1. They are described as follows: 0: indicates controller A. 1: indicates controller B.
  • Page 64: Showalmlight

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference System Response The previous information is described as follows: Controller ID: indicates the controller ID. South Bridge: indicates the south bridge. 8525: indicates the model of the chip. North Bridge: indicates the north bridge.
  • Page 65: Shutalmlight

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands You can view the status of the alarm indicator on a controller by running the command showalmlight -c controller ID. Example View the status of the alarm indicators on controller A and controller B.
  • Page 66: Showcpu

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Usage Guidelines You can turn off the alarm indicator on a controller by running the command shutalmlight -c controller ID. Example Turn off the alarm indicator on controller B.
  • Page 67: Showmem

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Level Guest level. Usage Guidelines When using the command, pay attention to the following points: You can view the information about the CPUs on a specific controller by running the command showcpu -c controller ID.
  • Page 68 OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Format showmem [-c controller ID] Parameters Parameter Description Value -c controller ID Specifies the controller ID. The value options are 0 and 1. They are described as follows: 0: indicates controller A.
  • Page 69: Showsysdisk

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Usage(%): indicates the memory usage. Usage Limit(%): indicates the overload threshold of the memory. 2.2.27 showsysdisk Function To view the information about the system disks, consisting of the manufactory, capacity, type, rotational speed, status, temperature, serial number, model, and firmware version.
  • Page 70: Shownetport

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Example View the information about all the system disks in the system. VIS CLI:root>device>showsysdisk ======================================================================== Disk Info ======================================================================== *********************************** *********************************** * Controller ID * Controller ID * Slot ID...
  • Page 71 OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Parameters Parameter Description Value -c controller ID Specifies the ID of the The value options are 0 and 1. controller where the They are described as follows: network interface is.
  • Page 72: Showserialport

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference * IP 129.15.60.131 * IP 192.168.3.11 * Mask 255.255.0.0 * Mask 255.255.255.0 * Gateway 0.0.0.0 * Gateway 0.0.0.0 * MAC 00:c4:a5:25:20:06 * * MAC 00:c4:a5:25:20:07 * * Error Number...
  • Page 73 OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Parameters Parameter Description Value -c controller id Specifies the controller The value options are 0 and 1. They are described as follows: 0: indicates controller A. 1: indicates controller B.
  • Page 74: Showinterface

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Controller ID: indicates the controller ID. Serial Port ID: indicates the ID of a serial port. Type: indicates the type of a serial port. Baud(bps): indicates the baud of a serial port in bit/s.
  • Page 75 OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Usage Guidelines When you use this command, you need to note the following: You can view the information about all the interface cards on a specified controller by running the command showinterface -c controller ID.
  • Page 76: Showifelabel

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Component Type: indicates the type of a component on an interface card, consisting of the disk box, FC interface module, and iSCSI interface module. Temperature(C): indicates the temperature of an interface card.
  • Page 77: Showifport

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands You can view the information about the electronic labels of all the interface cards on a specified controller by running the command showifelabel -c controller ID. You can view the information about the electronic labels of a specified interface card on a...
  • Page 78 OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Parameter Description Value -i interface id Specifies the ID of an The value options are 0, 1, and 2. interface module. They are described as follows: 0: indicates interface module...
  • Page 79 OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands * Port ID * Type * Running Status Online * Rate(Gbps) Auto-Adapt * WWN 22000022a1fff042 * * Operation Type Auto-Adapt * IP * Mask * MAC * Loss Signal Number...
  • Page 80: Showfibremodule

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Lost Number: indicates the number of lost data packets. Over Number: indicates the number of overflow data packets. Port Sign: indicates the label of the NIC. The parameter is valid for GE service ports only.
  • Page 81: Showbuzzer

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Modes Normal. Level Guest level. Usage Guidelines You can view the information about a specified optical transceiver by running the command showfibremodule -c controller ID -i interface ID -p port ID.
  • Page 82: Shutbuzzer

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Parameters Parameter Description Value -c controller ID Specifies the ID of the The value options are 0 and controller where an alarm 1. They are described as buzzer is.
  • Page 83: Showpower

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Function To mute the alarm buzzer. Format shutbuzzer -c controller ID Parameters Parameter Description Value -c controller ID Specifies the ID of the The value options are 0 and controller where the alarm 1.
  • Page 84 OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Format showpower [-c controller ID] Parameters Parameter Description Value -c controller ID Specifies the ID of the The value options are 0 and controller where the power 1. They are described as supply is.
  • Page 85: Showfan

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Alarm Status: indicates the alarm status of the power supply. Switch Status: indicates the status of the power switch. API /DPI Online Status: indicates whether the AC power interface (API) /DC power interface (DPI) module is present.
  • Page 86: Showsys

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference You can view the information about the fans in a specified fan box by running the command showfan -b fan box ID -i fan ID. Example View the information about all the fans in fan box 0.
  • Page 87: Showiscsiroute

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Modes Normal. Level Guest level. Usage Guidelines You can view the system information by running the command showsys. Example View the system information. VIS CLI:root>device>showsys ============================================== System Info ==============================================...
  • Page 88 OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Parameters Parameter Description Value -c controller Specifies the controller The value options are 0 and 1. They are described as follows: 0: indicates controller A. 1: indicates controller B.
  • Page 89: Syncdoublefw

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands System Response None. 2.2.40 syncdoublefw Function To synchronize the firmware version on the secondary controller with that on the primary controller. Format syncdoublefw Parameters Parameter Description Value None. None.
  • Page 90 OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Function To view the information about the controllers, consisting of the ID, IP address, primary/ secondary status, running status, online status, software version, PCB version, PCB version of the backplane, basic input output system (BIOS) version, operating system (OS) version, BMC version, application software version, primary CPLD version, secondary CPLD version, location, temperature, and voltage status of the controllers.
  • Page 91: Showctrlelabel

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands * PCB Version * BackBoard PCB Version * BIOS Version 03.01.01.T06 * OS Version VISV100R001-OS01 * BMC Version 02.01.01.T16 * Operation Software Version 1.05.01.100.T04 * Master CPLD Version 10005...
  • Page 92: Showctrltemp

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Parameters Parameter Description Value -c controller ID Specifies the controller The value options are 0 and 1. They are described as follows: 0: indicates controller A. 1: indicates controller B.
  • Page 93 OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Function To view the temperature of the controllers, consisting of the temperature on the air intake vent and that on the air exhaust vent. Format showctrltemp [-c controller ID]...
  • Page 94: Showpreferredip

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference In Temperature: indicates the temperature at the air intake vent. Out Temperature: indicates the temperature at the air exhaust vent. 2.2.44 showpreferredip Function To view the preferred IP address of the management network interface on a controller.
  • Page 95 OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Function To view the status of synchronization, consisting of the synchronization type and synchronization progress (synchronization succeeded, being synchronized, synchronization failed, and no need for synchronization). Format showsyncstatus -t type...
  • Page 96: Showloadfailreason

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Sync Type: indicates the synchronization type. Sync Status: indicates the synchronization status. 2.2.46 showloadfailreason Function To view the cause of the system loading failure. Format showloadfailreason Parameters Parameter Description Value None.
  • Page 97: Showlocalctrlid

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Function To view the information about the electronic label of the system. Format showsyselabel Parameters Parameter Description Value None. None. None. Modes Normal. Level Guest level. Usage Guidelines You can view the information about the electronic label of the system by running the command showsyselabel.
  • Page 98: Showuser

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Format showlocalctrlid Parameters Parameter Description Value None. None. None. Modes Normal. Level Guest level. Usage Guidelines You can view the ID of the local controller by running the command showlocalctrlid.
  • Page 99: Showupdatestatus

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Parameters Parameter Description Value -u user name None. Specifies the user name. Modes Normal. Level Administrator level. Usage Guidelines When using the command, pay attention to the following points: You can view the information about a spcified user by running the command showuser.
  • Page 100: Showalarmenable

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Function To view the upgrade status and upgrade progress of the ISM or system software. Format showupdatestatus -t update type Parameters Parameter Description Value -t update type Specifies the upgrade The value options are 1 and 2.
  • Page 101: Synclocalfw

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Function To view whether the alarm buzzer is enabled. Format showalarmenable Parameters Parameter Description Value None. None. None. Modes Normal. Level Guest level. Usage Guidelines You can view whether the alarm buzzer is enabled by running the command showalarmenable.
  • Page 102: Setalmmask

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Format synclocalfw -c controller ID Parameters Parameter Description Value -c controller ID Specifies the The value options are 0 and 1. They are controller ID. described as follows: 0: indicates controller A.
  • Page 103: Updatefw

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Function To set the tag for blocking alarms. Format setalmmask -i alm ID -m mask Parameters Parameter Description Value -i alm ID Specifies the alarm ID. None. -m mask Specifies the blocking The value options are 0 and 1.
  • Page 104 OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Function To upgrade the firmware. Format updatefw [-force] -t update type -o operate type [-i host IP address -u user name -p password] -f file Parameters Parameter Description Value...
  • Page 105: Tzselect

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands You can obtain the upgrade file from the local VIS and upgrade the firmware by running the command updatefw [-force] -t update type -o operate type -f file. You can obtain the upgrade file from the remote SFTP server and upgrade the firmware by running the command updatefw [-force] -t update type -o operate type -i host IP address -u user name -p password -f file.
  • Page 106 OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Usage Guidelines You can view the keyword corresponding to a time zone by running the command tzselect. When using the command, the system prompts you to enter the location of the current VIA6000 and then returns the keyword corresponding to the time zone.
  • Page 107: Service Management Commands

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Choose the province or the locality where the VIS6000 is located. In this example, you need to choose 1) east China - Beijing, Guangdong, Shanghai, etc., that is, enter 1 following #?.
  • Page 108 OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference 2.3.10 chgchapenable 2.3.11 chgchappwd 2.3.12 chghostportname 2.3.13 chgportstat 2.3.14 chgportstatperiod 2.3.15 clearfcerr 2.3.16 cleariscsierr 2.3.17 chgfcspeed 2.3.18 chgiscsiip 2.3.19 chghostgp 2.3.20 delhost 2.3.21 delhostgp 2.3.22 delhostport 2.3.23 delmap 2.3.24 delini 2.3.25 delarrayiscsiip...
  • Page 109 OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands 2.3.43 showlicensehead 2.3.44 showtarget 2.3.45 showinichap 2.3.46 showarrayiscsiip 2.3.47 showinistatus 2.3.48 showportperformance 2.3.49 showlunctrl 2.3.50 showvisiniport 2.3.51 vxdctl 2.3.52 vxdisk 2.3.53 vxdg 2.3.54 vxassist 2.3.55 vxprint 2.3.56 vxsnap 2.3.57 vxvol 2.3.58 vxdisksetup...
  • Page 110 OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference 2.3.76 vxisspsnapshot 2.3.77 vxshowphydisk 2.3.78 haconf 2.3.79 hagrp 2.3.80 hares 2.3.81 hastart 2.3.82 hastop 2.3.83 hastatus 2.3.84 hasys 2.3.85 vxaddlogowner 2.3.86 vxaddvirip 2.3.88 vxbackupbydgrvg 2.3.89 vxconfaddhost 2.3.90 vxddladm 2.3.91 vxdelclustergroup 2.3.92 vxdmpadm...
  • Page 111: Addarrayip

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands 2.3.110 vxprintportinfo 2.3.111 stopsfclient 2.3.1 addarrayip Function To add the IP address of the iSCSI host port on the storage array. Format addarrayip -ip ip [-i port][-u chap user] [-p password]...
  • Page 112: Addchap

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference System Response None. 2.3.2 addchap Function To add the CHAP authentication. Format addchap -u user -p password Parameters Parameter Description Value -u user None. Specifies the user name of the CHAP authentication. The name contains 4 to 25 characters, consisting of numbers and letters only.
  • Page 113: Addhost

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Function To add the CHAP authentication to an initiator. Format addinichap –n initiator name -u user Parameters Parameter Description Value –n initiator name Specifies the name of an initiator. The value and the length of the None.
  • Page 114 OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Function To add a host. Format addhost [-i host group ID] -n host name Parameters Parameter Description Value -i host group ID Specifies the ID of the host group or the The value ranges from 0 to 127.
  • Page 115: Addhostgp

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands 2.3.5 addhostgp Function To create a host group. Format addhostgp -n name -t OS type Parameters Parameter Description Value -n name Specifies the host group None. name. The name contains...
  • Page 116: Addhostport

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference NOTE The hosts in a host group can share the resources of the host group. A storage array can be accessed by one host group only. The VIS6000 provides a default host group.
  • Page 117: Addini

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Modes Normal. Level Administrator level. Usage Guidelines When using the command, pay attention to the following points: You can add the initiator name of the application server on the VIS6000 by running the command addhostport -i host ID -t port type -initiator initiator name -n name.
  • Page 118: Addmap

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Modes Normal. Level Administrator level. Usage Guidelines You can add an initiator by running the command addini –n initiator name. Example Add the initiator iqn.1991-05.com.microsoft:svctag-c2s662. VIS CLI:root>server>addini -n iqn.1991-05.com.microsoft:svctag-c2s662y Success : Command executed success.
  • Page 119: Chghost

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Modes Normal. Level Administrator level. Usage Guidelines When using the command, pay attention to the following points: You can add a volume mapping to a host group or the default host groupby running the command addmap -gi host group ID -hl host LUN ID -dg disk group name -v volume.
  • Page 120: Chgchapenable

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Modes Normal. Level Administrator level. Usage Guidelines When using the command, pay attention to the following points: You can change the name of a specified host by running the command chghost -i host ID -n host name.
  • Page 121: Chgchappwd

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Modes Normal. Level Administrator level. Usage Guidelines You can change the status of the CHAP authentication by running the command chgchapenable –n initiator name -e enable. Example Disable the CHAP authentication on the initiator iqn.1991-05.com.microsoft:svctag- c2s662x.
  • Page 122: Chghostportname

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Level Administrator level. Usage Guidelines You can change the password of the CHAP authentication by running the command chgchappwd -u user name -p password. Example Change the password of CHAP user chap1 to abcdef654321.
  • Page 123: Chgportstat

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Usage Guidelines You can change the name of an interface by running the command chghostportname -i hostport ID -n name. Example Change the name of interface 0 to port0.
  • Page 124: Chgportstatperiod

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Example Enable the performance statistics function on an interface. VIS CLI:root>server>chgportstat -s 0 Success : Command executed success. System Response None. 2.3.14 chgportstatperiod Function To change the period for collecting statistics on interface performance.
  • Page 125: Clearfcerr

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands 2.3.15 clearfcerr Function To clear the statistics on error codes on an FC interface. Format clearfcerr [-c controller ID] Parameters Parameter Description Value -c controller ID Specifies the controller The value options are 0 and 1.
  • Page 126: Chgfcspeed

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Function To clear the statistics on error codes on an iSCSI interface. Format cleariscsierr [-c controller ID] Parameters Parameter Description Value -c controller ID Specifies the controller ID. The value options are 0 and 1.
  • Page 127 OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Function To set the rate of an FC service port. Format chgfcspeed -c controller ID -i interface ID -p port ID -s speed Parameters Parameter Description Value -c controller ID...
  • Page 128: Chgiscsiip

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Modes Normal. Level Administrator level. Usage Guidelines You can set the rate of a specified FC service port of a specified FC interface module on a specified controller by running the command chgfcspeed -c controller ID -i interface ID -p port ID -s speed.
  • Page 129 OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Parameter Description Value -i interface id Specifies the ID of a The value options are 0, 1, and interface module. 2. They are described as follows: 0: indicates interface module...
  • Page 130: Chghostgp

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference System Response None. 2.3.19 chghostgp Function To change the name and operating system type of a host group. Format chghostgp -i host group ID [-n host group name] | [-t OS type]...
  • Page 131: Delhost

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Usage Guidelines When using the command, pay attention to the following points: You can change the name of a host group by running the command chghostgp -i host group ID -n host group name.
  • Page 132: Delhostgp

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference You can delete a specified host by running the command delhost -i host ID. You can delete a specified host without any confirmation by running the command delhost -f -i host ID.
  • Page 133 OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Parameters Parameter Description Value None. When deleting a host group, you do not need to enter the confirmation information. -i host group ID Specifies the ID of the default host group The value ranges from 0 to 127.
  • Page 134: Delhostport

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Enter y. Success : Command executed success. System Response None. 2.3.22 delhostport Function To delete an interface. Format delhostport [-f] -i port ID Parameters Parameter Description Value None. When deleting an interface, you do not need to enter the confirmation information.
  • Page 135: Delmap

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands VIS CLI:root>server>delhostport -i 0 Are you sure to delete the Host Port, (y/n)? Success : Command executed success. System Response None. 2.3.23 delmap Function To delete a volume mapping.
  • Page 136: Delini

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Success : Command executed success. System Response None. 2.3.24 delini Function To delete an initiator. Format delini –n initiator name Parameters Parameter Description Value –n initiator name None. Specifies the name of an initiator.
  • Page 137: Delchap

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Format delarrayiscsiip -i IP address Parameters Parameter Description Value -i IP address Specifies the IP address of an GE service port on a storage array. None. Modes Normal. Level Administrator level.
  • Page 138: Importlicense

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Parameter Description Value -u user name None. Specifies the user name of the CHAP authentication. Modes Normal. Level Administrator level. Usage Guidelines When using the command, pay attention to the following points: You can delete the specified CHAP authentication by running the command delchap -u user name.
  • Page 139: Setlunctrl

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Parameter Description Value -p password None. Specifies the user password of the remote SFTP server. -f file None. Specifies the directory for saving the data file. Modes Normal. Level Administrator level.
  • Page 140: Showhostgp

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Parameters Parameter Description Value -c controller ID Specifies the ID of the The value options are 0 and controller where a volume is 1. They are described as located.
  • Page 141: Scandisk

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Parameters Parameter Description Value -i host group ID Specifies the ID of the default host group The value ranges from 0 to 127. or a host group. Modes Normal.
  • Page 142: Showhost

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Function To scan the disks that are mapped from a storage array to the VIS6000. Format scandisk Parameters Parameter Description Value None. None. None. Modes Normal. Level Guest level.
  • Page 143: Showfreeport

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Parameters Parameter Description Value -i host ID The value ranges from 0 to 255. Specifies the ID of a host. Modes Normal. Level Guest level. Usage Guidelines When using the command, pay attention to the following points: You can view the information about all hosts by running the command showhost.
  • Page 144 OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Format showfreeport -t type Parameters Parameter Description Value -t type Specifies the interface type. The value options are 0, 1, 2, and 3. They are described as follows: 0: indicates FC.
  • Page 145: Showconnectediscsiport

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands 2.3.33 showconnectediscsiport Function To view the information about connected iSCSI interfaces. Format showconnectediscsiport -c controller ID Parameters Parameter Description Value -c controller ID Specifies the controller ID. The value options are 0 and 1.
  • Page 146: Showhostport

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Controller ID: indicates the controller ID. Initiator Name: indicates the name of the initiator. Initiator Port: indicates the interface of the initiator. Target Name: indicates the name of the target.
  • Page 147: Showportstat

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands System Response The previous information is described as follows: Host ID: indicates the ID of the host. Port ID: indicates the ID of the interface. Port Name: indicates the name of the interface.
  • Page 148: Showmap

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference * Statistic Period(Second) ************************************* Success : Command executed success. System Response The previous information is described as follows: Switch Status: indicates whehter the interface statistics function is enabled. Statistic Period(Second): indicates the period of interface statistics. The unit is second.
  • Page 149: Showunmapdevlun

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands * Volume Name tvol1 ********************************************************************* Success : Command executed success. System Response The previous information is described as follows: Map ID: indicates the ID of the mapping. Host ID | Host Group ID: indicates the ID of a host, the default host group, or a host group.
  • Page 150: Showunmaphostlun

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference ====================================================================== Unmapping Device Lun Info ====================================================================== ********************************** ********************************** * LUN ID * LUN ID * Disk Group Name vvrdg * Disk Group Name vvrdg_1 * Lun Name srl_vol * Lun Name...
  • Page 151: Showini

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Usage Guidelines When using the command, pay attention to the following points: You can view all unmapped host LUNs in the system by running the command showunmaphostlun. You can view the unmapped host LUNs in a specified host group by running the command showunmaphostlun -gi host group ID.
  • Page 152: Showchap

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Level Guest level. Usage Guidelines You can view the information about an initiator by running the command showini. Example View the information about all initiators in a system. VIS CLI:root>server>showini...
  • Page 153: Showlicense

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Modes Normal. Level Guest level. Usage Guidelines You can view the information about all the CHAP authentication in the system by running the command showchap. Example View the information about the CHAP authentication in the system.
  • Page 154: Showlicensefunction

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Modes Normal. Level Guest level. Usage Guidelines You can view the license information by running the command showlicense , including the serial number, authentication type, and software time. Example View the information about all licenses in a system.
  • Page 155 OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Format showlicensefunction Parameters Parameter Description Value None. None. None. Modes Normal. Level Guest level. Usage Guidelines You can view the function information about a license by running the command showlicensefunction, including the feature name, trial time, deadline for running, function information name, and function switch.
  • Page 156: Showlicensehead

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Function information name: indicates the function information name of the license. Function Switch: indicates whether the license is enabled. 2.3.43 showlicensehead Function To view the header information about the license.
  • Page 157: Showtarget

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands CopyRight: indicates the copyright information. License file serial number: indicates the serial number of the license file. File creator: indicates the creator of the license file. Creation Time: indicates the time for creating the license file.
  • Page 158: Showinichap

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Target Info ============================================================================== ******************************************************************************** * Target Name iqn.2006-08.com.huawei:oceanstor:210000e0fc000052:notcon fig: 129.15.60.135 * * Target IP 129.15.60.135 * Target IP Port 3260 * Target Status Established ******************************** ********************************************* System Response The previous information is described as follows: Target Name: indicates the name of the iSCSI target.
  • Page 159: Showarrayiscsiip

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands VIS CLI:root>server>showinichap –n iqn.1991-05.com.microsoft:svctag-5shy82x ============================================================================= Initiator CHAP User Info ============================================================================= Initiator Name iqn.1991-05.com.microsoft:svctag-5shy82x User Name a111 ****************************************************************************** Success : Command executed success. System Response The previous information is described as follows: Initiator Name: indicates the name of the initiator.
  • Page 160: Showinistatus

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference VIS CLI:root>server>showarrayiscsiip -g 3 ============================= iSCSI Initiator IP Info ================================== **************** **************** * Gourp * Gourp * IP * IP **************** **************** **************** **************** * Gourp * Gourp * IP...
  • Page 161: Showportperformance

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Modes Normal. Level Guest level. Usage Guidelines When using the command, pay attention to the following points: You can view the status of all iSCSI initiators on the controllers by running the command showinistatus.
  • Page 162 OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Modes Normal. Level Administrator level. Usage Guidelines When using the command, pay attention to the following points: You need to enable the performance statistics function on an interface by running the command chgportstat before you run the command showportperformance.
  • Page 163: Showlunctrl

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Current IO/s: indicates the current rate of reading and writing IOs. Max IO/s: indicates the maximum rate of reading and writing IOs. Max Delay: indicates the maximum delay. Average Delay: indicates the average delay.
  • Page 164: Showvisiniport

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference System Response The previous information is described as follows: Controller ID: indicates the ID of the controller where the volume is located. Disk Group Name: indicates the name of the disk group where the volume is located.
  • Page 165: Vxdctl

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands * Controller ID * Initiator Name InitiatorName=iqn.1987-05.com.cisco:01.4f8518cbe8a *************************************************************************** System Response The previous information is described as follows: Controller ID: indicates the controller ID. Initiator Name: indicates the initiator name.
  • Page 166 OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Parameter Description Value mode Displays the mode of the The three modes are vxconfigd program. described as follows: enabled: normal running mode. Most of configuration and operations can be performed in the mode.
  • Page 167: Vxdisk

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Level Administrator level. Usage Guidelines When using the command, pay attention to the following points: You can control the operation of a volume configuring the vxconfigd program by running the command vxdctl mode, and check whether the vxconfigd program is active or is running.
  • Page 168 OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Function To define and manage the disks managed by the VxVM. Format vxdisk [-g diskgroup] [-o alldgs] list [disk…] vxdisk scandisks [device=...|ctlr=...|pctlr=...|new |fabric] Parameters Parameter Description Value -g diskgroup Specifies the name of a disk group.
  • Page 169 OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands You can view the information about all disks in the system by running the command vxdisk list. You can view the information about a specified disk group in the system by running the command vxdisk -g diskgroup list.
  • Page 170: Vxdg

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference VIS CLI:root>server>vxdisk list Disk_0 This command may cause long time elapse. Please wait... Device: Disk_0 devicetag: Disk_0 type: auto hostid: disk: name= id=1199579533.26.linux-vm1 group: name= id= info: format=simple,privoffset=1,pubslice=5,privslice=5 flags:...
  • Page 171 OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands vxdg recover diskgroup vxdg [-g diskgroup] free Parameters Parameter Description Value -g diskgroup Specifies the name of a disk None. group.pecifies the name of a disk group. medianame= Specifies the medium of the None.
  • Page 172 OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Parameter Description Value minor=base-minor Specifies the base-minor The base-minor number of an number of a disk group. object (such as a volume, disk, or disk group) is assigned by the VIS6000 and identifies a feature of the object.
  • Page 173 OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Level Administrator level. Usage Guidelines When using the command, pay attention to the following points: You can expand the capacity of a specified disk group by running the command vxdg -g diskgroup adddisk [medianame=]accessname….
  • Page 174: Vxassist

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference version: alignment: 8192 (bytes) local-activation: shared-write cluster-actv-modes: VIS_7690_1=sw VIS_7690_0=sw ssb: detach-policy: global dg-fail-policy: dgdisable copies: nconfig=default nlog=default config: seqno=0.1030 permlen=348 free=343 templen=2 loglen=52 config disk Disk_2 copy 1 len=348 state=clean online...
  • Page 175 OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Format vxassist [options] [-b] -g diskgroup growby volume lengthchange [attribute…] vxassist [options] [-b] -g diskgroup growto volume newlength [attribute…] vxassist [options] [-b] -g diskgroup make volume length [attribute…] [disk] vxassist [options] [-b] -g diskgroup maxgrow volume [attribute…]...
  • Page 176 OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Parameter Description Value storage-spec… Specifies the storage space. None. snapvolume Specifies the name of a snapshot volume. None. snap_object Specifies the name of a mirroring target. None. nmirror None.
  • Page 177 OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands shrink the volume to the size that is smaller than the size of the file system or database that uses the volume. You can shrink a volume to the specified length by running the command vxassist [options] [-f] shrinkto -g diskgroup volume newlength [attribute…].
  • Page 178: Vxprint

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Create a volume consisting of 4186144 sectors on disk Disk_1 of disk group dg_01. VIS CLI:root>server>vxassist -g dg_01 make vol1 4186144 Disk_1 This command may cause long time elapse. Please wait...
  • Page 179 OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Parameter Description Value None. Programs display fields (such as object length and deviation) by 512 bits on different types of platforms. None. Displays only the records of data change objects (DCOs), link objects, and snapshot points.
  • Page 180 OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Parameter Description Value None. Displays each piece of information in lines based on the type of each configuration record. None. Displays only the information about volumes. None. Displays only the information about replication volumes.
  • Page 181: Vxsnap

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODE SV NAME PLEX VOLNAME NVOLLAYR LENGTH [COL/]OFF AM/NM MODE SC NAME PLEX CACHE DISKOFFS LENGTH [COL/]OFF DEVICE MODE DC NAME...
  • Page 182 OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference vxsnap [-g diskgroup] [-o optarg[,optarg]...] restore {volume|volset} source={snapvol| snapobject} [{volume|volset} source={snapvol|snapobject}... [destroy=yes|no] [syncing=yes|no] [nmirror=number] vxsnap [-g diskgroup] rmmir {snapvol|snapobject} vxsnap [-f] [-g diskgroup] split {volume|volset} vxsnap [-g diskgroup] syncpause {volume|volset} vxsnap [-g diskgroup] syncresume {volume|volset} vxsnap [-b] [-g diskgroup] [-o optarg[,optarg]...] [-t tasktag] syncstart {volume|volset}...
  • Page 183 OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Parameter Description Value volset None. Specifies the name of a volume set. -o optarg None. Specifies the mode for creating a snapshot. snapshot_tuple None. Specifies the tuple of an instant snapshot.
  • Page 184 OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Parameter Description Value restore None. Restores one or more volumes from a specified snapshot volume. None. Separates a snapshot volume from the source volume and from the snapshot layer.
  • Page 185 OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands You can create an space-optimized instant snapshot by running the command vxsnap [-g diskgroup] make source=vol/newvol=snapvol\ /[cache=cacheobject] [alloc=storage_attributes]. You can prepare a volume or volume set for an instant snapshot by running the command vxsnap [-g diskgroup] prepare {volume|volset} [regionsize=size] [drl={yes|no| sequential}] [ndcomirs=number] [attribute ...].
  • Page 186 OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference You can delete a snapshot mirroring from a volume or volume set by running the command vxsnap [-g diskgroup] rmmir {snapvol|snapobject}. If the name of a volume set is specified, a mirroring is deleted from each volume in the volume set.
  • Page 187: Vxvol

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands for the cache, the system performance degrades compared with the result of the same size of areas. CAUTION In the VIS6000, you can create up to 31 instant snapshots.
  • Page 188 OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference vxvol [-fqV] [-g diskgroup] [-m] [-r rvg] assoc rvg volume [primary_datavol] vxvol [-fqV] [-g diskgroup] dis volume vxvol [-fqV] [-g diskgroup] [-U usetype] [-o useopt] recover volume vxvol [-faqV] [-g diskgroup] [-U usetype] [-o useopt] start volume...
  • Page 189 OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Parameter Description Value None. Enables or disables all subvolumes. If the parent volume fails to be enabled or disabled, all its subvolumes fail to be enabled or disabled. Modes Normal.
  • Page 190: Vxdisksetup

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference View the current status of volume vol1 in disk group dg1. The following information is displayed on the screen: VIS CLI:root>server>vxprint -g dg1 This command may cause long time elapse. Please wait...
  • Page 191 OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands CAUTION The disks imported to a disk group cannot be initialized. Modes Normal. Level Administrator level. Usage Guidelines CAUTION If you run the command vxdisksetup [-if] disk-device-address, please do not power off the controllers.
  • Page 192: Vxdiskunsetup

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Run the command vxdisk list to check the current status of disk Disk_20. The following information is displayed on the screen: VIS CLI:root>server>vxdisk list This command may cause long time elapse. Please wait...
  • Page 193: Vxedit

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Usage Guidelines When using the command, pay attention to the following points: When running the command vxdiskunsetup, you need to move the data stored on the disk to avoid data loss.
  • Page 194: Vxasyncrep

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Parameter Description Value None. Performs recursive options on the records related to the chosen record. For example, if you choose the records of the volume, the same operation is performed on the plex, subdisk, and subvolumes that are associated with the volume.
  • Page 195 OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Function The vxasyncrep command starts, halts, stops, restarts asynchronous replication, displays asynchronous replication status, and configures asynchronous replication. Format vxasyncrep start [stop|pause|resume|-l|-q|set] diskgroup rvg hostname|ip Parameters Parameter Description Value start None.
  • Page 196: Vxsyncrep

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Example Example 1: Start asynchronous replication. The name of source disk group is testdg, the name of replication volume group is testvrg, and the IP address of the disaster recovery center is 192.168.0.13.
  • Page 197: Vxsched

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Parameter Description Value None. Specifies the name of a replication volume group. hostname None. Specifies the name of the disaster recovery center. None. Specifies the IP address of the disaster recovery center.
  • Page 198 OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Function To edit the replication period, display the period time table, delete period settings, insert the replication period, view the status of the current replication, and set the cyclical replication.
  • Page 199 OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Parameter Description Value None. Specifies the period of the cyclical replication in minutes. hour None. Specifies the period of the cyclical replication in hours None. Specifies the period of the cyclical replication in days.
  • Page 200: Vxinitvol

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference 2.3.64 vxinitvol Function To initialize volumes in a disk group. Format vxinitvol diskgroup volume1 volume2… Parameters Parameter Description Value diskgroup None. Specifies the name of a disk group. volume1 volume2… Specifies the name of a volume. You can enter several names at None.
  • Page 201 OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Function To manage the VVR, consisting of creating a replication group, adding the disaster recovery center, viewing the progress of the current replication, and viewing the information about the current replication volume group.
  • Page 202: Vxcache

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference You can view the replication progress by running the command vradmin -g tdg -l repstatus trvg. You can view the information about the current replication volume group by running the command vradmin -g tdg printrvg.
  • Page 203 OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Function To manage the cache object. Format vxcache [-g diskgroup] att volume cacheobj vxcache [-g diskgroup] dis cachevol... vxcache [-g diskgroup] start cacheobj... vxcache [-g diskgroup] stat [cacheobj...] vxcache [-f] [-g diskgroup] stop cacheobj...
  • Page 204: Vxconfigd

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference You can associate a cache object with a disk group by running the command vxcache -g diskgroup att volume cacheobj. You can separate the mirroring cache volume from a disk group by running the command vxcache -g diskgroup dis cachevol..
  • Page 205: Vxdisklist

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Parameters Parameter Description Value None. Indicates "disable". None. Runs the vxconfigd program in foreground mode. The parameter is used for debugging the vxconfigd program. None. Recovers the VxVM from a suspended vxconfigd program.
  • Page 206: Vradmind

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Format vxdisklist Parameters Parameter Description Value None. None. None. Modes Normal. Level Administrator level. Usage Guidelines you can view the information about all the disks controlled by the VxVM by running the command vxdisklist.
  • Page 207: Vxbackupbylunid

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Parameters Parameter Description Value -fore None. Runs the vradmind process in foreground mode. Modes Normal. Level Administrator level. Usage Guidelines You can start the VVR process by running the command vradmind [-fore].
  • Page 208: Vxbackupbyname

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Level Administrator level. Usage Guidelines You can start the host database backup mode by running the ID of the host LUN and send IBC messages by running the command vxbackupbylunid hostlunid.
  • Page 209 OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Parameter Description Value dbtype Specifies the type of the The value options are 0, 1, 2, database. 3, 4, and –1. They are described as follows: 0: indicates Oracle.
  • Page 210: Vxblnk

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference 2.3.72 vxblnk Function To import or export the configuration data. Format vxblnk deportto|importfrom filename Parameters Parameter Description Value deportto None. Exports the configuration data. importfrom None. Imports the configuration data.
  • Page 211 OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Function To manage the configuration file of the snapshot in the disaster recovery center. Format vxeditdgrvg add dg rvg vxeditdgrvg del linenumber vxeditdgrvg list Parameters Parameter Description Value None.
  • Page 212: Vxeditissp

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Example Example 1: Add the record of disk group isspdg and replication volume group issprvg to the configuration file. VIS CLI:root>server>vxeditdgrvg add isspdg issprvg This command may cause long time elapse. Please wait...
  • Page 213 OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Parameter Description Value dbtype Specifies the type of the database. The value options are 0, 1, 2, 3, 4, and –1. They are described as follows: 0: indicates Oracle.
  • Page 214: Vxeditwebservice

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Example Example 1: Add the record of database db01, database type 1, and host LUN 3 to the configuration file. VIS CLI:root>server>vxeditissp add db01 1 3 This command may cause long time elapse. Please wait...
  • Page 215: Vxisspsnapshot

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Parameter Description Value list None. Displays all the host Web sites in the configuration file. Modes Normal. Level Administrator level. Usage Guidelines You can add a host Web site to the configuration file by running the command vxeditwebservice add address.
  • Page 216 OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Format vxisspsnapshot start vxisspsnapshot stop vxisspsnapshot status Parameters Parameter Description Value start None. Starts the snapshot script in the disaster recovery center. stop None. Stops the snapshot script in the disaster recovery center.
  • Page 217: Vxshowphydisk

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands System Response None. 2.3.77 vxshowphydisk Function To view the information about the disks mapped from the storage array to the VIS6000. Format vxshowphydisk Parameters Parameter Description Value None. None.
  • Page 218: Hagrp

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Function The haconf command modifies the configuration file properties of the CVM. Format haconf -makerw haconf -dump [-makero] Parameters Parameter Description Value -makerw None. Read and write. -dump None.
  • Page 219 OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Format hagrp -add service_group hagrp -delete service_group hagrp -modify service_group attribute value [-sys system] hagrp -online service_group -sys system hagrp -offline service_group -sys system Parameters Parameter Description Value -add service_group None.
  • Page 220: Hares

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference VIS CLI:root>server>hagrp -add sgp11 This command may take a long time. Please wait... VCS NOTICE V-16-1-10136 Group added; populating SystemList and setting the Parallel attribute recommended before adding resources System Response None.
  • Page 221: Hastart

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Parameter Description Value -sys system None. Designating the node that the resource belongs to. -offline resource Keeping the resource offline. None. Modes Normal. Level Administrator level. Usage Guidelines hares -add resource resource_type service_group is used to add the resource.
  • Page 222: Hastop

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Parameters Parameter Description Value None None. None. Modes Normal. Level Administrator level. Usage Guidelines hastart is used to start the CVM. Example Start the CVM. VIS CLI:root>server>hastart This command may take a long time. Please wait...
  • Page 223: Hastatus

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Parameter Description Value -force None. Executing the command by force. Modes Normal. Level Administrator level. Usage Guidelines hastop -local is used to stop the local CVM. hastop -all [-force] is used to stop the CVM in all nodes.
  • Page 224: Hasys

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Level Administrator level. Usage Guidelines hastatus -sum is used to check the status information on the CVM. Example VIS CLI:root>server>hastatus -sum This command may take a long time. Please wait...
  • Page 225: Vxaddlogowner

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Parameters Parameter Description Value -list None. Displaying the cluster node. -display None. Displaying the node information. system None. The name of the node. Modes Normal. Level Administrator level. Usage Guidelines hasys -list is used to display the cluster node.
  • Page 226: Vxaddvirip

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Parameters Parameter Description Value diskgroup None. The name of the disk group. rvg_name None. The name of the replication volume group. netcard_name None. The name of the network interface card.
  • Page 227 OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Format vxaddvirip -list vxaddvirip -set index netcard_name virtual_ip netmask vxaddvirip -delete index Parameters Parameter Description Value -list None. Displaying the virtual IP address. -set None. Setting the virtual IP address.
  • Page 228: Vxasyncrep

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference System Response None. 2.3.87 vxasyncrep Function The vxasyncrep command starts, halts, stops, restarts asynchronous replication, displays asynchronous replication status, and configures asynchronous replication. Format vxasyncrep start [stop|pause|resume|-l|-q|set] diskgroup rvg hostname|ip...
  • Page 229: Vxbackupbydgrvg

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Usage Guidelines vxasyncrep start [stop|pause|resume|-l|-q|set] diskgroup rvg hostname|ip is used to start, halt, stop, restore asynchronous replication, query asynchronous replication status, and set asynchronous replication. Example Example 1: Start asynchronous replication. The name of source disk group is testdg, the name of replication volume group is testvrg, and the IP address of the disaster recovery center is 192.168.0.13.
  • Page 230: Vxconfaddhost

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Level Administrator level. Usage Guidelines vxbackupbydgrvg dg rvg is used to initiate all VIS6000 devices in the disaster center to make a snapshot for the designated disk group. vxbackupbydgrvg dg rvg sechost is used to initiate the IP-designated VIS6000 to make a snapshot for the designated disk group.
  • Page 231: Vxddladm

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Level Administrator level. Usage Guidelines vxconfaddhost -l is used to display all cluster information. vxconfaddhost -r [ip | host] is used to delete the IP address or node. vxconfaddhost -a [ip=host] is used to add the mapping between the IP address and the node.
  • Page 232 OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Parameter Description Value addforeign blockdir=/dev/foo/disk chardir=/dev/ None. Adding additional devices. foo/rdsk Modes Normal. Level Administrator level. Usage Guidelines vxddladm listsupport all is used to display all supported devices. vxddladm addforeign blockdir=/dev/foo/disk chardir=/dev/foo/rdsk is used to add additional devices.
  • Page 233: Vxdelclustergroup

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands 2.3.91 vxdelclustergroup Function The vxdelclustergroup command deletes the designated service group and shares the disk group and Logowner. Format vxdelclustergroup ClusterService|RVGSharedGrp|RVGLogownerGrp Parameters Parameter Description Value ClusterService None. The name of the service group.
  • Page 234: Vxdmpadm

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference 2.3.92 vxdmpadm Function The vxdmpadm command manages MultiPath. Format vxdmpadm listenclosure all vxdmpadm getattr enclosure Disk iopolicy vxdmpadm setattr enclosure Disk iopolicy=adaptive Parameters Parameter Description Value listenclosure all None.
  • Page 235: Vxdskchk

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands System Response The explanation for the displayed information on the screen is as follows: ENCLR_NAME: stands for the name of the disk array. ENCLR_TYPE: stands for the type of the disk array.
  • Page 236: Vxibccron

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference 2.3.94 vxibccron Function The vxibccron command sets the periodic snapshot agent. Format vxibccron list vxibccron show dg rvg vxibccron pause n vxibccron resume n vxibccron del n|all vxibccron add min hour day mon week diskgroup rvg [ip]...
  • Page 237 OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Parameter Description Value hour The value ranges from 0 to 23, Hour. including 0 and 23. + stands for per hour. The value ranges from 1 to 31. 1 and Date.
  • Page 238: Vxmake

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference System Response None. 2.3.95 vxmake Function The vxmake command creates the object of the VxVM. Format vxmake [-g diskgroup] sd subdisk diskname,offset,length vxmake [-g diskgroup] plex plex sd=subdisk1[,subdisk2,...] Parameters...
  • Page 239: Vxmend

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands VIS CLI:root>server>vxmake -g mydg sd mydg02-01 mydg02,0,8000 This command may cause long time elapse. Please wait... SUCCESS System Response None. 2.3.96 vxmend Function The vxmend command modifies plex status.
  • Page 240: Vxping

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Example Set plex named vol01-02 in the disk group mydg offline . VIS CLI:root>server>vxmend -g mydg off vol01-02 This command may take a long time. Please wait... SUCCESS System Response None.
  • Page 241: Vxplex

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.106/1.076/1.656/0.691 ms System Response None. 2.3.98 vxplex Function The vxplex command manages plex. Format vxplex [-g diskgroup ] att volume plex...
  • Page 242: Vxreattach

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference vxplex [-g diskgroup ] -o rm dis plex is used to separate and delete plex from the disk group. Example Connect plex named vo101-02 to the volume vo101 of the disk group mydg.
  • Page 243: Vxrecover

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands 2.3.100 vxrecover Function The vxrecover command recovers the volume status. Format vxrecover Parameters Parameter Description Value None None. None. Modes Normal. Level Administrator level. Usage Guidelines vxrecover is used to recover the volume status.
  • Page 244: Vxrestartvxvm

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Parameters Parameter Description Value None. Execute the command by force. Modes Normal. Level Administrator level. Usage Guidelines vxrestartvvr [-f] is used to restart the VVR. Example VIS CLI:root>server>vxrestartvvr -f This command may take a long time.
  • Page 245: Vxrlink

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Level Administrator level. Usage Guidelines vxrestartvxvm [-f] is used to restart the VxVM. Example VIS CLI:root>server>vxrestartvxvm -f This command may take a long time. Please wait... SUCCESS System Response None.
  • Page 246 OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Parameter Description Value -c checkpoint None. Recording the water mark of the SRL. pause rlink None. Halting rlink. resume rlink None. Restarting rlink. restore rlink None. Restoring rlink. recover rlink None.
  • Page 247: Vxrvg

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands NOTE vxrlink [-g diskgroup] [-r rvg] -c checkpoint checkdelete rlink is executed only in the production center. Example Check the status of rlk_15.15.15.16_v_rvg VIS CLI:root>server>vxrlink -g zwdg status rlk_15.15.15.16_v_rvg This command may take a long time.
  • Page 248: Vxrvgadddgid

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Level Administrator level. Usage Guidelines vxrvg [-f] [-g diskgroup] recover rvg is used to recover the replication volume group. vxrvg [-f] [-g diskgroup] start rvg is used to start the replication volume group.
  • Page 249: Vxsd

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Level Administrator level. Usage Guidelines vxrvgadddgid -l is used to display all disk group IDs. vxrvgadddgid -r is used to delete the disk group ID. vxrvgadddgid -a is used to add the disk group ID.
  • Page 250: Vxtask

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Parameter Description Value join None. Joining the sub-disk. None. Separating the sub-disk. Modes Normal. Level Administrator level. Usage Guidelines vxsd [-g diskgroup ] -s size split subdisk newsd1 newsd2 is used to split the current sub-disk to 2 independent sub-disks.
  • Page 251 OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Parameters Parameter Description Value monitor None. Monitoring the schedule of tasks. taskid None. Task ID. Modes Normal. Level Administrator level. Usage Guidelines vxtask monitor taskid is used to monitor the schedule of tasks.
  • Page 252: Vxquerydiskwwn

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference 2.3.108 vxquerydiskwwn Function To view the WWN about all the disks controlled by the VxVM. Format vxquerydiskwwn [devicename] Parameters Parameter Description Value devicename None. The name of the disk.
  • Page 253: Vxprintportinfo

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Parameters Parameter Description Value [-g diskgroup][-v volume] Check whether the volume in the disk None. group can be read. -d port Checks whether the HDD can be read. None.
  • Page 254: Stopsfclient

    Query the detailed information about the FC service port whose port ID is 1 on the VIS6000. VIS CLI:root>vxprintportinfo 1 This command may take a long time. Please wait... Huawei OEM Agilent Agtiapi Initiator Driver Version 2.0 Adapter Configuration: HBA name:...
  • Page 255: Test Management Commands

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Format stopsfclient Parameters Parameter Description Value None. None. None. Modes Normal. Level Super administrator, administrator level. Usage Guidelines During the remote replication, if there is no response on the ISM for a long time, it may because both production center and disaster recovery center wait for commands from each other.
  • Page 256: Chgcpuusagelimit

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference 2.4.9 chgwatchdog 2.4.10 chgbiosid 2.4.11 setclitimeout 2.4.12 setctrloffline 2.4.13 setctrlonline 2.4.14 setflowmask 2.4.15 showbiosid 2.4.16 showgemode 2.4.17 showswapinfo 2.4.18 showtemplimit 2.4.19 swapsys 2.4.20 testibcstatus 2.4.21 chgfcportmode 2.4.1 chgcpuusagelimit Function To set the flow control threshold of the CPU on a controller.
  • Page 257: Chgfanspeed

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Level Administrator level. Usage Guidelines You can set the flow control threshold of the CPU on a specified controller by running the command chgcpuusagelimit -c controller ID -v limit value.
  • Page 258: Chgfclinkstatus

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Parameter Description Value -s speed level Specifies the speed level of a The value options are 0, 1, 2, fan. 3, and 4. They are described as follows: 0: indicates the lowest level.
  • Page 259 OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Function To change the link status of an FC service port in the fault simulation test. Format chgfclinkstatus -c controller ID -i interface ID -p port ID -s status...
  • Page 260: Chggemode

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Example Set the link status of the FC service port with ID 0 on interface module 0 of controller A to connected. VIS CLI:root>test>chgfclinkstatus -c 0 -i 0 -p 0 -s 1 Success : Command executed success.
  • Page 261: Chgiscsilinkstatus

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Parameter Description Value -m mode Specifies the mode of a The value options are 0, 1, 2, service interface. 3, and 4. They are described as follows: 0: indicates the normal working mode.
  • Page 262 OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Format chgiscsilinkstatus -c controller ID -i interface ID -p port ID -s status Parameters Parameter Description Value -c controller ID Specifies the ID of the The value options are 0 and controller that an GE service 1.
  • Page 263: Chgmemusagelimit

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Level Administrator level. Usage Guidelines You can change the link status of an GE service port by running the command chgiscsilinkstatus -c controller ID -i interface ID -p port ID -s status.
  • Page 264: Chgnetlinkstatus

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Usage Guidelines You can set the upper threshold of the memory usage for a specified controller by running the command chgmemusagelimit -c controller ID -v usage limit. Example Set the upper threshold of the memory usage on controller A to 80.
  • Page 265: Chgtemplimit

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Parameter Description Value -s link status Specifies the link status of a The value options are 0 and network interface. 1. They are described as follows: 0: indicates the disconnected status.
  • Page 266: Chgwatchdog

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Parameters Parameter Description Value -c controller ID Specifies the controller ID. The value options are 0 and 1. They are described as follows: 0: indicates controller A. 1: indicates controller B.
  • Page 267: Chgbiosid

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Parameters Parameter Description Value -c controller ID Specifies the ID of the The value options are 0 and controller that the watchdog 1. They are described as belongs to.
  • Page 268: Setclitimeout

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Format chgbiosid -c controller ID -b next start bios ID Parameters Parameter Description Value -c controller ID Specifies the controller ID. The value options are 0 and 1. They are described as follows: 0: indicates controller A.
  • Page 269: Setctrloffline

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Function To set the timeout interval of the CLI. Format setclitimeout -t timeout time Parameters Parameter Description Value -t timeout time None. Specifies the timeout interval in seconds. Modes Normal.
  • Page 270: Setctrlonline

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Format setctrloffline -c controller ID Parameters Parameter Description Value -c controller ID Specifies the controller ID. The value options are 0 and 1. They are described as follows: 0: indicates controller A.
  • Page 271: Setflowmask

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Parameters Parameter Description Value -c controller ID Specifies the controller ID. The value options are 0 and 1. They are described as follows: 0: indicates controller A. 1: indicates controller B.
  • Page 272 OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Parameters Parameter Description Value -c controller ID Specifies the controller ID. The value options are 0 and 1. They are described as follows: 0: indicates controller A. 1: indicates controller B.
  • Page 273: Showbiosid

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Controller ID: indicates the controller ID. Current Status: indicates the current status of flow control. Current Level: indicates the level of flow control. 2.4.15 showbiosid Function To view the ID of the BIOS selected during controller startup and resetting.
  • Page 274: Showgemode

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference System Response The previous information is described as follows: Controller ID: indicates the controller ID. CurrentBios ID: indicates the ID of the preferred BIOS for startup. NextBios ID: indicates the ID of the backup BIOS for startup Both the preferred BIOS ID and backup BIOS ID of controller A are the default BIOS IDs.
  • Page 275 OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Parameter Description Value -p port ID Specifies the ID of an GE The value options are 0, 1, 2, service port. and 3. They are described as follows: 0: indicates GE service port 0.
  • Page 276: Showswapinfo

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference 2.4.17 showswapinfo Function To view the information about a primary/secondary switchover, consisting of the ID, time, cause, and description of primary/secondary switchover. Format showswapinfo [-i swap ID] Parameters Parameter...
  • Page 277: Showtemplimit

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands System Response The previous information is described as follows: Swap ID: indicates the ID of a primary/secondary switchover. Time: indicates the time of a primary/secondary switchover. Reason: indicates the cause of a primary/secondary switchover.
  • Page 278: Swapsys

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference VIS CLI:root>test>showtemplimit ================================================= Controller Temperature Limit Information ================================================= ************************************************* Controller ID Temperature Limit(C) Success : Command executed success. System Response The previous information is described as follows: Controller ID: indicates the controller ID.
  • Page 279: Testibcstatus

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands System Response None. 2.4.20 testibcstatus Function To view the information about the IBC, consisting of the number of packets received by heartbeat channels and the status of heartbeat channels.
  • Page 280: Chgfcportmode

    OceanStor VIS6000 Series Virtual Intelligent Storage System 2 Commands Command Reference Receive Number 1: indicates the number of packets received by heartbeat channel 1. Receive Number 2: indicates the number of packets received by heartbeat channel 2. Self Status 1: indicates the status of heartbeat channel 1.
  • Page 281 OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference 2 Commands Parameter Description Value -m mode The working mode of the Value: 2, 1, or 3. service port. Value description: 1 stands for the initiator. 2 stands for the target.
  • Page 283: 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 trouble shooting. A.3 How to Obtain Help from Website...
  • Page 284: Preparations For Contacting Huawei

    You need to collect troubleshooting information before troubleshooting. A.1.2 Making Debugging Preparations When you contact Huawei for help, the Technical Support Engineer of Huawei might assist you to do some operations to collect information about the trouble or handle the trouble directly.
  • Page 285: 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 287: B Acronyms And Abbreviations

    OceanStor VIS6000 Series Virtual Intelligent Storage System Command Reference B Acronyms and Abbreviations Acronyms and Abbreviations AC Power Interface Baseboard Management Controller BIOS Basic Input/Output System CHAP Challenge Handshake Authentication Protocol Command Line Interface CPLD Complex Programmable Logical Device Data Change Object...
  • Page 288 OceanStor VIS6000 Series Virtual Intelligent Storage System B Acronyms and Abbreviations Command Reference Gigabit Ethernet Inter-board Communication iSCSI Internet Small Computer Systems Interface Internet Protocol Integrated Storage Management Logical Unit Number Medium Access Control Serial Attached SCSI SCSI Small Computer System Interface...

Table of Contents