Looking for expanded upgrade to 1.0 procedure

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

 



Darren Fulton wrote:

>We've been running FDS beta in production for a while now.  I'd like to upgrade to 1.0 and then get current, especially because after the last reboot, the admin-serv won't run anymore.
>
What's the problem?  Note that ns-slapd must be up and running and 
accepting connections before admin-serv will start.

>The only upgrade instructions that I've been able to find are at the bottom of the 1.0 Release Notes:
>
>    Unfortunately, rpm -U (rpm upgrade install) is not supported. You must perform a migration from the old version. Steps:
>
>       1. Backup your data, using the console or the db2bak command line (or Export to LDIF)
>       2. Make a copy of your server configuration - the slapd-instance/config/dse.ldif file
>       3. Backup your key/cert/module information - the /opt/fedora-ds/alias .db files (you can ignore the .so file)
>       4. Uninstall the previous version (e.g. rpm -e fedora-ds)
>       5. Install the new version (e.g. rpm -ivh fedora-ds-1.0-2.platform.i386.opt.rpm)
>       6. Add back your configuration to the new instance e.g. do a diff between your saved dse.ldif and the new one
>       7. Add back your saved key/cert/module .db files to /opt/fedora-ds/alias
>       8. Restore your saved data (or import from LDIF)
>
>These notes aren't enough detail for me to get the job done.  Is there a detailed procedure somewhere or can one of you good people help me?  I've looked through the mailing list archives, FDS docs, RHDS docs, and googled.  I'd like something like this:
>
>    mkdir /var/backup/fds
>    cd /opt/fedora-ds/slapd-host2
>    ./db2bak /var/backup/fds
>    blah blah
>    rpm -e fedora-ds
>    etc etc
>
>
>Specific things in the upgrade steps from the release notes that I don't feel good about are:
>Step 1 - I don't know how to do that, but I think I might have done it correctly.
>  
>
Yes, you are correct.

>Step 4 - after rpm -e, it says some files may not have been removed and to remove them manually.  Do you do rm -Rf /opt/fedora-ds?
>  
>
Yes.

>Step 6 - I don't know how to do that
>  
>
cd /opt/fedora-ds/slapd-host2
./stop-slapd
diff -U 8 dse.ldif.saved config/dse.ldif > diffs
# where dse.ldif.saved is the one you saved in step 2 above
# now, take a look at the file diffs, and edit your config/dse.ldif with 
any pertinent changes in diffs
./start-slapd

>Step 8 - I don't know how to do that
>  
>
cd /opt/fedora-ds/slapd-host2
./stop-slapd
./bak2db /var/backup/fds
./start-slapd

>Thanks in advance!
>
>  
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3178 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.fedoraproject.org/pipermail/389-users/attachments/20060213/a0bb0585/attachment.bin 


[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