Automating Failover Event Handling on Two HP Systems Insight Manager Servers White Paper 532451-002, February 2010

18
3.
Click
Next
.
Figure
16 Select the tool to create
Creating the tool definition
Enter the required name (for examp
le, AddHandler), command file, a
nd parameters. The path names
must be in DOS 8
-
dot
-
3 format. In this example, the command path is the location of the
MXTASK
command
MXTASK
is used to create
a new event handler using and XML file for the rules.
In this example, the command file path
is
as follows:
/opt/mx/bin/mxtask
(Linux and HPUX)
C:
\
Program Files
\
HP
\
Systems Insight Manager
\
bin
\
mxtask
(Windows).
The parameters are
as follows
:
-
cf /root/cap.x
ml
(Linux and HPUX)
-
cf C:
\
cap.xml
(Windows)
The
cf
option
tell
s
mxtask
to create a task from a file called
cap.xml
in XML format. See the
appendix for the syntax of the XML file.