1. AIX5.2操作系统检查
>1, 安装为5.2版本,操作系统补丁最新
># oslevel -r
>输出如:5200 07
>#instfix –i | grep AIX
>输出如:所有的文件集可以找到
>All filesets for 5.2.0.0_AIX_ML were found.
>All filesets for 5200-01_AIX_ML were found.
>All filesets for 5200-02_AIX_ML were found.
>All filesets for 5200-03_AIX_ML were found.
>All filesets for 5200-04_AIX_ML were found.
>All filesets for 5200-05_AIX_ML were found.
>All filesets for 5200-06_AIX_ML were found.
>All filesets for 5200-07_AIX_ML were found.
>2, 32位内核(具体说明参见附件)
>#bootinfo –K
>输出:32
>3, 需要将manual安装上,便于查看系统命令的使用方法。
>#man ls
>有输出ls的用法
>4, 检查时区,时间(见下文所述)
>#date
>输出时间、时区正确(北京时区),如:Mon Jan 23 10:47:24 BEIST 2006
>5, 机器名称、ip、网关、已经网卡的状态、网络通信是否有丢包
># hostname
>对照安装要求检查
>#netstat -in
>按照安装要求检查ip
>#smitty tcpip
>检查默认网关配置
># ping 另外一台机器的bootip、standby ip,看是否有丢包
>6, 文件系统大小
>#df –g
>输出如:
>Filesystem GB blocks Free %Used Iused %Iused Mounted on
>/dev/hd4 5.00 4.67 7% 2270 1% /
>/dev/hd2 2.00 0.73 64% 30378 6% /usr
>/dev/hd9var 2.00 1.92 4% 435 1% /var
>/dev/hd3 2.00 1.83 9% 80 1% /tmp
>/dev/hd1 2.00 1.94 4% 18 1% /home
>/proc – – – – – /proc
>/dev/hd10opt 0.06 0.03 53% 756 5% /opt
>/dev/lv00 6.00 5.81 4% 17 1% /zxg10
>/dev/lv01 6.00 5.81 4% 17 1% /oracle
>/dev/lv02 0.06 0.06 4% 18 1% /var/adm/csd
>利用率都不得超过85%,否则清理垃圾文件或扩文件系统
>注意:文件系统只能扩大,不能减小,操作请千万谨慎!
>7, 系统内存限制
>#ulimit –a
>查看系统内存限制,修改/etc/security/limits文件,将内存限制放开,主要将data、stack、rss的值置为-1,其它项(如cpu等)根据需要也可置为-1,具体含义参看limits文件的注释说明。
>要使更改生效,只需退出当前用户(root),然后重新登录即可。
>8, Page space大小
>#>lsps –a
>查看page space大小,原则上page space应该设为物理内存的2倍,考虑到业务处理机软件的运行,配置4G的page space已足够,所以建议将page space统一调整为4G(无论是2G RAM还是4G RAM的机器).
>9, OS参数检查
>Smitty aio -> Change/Show Characteristics of Asynchronous I/O
>MINIMUM number of servers 1 ( 10 )
>MAXIMUM number of servers 10 ( 200 )
>OS环境参数设置(与HA性能关系很大)
>Smitty -> System Environments -> Change/Show Characteristics of Operating
>System
>HIGH