Wolf Siedler
2009-Mar-09 03:21 UTC
[Fedora-directory-users] Migrating Fedora DS 1.1 to another host by script "migrate-ds-admin"
Hi! I need to migrate a Fedora Directory Server (1.1) from one host to another. Both hosts are on latest CentOS 5 level. Having read the installation instructions (8.4.3 Migrating a Directory Server from One Machine to Another), I feel this could (should?) be done by script migrate-ds-admin.pl. Keeping the hostname is nor a problem as the old host is about to be disconnected anyway. However, I am confused about the script parameters --oldsroot/--actualroot from the manual. They both refer to the Directory Server directory in /opt, where it used to be until Fedora DS 1.0.4. I am unsure what to use for Fedora DS version 1.1.x. Can anybody advise, please? Is there any other potential issue I should be aware of? Needless to say, I appreciate any advice. Regards, Wolf
Rich Megginson
2009-Mar-09 14:08 UTC
Re: [Fedora-directory-users] Migrating Fedora DS 1.1 to another host by script "migrate-ds-admin"
Wolf Siedler wrote:> Hi! > > I need to migrate a Fedora Directory Server (1.1) from one host to > another. Both hosts are on latest CentOS 5 level. > > Having read the installation instructions (8.4.3 Migrating a Directory > Server from One Machine to Another), I feel this could (should?) be done > by script migrate-ds-admin.pl. > Keeping the hostname is nor a problem as the old host is about to be > disconnected anyway. > > However, I am confused about the script parameters > --oldsroot/--actualroot from the manual. They both refer to the > Directory Server directory in /opt, where it used to be until Fedora DS > 1.0.4. > > I am unsure what to use for Fedora DS version 1.1.x. > Can anybody advise, please? > Is there any other potential issue I should be aware of? > > Needless to say, I appreciate any advice. >migration is only used for major version upgrades. If you are going to be using the same DS version on the same OS release and architecture, you should just be able to copy the old files to the new machine, after installing the sotware.> Regards, > Wolf > > -- > Fedora-directory-users mailing list > Fedora-directory-users@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-directory-users >
Wolf Siedler
2009-Mar-09 19:48 UTC
[Fedora-directory-users] Re: Migrating Fedora DS 1.1 to another host, (NOT) by script "migrate-ds-admin"
Dear Rich,> migration is only used for major version upgrades.Ah, I had not realized that.> If you are going to be using the same DS version on the same OS release and architecture, you should just be able to copy the old files to the new machine, after installing the sotware."The old files" - that would be everything in /etc/dirsrv/? Fedora DS is already installed on the new host, but the I haven''t yet run the setup script. At least this is how I understood the instructions. Am I correct? Thanks for your advice! Regards, Wolf
Rich Megginson
2009-Mar-09 20:04 UTC
Re: [Fedora-directory-users] Re: Migrating Fedora DS 1.1 to another host, (NOT) by script "migrate-ds-admin"
Wolf Siedler wrote:> Dear Rich, > > >> migration is only used for major version upgrades. >> > > Ah, I had not realized that. > > >> If you are going to be using the same DS version on the same OS release and architecture, you should just be able to copy the old files to the new machine, after installing the sotware. >> > > "The old files" - that would be everything in /etc/dirsrv/? > Fedora DS is already installed on the new host, but the I haven''t yet > run the setup script. At least this is how I understood the > instructions. Am I correct? >Well, it''s more than that - you should probably copy all of these files and dirs: find /etc/dirsrv /usr/lib/dirsrv /usr/lib64/dirsrv /var/lib/dirsrv -name slapd-yourinstancename If you want the log files, add /var/log/dirsrv too.> Thanks for your advice! > > Regards, > Wolf > > -- > Fedora-directory-users mailing list > Fedora-directory-users@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-directory-users >
Wolf Siedler
2009-Mar-09 20:21 UTC
Re: [Fedora-directory-users] Re: Migrating Fedora DS 1.1 to another host, (NOT) by script "migrate-ds-admin"
> you should probably copy all of these files and dirs: > find /etc/dirsrv /usr/lib/dirsrv /usr/lib64/dirsrv /var/lib/dirsrv > -name slapd-yourinstancename > > If you want the log files, add /var/log/dirsrv too.OK, will do so. Thanks for the fast advice! Regards, Wolf