Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
(On Premise)
Introduction
● What is Mule Runtime On Premise
● Cloudhub vs On-Prem
● Mule Runtime Deep Dive
● Domain Projects
● Server Groups
● Clusters
● Configure Anypoint Monitoring
● High Availability
Mule Runtime On Premise
Mule runtime on premise is one of the deployment model.
Characteristics:
Running Multiple Applications in One Mule Instance
Application Package and Deployment
Application and Domain Deployment
Application Hot Deployment
Communication Between Mule Instances and the Management Pane
Deploy Applications in Parallel by copying applications to /apps folder and start server with :
mule -M-Dmule.deployment.parallel command
Update Applications at Runtime by either touching mule-config.xml (apps root directory) or
placing updated jar in $MULE_HOME/apps
Supports Domain Projects
Cloudhub vs On Premise
Unix: $MULE_HOME/bin/mule
Windows: $MULE_HOME\bin\mule.bat
Server can be started by:
Characteristics:
Expose multiple services within the domain through the same port.
Share the connection to persistent storage.
Share services between Mule applications through a well-defined interface.
Ensure consistency between Mule applications upon any changes because the configuration is only set
in one place.
Defining flows, subflows, or any message processors as shared resources is not supported.
Mule apps can be associated with only one domain at a time
Server Groups
A server group is just an administrative grouping of isolated Mule runtimes
Server Groups
servers to server group can be added as below:
All servers in a server group must be running the same version of Mule runtime engine and
the same version of Runtime Manager agent.
You can create a server group with servers with the Running or the Disconnected status, but
these can’t be in the same group as servers with the Created status.
You can create a server group with servers with the Created status.
To add a server on which existing applications are currently running to a server group, first
stop and delete the applications from the server.
Clusters
A cluster is a set of customer-hosted Mule runtimes that act as a unit. Cluster is a virtual
server composed of physical nodes. Clusters can be created as Unicast and Multicast
• HTTP
• JMS
• WebSphere MQ
• JDBC
• File
• FTP
• Clustered (replaces the local VM
transport)
Links Referred
• https://www.ms3-inc.com/integration/mulesoft/cloudhub-vs-on-premise/
• https://docs.mulesoft.com/mule-runtime/4.3/mule-high-availability-ha-clusters
• https://docs.mulesoft.com/mule-runtime/4.3/shared-resources#prerequisites
• https://help.mulesoft.com/s/article/How-to-override-`cluster-properties
• https://docs.mulesoft.com/mule-runtime/4.3/creating-and-managing-a-cluster-manually#cluster-
configuration-parameters
• https://docs.mulesoft.com/mule-runtime/4.3/creating-and-managing-a-cluster-manually
• https://docs.mulesoft.com/monitoring/am-installing
• https://docs.mulesoft.com/mule-runtime/4.3/choosing-the-right-clustering-topology
• https://docs.mulesoft.com/mule-runtime/3.8/mule-high-availability-ha-clusters#the-benefits-of-
clustering
• https://docs.mulesoft.com/mule-runtime/4.2/creating-and-managing-a-cluster-manually#object-
store-persistence
Questions?