Discussion:
Reg ldif file import/export and ldap replication over ldaps
(too old to reply)
s.varadha rajan
2011-05-24 12:47:14 UTC
Permalink
Hi,

We are using Ubuntu 10.04 server OS and all the web applications are running
on that.We have already implemented fedora-ds for ldap auth.now we are
planning to go some up-gradation.kindly let me know the following,

1.How to migrate running fedora-ds server to another server ?

2.i have taken all the user/group+etc in ldif format.is it enough for
migration or any other db (/var/lib/dirsrv/slapd-<instance>) also need to
bacup ? if any procedure please share with me ? how to import/export .ldif
file

3.in our setup,one server is in public network.so i am planning to do
replication through "ldaps", i.e local server to public server replication
through highly secure how to ?

Please help me on the above topics.

Regards,
Varad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/389-users/attachments/20110524/a29b555e/attachment.html
s.varadha rajan
2011-05-27 06:11:46 UTC
Permalink
Hi,

Can i get any update on my below query ?

Regards,
Varad
Post by s.varadha rajan
Hi,
We are using Ubuntu 10.04 server OS and all the web applications are
running on that.We have already implemented fedora-ds for ldap auth.now we
are planning to go some up-gradation.kindly let me know the following,
1.How to migrate running fedora-ds server to another server ?
2.i have taken all the user/group+etc in ldif format.is it enough for
migration or any other db (/var/lib/dirsrv/slapd-<instance>) also need to
bacup ? if any procedure please share with me ? how to import/export .ldif
file
3.in our setup,one server is in public network.so i am planning to do
replication through "ldaps", i.e local server to public server replication
through highly secure how to ?
Please help me on the above topics.
Regards,
Varad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/389-users/attachments/20110527/e73863e3/attachment.html
Rich Megginson
2011-05-27 15:00:49 UTC
Permalink
Post by s.varadha rajan
Hi,
Can i get any update on my below query ?
Regards,
Varad
On Tue, May 24, 2011 at 6:17 PM, s.varadha rajan
Hi,
We are using Ubuntu 10.04 server OS and all the web applications
are running on that.We have already implemented fedora-ds for ldap
auth.now we are planning to go some up-gradation.kindly let me
know the following,
1.How to migrate running fedora-ds server to another server ?
2.i have taken all the user/group+etc in ldif format.is
<http://format.is> it enough for migration or any other db
(/var/lib/dirsrv/slapd-<instance>) also need to bacup ?
LDIF should be fine.
Post by s.varadha rajan
if any procedure please share with me ? how to import/export .ldif
file
/usr/lib[64]/dirsrv/slapd-INSTNAME/db2ldif - export database to ldif
/usr/lib[64]/dirsrv/slapd-INSTNAME/ldif2db - import database from ldif
Post by s.varadha rajan
3.in <http://3.in> our setup,one server is in public network.so i
am planning to do replication through "ldaps", i.e local server to
public server replication through highly secure how to ?
Not exactly, but there is plenty of documentation - see
http://docs.redhat.com/docs/en-US/Red_Hat_Directory_Server/8.2/html-single/Administration_Guide/index.html#Managing_Replication-Replication_Overview
Post by s.varadha rajan
Please help me on the above topics.
Regards,
Varad
--
389 users mailing list
389-users at lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/389-users/attachments/20110527/e311acc6/attachment.html
s.varadha rajan
2011-05-30 06:57:06 UTC
Permalink
Hi,

Thanks for the reply.I will try and update you further.

Regards,
Varad
Post by s.varadha rajan
Hi,
Can i get any update on my below query ?
Regards,
Varad
Post by s.varadha rajan
Hi,
We are using Ubuntu 10.04 server OS and all the web applications are
running on that.We have already implemented fedora-ds for ldap auth.now we
are planning to go some up-gradation.kindly let me know the following,
1.How to migrate running fedora-ds server to another server ?
2.i have taken all the user/group+etc in ldif format.is it enough for
migration or any other db (/var/lib/dirsrv/slapd-<instance>) also need to
bacup ?
LDIF should be fine.
if any procedure please share with me ? how to import/export .ldif file
/usr/lib[64]/dirsrv/slapd-INSTNAME/db2ldif - export database to ldif
/usr/lib[64]/dirsrv/slapd-INSTNAME/ldif2db - import database from ldif
Post by s.varadha rajan
3.in our setup,one server is in public network.so i am planning to do
replication through "ldaps", i.e local server to public server replication
through highly secure how to ?
Not exactly, but there is plenty of documentation - see
http://docs.redhat.com/docs/en-US/Red_Hat_Directory_Server/8.2/html-single/Administration_Guide/index.html#Managing_Replication-Replication_Overview
Post by s.varadha rajan
Please help me on the above topics.
Regards,
Varad
--
389 users mailing list389-users at lists.fedoraproject.orghttps://admin.fedoraproject.org/mailman/listinfo/389-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/389-users/attachments/20110530/387b5453/attachment.html
s.varadha rajan
2011-06-14 14:23:51 UTC
Permalink
Hi,
I followed the procedure to configure "multi-master replication" as per
http://directory.fedoraproject.org/wiki/Howto:MultiMasterReplication. but i
got an error as

*From consumer side:*

14/Jun/2011:19:25:41 +051800] NSMMReplicationPlugin -
multimaster_be_state_change: replica o=netscaperoot is coming online;
enabling replication
[14/Jun/2011:19:25:41 +051800] NSMMReplicationPlugin - replica_reload_ruv:
Warning: new data for replica o=netscaperoot does not match the data in the
changelog.
Recreating the changelog file. This could affect replication with replica's
consumers in which case the consumers should be reinitialized.

*From Supplier side:*

[14/Jun/2011:19:26:12 +051800] NSMMReplicationPlugin - Beginning total
update of replica "agmt="cn="Replication from varad.xxx.xxx.com port 389 to
sam.xxx.xxx.com port 389"" (sam:389)".
[14/Jun/2011:19:26:15 +051800] NSMMReplicationPlugin - Finished total update
of replica "agmt="cn="Replication from varad.xxx.xxx.com port 389 to
sam.xxx.xxx.com port 389"" (sam:389)". Sent 120 entries.


We are using the OS-Ubuntu 10.04. I searched in google and got the some
result in "https://bugzilla.redhat.com/show_bug.cgi?id=388021". but i dont
know how to fix this.Please help on this.

Regards,
Varad








On Mon, May 30, 2011 at 12:27 PM, s.varadha rajan <rajanvaradhu at gmail.com>
Post by s.varadha rajan
Hi,
Thanks for the reply.I will try and update you further.
Regards,
Varad
Post by s.varadha rajan
Hi,
Can i get any update on my below query ?
Regards,
Varad
On Tue, May 24, 2011 at 6:17 PM, s.varadha rajan <rajanvaradhu at gmail.com>
Post by s.varadha rajan
Hi,
We are using Ubuntu 10.04 server OS and all the web applications are
running on that.We have already implemented fedora-ds for ldap auth.now we
are planning to go some up-gradation.kindly let me know the following,
Post by s.varadha rajan
Post by s.varadha rajan
Post by s.varadha rajan
1.How to migrate running fedora-ds server to another server ?
2.i have taken all the user/group+etc in ldif format.is it enough for
migration or any other db (/var/lib/dirsrv/slapd-<instance>) also need to
bacup ?
Post by s.varadha rajan
Post by s.varadha rajan
LDIF should be fine.
Post by s.varadha rajan
if any procedure please share with me ? how to import/export .ldif file
/usr/lib[64]/dirsrv/slapd-INSTNAME/db2ldif - export database to ldif
/usr/lib[64]/dirsrv/slapd-INSTNAME/ldif2db - import database from ldif
Post by s.varadha rajan
3.in our setup,one server is in public network.so i am planning to do
replication through "ldaps", i.e local server to public server replication
through highly secure how to ?
Post by s.varadha rajan
Post by s.varadha rajan
Not exactly, but there is plenty of documentation - see
http://docs.redhat.com/docs/en-US/Red_Hat_Directory_Server/8.2/html-single/Administration_Guide/index.html#Managing_Replication-Replication_Overview
Post by s.varadha rajan
Post by s.varadha rajan
Post by s.varadha rajan
Please help me on the above topics.
Regards,
Varad
--
389 users mailing list
389-users at lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/389-users/attachments/20110614/4b38db5e/attachment.html
Rich Megginson
2011-06-14 14:56:56 UTC
Permalink
Post by s.varadha rajan
Hi,
I followed the procedure to configure "multi-master replication" as per
http://directory.fedoraproject.org/wiki/Howto:MultiMasterReplication.
but i got an error as
_From consumer side:_
14/Jun/2011:19:25:41 +051800] NSMMReplicationPlugin -
multimaster_be_state_change: replica o=netscaperoot is coming online;
enabling replication
[14/Jun/2011:19:25:41 +051800] NSMMReplicationPlugin -
replica_reload_ruv: Warning: new data for replica o=netscaperoot does
not match the data in the changelog.
Recreating the changelog file. This could affect replication with
replica's consumers in which case the consumers should be reinitialized.
This is not an error. It just means the consumer has been initialized
with data from the master, and it had old data (probably from setup)
which was wiped out.
Post by s.varadha rajan
_From Supplier side:_
[14/Jun/2011:19:26:12 +051800] NSMMReplicationPlugin - Beginning total
update of replica "agmt="cn="Replication from varad.xxx.xxx.com
<http://varad.xxx.xxx.com> port 389 to sam.xxx.xxx.com
<http://sam.xxx.xxx.com> port 389"" (sam:389)".
[14/Jun/2011:19:26:15 +051800] NSMMReplicationPlugin - Finished total
update of replica "agmt="cn="Replication from varad.xxx.xxx.com
<http://varad.xxx.xxx.com> port 389 to sam.xxx.xxx.com
<http://sam.xxx.xxx.com> port 389"" (sam:389)". Sent 120 entries.
We are using the OS-Ubuntu 10.04. I searched in google and got the
some result in "https://bugzilla.redhat.com/show_bug.cgi?id=388021".
but i dont know how to fix this.Please help on this.
Regards,
Varad
On Mon, May 30, 2011 at 12:27 PM, s.varadha rajan
Post by s.varadha rajan
Hi,
Thanks for the reply.I will try and update you further.
Regards,
Varad
On Fri, May 27, 2011 at 8:30 PM, Rich Megginson <rmeggins at redhat.com
Post by s.varadha rajan
Hi,
Can i get any update on my below query ?
Regards,
Varad
On Tue, May 24, 2011 at 6:17 PM, s.varadha rajan
Post by s.varadha rajan
Hi,
We are using Ubuntu 10.04 server OS and all the web applications
are running on that.We have already implemented fedora-ds for ldap
auth.now we are planning to go some up-gradation.kindly let me know
the following,
Post by s.varadha rajan
Post by s.varadha rajan
Post by s.varadha rajan
1.How to migrate running fedora-ds server to another server ?
2.i have taken all the user/group+etc in ldif format.is
<http://format.is> it enough for migration or any other db
(/var/lib/dirsrv/slapd-<instance>) also need to bacup ?
Post by s.varadha rajan
Post by s.varadha rajan
LDIF should be fine.
Post by s.varadha rajan
if any procedure please share with me ? how to import/export .ldif
file
Post by s.varadha rajan
Post by s.varadha rajan
/usr/lib[64]/dirsrv/slapd-INSTNAME/db2ldif - export database to ldif
/usr/lib[64]/dirsrv/slapd-INSTNAME/ldif2db - import database from ldif
Post by s.varadha rajan
3.in <http://3.in> our setup,one server is in public network.so i
am planning to do replication through "ldaps", i.e local server to
public server replication through highly secure how to ?
Post by s.varadha rajan
Post by s.varadha rajan
Not exactly, but there is plenty of documentation - see
http://docs.redhat.com/docs/en-US/Red_Hat_Directory_Server/8.2/html-single/Administration_Guide/index.html#Managing_Replication-Replication_Overview
Post by s.varadha rajan
Post by s.varadha rajan
Post by s.varadha rajan
Please help me on the above topics.
Regards,
Varad
--
389 users mailing list
389-users at lists.fedoraproject.org
<mailto:389-users at lists.fedoraproject.org>
Post by s.varadha rajan
Post by s.varadha rajan
https://admin.fedoraproject.org/mailman/listinfo/389-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/389-users/attachments/20110614/0ad6766c/attachment.html
Loading...