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

Re: cloning instances of openldap?

I've done this before, but only in testing.   I've cloned to make a snapshot too (cp -rp) and then changed the startup scripts and conf files, certificates, etc to match the new server.  

I'm curious to see others success of failure with this too.  


On Jan 23, 2008, at 9:35 AM, Thomas Ledbetter wrote:

Is it safe to use a 'clone' of an openldap servers's database to rebuild another server in a cluster?

In my tests, I followed a procedure where I shut 2 servers down, copied the backend database from one to the other, and restarted and everything seems to indicate that the 'cloned' server is valid. Replication works.. Adds/deletes work.. etc..

Is there any danger in using this procedure?  Is there anything 'instance specific' that is stored in the directory that could cause an issue?

Ive found that even using slapadd's 'quick' flag it can still take 4 hours to import an LDIF, and if I can rely on this procedure to rebuild an LDAP read server in a crisis, I'd like to continue using it.

Chris G. Sellers | NITLE Technology
AIM: imthewherd | GTalk: cgseller@gmail.com