Re: Problem for migrate from fedora-ds 1.0.4 to 389-ds

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



thanks Leo.
it is this procedure valid for migrate fedora-ds 1.0.4 to 389-ds? , since the document is written for redhat directory server.

I like to know why the migration is not working, since i have followed the oficial documentation and the forum notes. Some one who have experience in this topic can response my question?

regards,
2013/1/15 Leo Pleiman <lpleiman@xxxxxxxxxxxxx>
https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Directory_Server/9.0/html/Administration_Guide/Managing_Replication-Configuring_Multi_Master_Replication.html



On Tue, Jan 15, 2013 at 10:52 AM, Leo Pleiman <lpleiman@xxxxxxxxxxxxx> wrote:

I can send you a link in 15 minutes

On Jan 15, 2013 10:43 AM, "German Waisvol" <german.waisvol@xxxxxxxxx> wrote:
Hi, somebody can help me?

regards,

2013/1/15 German Waisvol <german.waisvol@xxxxxxxxx>
Leo, I'm newbie. could you give me a few more details, or tell me where can i read?

regards!


2013/1/15 Leo Pleiman <lpleiman@xxxxxxxxxxxxx>

Sounds complicated.   The way I performed DS migrations was to established the new server as a multi-master and then simply stop the old server and delete the multi-master relationship on the new server.   The published instructions are very clear.

On Jan 15, 2013 8:27 AM, "German Waisvol" <german.waisvol@xxxxxxxxx> wrote:
good morning, I need help migrating from fedora-ds (installed on Redhat 4) to another server (389-ds installed on Redhat Server 6.3).

I followed the procedure, based on the documentation and the topics on the forum, but at the end, i get this error message:


[root@abelardo ~]# migrate-ds-admin.pl --oldsroot /tmp/fedora-ds --actualsroot /opt/fedora-ds General.ConfigDirectoryAdminPwd=generica
Beginning migration of Directory and Administration servers from /tmp/fedora-ds . . .
Beginning migration of directory server instances in /tmp/fedora-ds . . .
The target directory server instance already exists at /etc/dirsrv/slapd-abelardo-ldap/dse.ldif.  Skipping migration.  Note that if you want to migrate the old instance you will have to first remove the new one of the same name.

Beginning migration of Administration server from /tmp/fedora-ds . . .
Creating Admin Server files and directories . . .
The server 'ldap://abelardo-ldap.mecon.ar:389/o%3DNetscapeRoot' is not reachable.  Error: unknown error

Exiting . . .
Log file is '/tmp/migratea7ojkn.log'




I attach the procedure that i followed for make the migration:

on the fedora-ds server:

         1)     /etc/init.d/ldap stop
 

         2)    cd  /opt/fedora-ds/slapd-abelardo-ldap/db  


         3)     ./db2ldif -n userRoot -a /opt/fedora-ds/slapd-abelardo-ldap/db/userRoot.ldif


         4)     ./db2ldif -n NetscapeRoot -a /opt/fedora-ds/slapd-abelardo-ldap/db/NetscapeRoot.ldif


         

         5)   Edit the NetscapeRoot.ldif and change Fedora Directory to 389 Directory, and Fedora Administration to 389 Administration.


         6)   make the tar and send this  to the new server:     tar -cpvf fedora-ds.tar fedora-ds

 


on the new 389-ds server:


         1) Install Redhat 6.3 server

         2) yum update

         3) Install EPEL:    

1)                               wget http://mirror.bytemark.co.uk/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm

 

        4)  rpm -ivh epel-release-6-8.noarch.rpm


        5) Install 389-ds:


             yum --enablerepo=epel-testing-389-ds-base --enablerepo=epel-testing install 389-ds


        6) extract the tar to /tmp on the new server:    tar -xpvf fedora-ds.tar


        7) Remove the 10presense.ldif files:

                      rm -rf ./slapd-abelardo-ldap/config/schema/10presence.ldif

                      rm -rf ./bin/slapd/install/schema/10presence.ldif


        8) Change Fedora to 389 in the following files:


                /tmp/fedora-ds/admin-serv/config/adm.conf

                /tmp/fedora-ds/admin-serv/config/local.conf

                

       

      9) Run the migration script: 


                migrate-ds-admin.pl --oldsroot /tmp/fedora-ds --actualsroot /opt/fedora-ds General.ConfigDirectoryAdminPwd=generica

             


        
Best regards,             





--
389 users mailing list
389-users@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-users

--
389 users mailing list
389-users@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-users





--
Leo Pleiman
Sr. Manager, Systems Architecture
Salsa Labs, Ingredients for Organizing
lpleiman@xxxxxxxxxxxxx
202.787.3622 (o)
410.688.3873 (c)

--
389 users mailing list
389-users@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-users

[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux