I’ve one CDC in a domain. No other replica’s other than the ones on the laptops. In the replication settings, the setting ‘Temporarily Disable Replication’ should be unchecked (so laptops can replicate), but for some reason it keeps being checked again after a while. ACL has the default on reader & replicate or copy documents checked. Any idea how to prevent the setting being set?
Subject: RE: Temporarily Disabled Replication keeps being checked
I have IBM looking into this and they created an Agent, but did not work. We have tried to create a new database, but does not repliate with local copies. HELP
Subject: RE: Temporarily Disabled Replication keeps being checked
I have a customer with the exact same problem… I created a scheduled agent to fix it but the agent does not correct the root problem (it just re-enables replication). If anyone knows the answer please post a response.
Dim session As New NotesSession
Dim db As NotesDatabase
Dim rep As NotesReplication
Dim maildoc As notesdocument
Set db = session.GetDatabase(“Server/Cert”,“dircat.nsf”)
If db Is Nothing Then
Exit Sub
End If
Set rep = db.ReplicationInfo
If rep.Disabled Then
rep.Disabled = False
Set maildoc = db.CreateDocument
maildoc.subject = "Replication of dircat.nsf on Server/Cert was temporarily disabled"
maildoc.sendto = "User/Cert"
maildoc.copyto = "User2/Cert"
maildoc.body = "The agent changed the setting (enabled replication by removing the check mark)."
Call maildoc.Send(False,False)
Call rep.Save()
End If
Subject: RE: Temporarily Disabled Replication keeps being checked
This solved it for me so far… disable (do not schedule) normal dircat processing in the server document (Server - Server Tasks… Directory Cataloger). Instead, use a program document with dircat in the program name field and enter “dircat.nsf -r” (without the quotation marks) in the command line field. You can try it without the -r but that seemed to help me (plus we only aggregate 1 directory so rebuilding the cdc everyday is not a big deal).