{{announcement.body}}
{{announcement.title}}

Add Mule 4 Standalone Runtime as On-Premise Server in Anypoint Platform Runtime Manager

DZone 's Guide to

Add Mule 4 Standalone Runtime as On-Premise Server in Anypoint Platform Runtime Manager

In this article, see how to add a Mule 4 Standalone Runtime as an additional server in the Anypoint Platform Control Plane.

· Integration Zone ·
Free Resource

Mule standing in a field near cliff

Add Mule 4 Standalone Runtime as On-Premise Server in Anypoint Platform Runtime Manager

In this article, I will explain how to add a Mule 4 Standalone Runtime as an additional server in the Anypoint Platform Control Plane.

Prerequisites

1. First, extract the downloaded Mule 4.2 standalone runtime zip file in your root directory.

Image title

2. Go to Runtime Manager > Servers, click the Add Server, and copy the below command, which will be executed in the on-prem server to install the Mule agent and establish the communication between the on-prem Mule 4 runtime and Anypoint Platform Control Plane.

Image title

3. Execute the command ./amc_setup -H b9ca89f8-39cc-44b8-8b9e-07607ed54abf---240229 server-name under the /bin directory inside the Mule 4 runtime folder. The server-name should be replaced with the name of your on-prem server. In this example, I will use mule4-node1 as the name of the server.

You might also like:  How to Deploy an Application in Mule Standalone Runtime

Image title

Image title

Checking the Runtime Manager, you should see that the on-prem server is now reflected on the Servers tab.

Image title

4. Start the Mule 4 Standalone Runtime by executing the mule.bat under /bin directory.

Image title

Image title

In Runtime Manager, under Servers, the added on-prem server status should be running.

Image title


5. Deploy a Mule 4 application and use the on-prem Mule runtime as the target deployment.

Image title

The application should be deployed successfully.

Image title

Testing the Mule 4 application deployed in the on-prem Mule 4 runtime.

Image title

That's it.

Hope this helps!

Further Reading

Runtime-Patching in Mule 4

Working With Custom Policy in Mule 4

Topics:
mulesoft 4 ,anypoint platform ,on premise ,integration ,tutorial ,mule 4 ,mule standalone runtime ,Anypoint Platform Runtime Manager

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}