Creating custom tool definition files for HP Systems Insight Manager 5.1 or greater (481365-002, January 2009)

9
<
main
-
url
>http://hostname.domain:8000/device/%n/</main
-
u
rl>
</web
-
block>
<
attribute
name="
menu
-
path
">Tools|System Information</attribute>
<
attribute
name="
target
-
frame
">WJAFrame</attribute>
</web
-
launch
-
tool>
</tool
-
list>
NOTE:
In the
previous
example,
hostname.domain
should be replaced
with the ful
ly qualified host name of where the WebJetAdmin tool
is running.
For more information about specific web launch tool requirements and attributes, refer to the
WLA
-
specific attributes
section in Appendix A of th
is paper. For more information about parameterized
strings, refer to
Appendix C
.
Sample MSA tool
The MSA tool executes on the CMS and is functional with multiple targets. The process executes once,
and then
is passed to all targets selected. The example below shows an MSA tool that deploys the
SSH public key to the selected managed target nodes as long as those nodes are recognized as iLO
devices on an HP single partition server. To do this manually, the admi
nistrator would:
Log on as Administrator on the CMS
Use Start/Run or a command line prompt to enter the command:
Mxagentconfig
a
n <nodename>
-
u <username>
-
p <password>
Repeat the command for each
managed system
Log off the system
The “<msa
-
block>” ele
ment (in bold below) initiates
mxagentconfig
and requires the user name
and password parameters.
<
?
xml
version=”1.0” encoding=”UTF
-
8” ?>
<tool
-
list>
<
msa
-
command
-
tool name
="
Deploy SSH Public Key
"
visible
="
true
"
schedulable
="
true
"
revision
="
2.1
">
<
catego
ry
>
MP Tools
</
category
>
<
description
>
Deploys the HP Systems Insight Manager SSH public key on one or more HP
Integrity and HP 9000 iLO(s). This key is required for iLO to trust HP Systems Insight Manager
to execute commands.
</
description
>
<
comment
>
Ins
tall SSH Public Keys
</
comment
>
<
include
-
filter type
="
hardware
">
<
node
-
filter
name
="
DeviceType
"
operator
="
eq
"
value
="
MgmtProc
" />
<
node
-
filter
name
="
Model
"
operator
="
eq
"
value
="
HP Single Partition
Server, Management Processor
" />
</
include
-
filte
r
>
<
msa
-
block
>
<
command command
-
type
="
stdout
"
log
="
true
">
mxagentconfig
-
a %(
-
n
%n%z%)
-
u %1
-
s %2
</
command
>
<
parameter
index
="
1
"
prompt
="
User
"
required
="
true
" />
<
parameter
index
="
2
"
prompt
="
Password
"
required
="
true
" />