cancel
Showing results for 
Search instead for 
Did you mean: 

2 servers in a cluster, file replication not 100%

usuf
Champ in-the-making
Champ in-the-making
Hello,

I am in the file replication configuration stage of setting up 2 servers in a cluster. One is located at head office, the other at a branch in another city.
I'm using Alf community 3.2 on fedora 10 machines with multicast running and index rebuilding set to AUTO every 5 seconds. There is a VPN running between both servers.

The branch office uses head office's mySQL database & both have shared directories which I have set as the "network content store" in replicating-content-services-context.xml

So here is the problem: I can create a test file as Admin in Guest Home at the Branch and it will appear at Head office almost immediately, and once I click on it, I am able to view it in a browser.

If I create content as Admin in Guest Home at Head office, all that appears at the Branch is the file name and the date that is was created… no description or file size. If I click on it to view it in a browser, I get a "contents node is missing" error.

Here's the clincher.. If i click on "edit online", then I "cancel editing" on the "missing" file, the description and size appears, and I am able to view it in a browser….

Does anyone know what is going on here, or what I am missing?

Thanks ;D
4 REPLIES 4

usuf
Champ in-the-making
Champ in-the-making
Update: If it helps, when I upload a file using webDav, it appears in full, in both locations. I  added a description to the file at Head office, I then refreshed Guest Home at the branch office, and the file reverted back to having only a file name and a creation date. I could not view it in a browser anymore.

chapeaurouge
Champ in-the-making
Champ in-the-making
Are you on 3.2r?

I had this working fine on release 3.2, and now I get bunch of

10:34:20,019  DEBUG [node.index.IndexTransactionTracker] Reindexing batch of 1 transactions from Wed Nov 11 10:30:53 CET 2009 (txnId=4323)
10:34:20,035  DEBUG [node.index.IndexTransactionTracker] Reindex skipping transaction: Transaction[id=4323, txnTimeMs=2009-11-11T10:34:15.876+01:00, changeTxnId=e86a130e-19ad-431b-9bc9-83c82fc89d9d]
10:34:20,035  DEBUG [node.index.IndexTransactionTracker] Voids detected: 1 in range [4321, 4323]
10:34:20,037  DEBUG [node.index.IndexTransactionTracker] Void count 8 -> 7
10:34:25,018  INFO  [node.index.IndexTransactionTracker] reindexImpl started: org.alfresco.repo.node.index.IndexTransactionTracker@12ee90d9

So my indexes are not replicated between my 2 nodes.. I see stuff going on between the 2, but nothing is up-to-date on the 2nd node.

tommorris
Champ in-the-making
Champ in-the-making
Could it be that the two servers' clocks need to be synchronised?

chapeaurouge
Champ in-the-making
Champ in-the-making
No, I checked that. Both via NTP, sync'ed up to the second at least.