Operating System - HP-UX
1819951 Members
3330 Online
109607 Solutions
New Discussion юеВ

How to check HP-UX system health

 
SOLVED
Go to solution
Has
Occasional Advisor

How to check HP-UX system health

Hi,
I am new HP-UX admin, and would like the commands used to check the OS and Hardware health,
For example to know if there is problems in the OS
or in the hardware like (Disks, Memory, CPUs, PowerSupplys ,Controllers, Lan cards, ... etc)

Thanks
8 REPLIES 8
Piergiacomo Perini
Trusted Contributor
Solution

Re: How to check HP-UX system health

Hi AbuAli,

in my opinion the first step you have to do it's to check this file :
/var/adm/syslog/syslog.log

Here u can find error messages from different categories (ie. sw or hw).

This is the same file read by command
dmesg.

Then you can try
"ioscan" ( see " man ioscan "
for all the option)
to check hw.

hth
regards
pg
Ralph Grothe
Honored Contributor

Re: How to check HP-UX system health

Usually the first place to look at is
/var/adm/syslog/syslog.log
Also (if you haven't configured EMS to notify you by mail anyway) you could look at
/var/opt/resmon/log/event.log
for HW failures that the EMS monitors have discovered.
Madness, thy name is system administration
Jaime Bolanos Rojas.
Honored Contributor

Re: How to check HP-UX system health

AbuAli,

For hardware I would recommend you the support tools manager ( STM ).

You can check it out in this link http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B6191AAE

Regards,

Jaime.
Work hard when the need comes out.
Arturo Galbiati
Esteemed Contributor

Re: How to check HP-UX system health

Hi,
I use the healtcheck program on my pc to check the status of my hp9000 server (inluding needed patches).
You can download tool and doc here:
http://rwpc.hp.com/CMSWEB320/HP9000/Healthcheck/

HTH,
Art
RAC_1
Honored Contributor

Re: How to check HP-UX system health

In addition to some basic checks (such as syslog.log, dmesg,stm,rc.log etc) I would also check it with health check scripts that HP has. It is free and gives much more information.
There is no substitute to HARDWORK
Lethuillier
Frequent Advisor

Re: How to check HP-UX system health

To check system health, you can use tools such Glance and Perfwiew. For Hardware use cstm and ems :

http://docs.hp.com/en/diag/stm/sth_cstm.htm
http://docs.hp.com/en/1219/tuningwp.html
http://docs.hp.com/en/diag.html


You can also use command lines :

Find disks and check that all disks respond to diskinfo command (first find disks with iostat -fnC disk)
Check the amount of free space on each volume with du and bdf commands (threshold : 85% for small ones)

If your server uses LVM ;


Check the / mountpoint (if /dev/root instead of usual name /dev/vgXX, this means there's a problem)
Begin checking LVM configuration with lvlnboot -v (displays error messages)
Check the LVM volume group display with vgdisplay -v (displays error messages)
Check mirror status if this apply to your server; lvdisplay -v (looks for stale sectors)

...



Il faut avoir la foi et non les foies - Il faut avoir la forme et non les formes - Il faut faire la paix et non des pets
Geoff Wild
Honored Contributor

Re: How to check HP-UX system health

Install System Health Check

http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=SHCBASE01

The "lite" version is free.

"System Healthcheck (SHC) is a suite of tools that assesses the health of your computing environment by identifying security, performance and configuration problems before they can impact your critical operations. "

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Has
Occasional Advisor

Re: How to check HP-UX system health

Thaks for your help.
Some of you Mentioned that there are free script from HP, Please give me the url to download them.

Many thanks