Operating System - HP-UX
1752587 Members
4136 Online
108788 Solutions
New Discussion юеВ

Re: UPS SDScript question.

 
Bill Costigan
Honored Contributor

UPS SDScript question.

Hi,

Hoping someone can give me a couple of answers.
I installed the remote management agent for the HP UPS. The documentation states that the shutdown script needs to be named SDScript.CMD and be in the root directory. The software install put a dummy script called SDScript in /opt/DevMan.

What should the script be named and where should it be located?

There is also a script that is supposed to be called when other UPS events happen.

Does anyone know if this script is passed any parameters such as the name or type of event?
The documentation is doesn't give any details on how this script is called.
2 REPLIES 2
Torsten.
Acclaimed Contributor

Re: UPS SDScript question.

You are talking about the HP Power Manager?
I think the current version is 4.2.


As you already wrote, the manual says:

"The name of the SDScript file must be
SDScript.CMD, and this file must remain in the root folder."

So this answers the question about the name and the location, right?

I never used it, but I guess it is supposed to do some additional action prior to the shutdown.
In most cases it should be enough to simply shutdown the server without additional scripts.


Also from the manual:

"HP Power Manager shuts down the operating system gracefully. Use the SDScript file
for other tasks, such as backing up files to tape or shutting down a database."

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!   
Bill Costigan
Honored Contributor

Re: UPS SDScript question.

I'm using 4.5 of the remote agents that are available for the HP UPS Management Module (AF401A.) It seems to share much of the same functionality as HPPM.

The real question is - is the manual correct? It also says that a sample script is placed in the root directory but in fact it is placed in /opt/DevMan/ So, does the writer consider /opt/DevMan as the root directory?

I suspect the manual may have been written with Windows in mind and the HPUX implementaion is a little different.

I was hoping to find someone who had already implemented this on HPUX who could verify the manual was correct.

I still need to know about parameters passed to the event script.