SATS-MuleSoft Setup - and - Deployment - v2
SATS-MuleSoft Setup - and - Deployment - v2
MuleSoft
On-Prem Cluster Setup
Page 1
MuleSoft Setup v1.0
Page 2
MuleSoft Setup v1.0
Contents
1. Introduction....................................................................................................................................................... 5
4 Install License................................................................................................................................................... 13
4.1 Test Mule Runtime (Before License)..................................13
4.2 Install License.....................................................14
4.3 Test Mule Runtime (After License)...................................15
6 Agent setup...................................................................................................................................................... 16
7 Cluster.............................................................................................................................................................. 18
7.1 Create the cluster..................................................18
8 Code Deployment............................................................................................................................................. 20
8.1 Domain Project Deployment...........................................20
8.2 Projects Deployment.................................................20
Page 3
MuleSoft Setup v1.0
References..................................................................................................................................................................... 24
Page 4
MuleSoft Setup v1.0
1.Introduction
This document helps in understanding how the muleSoft runtime has to be installed in Linux RedHat
distribution and Cluster them and use with the physical load balancer. In the current scenario where the
mule runtimes are being installed, the native VM OS instances are already installed and Physical load
balancer is already configured.
This rundown shows the before and after license installation and also indicates the server installations
status
Link: https://anypoint.mulesoft.com/login/
Username: PlatformUserName
Password: ******
Page 5
MuleSoft Setup v1.0
Page 6
MuleSoft Setup v1.0
Page 7
MuleSoft Setup v1.0
Page 8
MuleSoft Setup v1.0
Page 9
MuleSoft Setup v1.0
Page 10
MuleSoft Setup v1.0
Install either Open JDK from here (https://openjdk.java.net/install) or Oracle JDK from
here (https://www.oracle.com/in/java/technologies/javase-jdk15-downloads.html)
Check if the java home is set to respective JDK’s in both the VM’s, you can check this by
typing following command in terminal windows
Page 11
MuleSoft Setup v1.0
Page 12
MuleSoft Setup v1.0
4 Install License
Page 13
MuleSoft Setup v1.0
Page 14
MuleSoft Setup v1.0
4.3.1 Run Mule EE Server with on terminal window., you should see this
URLS
mule-manager.anypoint.mulesoft.com (Port 443)
mule-manager.eu1.anypoint.mulesoft.com (Port 443)
runtime-manager.anypoint.mulesoft.com (Port 443)
runtime-manager.eu1.anypoint.mulesoft.com (Port 443)
runtime-manager.gov.anypoint.mulesoft.com (Port 443)
arm-auth-proxy.prod.cloudhub.io (Port 443)
data-authenticator.anypoint.mulesoft.com (Port 443)
mule-manager.anypoint.mulesoft.com (Port 443)
mule-manager.eu1.anypoint.mulesoft.com (Port 443)
Page 15
MuleSoft Setup v1.0
6 Agent setup
6.1 Stop the Mule server if it is already running: Stop Mule Runtime:
$MULE_HOME/bin/mule stop
6.2 unzip agent-setup-1.14.2.zip -d /data/mule-runtime/mule-enterprise-standalone-3.9.0-
20220127/bin
Page 16
MuleSoft Setup v1.0
6.6 Add Server in the Anypoint Platform – Click on the Add Server
6.7 Copy the command from the clipboard and run from the console /bin folder
6.8 ./amc_setup -H abcf3162-d6ae-4ba1-abeb-2bf68af75a4e---668594 Test
Page 17
MuleSoft Setup v1.0
6.9 $MULE_HOME/bin/amc_setup –U
6.10 Start the Mule server $MULE_HOME/bin/mule start
6.11 Repeat all these steps in all the needed VM’s which need to be part of the Cluster.
7 Cluster
7.1 Create the cluster
7.1.1 Add all the required Servers to the platform and start them from
the backend
7.1.2 Click on Create Cluster
Page 18
MuleSoft Setup v1.0
7.1.4 Once clustered all the needed servers you can do activities like
start, stop the servers and deploy the applications directly from the
Anypoint platform.
Page 19
MuleSoft Setup v1.0
8 Code Deployment
8.1 Domain Project Deployment
8.1.1 Extract the Domain project from the Anypoint Studio which is a zip
File
8.1.2 Upload it to the Server’s by using any FTP client tool E.g. WINSCP
8.1.3 Repeat the same with the server2 as well and check in the both the
servers, respective anchor file must be generated
automatically, in case of any error then please check the logs at the
location
/data/mule-runtime/mule-enterprise-standalone-3.9.0/logs/mule_
ee.log
Page 20
MuleSoft Setup v1.0
Page 21
MuleSoft Setup v1.0
Page 22
MuleSoft Setup v1.0
8.2.6 Select the application file path and Name enter the Application
Name. Note: “_” is not allowed so use “-“ if required
8.2.7 Select the Deployment Target is the cluster you’ve configured.
8.2.8 Check for the application status, it should be Started otherwise you
have to check the logs(/data/mule-runtime/mule-enterprise-
standalone-3.9.0/logs/mule_ee.log) to identify the issue.
Page 23
MuleSoft Setup v1.0
References
1. https://docs.mulesoft.com/mule-runtime/4.3/mule-standalone
2. https://docs.mulesoft.com/
Page 24