《hp小型机日常检查命令手册》由会员分享,可在线阅读,更多相关《hp小型机日常检查命令手册(21页珍藏版)》请在金锄头文库上搜索。
1、惠普设备维护培训惠普设备维护培训日常检查命令日常检查命令中国惠普有限公司支持服务事业部 QIAN QIAN YunYun2004.42004.4日常维护检查项目系统日志syslog.log,ccerrlog,dmesg系统运行状态cmviewcl、bdf、ioscan、vgdisplay、top、sar、swapinfo、netstat磁盘阵列状态armdsp a vaarraydsp a autoraidamdsp afc60/var/adm/syslog/syslog.log应检查的内容:有无SCSI Reset告警(启动前后的SCSI reset信息可忽略)有无EMS告警。如:Aug 1
2、2 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为Majorwa
3、rning、Serious或Critical的报警都应关注。有无“PV Powerfail”、”IO error”报错LPMC如有重起操作,建议保存当前的syslog日志Syslog是系统重起到当前的日志,重起后将自动保存为OLDsyslog.logccerrlog283 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; St
4、atus: 15 Logged by power monitor 0 during monitoring of low voltage power supply 0x0020016a4402404f 0x0000000000000000 0x5820096a4402404f 0x000067071113103a执行cclogview /var/stm/logs/os/ccerrlog,可以通过telnet检查GSP/MP 里的告警日志情况。 应注意检查是否有Alert Level大于等于2的新条目dmesg$Revision: vmunix: vw: -proj selectors: CUPI
5、80_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 bytesPhysical: 4177920 Kbytes, lockable: 3859368 Kbytes, available: 3859944 KbytesUsing 3162 buffers con
6、taining 24576 Kbytes of memory.驻留在内存中的系统最近一段时间的日志信息:常见的异常信息:SCSI Reset DetectedLPMC I-Cache errorFile System Full发现后应及时察看syslog.log中的相应条目cmviewclCLUSTER STATUS hpcluster up NODE STATUS STATE GMS_STATE bjscp1a up running halted Network_Parameters:INTERFACE STATUS PATH NAME PRIMARY up 0/5/0/0 lan1 PRI
7、MARY up 0/0/0/0 lan0 STANDBY up 1/12/0/0 lan2 PACKAGE STATUS STATE AUTO_RUN NODE scppkg up running enabled bjscp1a NODE STATUS STATE GMS_STATE bjscp1b up running halted Network_Parameters:INTERFACE STATUS PATH NAME PRIMARY up 0/5/0/0 lan1 STANDBY up 1/12/0/0 lan2 PRIMARY up 0/0/0/0 lan0 观察双机状态,执行cmv
8、iewcl v,确认STATUS和STATE为up 和running, 同时包自动切换(AUTO_RUN)属性为enablebdfFilesystem kbytes used avail %used Mounted on/dev/vg00/lvol3 204800 48168 155424 24% /dev/vg00/lvol1 295024 38856 226664 15% /stand/dev/vg00/lvol8 4706304 1523976 3157592 33% /var/dev/vg00/lvol7 1163264 708304 451464 61% /usr/dev/vg00/
9、lvol4 204800 96408 107568 47% /tmp/dev/vg00/lvol6 1048576 766024 280360 73% /opt/dev/vg00/lvol5 1048576 4456 1036024 0% /home检查文件系统的使用率应检查有无使用率大于90%的文件系统ioscan -fnClass I H/W Path Driver S/W State H/W Type Description=root 0 root CLAIMED BUS_NEXUS ioa 0 0 sba CLAIMED BUS_NEXUS System Bus Adapter (80
10、3)ba 0 0/0 lba CLAIMED BUS_NEXUS Local PCI Bus Adapter (782)lan 0 0/0/0/0 btlan3 CLAIMED INTERFACE HP PCI 10/100Base -TX Core/dev/diag/lan0 /dev/ether0 ext_bus 0 0/0/1/0 c720 CLAIMED INTERFACE SCSI C895 Ultra Wide Single-Endedtarget 0 0/0/1/0.1 tgt CLAIMED DEVICE disk 0 0/0/1/0.1.0 sdisk NO_HW DEVIC
11、E HP DVD-ROM 305/dev/dsk/c0t1d0 /dev/rdsk/c0t1d0检察IO设备是否正常应检查有无状态为NO_HW的设备vgdisplay- Volume groups -VG Name /dev/vg00VG Write Access read/write VG Status available Max LV 255 - Logical volumes -LV Name /dev/vg00/lvol1LV Status available/syncd LV Size (Mbytes) 100 Current LE 25 Allocated PE 50 Used P
12、V 2 - Physical volumes -PV Name /dev/dsk/c4t0d0PV Name /dev/dsk/c6t0d0Alternate LinkPV Status available Total PE 12992 Free PE 0 Autoswitch Off 显示卷组状态,重点检查vg00,执行vgdisplay v vg00检查各项status值为available/sync,不是staletopCPU LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS0 0.28 20.2% 0.0% 2.6% 77.2% 0.0% 0.0% 0.0%