On 01/15/2013 10:29 AM, German Waisvol wrote:
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.

Yes.  They are all pretty much the same.


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?

I don't know. If you suspect there is an error in the migration documentation and/or migration scripts, please file a ticket at https://fedorahosted.org/389


regards,
2013/1/15 Leo Pleiman <lplei...@salsalabs.com <mailto:lplei...@salsalabs.com>>

    
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
    <lplei...@salsalabs.com <mailto:lplei...@salsalabs.com>> wrote:

        I can send you a link in 15 minutes

        On Jan 15, 2013 10:43 AM, "German Waisvol"
        <german.wais...@gmail.com <mailto:german.wais...@gmail.com>>
        wrote:

            Hi, somebody can help me?

            regards,

            2013/1/15 German Waisvol <german.wais...@gmail.com
            <mailto:german.wais...@gmail.com>>

                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 <lplei...@salsalabs.com
                <mailto:lplei...@salsalabs.com>>

                    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.wais...@gmail.com
                    <mailto:german.wais...@gmail.com>> 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
                        <http://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
                        <http://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


                        
<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
                        <http://migrate-ds-admin.pl> --oldsroot
                        /tmp/fedora-ds --actualsroot /opt/fedora-ds
                        General.ConfigDirectoryAdminPwd=generica




                        Best regards,






                        --
                        389 users mailing list
                        389-us...@lists.fedoraproject.org
                        <mailto:389-us...@lists.fedoraproject.org>
                        
https://admin.fedoraproject.org/mailman/listinfo/389-users


                    --
                    389 users mailing list
                    389-us...@lists.fedoraproject.org
                    <mailto:389-us...@lists.fedoraproject.org>
                    https://admin.fedoraproject.org/mailman/listinfo/389-users






-- Leo Pleiman
    Sr. Manager, Systems Architecture
    Salsa Labs, Ingredients for Organizing
    lplei...@salsalabs.com <mailto:lplei...@salsalabs.com>
    202.787.3622 (o)
    410.688.3873 (c)




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

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

Reply via email to