Upgrade the Java Micro-Agent for Linux
Upgrading the Java Micro-Agent for Linux
-
Shut down the JVM application that has the agent enabled
-
Take a backup of the properties file
New Version
cp /opt/takipi/agent.properties agent.properties.old
Old Version
cp /opt/takipi/takipi.properties takipi.properties.old
-
From https://app.overops.com/app/download?t=sa-tgz, download the Micro-Agent installation TAR file
wget --content-disposition "https://app.overops.com/app/download?t=sa-tgz"
-
Extract files to your working folder
tar -xvf <downloaded tar.gz file> -C /opt
Important
If you don't have permission to the /opt directory please untar the file with sudo.
-
Merge the properties file
Newer Version
agent.properties.old
+/opt/takipi/agent.properties.example
intoagent.properties
Older Version
takipi.properties.old
+/opt/takipi/agent.properties.example
intoagent.properties
-
Copy the new properties file to new installation
Newer Version
cp agent.properties.new /opt/takipi/agent.properties
Older Version
cp takipi.properties.new /opt/takipi/takipi.properties
-
Start the application JVM
(it should be already configured to point to the collector from previous install)
Watch logs for any warnings or errors -
Verify functionality in OO dashboard
Verify your upgrade
Updated almost 3 years ago