[Fedora-directory-devel] Please review: Bug 231905: migration: Migrate from 1.0.x to 1.1

Richard Megginson rmeggins at redhat.com
Fri Mar 16 17:19:04 UTC 2007


https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=231905
Resolves: bug 231905
Bug Description: migration: Migrate from 1.0.x to 1.1
Reviewed by: ???
Files: see diff
Branch: HEAD
Fix Description: The basic strategy is
1) shutdown the old servers - databases should be quiescent
2) run the migration script - this will copy all of the files (under 
/opt/fedora-ds/slapd-* by default) to their new FHS style locations, and 
fix up any entries and attributes that are obsolete or have changed 
(e.g. values that refer to paths)
3) service fedora-ds start
The migration script does not need to do anything to the database files 
- the new database code added by Noriko will handle the database upgrade 
automagically, but I'm leaving the database upgrade code in the script, 
commented out, in case we need it in the future.
This also fixes an annoying problem with automake - it would build 
ds_newinst.pl from ds_newinst.pl.in in the source ldap/admin/src 
directory, and use that version.  This is really a problem with multi 
platform builds, where you want to share the ldapserver source code 
among multiple platforms.  With the fix, 
built/ldap/admin/src/ds_newinst.pl is generated from 
srcdir/ldap/admin/src/ds_newinst.pl.in, and 
srcdir/ldap/admin/src/ds_newinst.pl is not written.
Platforms tested: FC6
Flag Day: no
Doc impact: Yes - we need to document migration
Diffs: 
https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=150251&action=diff
migrateTo11.in: 
https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=150252
migrateTo11 expanded: 
https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=150253
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3245 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-directory-devel/attachments/20070316/64836556/attachment.bin>


More information about the Fedora-directory-devel mailing list