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

Re: Determining the master server



> Is there any way than an OpenLDAP client can tell whether a particular
> server is a master or a slave for a particular suffix, without actually
> trying to update it and seeing what comes back?

I think the referral mechanism resulting from performing a write operation
on a slave is the intended mech.  In 2.3 (actually, in HEAD; scheduled for
2.3) you may browse the configuration in back-config ("cn=config") and see
if a server is a master or a slave; or you may ask for a feature like
registering this info into back-monitor ("cn=monitor").

p.

-- 
Pierangelo Masarati
mailto:pierangelo.masarati@sys-net.it


    SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497