1834734 Members
2876 Online
110070 Solutions
New Discussion

HP-UX 11

 
SOLVED
Go to solution
Marilia
Occasional Advisor

HP-UX 11

Hello experts,

How can I get the information that power supply was disconnected/unplugged from the log files? I can't see this information under /var/adm/syslog/syslog.log; is there any other way/command to get this info?

Thank,
Marilia
11 REPLIES 11
Michal Kapalka (mikap)
Honored Contributor
Solution

Re: HP-UX 11

hi,

check the EMS messages in syslog

grep EMS /var/adm/syslog/syslog.log

and also you could check the MP console for events.

mikap
Ismail Azad
Esteemed Contributor

Re: HP-UX 11

Marilia,

You can go to MP console, do a co and then execute the ps command. This will give power status of the server whether it is off or on. At off state you can boot with pc.

If you are looking for a logfile it is /var/adm/shutdownlog.

Do assign points.

Regards
Read, read and read... Then read again until you read "between the lines".....
vishnu.khandare
Respected Contributor

Re: HP-UX 11

Hi Marilia,

U can get the system power on/off logs from the MP logs.
MP logs clearly tell u time n date when the system is power on/off shutdown, restart.
If u want system shutdown logs u can check it /var/adm/shutdown.log


Hope this resolves ur query.
Dont forget assign points.

Regards
Vishnu Khandare

You should deserve before U desire!!!!
Marilia
Occasional Advisor

Re: HP-UX 11

Dear,

Many thanks for the feedbacks.
How do I access MP console? Sry, I am total beginer.

Thanks,
Marilia
Michal Kapalka (mikap)
Honored Contributor

Re: HP-UX 11

hi,

the MP console can be accessed via :

serial / lan port.


mikap
Hakki Aydin Ucar
Honored Contributor

Re: HP-UX 11

You can also check with stm (Support Tool Manager) utility , you can look at power supply logs there.
if you use GUI manager;

# export DISPLAY=host.ID
# stm
AnthonySN
Respected Contributor

Re: HP-UX 11

Ismail >>You can go to MP console, do a co and then execute the ps command.

co will give the login prompt.

marialla,
you need to give cm from the MP console and get the power status by ps command.
suggest you login to MP and give SL (Show Logs)

MP can be connected either by lan (cross cable from your MP lan port to ur pc) or through serial port connected to your laptop/desktop with serial port with a serial cable.
MP port (lan/serial) will be at the back of the server.
Hein van den Heuvel
Honored Contributor

Re: HP-UX 11

Marilia,

You may want to provide the details of the system(s) you want to investigate.
MP access is pretty standard, notably on Itegrity servers, but some details may vary.

Also consider ILO access.
Once you find the IP address, or the network name for the MP, just aim a browser at it.
Log in. Default access is with Admin/Admin but hopefully you have site specific name/pass.
Then look aroudn and ask for the log.

Sample output from the system in my basement below.

Regards,
Hein


257 Informational Baseboard Management Controller; Type-02 c00301 12583681 03 Nov 2010 11:25:34 Time set
256 Informational Management Processor 0 MP_SELFTEST_RESULT 00:00:11 Management Processor Firmware Selftest Result
255 Informational Baseboard Management Controller; Type-02 08ef03 585475 00:00:04 Power supply AC restored
254 Informational Baseboard Management Controller; Type-02 08ef01 585473 00:00:04 Power supply OK
253 Informational Baseboard Management Controller; Type-02 08ef00 585472 00:00:04 Power supply removed
SoorajCleris
Honored Contributor

Re: HP-UX 11

Hi Marilia

Welcome to HP forums!! you are at right place.

==> our mates already provided pretty good information.

Still, could you please provide the model number of the server?

This will help to suggest you specific commands /options

Regards,
Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
Marilia
Occasional Advisor

Re: HP-UX 11

Hello all,

Many thanks for the explanations and way out.
I have only remote access to the platform and customer switch is full to connect MP console. A colleague on site will help me on that until I have remote access to MP.

Regarding the plataform:
HP Rx2660
1.6G
2CPUs
16G RAM
B.11.31

I will keep you informed.

Many Thanks!
Marilia
stephen peng
Valued Contributor

Re: HP-UX 11

how about checking /var/opt/resmon/log/event.log?