Troubleshoot the Runtime Manager Agent
Connection issues between your on-premises Mule runtime engine and the Runtime Manager agent might cause discrepancies, such as metrics not appearing in the server monitoring dashboard in Runtime Manager.
$MULE_HOME is environment variable that specifies the location where you installed Mule.
These instructions use paths for Mac or Linux. If you are using Windows, replace the $MULE_HOME path with %MULE_HOME% .
|
Troubleshoot Connection Issues Between the Agent and Mule
To troubleshoot connection issues:
-
Check the JVM you are using.
If you are using the IBM JVM, you must use a different truststore file than the default truststore installed by the Runtime Manager agent.
See IBM JVM.
-
Ensure you are using the latest agent version.
-
Check the agent version.
In the Runtime Manager navigation menu, select Servers and then click the server name. The agent version appears on the Dashboard page:
Figure 1. The arrow shows the Runtime Manager agent version on the server Dashboard page. -
Check the Runtime Manager Agent Release Notes to determine the latest agent version compatible with your Mule version.
-
Update the agent, if necessary.
See Update the Agent.
-
-
Verify that the license and certificate are not expired.
-
In the Runtime Manager navigation menu, select Servers and then click the server name. The expiration dates appear on the Dashboard page:
Figure 2. The arrow shows the expiration dates on the server Dashboard page.To view the dashboard for a server in a server group or cluster, click the server name in the details pane.
-
If the license has expired, see Install an Enterprise License.
-
If the certificate has expired, see Renew Server Certificates.
-
-
-
Verify connectivity with all required hosts.
-
Ensure that you allow access to required hosts and ports for Anypoint Platform services.
-
Verify that your firewall or proxy server is not intercepting the Runtime Manager certificate.
-
-
Verify that the
mule-agent.yml
file is not corrupted or empty.The
mule-agent.yml
file contains configuration information for the agent. If the$MULE_HOME/conf/mule-agent.yml
file contains non-ASCII characters or is empty:-
If you have a backup, use it to restore the corrupted
mule-agent.yml
file. -
If you don’t have a backup, follow these steps:
-
Remove the Mule server from Runtime Manager.
-
Uninstall the agent.
See Uninstall the Agent.
-
Update the agent to the latest supported version.
See the Runtime Manager Agent Release Notes and Update the Agent.
-
Add the Mule server to Runtime Manager.
-
-
Collect Agent Installation Information for Support
You can use the $MULE_HOME/bin/amc_debug
script to collect information used by Support to troubleshoot the Anypoint Runtime Manager agent installation issues.
If following the troubleshooting steps doesn’t solve your problem with the Runtime Manager agent, run the script and save the output before filing a support ticket.
The amc_debug
script performs the following actions:
-
Discovers the Mule agent JVM process
-
Extracts the thread dump (not forced if possible)
-
Optionally extracts the heap dump (if you specify the
-heap
option)This step can cause delays in running applications.
-
Extracts the Java version, CPU usage, memory usage, and disk usage
-
Copies all logs
-
Copies the configuration files for the Runtime Manager agent
-
Archives all the information collected in a ZIP file
Run the amc_debug Script
To run the amc_debug
script to collect information about the agent installation:
-
Open a terminal window and change to the
$MULE_HOME/bin
folder. -
Run the script:
./amc_debug
Include the
-heap
option to extract the heap in addition to the other data.After the script finishes, the folder
$MULE_HOME/bin
contains a ZIP file with a name similar tosnapshot_202103161626.zip
. -
Send the ZIP file to Support.
The amc_debug script is currently available on Linux/Unix-based systems only.
|