This page describes how to upgrade an existing installation of the Machine Agent. The instructions have been tested and certified to work for Machine Agent >= 20.1.
For a new installation, see Install the Machine Agent.
<machine_agent_home>
directory to a <machine_agent_home_BACKUP>
so you can revert to the previous installation, if required. <machine-agent-home>/monitors/analytics-agent/conf/watermark
Analytics Agent location: <analytics-agent-home>/conf/watermark
<machine-agent-home>/monitors/analytics-agent/conf/job
Analytics Agent location: <analytics-agent-home>/conf/job<machine_agent_home>
that you want to upgrade. See Start and Stop the Machine Agentsudo rpm -U <package>
For all other scenarios:
First, delete the <machine_agent_home>
for the old Agent. Make sure you retain the <machine_agent_home_BACKUP>
you created in Step 1.
Then, install the Machine Agent as described Linux Install Using the RPM Package for your specific installation in Install the Machine Agent.
If you are running the Analytics Agent as an extension to the Machine Agent, failure to clear out the old directory or use a new location may cause your embedded Analytics Agent to fail to start. |
Configure the Agent settings in <machine_agent_home>
/conf/controller-info.xml
. See Machine Agent Configuration Properties
The RPM-based Linux installer retains the configuration settings for the previous Agent by default. If you used another installer and want to maintain your previous Agent configuration, copy the |
InstallService
" and "UninstallService
" files. Use the .vbs
files (VbScript) and delete the .cmd
files (Windows Command Script), which are leftover from your previous version.