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

Re: Multiples instances Ldap



>Ivan.Garcia@leroymerlin.es writes:
>
> =20
>
>>I=B4d like to know if is posible up more than one instance with more th=
an
>>one database. How could I do it?
>>   =20
>>
>
>The trick is to use separate configuration files,
>different listener ports...
>
>You would then start the first slapd as follows:
>
><path to slapd>/slapd -h ldap:/// -f <path to conf file>/slapd.1.conf
>
>and start a second one as follows:
>
><path to slapd>/slapd -h ldap://:9010 <path to conf file>/slapd.2.conf
>
>The first slapd will be listening on the default ldap port, port 389.
>Because only one process can listen on a port, it is necessary to start =
the
>second slapd on a different port, in this example port 9010.
> =20
>
It might be better to have them listen on different IPs. You can usually
give network interfaces aliases. Then call ldap something like:

<path to slapd>/slapd -h ldap://10.5.5.23/ -f <path to conf file>/slapd.1=
=2Econf
<path to slapd>/slapd -h ldap://10.5.5.34/ -f <path to conf file>/slapd.2=
=2Econf



Attachment: signature.asc
Description: OpenPGP digital signature