Servers - General
1752800 Members
5871 Online
108789 Solutions
New Discussion юеВ

Monitor UPS for AC power loss

 
SOLVED
Go to solution
Torsten.
Acclaimed Contributor

Re: Monitor UPS for AC power loss

Did you install the http or https service?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Lisa Dingman
Regular Advisor

Re: Monitor UPS for AC power loss

Did the following to start back up:
/sbin/init/DevMan start

Started services am able to access in browser. Am going to write a script to tell me when this process is not running and to start it if it is stopped. Is there any problem with doing this?
Lisa Dingman
Regular Advisor

Re: Monitor UPS for AC power loss

I did the http. Is this a problem?
Is there a way to also manage startup once power is returned with this software, see a 'restart settings' which you can enter a delay time, wanted to also bring all systems up automatically after power fail.
TTr
Honored Contributor

Re: Monitor UPS for AC power loss

See if there is a core dump file anywhere on the server that may be related to DevMan. You can find a free port using netstat. Use the /sbin/init.d/DevMan setup to reconfigure the port for the service. Setting up a script to check if DevMan is running is a good idea even if it is not a clean setup. You can use the "/sbin/init.d/DevMan status" as a check. Is it possible you shutdown the DevMan service manually? I would have expected DevMan to be more reliable.
Lisa Dingman
Regular Advisor

Re: Monitor UPS for AC power loss

I will look for a core dump. I gave the programming director the login information so possibly could have been turned off.

I have a script in the cron now running every 5 minutes which will email me and tell me if the DevMan goes down. I am reading the manual and found the following:
NOTE: HP Power Manager cannot run an SDScript on a server unless the server has a Remote Agent installed. The SDScript file that will be run must reside on the server on which the command will be executed.

Does this mean that the SDSscript won't work. Also the doc says the script file must be SDScript.CMD which there is only an SDScript file not one with the .CMD extention, and that it must remain in root folder. Does anyone use this SDScript?
Brian Vo
Trusted Contributor

Re: Monitor UPS for AC power loss

There 2 methods to monitor the UPS:

-Use HPPM if your new UPS didn't come with a module. Use one of your servers as a power management server to install HPPM, connection is serial (or network if an SNMP card came with the UPS). You also need to install remote agent for each protected server to monitor and graceful shutdown when power loss.

-A newer HPMM, require to have a module installed in the UPS, the power management SW is embedded in the module. Connection could be serial or network or USB (if UPS has one). In this case all you need to do is to install power protection agents for each protected server to monitor and graceful shutdown when power loss.

SDScript should be located in one of these directories depend on OS:
-WINDOW: \Program Files\HP\UPS Power Protection Agent\SDScript.CMD
-LINUX: /usr\local/DevMan/SDScript (no extension .CMD)
-HP-UX: /opt/DevMan/SDScript (no extension .CMD)

SDScript should be located on each protected server that need to run this script when power loss occurs. Put a check under "Attached Device"

You can download latest HPPM or HPMM agents here:
http://h18004.www1.hp.com/products/servers/proliantstorage/power-protection/software/module/ups/index.html HPMM

http://h18004.www1.hp.com/products/servers/proliantstorage/power-protection/software/power-manager/index.html HPPM

ups_mond is discontinued 5 years ago, It can be made inactive via SAM tools in hpux.

Brian
Lisa Dingman
Regular Advisor

Re: Monitor UPS for AC power loss

This has been put on hold so is not as critical, but just to be clear may I ask these questions:
I have put downloaded and installed hppm-4.2-build6-hp-ux.tar.gz on our rx6600. It is the only server we have, is connnected to Load Sgmt 1 of the r5500 ups. Brian, are you saying I need to install another agent on another server to make this work? I can log into the HP Power Manager from the web to our ipaddr and port, and once in it gives me to option of using the SDScript at shutdown, which I have put code into that I run in the cron daily. I believe I am hearing that this in an of itself alone won't work and I want to be sure I am understanding correctly. I thought I was good to go but maybe am not?
TTr
Honored Contributor

Re: Monitor UPS for AC power loss

No need to install any other agents on other servers. With only one server what you installed is enough.
Refer to the user guide on http://h20000.www2.hp.com/bc/docs/support/SupportManual/c01272419/c01272419.pdf?jumpid=reg_R1002_USEN
What you have now is configurationA on page 12. There is no need to install anything else on any other server.
You can take a look on configuration B and C on pages 13 and 14 and try to understand the events in each case and the differences from one case to the other.