cancel
Showing results for 
Search instead for 
Did you mean: 

Clustering: does it work in 3.2?

ofrxnz
Champ in-the-making
Champ in-the-making
I have been configuring alfresco 3.2 and have been unable to get any cache/index clustering at all to work.  (file replication works)

Has anyone gotten clustering to work on 3.2 and if so any pointers?

i renamed ehcache-custome.xml.sample.cluster to ehcache-custom.xml

i set the alfresco.cluster.name=TestCluster and index.recovery.mode=AUTO flags in the global.properties file

set this flag in the log4j file for debuging
log4j.logger.org.alfresco.enterprise.repo.cache.jgroups=INFO

and i had nothing new in the logs about clustering show up about another node. When i turned several other flags to debug, i kept receiving errors about the localhost not listening on some port in the 30000s. 

i have also verified the ports are open in teh firewall 4446 and 7800 both tcp and udp

since then i have also tried variations on the following flags in the global.properties file

alfresco.jgroups.defaultProtocol=TCP
alfresco.tcp.start_port=7800
alfresco.tcp.initial_hosts=10.8.7.21[7800],10.8.7.22[7800], localhost[7800]

alfresco.udp.mcast_addr=230.0.0.1
alfresco.udp.mcast_port=4446
alfresco.udp.ip_tt=2

thanks for any ideas

Adam
10 REPLIES 10

eleaese
Confirmed Champ
Confirmed Champ
Hi PM,

Good point. You may backup the first Alfresco node (alf_data & database) , and restore it on the second one. Then, restart with index recovery FULL, and see it working :-).

Take a look at http://www.slideshare.net/alfresco/06192008-high-availability-clustering-with-alfresco, pages 5 & 10.

Let me know it works. Regards,

Luis