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

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

提示

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

升级

OceanStor Dorado V3系列 V300R002 高级运维命令参考(块业务)

本产品文档适用于OceanStor Dorado3000 V3, Dorado5000 V3, Dorado6000 V3和Dorado18000 V3。本文档针对CLI命令行,介绍如何使用CLI设置和管理存储系统,以及按功能分类详细介 绍各命令的使用方法。
评分并提供意见反馈 :
华为采用机器翻译与人工审校相结合的方式将此文档翻译成不同语言,希望能帮助您更容易理解此文档的内容。 请注意:即使是最好的机器翻译,其准确度也不及专业翻译人员的水平。 华为对于翻译的准确性不承担任何责任,并建议您参考英文文档(已提供链接)。
eam.sh

eam.sh

命令功能

eam.sh命令用于执行EAM模块的相关命令。

命令格式

eam.sh { -h | -a | deleteEnclosureInfo [SN] | showenclosure| showevent | showloopmap [mac] }

参数说明

参数

参数说明

取值

-h

显示帮助信息。

-

-a

显示EAM模块每个子命令的作用。

-

deleteEnclosureInfo [SN]

根据框的SN号,删除对应框的所有记录。

-

showenclosure

显示框记录。

-

showevent

显示框事件记录。

-

showloopmap [mac]

根据框的MAC地址,显示对应框的组网表信息。

-

模式

最小模式

使用指南

eam.sh用于查看框的相关记录,以及删除框的相关记录。具体功能包括:

  • 查看框接入事件记录。
  • 查看分配的框记录。
  • 查看框的组网表记录。
  • 删除框的所有记录。

使用实例

  • 显示EAM模块每个子命令的作用。
    Storage: minisystem> eam.sh -a 
    eam.sh deleteEnclosureInfo [SN]  :delete enclosure information by the serial number of the enclosure information, [SN] is the serial number of enclosure. 
    eam.sh showenclosure             :show record of enclosure. 
    eam.sh showevent                 :show record of enclosure event. 
    eam.sh showloopmap [mac]         :show record of loopmap by the mac address of enclosure, [MAC] is the mac address of enclosure. The value of mac is a 64-bit unsigned number.
  • 根据框的SN号,删除对应框的所有记录。
    Storage: minisystem> eam.sh deleteEnclosureInfo 2102350FHT10F5000009 
    You are about to delete all information about the disk enclosure. 
    This operation will cause the disk enclosure to be unavailable in the system. 
    Suggestion: Before performing this operation, confirm that the operation is necessary. 
    Have you read danger alert message carefully?(y/n) 
    y 
    Are you sure you really want to perform the operation?(y/n) 
    y 
    admin:/diagnose>eam deleteEnclosureInfo 2102350FHT10F5000009 
    all information of enclosure( mac [262081760519164], sn [2102350FHT10F5000009]) was successfully deleted. 
    admin:/diagnose>exit
  • 显示框记录。
    Storage: minisystem> eam.sh showenclosure   
    admin:/diagnose>eam showframe 
    enclosure info: 
    ------------------------------------------ 
    frameId      = 1 
    userFrameId  = 0x100 
    frameType    = 0 
    wwn          = 0x5fce33caa5ceb03f 6903512224263745599 
    mac          = 0xfce33caa5cee 278052905573614 
    fatherWwn    = 0x807060504030201 578437695752307201 
    loopNum      = 0 
    fatherWwn    = 0x807060504030201 578437695752307201 
    loopNum      = 0 
    frameName    = DAE000 
    ------------------------------------------ 
    frameId      = 0 
    userFrameId  = 0x200 
    frameType    = 1 
    wwn          = 0x807060504030201 578437695752307201 
    mac          = 0x9c37f47fe2dc 171764139156188 
    fatherWwn    = 0x102030405060708 72623859790382856 
    loopNum      = 0 
    fatherWwn    = 0xffffffffffffffff 18446744073709551615 
    loopNum      = 0 
    frameName    = CTE0 
    ------------------------------------------ 
    admin:/diagnose>exit
  • 显示框事件记录。
    Storage: minisystem> eam.sh showevent 
    admin:/diagnose>eam showevent 
    ALL enclosure event info: 
    frame flag   = 1 
    frame depth  = 1 
    node  Id     = 0 
    frameType    = 0 
    wwn          = 0x5fce33caa5ceb03f 6903512224263745599 
    mac          = 0xee5caa3ce3fc 262081760519164 
    fatherWwn    = 0x807060504030201 578437695752307201 
    loopNum      = 0 
    Is first     = 1 
    time stamp   = 53607 
    engid        = 0 
    expBoard Id  = 0 
    ------------------------------------------ 
    frame flag   = 1 
    frame depth  = 0 
    node  Id     = 1 
    frameType    = 1 
    wwn          = 0x807060504030201 578437695752307201 
    mac          = 0xdce27ff4379c 242865367431068 
    fatherWwn    = 0x102030405060708 72623859790382856 
    loopNum      = 0 
    Is first     = 0 
    time stamp   = 55623 
    engid        = 0 
    expBoard Id  = 0 
    ------------------------------------------ 
    frame flag   = 1 
    frame depth  = 1 
    node  Id     = 1 
    frameType    = 0 
    wwn          = 0x5fce33caa5ceb03f 6903512224263745599 
    mac          = 0xee5caa3ce3fc 262081760519164 
    fatherWwn    = 0x807060504030201 578437695752307201 
    loopNum      = 0 
    Is first     = 1 
    time stamp   = 55639 
    engid        = 0 
    expBoard Id  = 1 
    ------------------------------------------ 
    current time stamp:181084 
    admin:/diagnose>exit
  • 根据框的MAC地址,显示对应框的组网表信息。
    Storage: minisystem> eam.sh showloopmap 0xdce27ff4379c 
    admin:/diagnose>eam showloopmap 0xdce27ff4379c 
    loopmap is exist, uiFrameId is 0. 
    admin:/diagnose>exit

输出说明

无。

翻译
下载文档
更新时间:2019-07-17

文档编号:EDOC1100049100

浏览量:55569

下载量:73

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