HP Systems Insight Manager User Manual

Page 346

Advertising
background image

The OpenSSH task uses six parameters, even though the user is only asked for three parameters during the
task creation from the GUI. The first three parameters must follow the example provided. For example:

driveLetter

Must be the drive on which HP Systems Insight Manager (HP SIM) is installed

path

Must be full path to openssh dir\dir name,

where dir name is any name you select

component

Must be CP005309.EXE

username

Is a user account with administrative rights on the target systems

password

Is the password to the administrative account specified by user name

domain

Is the domain of the administrative user (leave this blank if the administrative user is a local

account on the target systems)

Creating an OpenSSH task from the command line with an XML file

Execute:

mxtask -cf ssh.xml

Creating an OpenSSH task from the command line without an XML file

Execute:

mxtask -c taskname -q queryname -w schedule -t

toolname -A toolparams

where taskname is the name you are giving the task, queryname is the name of an existing collection,
schedule

is Tmanual, toolname is the tool (installing OpenSSH), and toolparams are those listed

previously.

For example:

mxtask -c “ssh1” -q “All Systems” -w Tmanual -t “Install OpenSSH”

-A “<?xml version="1.0"?>

<XeObjectclassName="com.hp.mx.portal.taskandjob.

OpenSSHInstall.MxOpenSSHInstallCommandToolParameters"

classVersion="1.0">

<Property name="driveLetter">

<Simple>C:</Simple>

</Property>

<Property name="path">

<Simple>C:\hpsim\target\windows\stage\sim\openssh\

1079128853916</Simple>

</Property>

<Property name="component">

<Simple>CP005309.EXE</Simple>

346 Tools that extend management

Advertising