Multiple cluster from one domain controller EAP6
I have been focusing to find out how to rund multiple cluster setups from one domain controller. I am looking for some guidelines on how to proceed. The best would be if it is possible to create more clusters from the web gui.
The aim with this is to have one domain controller for IT Operations to manage, making it more user friendly.
Responses
Hello,
A domain controller can manage multiple sever groups. Since a cluster has a unique multicast address and port, one can configure each sever group to use a unique multicast address and port. Take a look at this article [1], which outlines how to define a simple cluster in "domain mode". Ultimately, you define a server group and add members to that sever group. If these members are using the same multicast address and port, they will automatically cluster (upon the sucessful deployment of a clustered application). Repeat the same process for a second server group.
-Jonathan
[1]https://access.redhat.com/knowledge/solutions/156643
I managed doing it this way:
- Create 2 server groups: Cluster-A and Cluster-B. Choose ha profile and ha-sockets for these groups.
- Set jboss.default.multicast.address system property for each server group to something like 230.0.1.4 and 230.0.2.4
- Create some servers in each group
- Deploy clustered applications in each group
That's all. Clustered apps in Cluster-A will be isolated from apps in Cluster-B.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
