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
Securing Your Software Supply Chain with JFrog and Azure
Register Today

Trending

  • Revolutionizing Algorithmic Trading: The Power of Reinforcement Learning
  • Tech Hiring: Trends, Predictions, and Strategies for Success
  • Seven Steps To Deploy Kedro Pipelines on Amazon EMR
  • What Is Envoy Proxy?

Trending

  • Revolutionizing Algorithmic Trading: The Power of Reinforcement Learning
  • Tech Hiring: Trends, Predictions, and Strategies for Success
  • Seven Steps To Deploy Kedro Pipelines on Amazon EMR
  • What Is Envoy Proxy?
  1. DZone
  2. Software Design and Architecture
  3. Microservices
  4. Create a Cluster Using Runtime Manager (Hybrid) With Mule ESB and Anypoint

Create a Cluster Using Runtime Manager (Hybrid) With Mule ESB and Anypoint

In this article, we cover how to integrate Mule with a hybrid cloud solution by creating clusters using a runtime manager. Read on for more!

Sadik Ali user avatar by
Sadik Ali
CORE ·
Jan. 31, 18 · Tutorial
Like (8)
Save
Tweet
Share
7.58K Views

Join the DZone community and get the full member experience.

Join For Free

Working in this era of cloud computing, the option of a hybrid cloud solution is always open to keep your business data under control. Mule ESB and the Anypoint platform provide one opportunity to integrate this feature with minimum effort.

Here is a use case where one needs a cluster in a hybrid environment...

Case: One organization (ABC) needed to expose their own system's interfaces using a platform (cloud) to external users/organizations.

Solution:        

  1. An API was developed using Mule ESB.

  2. This API was deployed on the on-prem server (due to organizational business control).

  3. The on-prem server was added to the Anypoint platform (cloud solution) and cluster.

  4. The cluster can be managed using the Anypoint platform.

Steps involved : 

 1. Download the Mule standalone runtime (ex. 3.9)   

Image title

2. Login to the Anypoint platform and go to the Runtime manager/servers (you will find there is no server listed initially, as in the below image).

Image title

3. Copy the above command and go to the Mule standalone runtime and execute that command:

     Image title

You will see the above lines once the command has been executed. 

Once the command has been executed successfully, please go to the  Runtime manager/servers section. There, you will find a server with the name "server1" added in Anypoint Platform's runtime manager, as seen in the below image:

Image title

4. To add another server to the form cluster, please click on "Add server" in servers section and execute the same process as executed in "step 2."

Image title

Once the command is successfully completed you will find another server added in the Runtime manager with the name "server2," as seen in the below image:

Image title

5.  To form a cluster as more than one server added to the Anypoint platform, one must:

  • Start both servers. 

  • Go to the Runtime manager section, click on "Create Cluster," and add both servers to the form "create cluster" with the help of the Anypoint platform (and an on-prem runtime), as in below image (I have created a multicast cluster, but you can change this to a unicast as per your requirements).

Image title

Once you click on 'create cluster,' Anypoint will restart all the assigned servers in order to complete the cluster configurations and update the page itself, like below: 

Image title

Image title

Go to the "application/deploy application" section. There, you will find the below option to deploy your Mule application using the Anypoint platform.

Image title

Choose the option that allows you to deploy your application on the cluster, as this will deploy on both servers associated with the cluster.

Thanks, MuleSoft!

cluster Enterprise service bus

Opinions expressed by DZone contributors are their own.

Trending

  • Revolutionizing Algorithmic Trading: The Power of Reinforcement Learning
  • Tech Hiring: Trends, Predictions, and Strategies for Success
  • Seven Steps To Deploy Kedro Pipelines on Amazon EMR
  • What Is Envoy Proxy?

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: