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

Re: Data portability between slaves





--On Friday, March 31, 2006 12:24 PM +1100 Dave Horsfall <daveh@ci.com.au> wrote:

Given two slaves with identical releases and data, how portable are the
BDB files and SLAPCAT files between them?  That is, does the entryUUID
attribute (or anything else) contain host-specific information?

They are identical (or should be).

I've recovered a slave after hard drive failure several times simply by stopping slapd on a different slave, and then copying the database from that replica to the one with the new hard drive (note that you want to run db_recover after stopping slapd, before copying over the files).

entryUUID, etc, *must* be the same on all systems for syncrepl to work correctly.

--Quanah

--
Quanah Gibson-Mount
Principal Software Developer
ITS/Shared Application Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html