Hi team,
This is my first time to post a question. Please forgive me if I am making miss-posting.
I have a big ldap master which is based on openldap-2.4.33. The mdb file size is 50 GB.
In order to setup an replica server quickly, can we copy the mdb and config to the replica server?
files: data/ldap/mdb/db/data.mdb data/ldap/config/cn=config data/ldap/config/cn=config/....
Thank you very much, Takashi.
Takashi,
Takashi Komatsubara schrieb (26.03.2013 09:26 Uhr):
This is my first time to post a question. Please forgive me if I am making miss-posting.
I have a big ldap master which is based on openldap-2.4.33. The mdb file size is 50 GB.
In order to setup an replica server quickly, can we copy the mdb and config to the replica server?
files: data/ldap/mdb/db/data.mdb data/ldap/config/cn=config data/ldap/config/cn=config/....
You should have posted the config ...
But I think, this in not the case. How should the two servers know about each other? Please read the provides documentation about how to configure the syncrepl provider and consumer http://www.openldap.org/doc/admin24/replication.html
Marc
--On Tuesday, March 26, 2013 5:20 PM +0100 Marc Patermann hans.moser@ofd-z.niedersachsen.de wrote:
But I think, this in not the case. How should the two servers know about each other?
His question was if it is ok to copy the database from a provider to a replica in order to "quick load" it. There's certainly nothing wrong with doing that (for the MDB db).
--Quanah
--
Quanah Gibson-Mount Sr. Member of Technical Staff Zimbra, Inc A Division of VMware, Inc. -------------------- Zimbra :: the leader in open source messaging and collaboration
Quanah,
Quanah Gibson-Mount schrieb (26.03.2013 17:55 Uhr):
--On Tuesday, March 26, 2013 5:20 PM +0100 Marc Patermann hans.moser@ofd-z.niedersachsen.de wrote:
But I think, this in not the case. How should the two servers know about each other?
His question was if it is ok to copy the database from a provider to a replica in order to "quick load" it.
Because he wrote "copy the mdb _and config_ to the replica server" I did understand it differently.
There's certainly nothing wrong with doing that (for the MDB db).
For data this obviously right.
Marc
--On Tuesday, March 26, 2013 5:26 PM +0900 Takashi Komatsubara takashi@sendmail.com wrote:
Hi team,
This is my first time to post a question. Please forgive me if I am making miss-posting.
I have a big ldap master which is based on openldap-2.4.33. The mdb file size is 50 GB.
In order to setup an replica server quickly, can we copy the mdb and config to the replica server?
files: data/ldap/mdb/db/data.mdb data/ldap/config/cn=config data/ldap/config/cn=config/....
Generally, you can use the mdb_copy utility.
--Quanah
--
Quanah Gibson-Mount Sr. Member of Technical Staff Zimbra, Inc A Division of VMware, Inc. -------------------- Zimbra :: the leader in open source messaging and collaboration
openldap-technical@openldap.org