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

Re: subtree replication





 Hi, all

What type of entries do I need to put in in the slapd.conf (for replicia)so
that the subtree replication will occur?

Thanz


>
> ----- Original Message -----
> From: Gerald Carter <gcarter@valinux.com>
> To: <ritujai@netindial.com>
> Cc: <ptimmons@courriel.polymtl.ca>; <openldap-software@OpenLDAP.org>
> Sent: Wednesday, January 17, 2001 1:14 PM
> Subject: Re: subtree replication
>
>
> > ritujai@netindial.com wrote:
> > >
> > > but how do i break the data in db-a into two as db-b and db-c
> > >
> > > > Hi.
> > > >
> > > > I believe it is done this way:
> > > >
> > > > Data in server A must be hierarchically broken into 3 dbs:
> > > >
> > > >                 db-a
> > > >                  /\
> > > >                 /  \
> > > >               db-b db-c
> > > >
> > > > db-b contains what needs to be replicated to slave B,
> > > > db-c contains what needs to be replicated to slave C,
> > > > db-a contains what needs to be replicated to slave B and C.
> > > >
> > > > So you need 3 database sections in your slapd.conf for master A
> >
> > ## slapd.conf
> > database ldbm
> > suffix "ou=db1,dc=domain,dc=com"
> > ...
> >
> > database ldbm
> > suffix "ou=db2,dc=domain,dc=com"
> > ...
> >
> > database ldbm
> > suffix "dc=domain,dc=com"
> >
> >
> >
> > A couple of points to make about this.
> >
> >   o This superior DB must be listed in slapd.conf
> >     after the subordinate DBs
> >
> >   o When using replication list this, you can use
> >     a single replogfile for all changes
> >
> >   o You will need subordinate knowledge references
> >     (i.e. referrals) from the superior DN to the
> >     child partitions.
> >
> >
> >
> >
> >
> >
> > CHeers, jerry
> > ----------------------------------------------------------------------
> >    /\  Gerald (Jerry) Carter                     Professional Services
> >  \/    http://www.valinux.com/  VA Linux Systems   gcarter@valinux.com
> >        http://www.samba.org/       SAMBA Team          jerry@samba.org
> >        http://www.plainjoe.org/                     jerry@plainjoe.org
> >
> >        "...a hundred billion castaways looking for a home."
> >                                 - Sting "Message in a Bottle" ( 1979 )
> >
> >
>