当前位置:首页 > Brocade SAN Switch日常维护手册
Brocade SAN Switch 日常维护手册
8 UNKNOWN VACANT 9 UNKNOWN VACANT 10 UNKNOWN VACANT
2.2.11 Hashow
显示CP板卡HA状态
重点检查active CP板卡和standby CP板卡状态是否为health 检查HA状态是否为enabled和synchronized switch:admin> hashow
Local CP (Slot 6, CP0): Active, Warm Recovered Remote CP (Slot 7, CP1): Standby, Healthy
HA enabled, Heartbeat Up, HA State synchronized
2.2.12 Errdump
显示错误日志
重点检查错误日志中是否存在ERROR或者WARNING信息
errdump: Fabric OS: v5.3.0c
2007/12/20-16:23:55, [ZONE-1004], 248,, INFO, gssw1, port 66 enforcement changed to Session Based HARD Zoning. 2007/12/20-16:36:58, [ZONE-1004], 249,, INFO, gssw1, port 66 enforcement changed to Session Based HARD Zoning. 2007/12/20-16:58:53, [ZONE-1004], 250,, INFO, gssw1, port 288 enforcement changed to Session Based HARD Zoning. 2007/12/20-17:07:57, [ZONE-1004], 251,, INFO, gssw1, port 304 enforcement changed to Session Based HARD Zoning. 2009/04/13-21:44:42, [EM-1034], 2,, ERROR, SilkWorm48000, PS 2 set to faulty, rc=2000e.
2009/06/16-15:15:53, [FW-1424], 42,, WARNING, swd77, Switch status changed from HEALTHY to DOWN.
2.2.13 Fabricshow
显示fabric信息
重点检查Fabric信息与实际Fabric中交换机数量是否一致
fabricshow:
Switch ID Worldwide Name Enet IP Addr FC IP Addr Name -------------------------------------------------------------------------
100: fffc64 10:00:00:05:1e:36:39:54 10.77.77.77 0.0.0.0 >\
120: fffc78 10:00:00:05:1e:05:96:a2 192.168.70.129 0.0.0.0 \121: fffc79 10:00:00:05:1e:05:96:a7 192.168.70.130 0.0.0.0 \
2.2.14 Cfgshow
显示交换机配置信息
检查交换机zoning信息是否符合配置要求
第 13 页 共 21 页
Brocade SAN Switch 日常维护手册
switch:admin> cfgshow Defined configuration:
cfg: USA1 Blue_zone
cfg: USA_cfg Red_zone; Blue_zone zone: Blue_zone
1,1; array1; 1,2; array2 zone: Red_zone 1,0; loop1
alias: array1 21:00:00:20:37:0c:76:8c; 21:00:00:20:37:0c:71:02 alias: array2 21:00:00:20:37:0c:76:22; 21:00:00:20:37:0c:76:28 alias: loop1 21:00:00:20:37:0c:76:85; 21:00:00:20:37:0c:71:df
Effective configuration: cfg: USA_cfg zone: Blue_zone 1,1
21:00:00:20:37:0c:76:8c 21:00:00:20:37:0c:71:02 1,2
21:00:00:20:37:0c:76:22 21:00:00:20:37:0c:76:28 zone: Red_zone 1,0
21:00:00:20:37:0c:76:85 21:00:00:20:37:0c:71:df
2.2.15 Porterrshow
显示交换机端口错误统计
重点关注Crc_Err和Enc_Out报错信息
注意:对于Loss of Sync; Loss of Signal; Enc_Out Error这些报错,客户每次重启主机或存储,重新插拔光纤线,禁用或启用端口等动作都会产生此类报错。当端口进行速率协商时,Enc_Out Errors也会产生。如果设备速率已知,则可以通过portcfgspeed命令来固定端口速率,以便跟踪这个报错是否为端口速率协商所致。根据经验统计,如果Enc_Out报错单独产生很可能是光纤线问题,如果Enc_Out和Crc_Err一起产生则很大的可能是GBIC/SFP问题导致。
porterrshow:
frames enc crc too too bad enc disc link loss loss frjt fbsy tx rx in err shrt long eof out c3 fail sync sig
===================================================================== 32: 1.1g 702m 0 0 0 0 0 16k 146 1 6 9 0 0 33: 0 0 0 0 0 0 0 0 0 0 0 2 0 0 34: 0 0 0 0 0 0 0 0 0 0 0 2 0 0
第 14 页 共 21 页
Brocade SAN Switch 日常维护手册
35: 11 14 0 0 0 0 0 0 0 0 6 9 0 0 36: 0 0 0 0 0 0 0 0 0 0 0 2 0 0 37: 0 0 0 0 0 0 0 0 0 0 0 2 0 0 38: 0 0 0 0 0 0 0 0 0 0 0 2 0 0 Porterrshow相关信息描述
Values for the following parameters are displayed: frames tx Frames transmitted frames rx Frames received
enc in Encoding errors inside frames crc err Frames with CRC errors
crc g_eof Frames with CRC errors with good EOF. too shrt Frames shorter than minimum too long Frames longer than maximum
bad eof Frames with bad end-of-frame delimiters enc out Encoding error outside of frames disc c3 Class 3 frames discarded
link fail Link failures (LF1 or LF2 states) loss sync Loss of synchronization
loss sig Loss of signal (increments whenever an SFP is removed) frjt Frames rejected with F_RJT fbsy Frames busied with F_BSY
2.3 Brocade光纤交换机配置文件备份
实施安装完Brocade 光纤交换机后、更改Brocade 光纤交换机配置、在SAN中添加或者更换交换机时、在升级Brocade 光纤交换机微码之前,都应该在一台PC机器(安装了FTP服务器)上创建每台光纤交换机配置文件的备份。
配置文件备份的作用: ? 灾难恢复 ? 故障诊断及恢复
? 恢复一台无效配置的交换机 ? 修改或者扩展SAN ? 恢复意外删除的许可 ? 恢复或者重配分区配置 首先登陆到Brocade 光纤交换机:
第 15 页 共 21 页
Brocade SAN Switch 日常维护手册
如前所述,使用串口登陆或者网络管理口登陆均可用命令“configupload”完成配置文件备份任务,检查配置文件正确可用后请妥善保管。
配置文件备份命令 configupload 结果 执行人/时间 2.4 Brocade光纤交换机错误信息收集
假如Brocade光纤交换机发生了故障,请立即收集下列信息(用caputure
方式),并把收集到的信息提交给技术支持工程师。 请务必保存故障发生时的相关日志及错误信息,方便以后故障分析! 第 16 页 共 21 页
共分享92篇相关文档