IBM Power Server (AIX) Preventive Maintenance Inspection Guide
This guide applies to preventive maintenance inspection of IBM Power servers running AIX. It covers environment and equipment appearance, hardware status, system logs, the HACMP cluster, storage, system configuration, versions and microcode, backup, performance, and diagnostic data collection. Hardware status is checked through the equipment indicator lights and ASMI; the remaining items are checked by running commands on the AIX command line.
Preparation
- Access to ASMI, used to check hardware errors and deconfigured resources.
- Access to the AIX command line, with the ability to read mail sent to the root user.
Environment and Equipment Appearance Check
Data Center Environment
Check whether there are any issues with the data center environment, and record the details of any issues found.
Equipment Appearance and Operating Condition
On site, check the following items one by one:
- The fan air outlet state is normal.
- The equipment makes no unusual noises.
- The chassis exterior is not overheating.
- The power cord connection is secure.
- FC fiber optic cables and ENC connections are not excessively bent.
- There are no other abnormal conditions.
Hardware Status Check
Status Indicator Lights
Check the equipment status indicator lights to confirm that there are no hardware alerts.
- The control panel fault light is not on.
- The hard drive status lights are normal.
- The network card and Fibre Channel card status lights are normal.
ASMI Hardware Errors and Deconfigured Resources
- Log in to ASMI and check for hardware error messages.
- Check ASMI for deconfigured resources.
Criteria: ASMI shows no hardware error messages and no deconfigured resources.
System Log Check
System Error Report (Error Log)
errpt|moreCriteria: No system error report is normal.
Error Reports Sent to the Root User
Run mail as the root user and check for error reports sent to the root user.
mailhacmp.out, smit.log, and bootlog
- View the HACMP log
/tmp/hacmp.out. - View
smit.log. - View the boot log (bootlog):
alog -o -t boot
Criteria: The above logs contain no abnormal entries.
Cluster (HACMP) Check
HACMP Status
lssrc -g cluster
/usr/sbin/cluster/clstat -aCriteria: HACMP status is normal.
syncd Parameter
In an HACMP system, use smit hacmp to check the parameters; syncd should be 10 (syncd:10).
smit hacmpStorage Check
Logical Volumes in Stale State
lsvg -o; lsvg -l vgname or lsvg vgnameFirst list the active volume groups with lsvg -o, then run lsvg -l vgname or lsvg vgname for each volume group.
Criteria: There are no logical volumes in stale state.
Hard Disk Status
lsvg -p rootvgCriteria: The hard disk status is active.
rootvg Mirroring
lsvg -l rootvgCriteria: rootvg is mirrored.
Key File System Usage
df -gCriteria: Key file system usage is not greater than 80%.
Storage Link Status
Depending on the multipath software in use, run datapath query adapter or powermt display:
datapath query adapter
powermt displayCriteria: The storage link status is normal.
Data Protection
Confirm that the data has a data protection method such as RAID10/RAID5.
System Configuration Check
Network Communication
- Check network interface card status, IP addresses, and the routing table:
netstat -i; netstat -rn ; entstat -a ent* - Test network interface card communication with ping (replace
ip addresswith the target IP address):ping ip address
Criteria: Network interface card status, IP addresses, and the routing table are normal, and ping communication is normal.
System Dump Settings
sysdumpdev -l; sysdumpdev -eCriteria: The system dump settings are normal.
Hard Disk Boot Settings
bootlist -m normal -oCriteria: The hard disk boot settings are normal.
Time Zone and Asynchronous I/O Parameters
- View
/etc/environmentand confirm that TZ has no Daylight Saving Time:more /etc/environment - If a database system exists, confirm that Aio is available:
lsdev -Cc aio
CPU Guard and Automatic Restart After a Crash
- Check whether CPU guard is enabled:
lsattr -El sys0 |grep cpuguard - Check whether the system reboots after an AIX crash:
lsattr -El sys0 |grep autorestart
Criteria: CPU guard is enabled, and the system reboots after an AIX crash.
Versions and Microcode
Record the following version information:
| Item | Command |
|---|---|
| Operating system version | oslevel -s |
| System microcode version | lsmcode |
| HACMP version | lslpp -l |grep cluster |
Backup Check
System Backup
Confirm that a compliant system backup exists.
Tape Drive Cleaning
Check whether the tape drive requires cleaning, and clean it promptly if so.
Performance Check
Page Space Usage
lsps -a; lsps -sCriteria: Page space usage does not exceed 70%.
Swap Space Size
vmstat; lsps -aCriteria: The swap space size setting is reasonable.
System Performance Bottlenecks
vmstat; topasCriteria: There are no performance bottlenecks in the system.
Diagnostic Data Collection
When further inspection is needed, capture snap -gc data:
snap -r; snap -gc