Hi all,
I've been dropped in a the LDAP deep end due to a retirement in the office. The documentation I have regarding dealing with the failure of a master tells me how to fail over by promoting one of the replicas and then, when the problem with the master has been sorted, to re-configure it as a replica.
My problem is with his following line When it is fully synchronised with the temporary master it can then be re-instated as the master.
How do I know when it has fully synchronised? I'm running openldap v2.4.16, but I don't seem to have syncrepl in my path.
Where should I be starting?
thanks,
Le 20/07/2012 11:54, Boyd Duffee a écrit :
Hi all,
I've been dropped in a the LDAP deep end due to a retirement in the office. The documentation I have regarding dealing with the failure of a master tells me how to fail over by promoting one of the replicas and then, when the problem with the master has been sorted, to re-configure it as a replica.
My problem is with his following line When it is fully synchronised with the temporary master it can then be re-instated as the master.
How do I know when it has fully synchronised? I'm running openldap v2.4.16, but I don't seem to have syncrepl in my path.
Compare the contextCSN attribute of their root object: ldapsearch -x -h <yourserver> -b <yourbase> -s base contextCSN
On 07/20/2012 11:47 AM, Guillaume Rousse wrote:
How do I know when it has fully synchronised? I'm running openldap v2.4.16, but I don't seem to have syncrepl in my path.
Compare the contextCSN attribute of their root object: ldapsearch -x -h <yourserver> -b <yourbase> -s base contextCSN
Perfect! Exactly what I needed.
merci beaucoup,
--On Friday, July 20, 2012 12:17 PM +0100 Boyd Duffee b.duffee@isc.keele.ac.uk wrote:
On 07/20/2012 11:47 AM, Guillaume Rousse wrote:
How do I know when it has fully synchronised? I'm running openldap v2.4.16, but I don't seem to have syncrepl in my path.
Compare the contextCSN attribute of their root object: ldapsearch -x -h <yourserver> -b <yourbase> -s base contextCSN
Perfect! Exactly what I needed.
Not that you can trust a 2.4.16 version of OpenLDAP to tell you the truth. The next thing you should focus on is upgrading to a current version of OpenLDAP.
--Quanah
--
Quanah Gibson-Mount Sr. Member of Technical Staff Zimbra, Inc A Division of VMware, Inc. -------------------- Zimbra :: the leader in open source messaging and collaboration
openldap-technical@openldap.org