[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: syncrepl - when master restarted, slaves loose connection forever (and never reconnects)?



Tomasz Chmielewski wrote:

I waited for about 12 hours, and it didn't happen.
Restarting slave helped, and all pending changes were transferred from the master.


Am I missing a setting or something?


The slave is running slapd from OpenLDAP 2.3.37, and here is its slapd.conf part concerning syncrepl:


syncrepl  rid=0
              provider=ldap://master:389
              type=refreshAndPersist
              searchbase="dc=some,dc=domain"
              bindmethod=simple
              binddn="cn=replicationuser,dc=some,dc=domain"
              credentials=secret
              schemachecking=off

All right, I read an old manual...

Adding

retry="60 +"

solved the issue...


-- Tomasz Chmielewski http://wpkg.org