Add Servers to Runtime Manager
Your enterprise license is current.
You are running Mule 3.6.0 or later, and API gateway 2.1 or later.
If you must download the agent, you have an Enterprise support account.
If the server is already registered with another Runtime Manager instance, remove that registration first.
To add a Mule server to Runtime Manager:
From Anypoint Platform, select Runtime Manager.
Click Servers in the left menu.
Click the Add Server button.
Runtime Manager generates the
server-name, for you to use to register Mule in your environment:Figure 1. The arrow shows the
amc_setupcommand generated by Add Server.
The registration token includes your organization’s ID and the current environment.
Click Copy to copy the command.
In a terminal window, change to the
$MULE_HOME/bindirectory for the Mule instance that you’re registering.
Paste the command on the command line.
Change the instance name
server-nameto the unique name to use to label Mule in the Runtime Manager console.
Server names can contain up to 60 alphanumeric characters (a-z, A-Z, 0-9), periods (.), hyphens (-) and underscores (_), but not spaces or other special characters. Runtime Manager supports Unicode characters in server names.
server-namevalue is unique across environments. If the same organization exists in different environments, the
server-namecan be the same in those organizations.
Include any other parameters on the
For information, see amc_setup Parameters.
If your environment requires all outbound calls to go through a proxy, specify proxy settings in either the
$MULE_HOME/conf/mule-agent.ymlfile or the
If you are using the IBM JVM, see IBM JVM.
amc_setup command completes successfully, you see:
Mule Agent configured successfully Connecting to Access Management to extract client_id and client_secret Credentials extracted correctly, updating wrapper conf file
After the script completes successfully, your server is listed on the Servers tab of Runtime Manager with a status of Created.
If the server was running when you ran the
amc_setup script, restart the server to reconnect with Runtime Manager.
When creating a server using the IBM Java Virtual Machine (JVM), you must use a different truststore file than the default truststore installed by the Runtime Manager agent.
Download the custom truststore from this knowledgebase article:
Depending on your Mule version, rename the
$MULE_HOME/confto one of these file names:
Mule 4.1.3 (Mule Agent 2.1.4) and later
Mule 4.1.2 (Mule Agent 2.1.3)
Copy the custom truststore into the
If the server you want to add is already registered with a different instance of Runtime Manager, you must remove it before you can register.
To remove the server from Runtime Manager:
In Runtime Manager, delete the server from the Server tab.
$MULE_HOME/confdirectory, delete the