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
Please enter at least three characters to search
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

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
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

Last call! Secure your stack and shape the future! Help dev teams across the globe navigate their software supply chain security challenges.

Modernize your data layer. Learn how to design cloud-native database architectures to meet the evolving demands of AI and GenAI workloads.

Releasing software shouldn't be stressful or risky. Learn how to leverage progressive delivery techniques to ensure safer deployments.

Avoid machine learning mistakes and boost model performance! Discover key ML patterns, anti-patterns, data strategies, and more.

Related

  • [Part 2] Mule 4: Using SSL/TLS
  • AI: Do You Trust It?
  • How To Manage Redis Cluster Topology With Command Line
  • Spring Boot Application With Spring REST and Spring Data MongoDB

Trending

  • A Complete Guide to Modern AI Developer Tools
  • How the Go Runtime Preempts Goroutines for Efficient Concurrency
  • A Guide to Developing Large Language Models Part 1: Pretraining
  • How to Convert XLS to XLSX in Java
  1. DZone
  2. Data Engineering
  3. Data
  4. Mule Standalone Runtime Setup and Deployment

Mule Standalone Runtime Setup and Deployment

You will see how to configure a standalone mule runtime server on a local server. This is typically used when an organization wants to secure its entire data.

By 
Mukesh Thakur user avatar
Mukesh Thakur
DZone Core CORE ·
Sep. 04, 21 · Tutorial
Likes (4)
Comment
Save
Tweet
Share
21.9K Views

Join the DZone community and get the full member experience.

Join For Free

When most of the integration data is lying inside an organization's data center and data is highly secured, then the On-Prem deployment model is the right solution.

It does offer the flexibility to set up your load balancing, domains, VPC, and anything you want to do to your environment as you will be building it in your own data center. You can cluster specific servers that you have in your infrastructure and set them accordingly.

Deployment Architecture

Mule Runtime Instance

Mule runtime instance

Prerequisites

  1. Your enterprise license is current.
  2. You are running Mule 3.6.0 or later, and API gateway 2.1 or later.
    For Mule 3.6.x, install the Runtime Manager agent.

Minimum Hardware Requirements

  1. 2 GHz CPU or 1 virtual CPU in virtualized environments.
  2. 1 GB of RAM.
  3. 4 GB of storage.

Adjust RAM to match your latency requirements and the size and number of simultaneous messages that applications process.

Software Requirements

  1. MacOS 10.15/ HP-UX 11i V3, AIX 7.2/ Windows Server 2019/ Windows 10/ Solaris 11.3/ RHEL 8/ Ubuntu Server 20.04. 
  2. JDK 1.8.0 or JDK 11.

Recommended JDK: AdoptOpenJDK with the latest version of OpenJDK 8 (LTS) and the HotSpot JVM.

Steps to Configure Mule Runtime Instance on Standalone Server

Download Mule4 Standalone Instance

Download link: https://www.mulesoft.com/lp/dl/mule-esb-enterprise.

Provide a phone number, accept the agreement and click on the download button.

Downloading Mule 4 Standalone

Extract download ZIP file on the location where you want to configure the Mule instance.

Extract and Download ZIP File

Add Mule Server to Runtime Manager

From Anypoint Platform, select Runtime Manager.

  1. Click Servers in the left menu.
  2. Click the Add Server button.
  3. Enter a name for your server.
  4. 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. 
  5. Click the Copy command to copy the amc_setup command.

    This button appears only if the server name you specify is valid.

Runtime Manager supports Unicode characters in server names. The server name must be unique in the environment, but it can be the same for the same organization in different environments.

Runtime Manager generates the amc_setup command. This command includes the server name you specified (server-name) and the registration token (token) required to register Mule in your environment. The registration token includes your organization ID and the current environment.

Adding a Server to Runtime Manager

  1. In a terminal window, change to the $MULE_HOME/bin directory for the Mule instance that you’re registering.
  2. Paste the command on the command line. For Windows, amc_setup -H <amc script from step 5> stand-alone, and Linux, ./amc_setup -H <amc script from step 5>.
  3. Include any other parameters on the amc_setup command line.
  4. For information, see amc_setup Parameters.
  5. If your environment requires all outbound calls to go through a proxy, specify proxy settings in either the $MULE_HOME/conf/mule-agent.yml file or the $MULE_HOME/conf/wrapper.conf file.Step 5 Script
  6. Login to the Anypoint platform and verify the server that registered.

Verifying Registered Server on Anypoint Platform

Run Server and Deploy Application

1. Start the server using the below command:

Java
 
#windows
D:\mule training\on-premise\mule-standalone-4.3.0\bin>mule
#Linux
<mule-home>\bin> ./mule


2. Once the server starts you will see the status of the server as below.

Server Status Post-Deployment

3. Create an application in Anypoint Studio and deploy.

4. Click on Applications.

5. Click on Deploy application.

6. Provide a logical name for the application select target as "stand-alone", choose application file and click on deploy application.

Deploying Application

7. After the application deploys and starts you will see staus in Runtime manager is as below.

Runtime Manager Post-Deployment

8. Call endpoint URL and see the output.

Output of Endpoint URL

9. After deployment from Anypoint Runtime Manager you can verify the application is deployed on your local machine.

Verifying Application is Deployed on Local Machine

Conclusion

This is the end of the tutorial. Hope it will help and you enjoy it.

As this post is a continuation of the previous tutorial, don't forget to check that out and stay tuned for the next article on server groups.

application Data (computing) Command (computing)

Opinions expressed by DZone contributors are their own.

Related

  • [Part 2] Mule 4: Using SSL/TLS
  • AI: Do You Trust It?
  • How To Manage Redis Cluster Topology With Command Line
  • Spring Boot Application With Spring REST and Spring Data MongoDB

Partner Resources

×

Comments
Oops! Something Went Wrong

The likes didn't load as expected. Please refresh the page and try again.

ABOUT US

  • About DZone
  • Support and feedback
  • Community research
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

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

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends:

Likes
There are no likes...yet! 👀
Be the first to like this post!
It looks like you're not logged in.
Sign in to see who liked this post!