Operating System - HP-UX
1822505 Members
2377 Online
109642 Solutions
New Discussion юеВ

Re: [Q] Is there any method or command to diag hardware devices in HPUX 11i

 
SOLVED
Go to solution
Tony, Lim
Frequent Advisor

[Q] Is there any method or command to diag hardware devices in HPUX 11i

Our EWS (engineering workstation) has gone repeatedly.
We alread changed disk, power, mainboard even Lan-cables.
However, the same case occured - system hanged.
In case of AIX, I am using "diag" command to detect any devices have defects.
In HPXU 11i, is there any method or command to diag hardware devices ??
9 REPLIES 9
Rajesh SB
Esteemed Contributor
Solution

Re: [Q] Is there any method or command to diag hardware devices in HPUX 11i

Hi,

Yes, there is stm or cstm "Support Tools Manager" tool available as part of "OnlineDiag Support Tools"Bundle.

It is very useful and recomend to have on all the server/ws.
Where tool stm is gui based tool gives complete state and any symptom of h/w failure messages can be captured here.

Just say man stm for more info.

Good luck,

Cheers,
RAjesh
Arunvijai_4
Honored Contributor

Re: [Q] Is there any method or command to diag hardware devices in HPUX 11i

Hi Tony, You can use stm (Support tool manager)
and it is part Sup-Tool-Mgr depot.

# /usr/bin/stm

for more exploration.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Muthukumar_5
Honored Contributor

Re: [Q] Is there any method or command to diag hardware devices in HPUX 11i

You can use ioscan command to find out the hardware information and status.

If you want to use stm or cstm then diagmond process has to run as,

# ps -ef | grep diagm

Else start it as,

# /sbin/init.d/diagnostic start

View diagmond and stm man pages more.

--
Muthu
Easy to suggest when don't know about the problem!
Adisuria Wangsadinata_1
Honored Contributor

Re: [Q] Is there any method or command to diag hardware devices in HPUX 11i

Hi,

You can use OnlineDiag software for this purpose, you can get this software from your HP-UX 11i SupportPlus CD or you can download from the url below :

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

Use swlist command to find out whether the software is already installed on your system or not :

# swlist | grep OnlineDiag

stm, xstm, mstm, cstm all is the same; the different between them is explain below :

The Support Tools Manager (STM) provides three interfaces that allow a user access to an underlying toolset, consisting of information modules, firmware update tools, verifiers, diagnostics, exercisers, expert tools, and utilities:

XSTM - the graphical interface (for X11-based graphics terminals)

MSTM - the menu-based interface (for non-X11-based, non-graphics terminals)

CSTM - the command line interface (for running scripts)

Hope this information can help you.

Cheers,
AW
now working, next not working ... that's unix
Ivajlo Yanakiev
Respected Contributor

Re: [Q] Is there any method or command to diag hardware devices in HPUX 11i

Before use STM probably you try

#ioscan
it's show all hardware missing/working and other useful info


Yogeeraj_1
Honored Contributor

Re: [Q] Is there any method or command to diag hardware devices in HPUX 11i

hi,

if you can run the graphical version STM, you can have a wider picture of your hardware and color-coded view indicating the problem more visually.

Also have a look at EMS

hope this helps too!

kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)

Re: [Q] Is there any method or command to diag hardware devices in HPUX 11i

Hi Tony,

Had u replaced the RAM along with the main board?

Can there be any bad blocks on the hard disks?

Regards
Kumar
Tvs
Regular Advisor

Re: [Q] Is there any method or command to diag hardware devices in HPUX 11i

Hi

u can try to diagnos the hardware by

stm command or cstm

regards

tvs
Chauhan Amit
Respected Contributor

Re: [Q] Is there any method or command to diag hardware devices in HPUX 11i

Hi Tony,

System hang Can be caused due to 2 Reasons:
a) Software - Either OS or Application
b) Hardware - H/W Fault

At the time of system Hang , don't reboot the system , instead give the Following command from GSP/MP prompt
MP>tc
What above command will do is that it will create a Crash File under the directory "/var/adm/crash" to dump the memory contents . You wil have to log a call with HP Response Centre in order to get the analysis of the Crash File.

In case you need to isolate a Hardware Issue , you can use following commands/Logs to check the same:

a) #ioscan -fn

ioscan scans system hardware, usable I/O system devices, or kernel I/O system data structures as appropriate, and lists the results. For each hardware module on the system, ioscan displays by default the
hardware path to the hardware module, the class of the hardware module, and a brief description.
For further details you can check #man ioscan

b) #echo "selall;info;il" |cstm > /tmp/cstm.output
you can use above command to check CSTM output. It will give you detailed information about the Hardware as well as any failure also will be indicated.

c) Log File - /var/opt/resmon/log/event.log
Above file will have all the entries of any H/W failure which has occured in the system . You Can check this file to isolate any H/W fault.

D) Log File - /var/adm/syslog/syslog.log will also contain the entry for any failure which has occured.

Let me know if above helps.

Regards,
Amit
If you are not a part of solution , then you are a part of problem