cancel
Showing results for 
Search instead for 
Did you mean: 

Content Replication

kamal1387
Champ in-the-making
Champ in-the-making
Please explain how can we set up content replication in alfresco community 3.4

we have 2 servers in clustered mode already.
5 REPLIES 5

openpj
Elite Collaborator
Elite Collaborator
You could replicate all the contentstore configuring Alfresco in this way:
http://wiki.alfresco.com/wiki/Content_Store_Configuration#Content_Replication

Or if you need to replicate some nodes you can create replication jobs using the Administration Console in Alfresco Share:
http://wiki.alfresco.com/wiki/Replication_Service
Hope this helps.

kamal1387
Champ in-the-making
Champ in-the-making
1. Configure content replication in replicating-content-services-context.xml (for Local and Shared Content Stores scenario)
2. Copy ehcache-custom.xml to extension dir
3. Start alfresco.

Actual result:
Replicating folder persists clean
  
Expected result:
Data from ${dir.root}/contentstore should appear in replicating folder




get following message in logs

14:13:02,862 ERROR [org.alfresco.repo.admin.ConfigurationChecker] CONTENT INTEGRITY ERROR: System content not found in content store.
14:13:02,862 ERROR [org.alfresco.repo.admin.ConfigurationChecker] Ensure that the 'dir.root' property is pointing to the correct data location.
14:13:02,862 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.alfresco.error.AlfrescoRuntimeException: 10250001 Ensure that the 'dir.root' property is pointing to the correct data location.
at org.alfresco.repo.admin.ConfigurationChecker.check(ConfigurationChecker.java:332)

benswitzer
Champ in-the-making
Champ in-the-making
Are you replicating the database too?

With Alfresco, you have to replicate three tiers: content store, cache and database.

Looks like you've got the first two covered.  If you're running Alfresco Community on MySQL, you can setup Multi-Master replication.

kamal1387
Champ in-the-making
Champ in-the-making
Yes, i have not replicated db …. We have postgres db , how can we set up replication on that ..

benswitzer
Champ in-the-making
Champ in-the-making
Sadly I don't have a lot of experience with Postgres.  That's something I'd like to rectify in the near future.

In the mean time though, Google: postgres multi master replication

That search lead me here (as well as several sites): http://wiki.postgresql.org/wiki/Replication,_Clustering,_and_Connection_Pooling