Chinaunix首页 | 论坛 | 博客
  • 博客访问: 91763806
  • 博文数量: 19283
  • 博客积分: 9968
  • 博客等级: 上将
  • 技术积分: 196062
  • 用 户 组: 普通用户
  • 注册时间: 2007-02-07 14:28
文章分类

全部博文(19283)

文章存档

2011年(1)

2009年(125)

2008年(19094)

2007年(63)

分类:

2008-04-20 11:25:11

作者:痴痴地等   
系统属性: 
lsattr -E -l sys0 

1. 系统错误报告(Error Log)的检查: 
硬件故障检测命令:# errpt -d H -T PERM 
若有故障执行命令# errpt -a -d H -T PERM>/tmp/harderror.log保存,分析结果报告给客户 
软件故障检测命令:# errpt -d S -T PERM 
若有故障执行命令# errpt -a -d S -T PERM>/tmp/softerror.log保存,分析结果报告给客户 

2. 有否发给root用户的错误报告(mail): 
#mail 
(1). 观察所有未读消息,注意有关diagela的消息。 
(2). 常用命令: 
h [] Display headings of group containing message  
t [] Display messages in  or current message. 
n Display next message. 
q Quit 
(3). 对发现的问题详细分析,结果报告给客户 

3. 文件系统的检查: 
命令: 
# df  k 
%Used为文件系统的使用率。所有文件系统的使用率不能大于80%

 

 

4. 通信系统的检测: 
(1). 网卡的状态 
命令: 
#ifconfig  a 
输出判断: 
en0: flags=e080863 
inet 192.9.200.2 netmask 0xffffff00 broadcast 192.9.200.255 
en1: flags=e080863 
inet 192.9.201.1 netmask 0xffffff00 broadcast 192.9.200.255 
主备网卡的flag为UP属正常。同时检查ip地址和netmask是否正确。 
(2). 路由的检测 
命令: 
#lsattr  El inet0 
authm 65536 Authentication Methods True 
hostname h24 Host Name True 
gateway Gateway True 
route net,,0,172.16.23.81 Route True 
bootup_option no Serial Optical Network Interface True 
rout6 FDDI Network Interface True 

(3). 网络的检测 
命令: 
#ping [ip address] 
输出判断: 
用ping命令对/etc/hosts文件中的IP地址进行操作,检测网络是否联通。 


5.系统DUMP设置的检查 
命令: 
#sysdumdev  l 
输出判断: 
结果应为 
primary /dev/hd6 
secondary /dev/sysdumpnull 
copy directory /var/adm/ras 
forced copy flag TRUE 
always allow dump FALSE 
dump compression OFF 
若不正确请用下列命令修改: 
#sysdumdev  P  p /dev/hd6  s /dev/sysdumpnull 



6.系统硬件诊断: 
命令顺序为: 
(1).#diag 
(2).Enter 
(3).Diagnostic Routines 
(4).System Verification 
(5).All Resources 
(6).F7 
输出判断: 
结果应为No trouble was found.

 

7.补丁程序(PTF)的检查 
(1). 系统维护补丁版本为ML09,检查命令为: 
#instfix  i |grep ML 

8.系统参数的检查 
(1).HIGH water mark for pending write I/Os 
# lsattr -El sys0 |grep maxpout 
输出判断: 
结果应为 
maxpout 33 HIGH water mark for pending write I/Os per file True 
(2).LOW water mark for pending write I/Os 
# lsattr -El sys0|grep minpout 
输出判断: 
结果应为 
minpout 24 LOW water mark for pending write I/Os per file True 
更改命令为: 
#chdev -l sys0 -a maxpout='33' -a minpout='24' 
(3).Syncd参数 
# grep syncd /sbin/rc.boot 
输出判断: 
结果应为 
nohup /usr/sbin/syncd 10 > /dev/null 2>&1 & 
更改命令为: 
#vi /sbin/rc.boot 

(4).aio参数 
# lsdev -Cc aio 
输出判断: 
结果应为 
aio0 Available Asynchronous I/O 
# lsattr -El aio0 
输出判断: 
结果应为 
minservers 1 MINIMUM number of servers True 
maxservers 10 MAXIMUM number of servers True 
maxreqs 4096 Maximum number of REQUESTS True 
kprocprio 39 Server PRIORITY True 
autoconfig available STATE to be configured at system restart True 
fastpath enable State of fast path True 
更改命令为: 
#smitty aio 

(5).Limits文件的设置: 
#ulimit  a 
输出判断: 
结果应为 
time(seconds) unlimited 
file(blocks) 2097151 
data(kbytes) 262144 //尤其是这项参数 
stack(kbytes) 32768 
memory(kbytes) 32768 
coredump(blocks) 2097151 
nofiles(descriptors) 2000 
更改命令为: 
#vi /etc/security/limits 
更改data为524288

 

 

 

9.集群状态检查

smitty ssaraid

  List All Defined SSA RAID Arrays

hdisk1          40263B2E0DF74CK system          good    91.1GB  RAID-5 array

如果是good就正常
阅读(489) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~