Upgrading Freebsd 5.4 release to 5.4 stable
nikolas.britton at gmail.com
Thu Feb 23 15:41:27 PST 2006
On 2/23/06, Jayesh Jayan <jayesh.freebsdlist at gmail.com> wrote:
> That was valuable in deed ....
> The 12 server are all identical but the problem is that the test machine
> which we will be using is not of the same class as that of the server.
> Then all the server run a custom built kernel and not the generic one.
You can still follow Kevins advise:
"If so, it should be easy on you to do the "make buildworld"
and "make buildkernel" steps on your testbed, export /usr/obj
via NFS to your production machines, and simply have them
mount this share and do the "make installkernel" and "make
installworld" steps. IOW, just like the manual, but you do the
hard work only once."
1. Download and Install FreeBSD 6.1-BETA2 (Install the Developer
2. Cvsup with RELENG_6 (to get most current version of 6.1-PRERELEASE)
3. cd /usr/src; make buildworld; make buildkernel (The generic kernel)
4. tarball /usr/obj
5. finish installing world/kern using the standard protocol.
6. test your apps and tweak your test servers settings to your liking,
when you've got everything to your liking...
7. copy over your custom kernel from a production server and merge the
changes with the new 6.1 generic kernel to make a new custom kernel.
8. build this kernel: cd /usr/src/sys/i386/conf; config KERNFILE; cd
../compile/KERNFILE; make cleandepend; make depend; make
9. tarball the kernel build directory /usr/src/sys/i386/compile/KERNFILE
10. copy over to one of the lesser used / non critical production
servers the two tarball files and expand them.
11. finish the standard buildworld/kern starting at "make installkernel"
12 test the system.
13. cd /usr/src/sys/i386/compile/KERNFILE; make install; reboot
14. now use this production server as your new test system. copy over
from the old test system the /usr/src and /usr/ports directory and any
other stuff you need, like the custom kernel config file etc.
15. cd /usr/src; nice +20 make KERNCONF=KERNFILE buildkernel
16. tarball /usr/obj
17. copy this to all the servers
18. finish the standard buildworld/kern starting at "make installkernel"
etc. don't forget to build and/or rebuild all the new ports into
packages to install on the servers.... sorry, I don't have time to
finish editing this message so this will have to do, got to run...
BSD Podcasts @ http://bsdtalk.blogspot.com/
More information about the freebsd-questions