user manual

Chapter 29: iastool command-line utility 363
Using the iastool command-line tools
Syntax
-restart <-hub <hub> | -host <host>:<listener_port>> [-mgmtport <nnnnn>]
[-realm <realm>] [-user <username>] [-pwd <password>] [-file <login_file>]
or
-restart <-hub <hub> | -host <host>:<listener_port>> [-cfg <configname>]
-mo <managedobjectname> -moagent <managedobjectagent> [-mgmtport <nnnnn>]
[-realm <realm>] [-user <username>] [-pwd <password>] [-file <login_file>]
Default Output
The default output displays the hub or managed object that has been
restarted.
If the restart tool fails (for example, when a managed object cannot be
shutdown or restarted), an error is displayed with a status code which is
returned to standard error output (stderr).
Options
The following table describes the options available when using the restart
tool.
Option Description
-hub <hub> Specifies the name of the hub that you
want to restart. Also used to locate a
managed object on a particular hub.
-host <host>:<listener_port> Specifies the host name and the listener
port of the machine on which the
managed object you are interested in is
running. The option is enables the
iastool utility to locate a managed object
on a different subnet than the machine
on which iastool is running.
-cfg <configname> Specifies the name of the configuration
on which to locate managed objects.
-mo <managedobjectname> Specifies the name of the managed
object.
-moagent <managedobjectagent> Specifies the managed object agent
name. Use this option if the specified hub
has more than one agent.
-mgmtport nnnnn Specifies the management port number
used by the specified hub. The default is
42424.
-realm realm Specifies the realm used to authenticate
a user when the user and password
options are specified.
-user username Specifies the user to authenticate against
the specified realm.