mule management console installation

18
Mule Management Console Installation Using Tomcat

Upload: f-k

Post on 22-Jan-2017

200 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: Mule management console installation

Mule Management Console Installation Using Tomcat

Page 2: Mule management console installation

Agenda

1. Installation & Configuration of Tomcat

2. Deployment of Mule server in Tomcat

3. Working with Mule ESBa. Creation of new server in Mule MMCb. How services are added in Repositoryc. Deployment of Servicesd. How alerts are configured and automated

Page 3: Mule management console installation

Installation and configuration of Tomcat

1. Tomcat installation

1. After setting the JAVA_HOME environment variable, you can install tomcat.

2. Go to the Tomcat Web page (http://tomcat.apache.org/).

3. Click on Binaries under the Download label on the left side of the page.

4. Scroll down until you see Tomcat 4.1.x. (x will be some number greater than 10).

5. Click on the link ending with exe (e.g. 4.1.27 exe).

Page 4: Mule management console installation

2. Installation of Tomcat1. For Windows OS, Tomcat comes in two forms: .zip file and .exe file. First

unpack the zipped file and simply execute the '.exe' file.

2. A Welcome screen shot appears that shows the beginning of installation process. Just click on the 'Next' button to proceed the installation process.

3. A screen of 'License Agreement' displays. Click on the 'I Agree' button. 

Page 5: Mule management console installation

4. A screen shot appears asking for the 'installing location‘

5. Choose the default components and click on the 'Next' button.  

Page 6: Mule management console installation

6. A screen shot of 'Configuration Options' displays on the screen. Choose the location for the Tomcat files as per your convenience. You can also choose the default Location

7. Now, click on the 'Next' button to further proceed the installation process

Page 7: Mule management console installation

8. A Window of Java Virtual Machine displays on the screen

9. This window asks for the location of the installed Java Virtual Machine. Browse the location of the JRE folder and click on the Install button. This will install the Apache tomcat at the specified location.

Page 8: Mule management console installation

10. A screen shot of 'Tomcat Completion' displays on the screen

Page 9: Mule management console installation

Running Tomcat Server:1. Start the tomcat server from the bin folder of Tomcat 6.0 directory by

double clicking the "tomcat6.exe" file. 2. Now Open web browser and type URL http://localhost:8080 in the address

bar to test the server3. To Stop the Tomcat Server:  Stop the server by pressing the "Ctrl + c" keys.The screen of Apache Tomcat software looks like this:

Page 10: Mule management console installation

2. Deployment of Mule Application in Tomcat server

1. Package your Mule application's configuration files and custom Java classes in a .war file (mmc-console-3.4.0.war)

2. Copy your application's .war file, then paste it in Tomcat /webapps directory.

3. Tomcat deploys the application.

4. Now open browser enter the url of tomcat and append with the mule application war file name.

Example: http://localhost:8080/ mmc-console-3.4.0

Page 11: Mule management console installation

5. Enter the username and password to login to mmc

Page 12: Mule management console installation

3. Working with Mule ESB

A. Creating Server

• Procedure to create server:1. Login to MMC2. Click on the tab “Servers”3. Click on tab “Add” on the Right Hand side of the screen.4. Select “New Servers” button5. Give a name to server and click on “Add”

Page 13: Mule management console installation

B. Procedure to add deployable file to repository:

1. Login to MMC

2. Click on Deployments tab

3. Click on Repository on Left Hand Side Menu and click on New button

4. Click on browse button and select the deployable file path as captured above

5. Click on Advanced options, provide the values for Name & Version (<<proj shortname>>-<<BR/TAG>>-<<DDMMMYYYY>>-<<V>><<number>>) ex.) epos-BR-07JAN2014-V1

6. Click on Add button

Page 14: Mule management console installation

C. Deployment of services

Procedure to deploy the services from the Repository:

1. Open the MMC Console URL2. Click on the tab “Deployments”3. Click on tab “New” on the Right Hand side of the screen4. Deployment Name to be given along with the below actions5. Add the deployable from the repository added through the previous step6. Select the server in which we need to deploy7. Click on Save button and the deployable is saved in MMC8. Un-deploy all the current deployed applications 9. Restart the server through MMC10. Deploy the unchanged version of apps un-deployed at step 8 along with the new

apps to be deployed.

Page 15: Mule management console installation

D. Alerts to be created or Modified1. Procedure to create the alerts in MMC:Please find the template used to fill in the details of the alerts to be configured

2. Click on Alerts tab on MMC3. Select Alert Definition on the Left side menu4. Click on “New Alerts” button Right hand side of the screen5. Select the type of alert

S.No.

Alert Name Alert Description Type (New/Modify)

Alert Type Alert Description

Alert Message Email

1.

1.

1.

Page 16: Mule management console installation

5. Based on the type of alert provide the required information captured as per the above table6. Click Save and the alerts are created7. Select Alert Destination on the Left side menu8. Click on “New Destination” on Right hand side of the screen9. Provide the name of the alert destination and select type as “Email” 8. we need to provide all the email related parameters and click on Save9. Select Alert Notification on the Left side menu10. Click on “Mule Notification” button on Right hand side of the screen11. Provide the name for alert notification

a. Click on add filterb. Select the field as appropriate ex. alertc. Select the value as appropriated. Click on save

12. Select the destination as required and fill all the email related contents13. Click on Save

Note: Skip the steps 8 to 10 for any new alert creation and these steps are required for configuring the mail server configuration for the first time

Page 17: Mule management console installation

2. Procedure to modify the alerts in MMC:

1. Click on Alerts tab on MMC

2. Select Alert Definition on the Left side menu

3. Select the required alert to be modified and click over the alert selected

4. Select the appropriate application to enable the alerts

Page 18: Mule management console installation

Thank You !