Managing your HP-UX inventory with HP SIM (430146-002, January 2009)

17
</tool
-
list>
Note
: The toolbox name provided for
<toolbox tool
box
-
name>
must be a toolbox that already exists
in HP SIM. Use
mxtoolbox
lt
to view a list of existing toolboxes.
Name the file containing this tool
deploywbem.xml
, for example. To add this tool to HP SIM, use
the
mxtool
command:
% mxtool
a
f deploy
wbem.xml
After you add the tool, if any modifications are made, you must change the
revision
value in the third
line of the tool, and use the following command:
% mxtool
m
f deploywbem.xml
Otherwise, HP SIM will not modify the tool because it has the
same revision.
Managed server setup
For the tool to function, you must setup the managed servers to accept tools. This is done using SSH,
so you must install SSH “T1471AA” product, on each managed server.
After SSH is installed on all the managed serve
rs, use
Configure
Configure or Repair
Agents
to create the authentication between HP SIM and the managed servers. The first step
requires you to select the managed servers. The second step
verify the selected managed servers
.
For step 3, uncheck eve
rything except “Configure secure shell (SSH) access”, select the “Host based
authentication” radio button, then click
Next”.
For Step 4, select “Use sign
-
in credentials” option or
“Use the following credentials for all systems.” option to provide the cred
entials ., then Click “Run
Now”
.When the task completes, the managed servers can run tools sent to them from HP SIM.
CLI
Running the tool
As described above, the tool is located under
Tools>HPUX Deploy WBEM>HPUX Deploy
WBEM
. After creating the
.depot
fi
le and performing Managed Server Setup as described
above, launch the tool. After selecting the managed servers, click
Next
to see the short description
of the tool. Click
Run Now
to have the tool execute immediately, or
Schedule
to schedule task
executi
on for a later time. When the tool runs, the file
newdepot.depot
will be copied to each
managed server, and any bundle in the depot that is not already installed on the managed server will
be
installed
.
Note
: The
swinstall
command can take a few minute
s to run depending on the number of bundles
being installed. The SSH connection between HP SIM and the managed server will timeout before
swinstall
completes, causing a failure to be reported in HP SIM. This does not impact the execution of
swinstall
on
the managed server, but will prevent any further update of
stdout
to occur, preventing
you from monitoring progress on the managed server. The following procedure can be performed to
remove the SSH timeout, allowing the task to come to a more graceful con
clusion.
1.
Open a terminal window to the server where HP SIM is installed.
2.
Stop HP SIM:
% mxstop