Updating agents involves stopping any that are running,
applying the changes, and restarting them. After determining the specifics
about monitoring agents that you want to update, including the type
and version, run the tacmd updateAgent command from the command-line
interface. If a version is not specified, the agent is updated to
the latest version.
About this task
Complete the following steps at a command-line interface.
For reference information about this command and related commands,
see the IBM Tivoli Monitoring Command Reference.
Note: Use
only tacmd commands that are included with Tivoli® products to
process bundles and to execute agent deployments. Manual manipulation
of the depot directory structure or the bundles and files within it
is not supported and might void your warranty.
Procedure
- Use the tacmd login command to log into a Tivoli Enterprise Monitoring Server.
tacmd login {-s|-–server} {[{https|http}://]HOST[:PORT]}
[{-u|--username} USERNAME]
[{-p|--password} PASSWORD]
[{-t|--timeout} TIMEOUT] [-t TIMEOUT]
- For example, to log in to the system ms.austin.ibm.com with
the user name Admin and the password log1n, run the
following command:
tacmd login -s ms.austin.ibm.com -u Admin -p log1n
- After logging in, use the tacmd updateAgent command
to install an agent update to a specified node.
tacmd updateAgent {-t|--type} TYPE {-n|--node} MANAGED-OS
[{-v|--version} VERSION] [{-f|--force}]
- For example, the following command updates a UNIX agent (type UX) on itmserver:
tacmd updateagent -t UX -n itmserver:KUX -v 6111