-
1. Re: Using JBoss Cache Across Clusters
Galder Zamarreño May 3, 2010 12:27 PM (in response to Craig Simpson)The EJB would be deployed in the other 3 servers if the deployment is located in farm/ directory, otherwise unless you manually copied to the other 3 server's deploy directory, it wouldn't be there. I don't see a need for a 2nd cluster. More info on Farm deployment can be found in http://www.jboss.org/community/docs/DOC-10380
If you need the 4th server to access the cache, you need to deploy the cache descriptor and any cache client code in the 4th server.
-
2. Re: Using JBoss Cache Across Clusters
Balakrishna Nannuri Aug 5, 2010 11:38 AM (in response to Galder Zamarreño)Hi Galder,
I have a related question about JBOSS cache clustering.
We have a situation where we have 4 nodes in PROD environment running JBOSS AS 4.2.3 , but they are not clustered. And we are planning to introduce JBOSS cache which needs to be replicated across all 4 nodes. So, does JBOSS cache needs the JBOSS AS to be clustered in-order to replicate?.
Based on the documentation, JBOSS AS doesn't have to be clustered as JBOSS cache can run on any app server and stnadalone as well. To prove the same, I have installed JBOSS cache as a stand alone on 2 nodes in the same LAN and tried to run the tutorial with total replication. Appearantly they don't see each other, and hence the replication is not happening. Attached is the cache configuration I have used which is packaged as part of JBOSS Cache 3.2.5.
Another interesting thing I found is Jgroups probe identifies both the nodes as they share the same group name "JBossCache-Cluster".
As this is key to our decision on which cache product we will use, Any help is highly appreciated.
Thanks,
Bala.
-
total-replication.xml 2.4 KB
-
-
3. Re: Using JBoss Cache Across Clusters
Balakrishna Nannuri Aug 5, 2010 4:21 PM (in response to Balakrishna Nannuri)Just an update, I could solve the problem by adding bind_addr to the Jgroups UDP configuration. Earlier it was trying to braodcast messages using non-NIC ip (127.0.0.1) , so they are not getting broadcasted.
Hope this helps someone.
Cheers/Bala.
-
4. Re: Using JBoss Cache Across Clusters
Galder Zamarreño Aug 6, 2010 4:39 AM (in response to Balakrishna Nannuri)Balakrishna Nannuri wrote:
...
I have a related question about JBOSS cache clustering.
We have a situation where we have 4 nodes in PROD environment running JBOSS AS 4.2.3 , but they are not clustered. And we are planning to introduce JBOSS cache which needs to be replicated across all 4 nodes. So, does JBOSS cache needs the JBOSS AS to be clustered in-order to replicate?.
...
Thanks,
Bala.
No, it does not need AS to be clustered.