Before nosotros start, brand certain that you lot read these links:
https://docs.jboss.org/author/display/AS71/AS7+Cluster+Howto
In your master's domain.xml file, don't forget to laid the hornetq-server's cluster-password.
<subsystem xmlns="urn:jboss:domain:messaging:2.0"> <hornetq-server> <cluster-password>${jboss.messaging.cluster.password:absolutely}</cluster-password>
Run the server on both machine. And you lot should larn the images I've posted above. The topology volition become:
To exam if the clustering is working download the projection from:
https://github.com/czetsuya/picketlink-authentication-jsf
Download, develop amongst maven together with deploy on the two server groups:
Now nosotros tin access the application from:
http://192.168.0.110:8080/jboss-as-picketlink-authentication-jsf/home.jsf
To exam if clustering is working nosotros bespeak to setup cluster module from apache which is properly documented here: https://docs.jboss.org/author/display/AS71/AS7+Cluster+Howto.
0 komentar:
Please comment if there are any that need to be asked.