HP-UX Server Inspection Guide
This guide applies to preventive maintenance inspection of HP mini-computers running HP-UX. It covers eight groups of checks: site environment, host hardware, system logs, cluster, storage peripherals, system version and software installation, backup, and overall performance. Environment items are checked by on-site measurement and visual inspection; the remaining items are checked by running commands on the host as root (prompt #), and GSP/MP logs are viewed on the management processor.
Site Environment Inspection
Supply Voltage
Confirm that the data center power supply and grounding meet the host's operating requirements.
- Use a multimeter to measure the live wire to neutral wire voltage of the rack power supply.
- Measure the neutral wire to ground wire voltage.
Criteria: The live wire to neutral wire voltage is between 198~232V; the neutral wire to ground wire voltage should be <1V, with a maximum not exceeding 3V.
Temperature and Humidity
Confirm that the temperature and humidity of the host environment are within the allowed range.
- Measure the temperature in both the air intake area and the air exhaust area of the host.
- Measure the humidity in both the air intake area and the air exhaust area.
| Check Item | Normal Range |
|---|---|
| Temperature | 20 ~ 25 °C |
| Humidity | 40 ~ 60 % |
Data Center Environment Changes
Find out whether there have been any major recent changes to the data center environment, such as the power supply or air conditioning. If so, briefly describe the changes.
Host Hardware Inspection
Indicator Light Status
Visually inspect the indicator lights on the host panel and components to confirm that no fault lights are on. No command is required for this item.
Processor and Memory
Confirm that the processors and memory report no errors and none are missing.
- Check processor status with
mstm:# mstm - Check memory status with
mstmordmesg:# mstm # dmesg
Disks and I/O Devices
Confirm that the disks and all I/O devices are recognized by the system.
- Scan disk devices:
# ioscan -fnCdisk - Scan all I/O devices:
# ioscan -nf
Network
Confirm that the network cards are recognized and the interfaces are configured correctly.
- Scan network card devices:
# ioscan -nfClan - List the network cards:
# lanscan - Check the configuration of each interface (replace
lanXwith the actual card number):# ifconfig lanX
Tape Drive
Confirm that the tape drive works by performing a write and read test.
- Insert a tape.
- Write
/stand/vmunixto the tape (replace/dev/rmt/Xmwith the actual tape device file):# tar cvf /dev/rmt/Xm /stand/vmunix - Read back the tape content list:
# tar tvf /dev/rmt/Xm
Criteria: Both the write and the read complete without errors, and the listing shows the /stand/vmunix file just written.
DVD / CD-ROM
Confirm that the optical drive works by mounting a disc.
- Insert an optical disc.
- Mount the drive read-only (replace
cxtyd0with the actual drive device):# mount -r /dev/dsk/cxtyd0 /cdrom - List the disc content:
# ls /cdrom
System Log Check
GSP or MP Logs
Log in to the GSP or MP and use the SL command to check the logs for abnormalities.
dmesg Output
Run dmesg and check the output for SCSI reset, file system full, and similar messages.
# dmesgSystem Boot, Runtime, and Shutdown Logs
- View the system boot log:
# more /etc/rc.log - View the system runtime log:
# more /var/adm/syslog/syslog.log - View the system shutdown log:
# more /etc/shutdownlog
File System Usage
# bdfCriteria: Used space of each file system does not exceed 90%.
HPMC and Core Dump
Confirm that no HPMC or Core Dump has occurred recently.
- Check
/var/tombstones/ts99for recent HPMCs. - Check
/var/adm/crashfor recent Core Dumps.
Criteria: No recent HPMC and no recent Core Dump is normal.
Dump Area Configuration
Use the following commands to view the dump area configuration and confirm that it is reasonable:
# /usr/sbin/lvlnboot -v
# /usr/sbin/lvdisplayCluster Check
Cluster Operational Status
# cmviewcl -vCheck whether the cluster operational status is normal.
Cluster Logs
View the logs under /etc/cmcluster/pgkxx and confirm that there are no abnormal entries.
Lock Disk Check
Confirm that the cluster lock disk information is intact. In the example, /dev/dsk/c4t0d1 is the lock disk device file; replace it according to your environment:
# echo '0x2084?4D' | adb /dev/dsk/c4t0d1Criteria: A '1' in the second column of the output indicates that the disk is a lock disk; a '0' indicates that lock disk information is lost.
Storage Peripheral Check
This applies to storage peripherals such as XP, EVA, VA, FC60, AutoRaid, and tape libraries; check according to the actual model.
Indicator Lights
Check the indicator lights on the controller and disk enclosure to confirm that there are no fault alerts.
Array Status
Check the array status with armdsp:
# armdspSystem Version and Software Installation Check
Version Information
Record the following version information:
- HP-UX operating system version
- PDC firmware (Firmware) version
- MP firmware (Firmware) version
Support and Diagnostic Software
Confirm whether the following software is installed; if not, install and test it with the customer's consent:
- ISEE
- Remote Modem (must be installed and tested successfully)
- Patch Bundle, Online Diagnostics, Ignite-UX
- RC Tools
Major Component Information
Record the model and quantity of major components such as CPU, memory, and hard disks.
System Backup Check
Back Up the VG Configuration
Use vgcfgbackup to back up the vg configuration (replace vgname with the actual volume group name) and confirm that the command completes:
# vgcfgbackup vgnameBackup Policy Confirmation
Confirm the following items with the customer one by one, and give recommendations for any that are not met:
- Whether a system backup (Ignite) is performed after system changes or every six months.
- Whether the database and applications, as well as application data, are backed up regularly and effectively.
- Whether backup media (tapes) are clearly labeled.
- Whether backup media are properly stored.
- Whether tape drives are cleaned regularly as required.
Overall System Performance Assessment
CPU Usage
Use sar to view average CPU usage, recording Usr, Sys, and Idle, as well as Wio, the CPU usage occupied by IO.
# sarIdle Physical Memory
Use top to view idle physical memory (Free).
# topSwap Space Usage
Use swapinfo to view swap space usage, focusing on Pct Used in the Total line.
# swapinfo -atm