Nav
You are viewing an older version of this section. Click here to navigate to the latest version.

Creating a Cluster

You can now easily create a cluster through the Runtime Manager UI. See Creating and Managing Clusters.

After downloading the demo bundle and executing the six scripts, you can open the Mule Management Console to see Mule in action. We start by registering two Mule servers, or nodes, in the Mule Management Console, then we configure a cluster with two nodes.

Registering Servers

  1. Open your browser, then go to http://localhost:8585/mmc and login to the management console using the following credentials:

    • Username: admin

    • Password: admin

      mmc_login

  2. The management console displays a Mule ESB Enterprise - Quick Start screen; click the red X icon red-x-icon in the upper-right corner to close.

  3. The management console presents the Dashboard tab by default; click the Server tab.

  4. Click Add, then select New Server.

    add_new_server

  5. In the Server Name field on the Add Server screen, enter a unique name for the first server, such as Server A.

  6. In the Mule Agent URL field, do not adjust the default value, http://localhost:7777/mmc-support

    add_server_A

  7. Click Add to register the first server. The management console displays the details of the newly-registered server.

    server_details_serverA

  8. Click All in the Package Explorer column at left to return to the main screen of the Server tab, then click Add, then select New Server again.

  9. In the Server Name field on the Add Server screen, enter a unique name for the second server, such as Server B.

  10. In the Mule Agent URL field, adjust the default value to the following:

  11. Click Add to register the second server.

  12. Click All in the Package Explorer column at left to return to the main screen of the Server tab. The management console displays the two newly-registered servers.

    two_registered_servers

Creating a Cluster

  1. On the Servers tab in the management console, click Add, then select New Cluster.

    add_new_cluster

  2. In the Cluster Name field on the Create Cluster screen, enter a unique name for the cluster, such as Dev Cluster.

  3. Click to select both servers in the Available Nodes pane, then click the >> button to move the selections to the Cluster Nodes pane.

    create_cluster

  4. Click Add to create the cluster. (Mule must restart the servers so this process may take a minute.)

  5. Click All in the Package Explorer column at left to return to the main screen of the Server tab. The management console displays the new cluster as one “server”. You can now manage this cluster of servers as one.

    created_devcluster