How to Migrate APM Insight Java Agent to a New Applications Manager?

How to Migrate APM Insight Java Agent to a New Applications Manager?

For Java Agent v7.0 and Above
For Java Agent Below v7.0
For Java Agent v7.0 and Above
1. Obtain the new license key: From Applications Manager UI, Navigate to the APM tab  Add Monitor  Java Agent  License Key  Copy to Clipboard.
2. Update the Configuration Files:
  1. Login to the application server where the Java Agent is installed.
  2. Replace the "apm.host" & "license.key" value in the following files with new Applications Manager URL and its license key.
    1. <JavaAgent_extracted_path>/apminsight.conf
    2. <JavaAgent_extracted_path>/<App_Name>_<port>/apminsight.conf
Info
For Example,
license.key=APMI_a856****************************a547eb39fd7ed38e18276c
3. Remove Existing Instance Data:
  1. Delete the following to reset old instance information:
    1. <JavaAgent_extracted_path>/<App_Name>_<port>/apminsight.info file 
    2. APM_Java_Instances folder
4. Restart the application server: Restart the respective application server (eg: Tomcat, JBoss, etc.) to apply the updated configurations and establish communication with the new Applications Manager instance.
For Java Agent Below v7.0
1. Obtain the new license key: From Applications Manager UI, Navigate to the APM tab  Add Monitor  Java Agent  License Key  Copy to Clipboard.
2. Update the Configuration Files:
  1. Login to the application server where the Java Agent is installed.
  2. Replace the "apm.host" & "license.key" value in the following file with new Applications Manager URL and its license key: <JavaAgent_extracted_path>/apminsight.conf
Info
For Example,
license.key=APMI_a856****************************a547eb39fd7ed38e18276c
3. Remove Existing Instance Data: Delete the following to reset old instance information: <JavaAgent_extracted_path>/apminsight.info file 
4. Restart the application server: Restart the respective application server (eg: Tomcat, JBoss, etc.) to apply the updated configurations and establish communication with the new Applications Manager instance.

Related Articles

                  New to ADSelfService Plus?

                    • Related Articles

                    • How to Migrate APM Insight .NET Agent to a New Applications Manager?

                      1. Obtain the new license key: From Applications Manager UI, Navigate to the APM tab → Add Monitor → Java Agent → License Key → Copy to Clipboard. 2. Update the Configuration: Login to the application server where the .NET Agent is installed Open the ...
                    • Self monitor Applications Manager using APM Insight Java Agent

                      Applications Manager is built with Java, hence we can monitor it using APM Insight Java Agent to measure it's performance continuously, which can be very much useful. Setting up APM Insight Java Agent Follow the below steps to download and set up the ...
                    • How to rename an existing APM - Java agent application's monitor?

                      In Applications Manager's APM(Application Performance Monitoring) doesn't support renaming applications/monitors from the web client. However, the application name of an existing application instance can be renamed in the `apminsight.conf` file and ...
                    • Adding APM Insight Java agent in a Kubernetes environment

                      There are three methods for installing the APM Insight Java agent in a Kubernetes environment: Using Dockerfile Using InitContainers Using Persistent Volumes Prerequisites Download the latest APM Insight Java agent ZIP file. Extract the ZIP file and ...
                    • How to add an APM Insight Java agent in Kubernetes via InitContainers?

                      Step 1. Create a secret to access the APM Insight license key in your application namespace: kubectl create secret generic app-secret --from-literal=s247licensekey='your_APMInsight_license_key' -n petclinic The license key can be obtained from the ...