Michael Ströder wrote:
Howard Chu wrote:Yeah, replicating cn=config is only viable if all servers work with identical configuration. Making this configuration work would require adding a qualifier to the syncrepl config to restrict which server nodes it activates on. I think it would be worthwhile to add a feature for this, but it doesn't exist at the moment. Feel free to submit an Enhancement request to the ITS.Wouldn't it make more sense to introduce configuration vars with some filled by querying system parameters?
No. That would require a lot of platform-dependent system knowledge and it's not even needed here.
Hmm..better not re-invent configuration mgmt systems though...
The particular config could be implemented just by adding a serverID keyword to the syncrepl config clause. Then that particular consumer instance would only activate if the current server matches the specified serverID(s).
-- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project/