1 Brocade设备日常状态检查
1.1 Brocade 5100状态灯检查
端口状态检查
电源及风扇状态检查
1.1 Brocade 48000状态灯检查
端口状态检查
电源及风扇状态检查
1.1 Brocade DCX状态灯检查
端口状态检查
电源及风扇状态检查
2 Brocade设备日常巡检命令及日志收集
2.1 登陆到Brocade光纤交换机
2.1.1 串口线登陆
1)交换机自带一个串口线。将串口盖拿掉,将串口线连接上去
2)连接串口线到笔记本/工作站上的串口。
3)关闭工作站上的串口通讯程序
4)打开“超级终端”,配置如下:
5)确认交换机已经完成POST
6)当超级终端停止报告信息,按“Enter” 显示login信息,login
7) 默认用户:admin,默认密码:password。
2.1.2 网络管理口连接登陆
用telnet工具或者ssh通过Brocade 光纤交换机 IP地址登陆。默认用户:admin,默认密码:password。
2.2 Brocade设备日常巡检命
2.2.1 Uptime显示交换机工作时间
显示交换机工作时间
检查该交换机当前时钟,目前有几个用户登录到这台交换机,以及它已经正常工作了多长时间等信息。
itch:admin> uptime
12:03am up 4:56, 3 users, load average: 1.17, 1.08, 1.08
2.2.2 Ipaddrshow显示交换机IP地址信息
显示交换机IP地址信息
switch:admin> ipaddrshow
SWITCH
Ethernet IP Address: 192.168.163.238
Ethernet Subnetmask: 255.255.255.0
Gateway IP Address: 192.168.163.1
DHCP: Off
IPv6 Autoconfiguration Enabled: No
Local IPv6 Addresses:
static 1080::8:800:200c:417a/64
2.2.3 Licenseshow显示当前交换机所添加的license信息
显示当前交换机所添加的license信息
licenseshow:
cedbR9SRydfecSv:
Web license
ReQebdQeS9SfRfcr:
Zoning license
SdSddRczSSTeTeeb:
Fabric license
2.2.4 Switchshow检查交换机信息及端口状态
检查交换机信息及端口状态
switch:admin> switchshow
switchName: sw0
switchType: 66.1
switchState: Online
switchMode: Native
switchRole: Subordinate
switchDomain: 2
switchId: fffc02
switchWwn: 10:00:00:05:1e:57:b3:06
zoning: OFF
switchBeacon: OFF
FC Router: ON
FC Router BB Fabric ID: 128
Index Port Address Media Speed State Proto
==============================================
0 0 020000 id N4 No_Light FC
1 1 020100 id N4 In_Sync FC Disabled
2 2 020200 id N4 No_Light FC
3 3 020300 id N4 No_Light FC
2.2.5 Switchstatusshow显示交换机运行状态
显示交换机运行状态
重点检查如果交换机状态为healthy,则表示交换机当前运行正常,如果有不是healthy的状态出现,则需要根据具体问题使用相关命令继续检查。
switch:user> switchstatusshow
Switch Health Report Report time: 09/11/2006 05:39:28 PM
Switch Name: switch
IP address: 1080::8:800:200C:417A
SwitchState: MARGINAL
Duration: 80:12
Power supplies monitor HEALTHY
Temperatures monitor HEALTHY
Fans monitor HEALTHY
Flash monitor MARGINAL
Marginal ports monitor HEALTHY
Faulty ports monitor HEALTHY
Missing SFPs monitor HEALTHY
All ports are healthy
2.2.6 Firmwareshow显示微码版本信息
显示微码版本信息
检查交换机当前微码是否符合微码评估要求,是否存在Bug,是否需要升级
firmwareshow:
Slot Name Appl Primary/Secondary Versions Status
------------------------------------------------------------------------
5 CP0 FOS v5.3.0c STANDBY
v5.3.0c
6 CP1 FOS v5.3.0c ACTIVE *
v5.3.0c
2.2.7 Fansho显示风扇运行状态
显示风扇运行状态
重点检查当前交换机散热风扇状态是否为OK
fanshow:
Fan 1 is Ok, speed is 2020 RPM
Fan 2 is Ok, speed is 1985 RPM
Fan 3 is Ok, speed is 1985 RPM
2.2.8 Tempsho显示交换机当前温度信息
显示交换机当前温度信息
检查当前交换机的温度传感器是否为OK状态
tempshow:
Sensor Slot State Centigrade Fahrenheit
ID
=====================================================
1 1 Absent
2 2 Absent
3 3 Ok 31 87
4 4 Ok 31 87
5 5 Ok 31 87
6 6 Ok 32 89
7 7 Ok 32 89
8 8 Absent
9 9 Absent
10 10 Absent
2.2.9 Psshow显示电源运行状态
显示电源运行状态:
电源状态都是OK则表明电源运行正常,absent表示没有插电源。
psshow:
Power Supply #1 is OK
DELTA DPS1001AB-1EM 23020000603 01 FL2L9025586
Power Supply #2 is OK
DELTA DPS1001AB-1EM 23020000603 01 FL2L9025567
Power Supply #3 is absent
Power Supply #4 is absent
2.2.10 Slotshow显示板卡运行状态
显示板卡运行状态
如果板卡状态为ENABLE,则表示此槽位板卡正常
如果板卡状态为VACANT,板卡类型为UNKNOWN,则需要根据具体配置情况检查该槽位是否真的没有插卡,如确实没有插卡,则此状态正常。
slotshow:
Slot Blade Type ID Status
---------------------------------
1 UNKNOWN VACANT
2 UNKNOWN VACANT
3 SW BLADE 36 ENABLED
4 SW BLADE 36 ENABLED
5 CP BLADE 16 ENABLED
6 CP BLADE 16 ENABLED
7 SW BLADE 36 ENABLED
8 UNKNOWN VACANT
9 UNKNOWN VACANT
10 UNKNOWN VACANT
2.2.11 Hashow显示CP板卡HA状态
显示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信息与实际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 >"gssw1"
120: fffc78 10:00:00:05:1e:05:96:a2 192.168.70.129 0.0.0.0 "brocade4Gb"
121: fffc79 10:00:00:05:1e:05:96:a7 192.168.70.130 0.0.0.0 "brocade4Gb"
2.2.14 Cfgshow显示交换机配置信息
显示交换机配置信息
检查交换机zoning信息是否符合配置要求
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
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 光纤交换机:
如前所述,使用串口登陆或者网络管理口登陆均可用命令“configupload”完成配置文件备份任务,检查配置文件正确可用后请妥善保管。
2.4 Brocade光纤交换机错误信息收集
假如Brocade光纤交换机发生了故障,请立即收集下列信息(用caputure方式),并把收集到的信息提交给技术支持工程师。请务必保存故障发生时的相关日志及错误信息,方便以后故障分析!
2.4.1 supportshow
2.4.2 supportsave
收supportsave
评论区