-
1. Re: Jboss cluster configuration
kuldeep11 May 2, 2014 5:46 AM (in response to bharathk10)Please provide more details about the issue you are facing.
-
2. Re: Jboss cluster configuration
rhusar May 2, 2014 6:52 AM (in response to bharathk10)I need help to set up a master and slave for cluster configuration.
Well cluster doesnt work on master/slave, only the configuration does. Each node participates in the cluster by the same deal.
even either master or slave server one of them is down.
Why would it make sense to leave 50% of your hardware do nothing?
I am not able to configure mod cluster and jboss 7.1 AS .need more info on the same.
Refer to mod_cluster project documentation as well:
Or alternatively describe your problem in more detail?
-
3. Re: Jboss cluster configuration
bharathk10 May 2, 2014 6:52 AM (in response to kuldeep11)Hi ,
I am able to bring up an cluster environment of master and slave,I have installed the httpd and mod cluster required for cluster configuration .Now if I deploy my app it from my Domain Controller (master) it gets deployed in both master and slave servers. Now if I try to access the app with IP address of the (master server) machine it is working .But if I bring down my master server and try to access the app again with IP address of the master server machine the app is not working/inaccessible though my slave server is up and running the request was not sent to the slave server.
So my confusion is to how to set up a virtual host name for the app like it should route the request to any of the server which is up and running.I want to configure a common IP address/name for the app to get accessed from either of the servers.I think I am missing some configuration between mod cluster and Jboss .
How to tell JBoss it should use modcluster or how to handle the scenario of fail-over in cluster environment as described above.
-
4. Re: Jboss cluster configuration
bharathk10 May 2, 2014 8:02 AM (in response to bharathk10)Hi ,
I am able to bring up an cluster environment of master and slave,I have installed the httpd and mod cluster required for cluster configuration .Now if I deploy my app it from my Domain Controller (master) it gets deployed in both master and slave servers. Now if I try to access the app with IP address of the (master server) machine it is working .But if I bring down my master server and try to access the app again with IP address of the master server machine the app is not working/inaccessible though my slave server is up and running the request was not sent to the slave server.
So my confusion is to how to set up a virtual host name for the app like it should route the request to any of the server which is up and running.I want to configure a common IP address/name for the app to get accessed from either of the servers.I think I am missing some configuration between mod cluster and Jboss .
How to tell JBoss it should use modcluster or how to handle the scenario of fail-over in cluster environment as described above.
-
5. Re: Jboss cluster configuration
wdfink May 2, 2014 8:16 AM (in response to bharathk10)If you look to AS7 Cluster Howto there is a LoadBalancer with Apache in front of the JBoss instances. This instance is connected be http requests and manage the connection(s) to the backend.
If you use EJB invocations this is done inside the JBoss API.
So there are different possiblilities to achive that, you might also use a HW load-balancer.