Testing the cluster

In this section we'll test our cluster, so we need to start our load balancer and EAP6 servers. Before we start httpd on lb, we need to start the two EAP6 servers. After the two EAP6 servers have been started, start httpd. In the following section, we'll examine the process of starting up httpd.

Starting up httpd

Now we need to start the httpd server. If everything goes fine, mod_cluster in httpd will begin to advertise itself in a multicast group, and the modcluster subsystem in the two EAP6 servers will be able to find mod_cluster in httpd by fetching its address in the advertising channel. We will investigate this process in the following sections; let's first start httpd. The command to start httpd on lb is as follows:

Get JBoss EAP6 High Availability now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.