I really need to make this process faster. Someday I should be able to update every machine to a new OS version in 1 day. Now I do about 1 per day. Automate!!
Common
Everything has a redundant partner so I can update at any time.
Linux
Also include switching between distros?
Fedora to CentOS
- make a full backup to another machine/tape
backup /etc/,/root/,/var/spool/cron and ADD MORE HERE to /home or /usr/local
put install kernel & initram in /boot
- start install process
- use existing /home and /usr/local
- is there a way to do this with kickstart?
- much of it, but partitioning must be done manually at least
Fedora 6 to CentOS using yum
- removed fedora-release-6-4
- added centos-release-5-2.el5.centos.i386.rpm
- made all fedora repos enabled=0
- enabled centosplus in CentOS-Base
- yum clean all ; yum update
- failed - rpm -e --nodeps xen ; yum update
- downloading 360 packages.. woot!
- omm killa! Yipes! (ran out of ram+swap)
All Linux
- cron
- /usr/local/(bin|sbin)
OpenBSD
See also OpenBSD
go read about upgrade process at http://openbsd.org/faq/upgrade42.html
- from an Obsd box with /usr/src
- make stable branch based release
- make script to do pre-upgrade changes and backup /etc
- make post-upgrade script (upgrade.site) including post install from upgrade guide
- make siteXX.tgz including upgrade.site and host on web server
- put stable branch release + siteXX.tgz + preXX.tgz on a web server
- from machine to upgrade
- install new bsd.rd
- download and run preXX.tgz
- reboot to installer
- install packages over network including siteXX.tgz
Next I'll try and automate the update process in the installer. Heck, if I'm building a full release, I could do that now.
