Name
agentadm - to manipulate xVM Ops Center agent services
Synopsis
On Solaris:
BASE =/opt/SUNWxvmoc
On Linux:
BASE = /opt/sun/xvmoc
Usage
<BASE>/bin/agentadm {-V | --version } { -q | --quiet ] [ -v | --verbose ] [ -f | --force ] [ -n | --norefresh ] [ -o | --output-file ] [ -h | --help]
<BASE>/bin/agentadm subcommand [ options ]
Description
The agentadm command helps to manage the xVM Ops Center agents such as registering the agent to the proxy and unconfiguring the agents.
Options
The following common options are supported:
-V | --version: Displays the version number of agentadm.
-h | --help: Displays the usage synopsis for all configuration steps supported by agentadm.
-v | --verbose: Display verbose error and informational messages. Use multiple occurrences of this option to increase the verbosity level
-q | --quiet: Does not display anything and returns only the return code.
-f | --force: Ignores non critical errors during steps operations.
-n | --norefresh: Does not overwrite the existing operation.
-o | --output-file: Sends the output to the specified logfile.
Subcommands
The subcommands of agentadm are as follows:
Usage
Equivalent to [ -h | --help]
configure
The configuration step consists of:
- sc-console registration of the agent to proxy.
- scn-agent cacao instance creation.
- uce-agent cacao instance creation.
- Registration of the agent's products to the proxy.
The registration of the agent to the proxy is as follows:
<BASE>/bin/agentadm configure [ -u | --user <username> ] [ -p | --passwordfile <passwordfile> ] [ -t | --token <tokenfilename> ] [ -x | --proxy <URI> ] [ -I | --non-interactive ] [ --registration-domain-name <domainname> ] [ --register-os ]
-u | --user <username>: Use the Sun Online Account (SOA) username.
-p | --passwordfile <passwordfile>: Filename with the SOA credentials.
-t | --token <tokenfilename>: Filename containing auto registration token.
-x | --proxy <URI>: URI of the proxy to be registered.
-I | --non-interactive: Launch sc-console in non-interactive mode (without -i). Default is interactive mode.
--registration-domain-name <domainname>: The domain with which to register the products.
--register-os: Registration of the OS product.
unconfigure
Performs the inverse operation of configuring the agent.
<BASE>/bin/agentadm unconfigure