ibswitch 监控与检查

列出几个检查监控的命令:

[root@slcc15db05 .ssh]# ssh slcc15sw-ib3

Last login: Tue Feb 28 06:57:45 2017 from slcc15db02.us.oracle.com
You are now logged in to the root shell.
It is recommended to use ILOM shell instead of root shell.
All usage should be restricted to documented commands and documented
config files.
To view the list of documented commands, use "help" at linux prompt.
[root@slcc15sw-ib3 ~]# showunhealthy
WARNING Fan 2 not present but still running at rpm 15914
WARNING Only 2 fans ok
FAILURE - 2 sensors NOT OK
[root@slcc15sw-ib3 ~]# checkpower
PSU 0 present OK
PSU 1 present OK
All PSUs OK
[root@slcc15sw-ib3 ~]# env
env       env_test  
如果有任务错误消息,运行下面命令查看详情。
[root@slcc15sw-ib3 ~]# env_test
Environment test started:
Starting Environment Daemon test:
Environment daemon running
Environment Daemon test returned OK
Starting Voltage test:
Voltage ECB OK
Measured 3.3V Main = 3.27 V
Measured 3.3V Standby = 3.37 V
Measured 12V = 11.90 V
Measured 5V = 4.97 V
Measured VBAT = 3.07 V
Measured 2.5V = 2.50 V
Measured 1.8V = 1.78 V
Measured I4 1.2V = 1.21 V
Voltage test returned OK
Starting PSU test:
PSU 0 present OK
PSU 1 present OK
PSU test returned OK
Starting Temperature test:
Back temperature 21
Front temperature 24
SP temperature 45
Switch temperature 47, maxtemperature 55
Temperature test returned OK
Starting FAN test:
Fan 0 not present
Fan 1 running at rpm 16350
WARNING Fan 2 not present but still running at rpm 15914
Fan 3 running at rpm 16132
Fan 4 not present
WARNING Only 2 fans ok
FAN test returned 2 faults
Starting Connector test:
Connector test returned OK
Starting Onboard ibdevice test:
Switch OK
All Internal ibdevices OK
Onboard ibdevice test returned OK
Starting SSD test:
SSD test returned OK
Environment test FAILED

[root@slcc15sw-ib3 ~]# sminfo
sminfo: sm lid 2 sm guid 0x212846928ba0a0, activity count 158908859 priority 14 state 3 SMINFO_MASTER
[root@slcc15sw-ib3 ~]# ibswitches
Switch : 0x00212846928ba0a0 ports 36 "SUN DCS 36P QDR slcc15sw-ib3 10.244.32.208" enhanced port 0 lid 2 lmc 0
Switch : 0x002128468f89a0a0 ports 36 "SUN DCS 36P QDR slcc15sw-ib1 10.244.32.206" enhanced port 0 lid 1 lmc 0
Switch : 0x002128468f8ca0a0 ports 36 "SUN DCS 36P QDR slcc15sw-ib2 10.244.32.207" enhanced port 0 lid 3 lmc 0

你可能感兴趣的:(ibswitch 监控与检查)