所选语种没有对应资源,请选择:

本站点使用Cookies,继续浏览表示您同意我们使用Cookies。Cookies和隐私政策>

提示

尊敬的用户,您的IE浏览器版本过低,为获取更好的浏览体验,请升级您的IE浏览器。

升级

OceanStor 9000 V300R006C00 命令参考 06

评分并提供意见反馈 :
华为采用机器翻译与人工审校相结合的方式将此文档翻译成不同语言,希望能帮助您更容易理解此文档的内容。 请注意:即使是最好的机器翻译,其准确度也不及专业翻译人员的水平。 华为对于翻译的准确性不承担任何责任,并建议您参考英文文档(已提供链接)。
help

help

命令功能

help命令用于查询指定命令集中所有命令的帮助信息。

命令格式

help commandname

参数说明

参数

参数说明

取值

commandname 命令集名称。

ndmp:ndmp服务相关命令。

remote_replication:远程复制相关命令。

inforevive:容错读写相关命令。

balancepolicy:平衡策略相关命令。

iprule:IP规则相关命令。

performance:性能相关命令。

snapshot:快照相关命令。

cluster:集群相关命令。

domain:域相关命令。

loca_user:本地用户相关命令。

protocol:协议相关命令。

datasync:数据同步相关命令。

ftp:文件传输协议相关命令。

subnet:子网相关命令。

worm:worm相关命令。

alarm:告警相关命令。

cli:cli配置相关命令。

device:设备相关命令。

directory:目录/文件相关命令。

directory_share:目录/文件共享相关命令。

license:license相关命令。

nas_service:协议和认证管理相关命令。

node:节点相关命令。

snmp:SNMP协议服务相关命令。

system:系统相关命令。

systemuser:系统用户相关命令。

task:任务相关命令。

tierstorage:分级存储相关命令。

infoequalizer:协议集群相关命令。

quota:配额管理相关命令。

级别

只读用户

使用指南

  • 不同的用户权限只能查询相应权限下的命令帮助信息。
  • 执行help commandname显示所要查询命令的详细帮助信息。
  • 查看详细信息后输入“q”,可返回命令执行。

使用实例

查询节点相关命令帮助。

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.

输出说明

无。

翻译
下载文档
更新时间:2019-02-25

文档编号:EDOC1000122490

浏览量:8092

下载量:373

平均得分:
本文档适用于这些产品
相关文档
相关版本
分享
上一页 下一页