Database Reference
In-Depth Information
emcli stop_agent -agent=acme_qa:3872 -host_username=oracle
Host User password:
The Shut Down operation is in progress for the Agent: acme_qa:3872
The Agent "acme_qa:3872" has been stopped successfully.
emcli start_agent -agent=acme_qa:3872 -host_username=oracle
Host User password:
The Start Up operation is in progress for the Agent: acme_qa:3872
The Agent "acme_qa:3872" has been started successfully.
emcli restart_agent -agent=acme_qa:3872 -host_username=oracle
Host User password:
The Restart operation is in progress for the Agent: acme_qa:3872
The Agent "acme_qa:3872" has been restarted successfully.
Agents sometimes fall out of sync with the OMS after patching or as a result of an outage and thus require an
update to their registration information or even an agent synchronization in order to permit uploads. The easiest way
to achieve this is to resecure the agent to straighten out the connection. If your environment does not require secured
agents, you can remove the secure relationship by executing the unsecure_agent verb with identical syntax to the
secure_agent verb.
Notice that the password for the owner of the agent executable and the OMS registration password are
both required.
emcli secure_agent -agent=acme_qa:3872 -host_username=oracle
Host User password:
Registration Password:
The Secure operation is in progress for the Agent: acme_qa:3872
The Agent "acme_qa:3872" has been secured successfully.
emcli resecure_agent -agent=acme_qa:3872 -host_username=oracle
Host User password:
Registration Password:
The Resecure operation is in progress for the Agent: acme_qa:3872
The Agent "acme_qa:3872" has been resecured successfully.
The agent_resync verb kicks off a job in the repository database to update the status of a blocked agent. An agent
is placed in blocked status when the repository contains conflicting data from the agent upload. This typically happens
after unscheduled issues affect the agent connection to the OMS. As a result, standard output isn't informative at the
command line. While you can click through to the job in the console to track the progress, there is no matching
option in EM CLI.
emcli resyncAgent -agent=acme_qa:3872
Resync job RESYNC_20140422135854 successfully submitted
EM CLI can also be used to provide detailed information about an agent, either listing all of its properties or
drilling down to a specific property, as shown below.
Search WWH ::




Custom Search