On Thursday, 17 May 2007, Maria McKinley wrote: > Hi there, > > Couldn't find this addressed anywhere in the manual or the mailing > list, so please forgive me if this is a silly question. I am looking > to use syncrepl to create a backup of my ldap server. It seems more like you are wanting to use syncrepl to provide an HA master. You can quite easily use syncrepl to create a backup, just have a slave running syncrepl, check the contextCSNs are up-to-date with the master, stop the consumer slapd (to ensure you get a consistent point-in-time backup -if this is not important you can skip this) and run slapcat. > I was wondering > how difficult it is to change setups between consumers and producers. > Is it enough to just change the slapd config file on the consumer to a > copy of what was on the producer when the producer goes down for some > reason, and just have the clients configured with both ips (I'm > assuming they will just go down the list until they find one working, > and the consumer will otherwise just point them to the producer)? A > related question, can ldap.conf always point to localhost if localhost > is always either a consumer or a producer, or do consumer ldap.conf > need to be pointed to the producer? You may rather want to look at the multimaster support in 2.4.x (before 2.4.4 it was mirrormode), which more or less automates all of this for you. Regards, Buchan -- Buchan Milne ISP Systems Specialist - Monitoring/Authentication Team Leader B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)
Attachment:
pgpoGENHvp8jz.pgp
Description: PGP signature