DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations
Building Scalable Real-Time Apps with AstraDB and Vaadin
Register Now

Trending

  • How To Manage Vulnerabilities in Modern Cloud-Native Applications
  • Send Email Using Spring Boot (SMTP Integration)
  • How To Scan and Validate Image Uploads in Java
  • Building a Robust Data Engineering Pipeline in the Streaming Media Industry: An Insider’s Perspective

Trending

  • How To Manage Vulnerabilities in Modern Cloud-Native Applications
  • Send Email Using Spring Boot (SMTP Integration)
  • How To Scan and Validate Image Uploads in Java
  • Building a Robust Data Engineering Pipeline in the Streaming Media Industry: An Insider’s Perspective

Adding Server in Runtime Manager

One advantage of having On-Prem or Hybrid implementation over CloudHub is that multiple applications can be connected using Mule Domain Project.

Abhay Yadav user avatar by
Abhay Yadav
·
Jul. 22, 20 · Tutorial
Like (4)
Save
Tweet
Share
4.42K Views

Join the DZone community and get the full member experience.

Join For Free

On-Prem Mule Runtime instances/servers can be registered with the Anypoint Runtime Manager (ARM) and managed from there. Servers use Runtime agents to communicate with ARM. This approach of having self-provisioned Mule Runtime Servers connected to Anypoint Platform using Anypoint Runtime Manager Agent is called Hybrid implementation.

One advantage of having On-Prem or Hybrid implementation over Cloudhub is that multiple applications can be connected using Mule Domain Project allowing them to share resources and connector versions which is not possible on Cloudhub.

Registering a Mule Runtime Instance With ARM

  • Download Mule Runtime from here. Unzip it to the desired location.
  • Login to Anypoint platform and go to Runtime Manager ->  Servers -> Add Server

  • Go to the MULE_DIRECTORY/bin, open cmd, execute the above command. Provide a unique server name. anypoint

The agent is configured successfully. The server will be listed in ARM under Server with Created Status add server

  • In terminal/CMD, execute mule.bat/mule or just double click mule batch file to start the server. Server status will change to Running in ARM

To deploy an App to the registered server, navigate to Application ->Deploy Application

deploy application

Provide a name, file, and other required information. The deployment target should be the running server. 

Once the app is deployed successfully, it will be listed in the Applications panel

Also, in terminal/CMD, the logs will be generated and in MULE_DRECTORY/apps, a folder with deployed application name will be present along with anchor file. Anchor file is used to safely remove the app from the server.

Deploying Mule Domain Project

Domain projects can't be deployed from the Anypoint platform, so have to do it from CMD or SSH into the machine where MRT is hosted. Export the domain as JAR (if Mule 4) or zip (if using Mule 3) from Anypoint Studio or do mvn from the project directory (if using Mule 4). Copy the archive and paste it inside MULE_DIRECTORY/domains.

The server will pick up the artifact and deploy the domain. 

Note: Domains are not listed under Applications panel in Runtime Manager

snapshot-deployed

I hope it was helpful. Thanks for reading!

application

Opinions expressed by DZone contributors are their own.

Trending

  • How To Manage Vulnerabilities in Modern Cloud-Native Applications
  • Send Email Using Spring Boot (SMTP Integration)
  • How To Scan and Validate Image Uploads in Java
  • Building a Robust Data Engineering Pipeline in the Streaming Media Industry: An Insider’s Perspective

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com

Let's be friends: