[Date Prev][Date Next]
Re: Replication questions
"cody wang" <firstname.lastname@example.org> writes:
> 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
> -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.
./slapd -h "ldap:/// would run your master on port 389
./slapd -f /an/other/slapd.conf -h "ldap://0.0.0.0:9001
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