cancel
Showing results for 
Search instead for 
Did you mean: 

Cluster Configuration Problems

vasillalov
Champ in-the-making
Champ in-the-making
Folks,

I need some help with configuring alfresco in a clustered setup.

I have 2 RHEL5 servers running the latest Alfresco Enterprise trial version. I have both servers installed and running. I followed the wiki page for configuring the cluster: http://wiki.alfresco.com/wiki/Cluster_Configuration_V1.4_to_V2.1.2

I am using MySQL database sitting on a separate machine. I created a user on one of the nodes. I am able to login with this user on the other node. So user replication is working.  Now, the problem is that when I upload content on one of the nodes, it does not show up on the other node once I login.


Here is what I have in custom-repository.properties on both servers:

################################# Common Alfresco Properties ################################## Sample custom content and index data location#dir.root=/opt/contentstore/contentstoredir.indexes=/opt/alfresco/alf_data/lucene-indexes# Set the frequency with which the index tracking is triggered.# By default, this is effectively never, but can be modified as required.#    Examples:#       Once every five seconds: 0/5 * * * * ?#       Once every two seconds : 0/2 * * * * ?#       See http://quartz.sourceforge.net/javadoc/org/quartz/CronTrigger.htmlindex.tracking.cronExpression=0/5 * * * * ?index.tracking.adm.cronExpression=${index.tracking.cronExpression}index.tracking.avm.cronExpression=${index.tracking.cronExpression}# Other properties.index.tracking.maxTxnDurationMinutes=60index.tracking.reindexLagMs=1000index.tracking.maxRecordSetSize=1000index.recovery.mode=AUTO## MySQL connection (This is default and requires mysql-connector-java-5.0.3-bin.jar, which ships with the Alfresco server)#db.driver=org.gjt.mm.mysql.Driverdb.url=jdbc:mysql://x.x.x.x/alfresco….‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍

What am I missing?
2 REPLIES 2

pmonks
Star Contributor
Star Contributor
Is /opt/contentstore/contentstore a shared filesystem across the two nodes?  Also, have you configured EHCache correctly, including creation of a multicast address for the cluster?

Cheers,
Peter

vasillalov
Champ in-the-making
Champ in-the-making
Peter,

Thanks for the response. To answer your questions:

Yes, /opt/contentstore is a shared volume sitting on a SAN with OCFS2 file system. EH Cache is configured correctly.

I did find out what the problem was: the two servers had different time. The two servers had time settings almost 9 hours apart. I synced them up to our time server and content replication started working just fine.