No relevant resource is found in the selected language.

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

Reminder

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

upgrade

OceanStor 9000 V5 7.0 Command Reference 03

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
help

help

Function

The help command is used to query the help information of all commands in a specified command set.

Format

help commandname

Parameters

Parameter

Description

Value

commandname Command set name.

balancepolicy: commands for balancing policies.

iprule: commands for IP rules.

performance: commands for performance.

snapshot: commands for snapshot.

cluster: commands for clusters.

domain: commands for domains.

loca_user: commands for local users.

protocol: commands for protocols.

datasync: commands for data synchronization.

subnet: commands for subnets.

worm: commands for WORM.

alarm: commands for alarms.

cli: commands for command-line interface (CLI) configuration.

device: commands for devices.

directory: commands for directories/files.

directory_share: commands for directory/file sharing.

nas_service: commands for protocol and authentication management.

node: commands for nodes.

snmp: commands for the SNMP service.

system: commands for systems.

systemuser: commands for system users.

task: commands for tasks.

tierstorage: commands for storage tiers.

infoequalizer: commands for protocol clusters.

quota: commands for quota management.

Level

Read-only user

Usage Guidelines

  • Users who have various permissions can query only the help information of commands under their permissions.
  • Run the help commandname command to display the help information of a command that you want to query.
  • After you view the help information, enter q to return to the command execution page.

Example

Query the help information of commands for nodes.

admin:/>help node 
NAME
    node - node management commands
SYNOPSIS
    change node startup < node_list > < ipmi_pwd >
    change node restart < id >
    change node frozen < id >
    change node defrost < id >
    change node enable < id >
    show node capacity [id]
    show node fs_service [id]
    show node share_service [id]
    show client general [ id=? ] [ client_type=? ] [ node_id=? ]
    change node disable < id >
    show node count < parent_type > < parent_id > [ func_type ]
    show node general [ id=? ] [ frame_number=? ]
    change node general < id > < devMgrIP >
    show node firmware [ id ]
    change node shutdown < id >
    delete node < id > < configRecover >
DESCRIPTION
    The node commands are used to manage and view node configuration.
OPTIONS
    node_list
        Type a node ID string or a node list. If you want to start multiple nodes in batches, separate their IDs with vertical bars (,).
    ipmi_pwd
        Type the password for logging in to the IPMI.
    id
        Type a ID string. The value can contain 1 to 127 letters, digits, hyphens (-), underscores (_), and periods (.).
    client_type
        Type a node client type. NFS: Network File System (NFS) client. CIFS: Common Internet File System (CIFS) client. FTP: File Transfer Protocol(FTP) client.
    node_id
        Type a node ID string. The value can contain only 1 to 127 letters, digits, hyphens (-), underscores (_), and periods (.).
    
    parent_type
        Enter the system type. The value is snas_system, indicating a cluster system.
        
    parent_id
        Type a cluster ID string. The value contains 1 to 127 letters, digits, hyphens (-), underscores (_), and periods (.).
    func_type
        Type the node function type. The value can be p_node, c_node, m_node, c72_node, p25_node, p36_node, c36_node or p12_node.
    
    frame_number
        Type the frame number to which a node belongs. The value can contain only 1 to 31letters.
    
    devMgrIP    
        Type the IP address of default gateway. The value is a character string in the format of an IP address.
        
    configRecover
        Whether to clear all contents and configurations of the node. yes: All contents and configurations of the node are cleared. no : All contents and configurations of the node are retained.
COMMANDS
    change node startup < node_list > < ipmi_pwd >
        Start a node.
    
    change node restart < id >
        Restart a node.
    
    change node frozen < id >
        Freeze a node.
    
    change node defrost < id >
        Unfreeze a node.
    
    change node enable < id >
        Enable a node.
    
    show node capacity [id]
        Query node capacity information.
    
    show node fs_service [id]
        Query the versions and running status of file systems on nodes.
    
    show node share_service [id]
        Query the versions and running status of node share protocols.
    
    show client general [ id=? ] [ client_type=? ] [ node_id=? ]
        Query client information.
    
    change node disable < id >
        Disable a node.
    
    show node count < parent_type > < parent_id > [ func_type ]
        Query the number of nodes in a cluster.
    
    show node general [ id=? ] [ frame_number=? ]
        Query node information.
    
    change node general < id > < devMgrIP >
        Change node information.
    
    show node firmware [ id ]
        Query the firmware version of C72 and matching information.
    
    change node shutdown < id >
        Shut down a node.
    
    delete node < id > < configRecover >
        Delete a node.
EXAMPLES
    Start a node.
        admin:/>change node startup 52137
        Please enter IPMI password:*************
        Please enter IPMI password again:*************
        Command sent successfully.Please use command 'show task general' for details.
    
    Restart a node.
        admin:/>change node restart 52137
        Command sent successfully.Please use command 'show task general' for details.
    
    Freeze a node.
        admin:/>change node frozen 12814  
        Command sent successfully.Please use command 'show task general' for details.System Response
    Unfreeze a node.
        admin:/>change node defrost 12814  
        Command sent successfully.Please use command 'show task general' for details.
    
    Enable a node.
        admin:/>change node enable 12814  
        Command sent successfully.Please use command 'show task general' for details.
    
    Query node capacity information.
        admin:/>show node capacity 
          ID    Name  Node Capacity  Node Used Capacity 
          ----  ----  -------------  ------------------ 
          8266  74    2.171TB        0.000MB 
          8267  75    2.443TB        0.000MB 
          8268  76    0.000MB        0.000MB
    
    Query the versions and running status of file systems on nodes.
        admin:/>show node fs_service 
        
          ID    Name  FS Service Version  Running Status  Health Status 
          ----  ----  ------------------  --------------  ------------- 
          8266  74    V100R001C00B031     Starting        PartBroken 
          8267  75    V100R001C00B031     Starting        PartBroken 
          8268  76                        Unknown         Unknown
    
    Query the versions and running status of node share protocols.
        admin:/>show node share_service  
        
          ID     Name   Share Service Version  Running Status  Health Status  devSn                  
          -----  -----  ---------------------  --------------  -------------  --------------------   
          12810  feng1  nasproto-0.0.5-54      Running         Normal         210235G78PZ0C8000009
    
    Query client information.
        admin:/>show client general client_type=nfs 
        
          ID                ClientType  NodeID  IP             
          ----------------  ----------  ------  ------------   
          7690162811353000  NFS         7690    192.168.10.122
    
    Disable a node.
        admin:/>change node disable 12814  
        Command sent successfully.Please use command 'show task general' for details.
    
    Query the number of nodes in a cluster.
        admin:/>show node count snas_system 1 p36_node
        Count: 1
    
    Query node information.
        admin:/>show node general
        ID Name Health Status Running Status Associate ObjectType Associate ObjectID
        ----- --------- ------------- -------------- -------------------- ------------------
        15371 CM-node11 Normal Online SNAS_NODEPOOL 1
        15375 CM-node15 Normal Online SNAS_NODEPOOL 1
        15376 CM-node16 Faulty Offline --
        Frame Number Slot Number Device SN Device Type Manufacturer
        ------------ ----------- -------------------- ----------- -----------------------------
        a1 1 210235G78PZ0C8000011 T3500 VENDOR_CMP
        b1 1 210235G7NL10D8000001 T3500 VENDOR_CMP
        b1 2 210235G7NM10D7000002 T3500 VENDOR_CMP
        Firmware Version Bussiness IP Manage IP Function Type
        ---------------- ----------------------------- ------------ -------------
        V100R001C00 ["192.168.60.11","192.168.61.11"] 192.168.60.244 P36 Node
        V100R001C00 ["192.168.60.15","192.168.61.15"] 192.168.60.244 P36 Node
        [] P36 Node
        Time Time Zone DevMgrIP
        -------------------------- --------- -----------
        2014-02-15/11:12:13 +08:00 CST 192.168.62.11
        2014-02-15/11:12:13 +08:00 CST 192.168.62.15
        2014-02-15/11:12:13 +08:00 CST
    
    Modify the default gateway of a node .
        admin:/>change node general 45522 192.168.177.201
        Command executed successfully.
    
    Query the firmware version of C72 and matching information.
        admin:/>show node firmware
        ID Name BIOS Controller Board CPLD Controller Board SAS Expander Board CPLD Expander Board SES CBU1 CBU2 Matched
        ----- ------- ----------- --------------------- -------------------- ------------------- ------------------ ------- ------- -------
        16601 Node2-A 10.01.00T18 110T18 3.7.48.0_3.5.2.3 110T20 12.00T56 1.00T02 1.00T02 yes
    
    Shut down a node.
        admin:/>change node shutdown 52137
        DANGER: You are about to close the node.This operation may degrade data reliability.Are you sure you want to continue?
        Have you read danger alert message carefully?(y/n)y
        Are you sure you want to perform the operation?(y/n)y
        Command sent successfully.Please use command 'show task general' for details.
    
    Delete a node.
        admin:/>delete node 104 no
        DANGER: You are about to delete the node.After the node is deleted, data on the node will be taken over by other nodes, and the node can only be added to a cluster as a new node for expansion. This operation cannot be undone.Are you sure you want to continue?
        Have you read danger alert message carefully?(y/n)y
        Are you sure you want to perform the operation?(y/n)y
        Command sent successfully.

System Response

None

Translation
Download
Updated: 2019-05-07

Document ID: EDOC1100067955

Views: 25321

Downloads: 7

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