当前位置:文档之家› HP小型机日常检查命令手册

HP小型机日常检查命令手册


tgt sdisk
CLAIMED NO_HW
DEVICE DEVICE /dev/rdsk/c0t1d0 HP DVD-ROM 305
/dev/dsk/c0t1d0
应检查有无状态为NO_HW的设备
vgdisplay
显示卷组状态,重点检查vg00,执行vgdisplay –v vg00
--- Volume groups --VG Name VG Write Access VG Status Max LV …… --- Logical volumes --LV Name LV Status LV Size (Mbytes) Current LE Allocated PE Used PV …… --- Physical volumes --PV Name PV Name PV Status Total PE Free PE Autoswitch /dev/dsk/c4t0d0 /dev/dsk/c6t0d0 available 12992 0 Off Alternate Link /dev/vg00/lvol1 available/syncd 100 25 50 2 /dev/vg00 read/write available 255
---- ----- ----- ----- ----- ----- ----- ----- ----0.25 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0%
Memory: 1106604K (999800K) real, 1527608K (1362680K) virtual, 1987924K free
STATE running
AUTO_RUN enabled
NODE bjscp1a
STATUS up
STATE running
GMS_STATE halted
Network_Parameters: INTERFACE PRIMARY STANDBY PRIMARY STATUS up up up PATH 0/5/0/0 1/12/0/0 0/0/0/0 NAME lan1 lan2 lan0
ba
lba
CLAIMED
BUS_NEXUS
Local PCI Bus
lan
btlan3
CLAIMED
INTERFACE
HP PCI
/dev/diag/lan0 /dev/ether0 ext_bus 0 0/0/1/0 Wide Single-Ended target disk 0 0 0/0/1/0.1 0/0/1/0.1.0 c720 CLAIMED INTERFACE SБайду номын сангаасSI C895 Ultra
/var/adm/syslog/syslog.log
Syslog是系统重起到当前的日志,重起后将自动保存为OLDsyslog.log 应检查的内容: 应检查的内容: • • 有无SCSI Reset告警 启动前后的SCSI reset信息可忽略 告警( 信息可忽略) 有无SCSI Reset告警(启动前后的SCSI reset信息可忽略) 有无EMS告警。 有无EMS告警。如: EMS告警 Aug 12 09:43:05 bj_rz3 EMS [2286]: ------ EMS Event Notification -----Value: "SERIOUS (4)" for Resource: "/system/events/core_hw/core_hw" (Threshold: >= " 3") Execute the following command to obtain event details: /opt/resmon/bin/resdata -R 149815298 -r /system/events/core_hw/core_hw -n 149815299 -a 凡是Value为Majorwarning、Serious或Critical的报警都应关注。 凡是Value为Majorwarning、Serious或Critical的报警都应关注。 Value 的报警都应关注 • • 有无“ Powerfail”、 error”报错 有无“PV Powerfail 、”IO error 报错 LPMC
检查各项status值为available/sync,不是stale
top
观察CPU和内存使用情况
CPU 0 1 2 3 4 5 6 7 --avg LOAD USER NICE 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% SYS IDLE BLOCK SWAIT 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% INTR 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% SSYS 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0%
应注意检查是否有Alert Level大于等于2的新条目
dmesg
驻留在内存中的系统最近一段时间的日志信息:
…… $Revision: vmunix: vw: -proj selectors: CUPI80_BL2000_1108 -c 'Vw for CUPI80_BL2000_1108 build' -- cupi80_bl2000_1108 'CUPI80_BL2000_1108' Wed Nov 8 19:24:56 PST 2000 $ Memory Information: physical page size = 4096 bytes, logical page size = 4096 bytes Physical: 4177920 Kbytes, lockable: 3859368 Kbytes, available: 3859944 Kbytes
cmviewcl
观察双机状态,执行cmviewcl –v,确认STATUS和STATE为up 和running, 同时包自动切换(AUTO_RUN)属性为enable
CLUSTER hpcluster STATUS up
NODE bjscp1a
STATUS up
STATE running
GMS_STATE halted
4706304 1523976 3157592 1163264 204800 708304 96408 451464 107568
1048576 766024 280360 1048576 4456 1036024
应检查有无使用率大于90%的文件系统
ioscan -fn
检察IO设备是否正常
Class I H/W Path Driver S/W State H/W Type Description
Using 3162 buffers containing 24576 Kbytes of memory. 常见的异常信息: 常见的异常信息: SCSI Reset Detected ILPMC I-Cache error File System Full
发现后应及时察看syslog.log中的相应条目 发现后应及时察看syslog.log中的相应条目 syslog.log
0.28 20.2% 0.17 14.6% 0.33 18.6% 0.20 13.0% 0.11 14.4% 0.44 19.8% 0.28 13.2% 0.17 14.8%
2.6% 77.2% 3.4% 82.0% 3.0% 78.4% 4.2% 82.8% 2.0% 83.6% 4.2% 76.0% 11.2% 75.6% 1.8% 83.4%
惠普设备维护培训 日常检查命令
QIAN Yun 2004.4
中国惠普有限公司
支持服务事业部
日常维护检查项目

系统日志 syslog.log,ccerrlog,dmesg

系统运行状态 cmviewcl、bdf、ioscan、vgdisplay、top、sar、swapinfo、netstat

磁盘阵列状态 armdsp –a arraydsp –a amdsp –a va autoraid fc60
如有重起操作,建议保存当前的syslog日志 如有重起操作,建议保存当前的syslog日志 syslog
ccerrlog
执行cclogview /var/stm/logs/os/ccerrlog,可以通过telnet检查GSP/MP 里的告警日志情况。
283 PM 0 *6 08/17/2003 19:16:58 Log Entry 283: 08/17/2003 19:16:58 Alert Level 6: System could fail - attention required; Keyword: Bulk power supply (BPS) 2 failed; Status: 15 Logged by power monitor 0 during monitoring of low voltage power supply 0x0020016a4402404f 0x0000000000000000 0x5820096a4402404f 0x000067071113103a
sar -u
观察CPU使用情况: sar –u –M 3 10
10:02:18 10:02:21 cpu 0 1 2 3 4 5 6 7 system %usr 37 18 15 9 21 23 10 15 19 %sys 2 5 10 4 3 2 4 5 5 %wio 1 1 2 2 1 4 3 1 2 %idle 60 75 72 85 75 70 83 79 75
相关主题