HP UPS User Manual page 72

Table of Contents

Advertisement

Storage Device—Select Storage Device when attaching a shared hard disk storage device to a
o
UPS load segment. Storage devices have the longest runtime so servers accessing this device can
save data before shutting down.
Other Device—Select Other Device for any unmanaged device, such as a router or hub.
o
Unmanaged devices are either on or off and are not shut down gracefully.
If output power is supplied by controllable load segments, select the load segment to which the
4.
device is attached in the Load dropdown box. Depending on your UPS model, the number of
available load segments varies.
If the device type is Remote Agent, enter the IP address of the machine that hosts the agent in the IP
5.
Address field.
-or-
If the device type is Serial Agent, select the serial connector on the management module to which the
agent is connected in the Management Module Serial Port dropdown box.
To configure the command procedure SDScript to run at shut down:
6.
Select the Run Command Procedure (SDScript)? checkbox.
a.
Edit the SDScript file or create a new SDScript file. The SDScript file found in the same directory
b.
after installation is only an example. The SDScript should be located in one of the following
directories:
Windows®—\Program Files\HP\UPS Power Protection Agent\SDScript.CMD
Linux—/usr/local/DevMan/SDScript
HP-UX—/opt/DevMan/SDScript
IMPORTANT:
thoroughly before being used for the first time in response to a power event. Not all programs
and applications are suitable to be executed as a process, especially programs that do not
create their own environments. Command execution behavior varies by operating system,
and, in general, commands to be executed should be put into a batch file or shell script
depending on the operating system that will be executing the commands. Using an SDScript
gives you more control over the circumstances in which commands are executed and allows
the commands to run in a copy of the environment.
When selecting commands to be executed in the SDScript file, choose programs and
processes that do not require user input or interaction. Since the commands can be executed
at any time, it is difficult to predict if a user will be available to interact with any programs
that are launched. Verify that specified drive mappings, user specific directories, and
programs that require special rights are accessible by the SDScript file.
Most operating systems have a method for spawning new processes. In Windows operating
systems, commands can be preceded with START, and in most Linux/Unix systems, sh can
be used. When designing your SDScript file, determine which commands require a separate
process and which commands can be run one after another in the same process. Refer to the
documentation that came with your operating system for more information on batch files or
script files.
NOTE:
An SDScript cannot be run on a server unless the server has an agent installed. The
SDScript file must reside on the server on which the command will be executed.
The management module shuts down the operating system gracefully. Use the
NOTE:
SDScript file for other tasks, such as backing up files to tape or shutting down a database.
SDScript command execution can be a very powerful tool and should be tested
HP UPS Management Module web interface 72

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ups management module

Table of Contents