HP Systems Insight Manager 7.0 Command Line Interface Guide

then appends the key to the authenticated keys file. The user identified in the mxagentconfig
command, must be a valid user on the managed servers. Also, you must execute this authentication
process on the CMS so that the DTF can execute the tools on the CMS.
The following command pushes the SSH public key to the identified user on one or more managed
servers:
# mxagentconfig a [n host] u login [o host | user] [p password]
# mxagentconfig a [n host] u login [o host | user] [p password]
[f file.txt]
The n option identifies the systems to configure. If you do not specify the n option, the
command applies to the CMS.
The u and p options specify the account on the systems identified with the n option. If you
do not specify the p option, then the command prompts you for the password of the user
specified in the u option.
The o option enables you to choose host-based authentication, -o host, or user key-based
authentication, -o user.
If you do not specify the o option, host-based authentication is used.
To verify whether or not the hosts specified have been authenticated for CMS access by the user
specified in the u option, use the command:
# mxagentconfig c [n host] [u username]
If you do not specify the host, CMS authentication is checked. If you do not specify the user name,
the command verifies the user name for the user executing the command.
To remove authentication, use the r option:
# mxagentconfig r [n host]
This removes the host key for system host from the CMS known hosts file. If a host is not provided,
the CMS removes authentication to itself.
Managing tasks
The mxtask command enables you to create, remove, execute, list, and change ownership of
Systems Insight Manager tasks, either from the command line or through XML files. See the mxtask
man page for a description for the mxtask command, and the mxtask(4) man page for a
description of the XML syntax required to manage users.
To create a new task in Systems Insight Manager, the task must have a name, the name of a
collection to use to create the list of systems executing the selected tool, any parameters required
by the tool, scheduling information, the name of a time filter (if required, specifying timeframes for
tool execution), and the name of the owner of the task (optional).
To create a task, use the following command example:
# mxtask c tname q qname t toolname w sched [A tparams | f tpf.xml]
\ [o towner] [i tfilter]
The c tname option creates a task with name tname.
The q qname option identifies the collection to use for the task, and –t toolname identifies
the name of the tool to execute. Both qname and toolname must exist in Systems Insight
Managing Systems Insight Manager tasks 143