您好,欢迎访问三七文档
当前位置:首页 > 办公文档 > 述职报告 > netapp-system-health-check
1.#storageshowdisk-p//查看硬盘状态#sysconfig-r#volstatus-r2.#privsetadvanced//进入advance模式#blink_on2a.18//使2a.18硬盘灯亮起#privsetadmin//退出advance模式3.#sysconfig-r//检查磁盘情况,显示所有磁盘,有一个或多个sparedisk磁盘4.#sysconfig-v//检查所有硬件,有无failed,error,warning5#pingfilername//有无丢包现象6#ifconfig-a//主要网口状态为up7#vifstatus//vif所有端口是否正常,single和multi两种模式8#cfstatus//检查Cluster状态是否正常,正常两个节点为enable9#df//检查空间使用状况,Capacity小于等于80%正常,高于80%不正常10#sysstat3//CPU利用率应该在80%以下11#vifstat3//vif流量是否均衡12#rdfile/etc/messages//有无warning,error,failed13#diskshow-v//显示磁盘分配的Owner情况14#cifsstat//cifs操作情况15#nfsstat//nfs操作情况16#netstatifstat//网络流量统计;网络接口性能统计17#environmentstatus//设备环境状态检查18#uptime//上线时间http://主机名/na_admin宏力半导体NetappSN:3068953宏力半导体Netapp账号和密码root6dssundayprivsetadvancedoptionsautosupport.enableonoptionsautosupport.doittestoptionsautosupport.enableoffNAS*ls/etc/log/autosupport/201103071159.1.filesNAS*rdfile/etc/log/autosupport/201103071159.1.files/201103071159.11:netapp1cfenable2:netapp2cfenable3:Netapp1Cftakeover把另外一个机头的服务接过来4:Netapp1(takeover)当前是已接过来状态5:Netapp1(takeover)vfilerstatus当前netapp1机头所运行的服务vfiler0running6:Netapp1(takeover)partnervfilerstatus,显示正常,说明cluster已经成功的运行能接管所运行的服务vfiler0runningvfiler1running7:上面操作已经常可以正常接管了,现在将接管的服务应用还给另外那台机头来运行操作如下:netapp1(takeover)cfgiveback–f在接管模式下,将服务返回给原节点8:netapp1服务和应用已还给netapp2了,双机cluster运行状态正常能正常接管冗余服务显示硬盘的分配owned情况:diskshow–v如:1)neapp1diskshow-vDISKOWNERPOOLSERIALNUMBER0b.16netapp1(84203626)Pool03KR0YZBM00007608Y7DE0b.17netapp1(84203626)Pool03KR0VJ2900007609L45P0b.20NotOwnedNONE3KR0XE240000760926CP0b.21NotOwnedNONE3KR0X0J400007609MC220b.22NotOwnedNONE3KR0X63B00007609ME5J0b.23NotOwnedNONE3KR0XE38000076099U4L0b.24NotOwnedNONE3KR0X0AA000076099RFK0b.18netapp2(84203626)Pool03KR0YZBM00007608Y7DE0b.19netapp2(84203626)Pool03KR0VJ2900007609L45P2)分配硬盘到到270c其中一个机头模块上neapp1diskassign0b.200b.21?(硬盘分配到当前270c机头使用)neapp1diskassign0b.220b.230b.24–onetapp2(指定这三个硬盘分配到另外的一个270c机头上使用)则:Netapp1diskshow显示如下3)neapp1diskshowDISKOWNERPOOLSERIALNUMBER0b.16netapp1(84203626)Pool03KR0YZBM00007608Y7DE0b.17netapp1(84203626)Pool03KR0VJ2900007609L45P0b.20netapp1(84203626)Pool03KR0XE240000760926CP0b.21netapp1(84203626)Pool03KR0X0J400007609MC220b.22netapp2(84204112)Pool03KR0X63B00007609ME5J0b.23netapp2(84204112)Pool03KR0XE38000076099U4L0b.24netapp2(84204112)Pool03KR0X0AA000076099RFK0b.18netapp2(84204112)Pool03KR0YZBM00007608Y7DE0b.19netapp2(84204112)Pool03KR0VJ2900007609L45PNetapp1diskshow–a4)如果当netapp1机头没有spare盘,而netapp2还有三个spare硬盘,可把netapp2的其中一个spare盘重新分配给netapp1机头当作spare盘操作如下:Netapp2diskassign–f0b.24–sunowned把0b.24硬盘重新指定为末分配过的硬盘权限如下:Netapp2Diskshow–vDISKOWNERPOOLSERIALNUMBER0b.16netapp1(84203626)Pool03KR0YZBM00007608Y7DE0b.17netapp1(84203626)Pool03KR0VJ2900007609L45P0b.20netapp1(84203626)Pool03KR0XE240000760926CP0b.21netapp1(84203626)Pool03KR0X0J400007609MC220b.22netapp2(84204112)Pool03KR0X63B00007609ME5J0b.23netapp2(84204112)Pool03KR0XE38000076099U4L0b.24NotOwnedNONE3KR0X0AA000076099RFK0b.18netapp2(84204112)Pool03KR0YZBM00007608Y7DE0b.19netapp2(84204112)Pool03KR0VJ2900007609L45P上面0b.24为末分陪的状态;重新指定给netapp1机头使用,操作如下:Netapp2diskassign0b.24–onetapp1Netapp1sysconfig–r则会显示0b.24自动成为spare盘netapp1sysconfig-r..RAIDDiskHA.IDHASHELFBAYCHANUsed(MB/blks)Phys(MB/blks)spare0b.248b22FC:B068444/140174232注:如果硬盘坏了换新的硬盘时如果系统当时没有分配的话则输入如下指令重新分配给所需的机头既可:Diskassignxxxxxx目测现场首先进行指示灯和LCD面板检查,判断是否有异常情况发生。?硬件状态检查Filersysconfig–r检查磁盘情况正常情况:发现所有磁盘,每个机头都有一个或多个sparedisk。非正常情况:任何一个机头一个sparedisk都没有,就是非正常情况。Filersysconfig–v检查所有硬件以上显示结果应该没有failed,error,warning等字样.?检查网络是否正常使用ping存储设备IP地址,输入:pingFILERNAME检查FILERNAME机头的网络连通性。正常情况:有相应,无丢包。非正常情况:ping不通或者丢包严重。Filerifconfig–a主要网口状态应为upFilervifstatusVIF所有端口是否正常?检查CLUSTER状态是否正常Filercfstatus正常情况:2个节点状态应该为enableNetApp存储系统维护手册19非正常情况:任何一个机头显示非如上所示,就属于非正常情况。?检查卷容量是否正常使用df检查空间使用状况。Filerdf正常情况:capacity低于或等于80%。非正常情况:capacity高于80%。?性能检查Filersysstat3CPU利用率应该在80%以下Filervifstat3vif流量是否均衡?日志文件检查Filerrdfile/etc/messages仔细检查是否有failed,error,warning等字样.如有,则记录下来autosupport=====SYSCONFIG-M=====!SystemSerialNumber!3068953!!ModelName!FAS3020!!SystemID!0101184558!!Kernelversion!NetAppRelease7.2.7:ThuOct2208:07:09PDT2009!!SystemRev!C0!!Firmwarerelease!CFE3.0.0!!MotherBoard!0366475!110-00081!A1!!PS1!SF18698!114-00024!A0!!PS2!SF18770!114-00024!A0!!DIMM1!BA-00-0611-00009449!69001791-H00-NTA-T!!DIMM2!BA-00-0611-00009448!69001791-H00-NTA-T!!DiskSerialNumber!A82EJLNE!X266_MTOMC320PSX!!!DiskSerialNumber!A82EHKBE!X266_MTOMC320PSX!!!DiskSerialNumber!A82EK78E!X266_MTOMC320PSX!!!DiskSerialNumber!A82DYXRE!X266_MTOMC320PSX!!!DiskSerialNumber!A82E71ZE!X266_MTOMC320PSX!!!DiskSerialNumber!A82EJAPE!X266_MTOMC320PSX!!!DiskSerialNumber!A82EJKJE!X266_MTOMC320PSX!!!DiskSerialNumber!A82YJ11E!X266_MTOMC320PSX!!!DiskSerialNumber!A82EJBWE!X266_MTOMC320PSX!!!DiskSerialNumber!A831T7HE!X266_MTOMC320PSX!!!DiskSerialNumber!A82E5ENE!X266_MTOMC320PSX!!!DiskSerialNumber!A82E8YCE!X266_MTOMC320PSX!!!DiskSerialNumber!A82EBR6E!X266_MTOMC320PSX!!!DiskSerialNumber!A82ET4DE!X266_MTOMC320PSX!!!DiskSerialNumber!A82ES0SE!X266_MTOMC320PSX!!!DiskSerialNumber!A82E3BME!X266_MTO
本文标题:netapp-system-health-check
链接地址:https://www.777doc.com/doc-4733455 .html