web server - Borland Technical Publications

web server - Borland Technical Publications web server - Borland Technical Publications

techpubs.borland.com
from techpubs.borland.com More from this publisher
12.11.2014 Views

Using the iastool command-line tools Example The following example shows how to display configuration information. kill iastool -info | more Use this tool to kill a managed object on a specified hub and configuration. Syntax -kill > -cfg -mo -moagent [-mgmtport ] [-realm ] [-user ] [-pwd ] [-file ] Default Output By default, the kill tool lists the managed object that has been killed. Options The following table describes the options available when using the kill tool. Option -hub -host : -cfg -mo -moagent -mgmtport -realm -user -pwd -file Description Specifies the name of the hub on which you want to kill a managed object. 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 hub on a different subnet than the machine on which iastool is running. Specifies the name of the configuration containing the specified managed object. Specifies the name of the managed object. Specifies the managed object agent name. Use this option if the specified hub has more than one agent. Specifies the management port number used by the specified hub. The default is 42424. Specifies the realm used to authenticate a user when the user and password options are specified. Specifies the user to authenticate against the specified realm. Specifies the user's password to authenticate against the specified realm. Specifies a login script file containing the realm, user name, and password used to authenticate a user. The full or relative path to this file must be specified. See “Executing iastool command-line tools from a script file” on page 321 for more information. Examples The following example kills the managed object j2ee-server using the default management port: iastool -kill -hub BES1 -cfg j2ee -mo j2ee-server The following example kills the partition naming service running on the configuration j2ee using the management port 24410: iastool -kill -hub BES1 -cfg j2ee -mo standard_visinaming -mgmtport 24410 Chapter 29: iastool command-line utility 303

Using the iastool command-line tools listpartitions Use this tool to list the partitions running on a specified hub, and optionally on a specified configuration or management port. Syntax -listpartitions [-cfg ] [-mgmtport ] [-bare] [-realm ] [-user ] [-pwd ] [-file ] Default Output By default, the listpartitions tool displays the partitions running on a specified hub, or displays the partitions running on a specified hub on a specified configuration or management port. Options The following table describes the options available when using the listpartitions tool. Option -hub -host : -cfg -mgmtport -bare -realm -user -pwd -file Description Specifies the hub name for which you want to list the running partitions. Specifies the host name and the listener port of the machine on which the partitions you are interested in are running. The option is enables the iastool utility to locate a hub on a different subnet than the machine on which iastool is running. Specifies the name of the configuration on which to list partitions. Specifies the management port number used by the specified hub. The default is 42424. Suppresses the output information, other than the names of the running partitions. Specifies the realm used to authenticate a user when the user and password options are specified. Specifies the user to authenticate against the specified realm. Specifies the user's password to authenticate against the specified realm. Specifies a login script file containing the realm, user name, and password used to authenticate a user. The full or relative path to this file must be specified. See “Executing iastool command-line tools from a script file” on page 321 for more information. Examples The following example lists the partitions running on the hub BES1 using the default management port: iastool -listpartitions -hub BES1 The following example lists the partitions running on the hub BES1 using the management port 24410: iastool -listpartitions -hub BES1 -mgmtport 24100 304 BES Developer’s Guide

Using the iastool command-line tools<br />

Example<br />

The following example shows how to display configuration information.<br />

kill<br />

iastool -info | more<br />

Use this tool to kill a managed object on a specified hub and configuration.<br />

Syntax<br />

-kill > -cfg <br />

-mo -moagent [-mgmtport ]<br />

[-realm ] [-user ] [-pwd ] [-file ]<br />

Default Output<br />

By default, the kill tool lists the managed object that has been killed.<br />

Options<br />

The following table describes the options available when using the kill tool.<br />

Option<br />

-hub <br />

-host :<br />

-cfg <br />

-mo <br />

-moagent <br />

-mgmtport <br />

-realm <br />

-user <br />

-pwd <br />

-file <br />

Description<br />

Specifies the name of the hub on which you want to kill a<br />

managed object.<br />

Specifies the host name and the listener port of the<br />

machine on which the managed object you are interested<br />

in is running. The option is enables the iastool utility to<br />

locate a hub on a different subnet than the machine on<br />

which iastool is running.<br />

Specifies the name of the configuration containing the<br />

specified managed object.<br />

Specifies the name of the managed object.<br />

Specifies the managed object agent name. Use this option<br />

if the specified hub has more than one agent.<br />

Specifies the management port number used by the<br />

specified hub. The default is 42424.<br />

Specifies the realm used to authenticate a user when the<br />

user and password options are specified.<br />

Specifies the user to authenticate against the specified<br />

realm.<br />

Specifies the user's password to authenticate against the<br />

specified realm.<br />

Specifies a login script file containing the realm, user<br />

name, and password used to authenticate a user. The full<br />

or relative path to this file must be specified. See<br />

“Executing iastool command-line tools from a script file” on<br />

page 321 for more information.<br />

Examples<br />

The following example kills the managed object j2ee-<strong>server</strong> using the default<br />

management port:<br />

iastool -kill -hub BES1 -cfg j2ee -mo j2ee-<strong>server</strong><br />

The following example kills the partition naming service running on the configuration<br />

j2ee using the management port 24410:<br />

iastool -kill -hub BES1 -cfg j2ee -mo standard_visinaming -mgmtport 24410<br />

Chapter 29: iastool command-line utility 303

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!