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

Re: Replication questions


"cody wang" <codywang@clunet.edu> writes:

> Hi,
> I am starting to work on replication, but I have some questions.
> -the master slapd means the oringial slapd, right? So, can I replica
> slave slapd on the same server with master slapd? Do I use the same
> port?
> -Do I need to install another OpenLDAP for slave server if it's on
> different machine? I guess I can use the same port here.
> -Do I use different cn=root for replicate server? Or, does it matter?

You may run the slave on the same machine, but using a different port
and a different slapd.conf.
That is:
./slapd -h "ldap:/// would run your master on port 389
./slapd -f /an/other/slapd.conf -h "ldap://
would rund your slave on port 9001
In your slave's slapd.conf you have to point to a different pitfile,
argsfile and directory.


Dieter Kluenter  | Systemberatung
Tel:040.64861967 | Fax: 040.64891521
mailto: dkluenter(at)dkluenter.de