资源描述
三:查看报错信息主要查看硬件的永久性报错#errpt-dH|pg软件的永久性报错#errpt-dS|pg系统报警灯四、机器的序列号#uname-MuIBM,9131-52AIBM,030666C5G五、操作系统版本:#oslevel-r# oslevel-r5300-05注:有时候不能使用是因为系统版本低的原因。六、其他检测1、执行sysdumpdevl检查dump是否设置为alwaysallowsysdump;# sysdumpdev-lprimary/dev/hd6secondary/dev/sysdumpnullcopydirectory/var/adm/rasforcedcopyflagTRUEalwaysallowdumpFALSEdumpcompressionON2、执行sysdumpdeve检查当前dump大小应该为主dump设备的大小的80%以下;# sysdumpdev-e0453-041Estimateddumpsizeinbytes:1704984573、执行lsvg-lrootvg检查有否stale状态的逻辑卷;# lsvg-lrootvgrootvg:LVNAMETYPELPsPPsPVsLVSTATEMOUNTPOINThd5boot122closed/syncdN/Ahd6paging242open/syncdN/Ahd8jfs2log122open/syncdN/Ahd4jfs240802open/syncd/hd2jfs28162open/syncd/usrhd9varjfs2122open/syncd/varhd3jfs28162open/syncd/tmphd1jfs240802open/syncd/homehd10optjfs2122open/syncd/optfwdumpjfs2122open/syncd/var/adm/ras/platform4、执行lsps-s检查内存交换区占用情况;#lsps-sTotalPagingSpacePercentUsed512MB1%#lsps-aPageSpacePhysicalVolumeVolumeGroupSize%UsedActiveAutoTypehd6hdisk0rootvg512MB1yesyeslv5、执行df-m检查文件系统的分配状况,一般不要超过80%;# df-mFilesystemMBblocksFree%UsedIused%IusedMountedon/dev/hd410240.006614.8836%185512%/dev/hd22048.00667.2568%3742520%/usr/dev/hd9var256.00246.134%4771%/var/dev/hd32048.001212.2441%28642%/tmp/dev/fwdump256.00255.641%41%/var/adm/ras/platform/dev/hd110240.007713.1525%25261%/home/proc/proc/dev/hd10opt256.00205.6120%9763%/opt6、执行IsdevCcdisk检查硬盘状态为available;# lsdev-Ccdiskhdisk0Available04-08-00-8,016BitLVDSCSIDiskDrivehdisk1Available04-08-00-5,016BitLVDSCSIDiskDrive7、执行IsdevCcadapter检查PCI卡状态为available;# lsdev-Ccadapterent0Available09-082-Port10/100/1000Base-TXPCI-XAdapter(14108902)ent1Available09-092-Port10/100/1000Base-TXPCI-XAdapter(14108902)ide0Available03-08ATA/IDEControllerDevicelai0Available0C-00GXT135PGraphicsAdaptersisscsia0Available04-08PCI-XDualChannelUltra320SCSIAdapterusbhc0Available08-08USBHostController(33103500)usbhc1Available08-09USBHostController(33103500)vsa0AvailableLPARVirtualSerialAdaptervsa1AvailableLPARVirtualSerialAdapter&执行IsdevCctape检查磁带机状态为available;# lsdev-Cctapermt0Available04-08-00-0,0LVDSCSI4mmTapeDrive9、执行lsdevCcprocessor检查CPU状态为available;# lsdev-Ccprocessorproc0Available00-00Processorproc2Available00-02Processor10、执行IsattrElsys0|grepautorestart检查系统crash后是否自动重新启动;# lsattr-Elsys0|grepautorestartautorestarttrueAutomaticallyREBOOTsystemafteracrashTrue# chdev-lsys0-aautorestart=false修改autorestart值为False;11、执行IsattrElsys0|grep卬uguard检查CPUGUARD是否开启;# lsattr-Elsys0|grepcpuguardcpuguardenableCPUGuardTrue# chdev-lsys0-acpuguard=false修改cpuguard值为False;12、执行lsattrElmem0检查内存状态,正常状态size=goodsize;# lsattr-Elmem0goodsize3920AmountofusablephysicalmemoryinMbytesFalsesize3920TotalamountofphysicalmemoryinMbytesFalse13、执行vmstat、iostat、topas观察us,sy,pi,po,内存占用率,硬盘读写速度等检查是否有性能瓶颈;a)CPU性能:使用vmstat,topas来检查;b)内存使用情况:也是使用topas,vmstat来检查;c)检查10平衡使用情况:使用iostat来检查;d)交换空间使用情况:使用lspsa来检查;# vmstatSystemconfiguration:lcpu=4mem=3920MBkthrmemorypagefaultscpurbavmfrerepipofrsrcyinsycsussyidwa11147268831951000000213506700990#topasTopasMonitorforhost:IBMSimEVENTS/QUEUESFILE/TTYMonFeb2516:21:132008Interval:2Cswitch66Readch6Syscall1375Writech176Kernel0.1|#|Reads0Rawin0User0.1|#|Writes0Ttyout176Wait0.0|Forks0Igets0Idle99.8|#|Execs0Namei0Runqueue0.0Dirblk0NetworkKBPSI-Pack0-PackKB-InKB-0utWaitqueue0.0en10.20.50.50.00.2en00.00.00.00.00.0PAGINGMEM0RYlo00.00.00.00.00.0Faults0Real,MB3920Steals0%Comp15.9DiskBusy%KBPSTPSKB-ReadKB-WritPgspIn0%Noncomp2.1hdisk00.00.00.00.00.0PgspOut0%Client2.1hdisk10.00.00.00.00.0PageIn0cd00.00.00.00.00.0PageOut0PAGINGSPACESios0Size,MB512NamePIDCPU%PgSpOwner%Used1.1dtgreet943180.11.3rootNFS(calls/sec)%Free98.8topas3236760.01.0rootServerV20gil696660.00.9rootClientV20Press:X1311800.03.6rootServerV30hforhelprpc.lock3032780.01.2rootClientV30qtoquitsendmail2335860.00.9rootnetm655680.00.4rootxmwlm1886420.00.8rootsyncd1270700.00.5rootxmgc491760.00.4rootIBM.CSMA3073680.01.9rootpsmd245880.00.5rootwlmsched737640.00.5rootj2pg820000.02.0rootusbCfgDe860800.00.4rootdtlogin902380.00.4rootvmptacrt204900.00.4rootaioserve984960.00.4rootlvmbb1024760.00.4rootdog1066220.00.9root#iostatSystemconfiguration:lcpu=4drives=3paths=2vdisks=0tty:tintoutavg-cpu:%user%sys%idle%iowait0.02.50.10.199.80.0Disks:%tm_actKbpstpsKb_readKb_wrtnhdisk00.10.90.287764153601hdisk10.10.60.18694153601cd00.00.00.000#lsps-aPageSpacePhysicalVolumeVolumeGroupSize%UsedActiveAutoTypehd6hdisk0rootvg512MB1yesyeslv14、执行ifconfig-a查看网卡是否启动(UP);#ifconfig-aen0:flags=5e080863,c0inet192.168.3.1netmask0xffffff00broadcast192.168.3.255tcp_sendspace131072tcp_recvspace65536en1:flags=5e080863,c0inet192.168.7.8netmask0xff37ff00broadcast192.232.7.255tcp_sendspace131072tcp_recvspace65536lo0:flags=e08084binet127.0.0.1netmask0xff000000broadcast127.255.255.255inet6:1/0tcp_sendspace131072tcp_recvspace131072rfc13231#ifconfigen0up/down修改网卡状态;15、执行netstat-in和netstat-rn观察网络状态;#netstat-rnRoutingtablesDestinationGatewayFlagsRefsUseIfExpGroupsRouteTreeforProtocolFamily2(Internet):default192.168.7.253UG16141en1-127/8127.0.0.1U5339lo0-192.32.7.0192.168.7.8UHSb00en1-=192.32.7192.168.7.8U220955en1-192.168.3.0192.168.3.1UHSb00en0-=192.168.3/24192.168.3.1U02en0-192.168.3.1127.0.0.1UGHS7313lo0-192.168.3.255192.168.3.1UHSb04en0-192.168.7.8127.0.0.1UGHS01lo0-192.232.7.255192.168.7.8UHSb04en1-RouteTreeforProtocolFamily24(Internetv6):1:1UH00lo0-#netstat-inNameMtuNetworkAddressIpktsIerrsOpktsOerrsCollen01500link#20.14.5e.97.1.14215056130en01500192.168.3192.168.3.1215056130en11500link#30.14.5e.97.1.153725402710670en11500192.32.7192.168.7.83725402710670lo016896link#1655066100lo016896127127.0.0.1655066100lo016896:165506610016、执行entstat-denX检测网卡运行速率与交换机速率是否匹配(网卡速率由10M半工改为自适应时,缺省网关会丢失。更改网卡速率后需要在系统中执行smittyroute操作重新激活缺省路由。如果进行网卡速率的调整,请务必小心);#entstat-den0ETHERNETSTATISTICS(en0):DeviceType:2-Port10/100/1000Base-TXPCI-XAdapter(14108902)HardwareAddress:00:14:5e:97:01:1417、执行ping命令检查网络连接状况;18、执行lsdev-C|grepaio检查异步IO是否可用;# lsdev-C|grepaioaio0AvailableAsynchronousI/O(Legacy)posix_aio0DefinedPosixAsynchronousI/O19、执行lssrc-gcluster查看是否有三个进程均为active状态;# lssrc-gcluster20、执行/usr/sbin/cluster/clstata查看cluster状态是否正常;21、检查/etc/hosts,确保双机配置中IP别名不会存在包含关系(share_ip1包含了share_ip);22、执行more/usr/es/adm/cluster.log、more/usr/es/sbin/cluster/history/*、cat/tmp/hacmp.out检查这三个日志中是否有error或者fail;23、检查7133面板上的指示灯,如果黄灯亮则需要诊断问题;24、HOTspare磁盘检测(1) 、检查是否有raid保护#smittyssaraid-ListAllDefinedSSARAIDArrays(2) 、检查是否有HotSpare#smittyssaraid-ListComponentsinaHotSparePoolListAllDefinedSSARAIDArrays查看71330对于7133,执行Smittyssaraidraid状态,正常应该为good状态。Change/ShowUseofanSSA对于7133,执行SmittyssaraidPhysicalDisk查看7133硬盘状态,正常应该为member或者spare状态对于FastT,分别登录上两个controller,查看是否有错误日志。
展开阅读全文