In the previous chapter, we have seen that EAP6 has provided two server groups in domain.xml
. One is called main-server-group and the other is called other-server-group. In this chapter, we'll use the other-server-group to set the cluster, because it's using the full-ha
profile, and this profile contains all the components we'll use to set up the cluster.
With a cluster, we can distribute the request load to multiple servers. With the EAP6 domain management function, we can deploy a project into multiple EAP6 servers in the management console of the domain controller.
We will use three machines to set up a cluster in this book. Two of them will be used to run the EAP6 servers, and one of them will be used to run the load balancer. In this chapter, we will use two machines to run the EAP6 servers.