Domino Cluster and Replica Settings

  • 09 Dec, 2009

Today i have a issue with thow clustered mail servers. Some databases are different and one server goes down. Some users complain about deletion documents still on their mail databases. I found the cause. I don’t know why yet, but replica setings was not the default settings (like the figure bellow) and deletions doesn’t replicate.

Hoje eu tive um problema com dois servidores clusterizados de correio. Algumas bases estavam diferentes e um dos servidores caiu. Alguns usuários reclamaram que emails antigos ainda estavam nas suas bases. Achei a causa mas não sei porquê estava assim. As definições de replcia estavam marcadas para não replicar deleções.

Image:Domino Cluster and Replica Settings

I have a lot of mail databases and then i use the agent bellow to make sure all databases has the same configuration as the screen above.

Como eu tenho muitas bases eu usei o agente abaixo para verificar as configurações.

Sub Initialize
Dim db As NotesDatabase
Dim ses As New NotesSession
Dim doc As NotesDocument
Dim dbdir As NotesDbDirectory
Dim maildb As NotesDatabase
Dim server As String
Dim subdir As String
Dim rep As NotesReplication
Dim i As integer
        server = InputBox ( “Nome do Servidor) (Enter para Local)”)
        subdir = InputBox ( “Em qual subdiretório o agente deve procurar as bases? ( Enter para todos os diretórios) “)
If subdir <> ”“ Then subdir=subdir & ”“
Set db = ses.CurrentDatabase
Set dbdir = ses.GetDbDirectory(server)        
Set maildb = dbdir.GetFirstDatabase(DATABASE)
        i = 0
While Not (maildb Is Nothing)        
If InStr( 1,maildb.FilePath,subdir, 5)<> 0 Then

Call maildb.Open( “”, “”)
If maildb.IsOpen Then
Set rep = maildb.ReplicationInfo
If  rep.IgnoreDeletes Then
                                                                  rep.IgnoreDeletes = False
                                                                   i = i + 1
End If
Call rep.Save()
End If
End If
Set maildb = dbdir.getnextdatabase
Wend
MsgBox ( “Foi (ram) modificado (s)  “ + CStr(i) + ” banco(s) de dados!“ )
End Sub

Related Posts

Migrating messages from Domino to Google using IMAP

  • 20 Feb, 2022

It's only for messages. No calendar migration Imapsync command is a tool allowing incremental and recursive imap transfers from one mailbox to another. If you don't understand the previous sentence,

Migrating messages from Domino to Google using IMAPRead More

Domino V12 and Verse 2.1 How to add a Photo URL

  • 08 Jun, 2021

Today i setup a Domino V12 server just for test some new features. A customer ask to use photos on Verse hosting photos on Domino. Domino V12 comes with Verse 2.0. I just download the version 2.1 of

Domino V12 and Verse 2.1 How to add a Photo URLRead More

Notes / Domino is forever

  • 04 Feb, 2021

Yesterday it seemed like it would be an ordinary working day but a client called me informing about the expiration of a certifier. It would be normal to resolve the problem with the re-certification p

Notes / Domino is foreverRead More