Date: Thu, 23 Feb 2006 17:41:25 -0600 From: "Nikolas Britton" <nikolas.britton@gmail.com> To: "Jayesh Jayan" <jayesh.freebsdlist@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Upgrading Freebsd 5.4 release to 5.4 stable Message-ID: <ef10de9a0602231541h1332e016qe2f5435c300110f9@mail.gmail.com> In-Reply-To: <e8ecf3c00602230650y549cdb95gc08208834f409855@mail.gmail.com> References: <e8ecf3c00602230544j93d707dl1c8f763451a197e1@mail.gmail.com> <43FDC563.7080203@daleco.biz> <e8ecf3c00602230650y549cdb95gc08208834f409855@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2/23/06, Jayesh Jayan <jayesh.freebsdlist@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 Distribution Set) 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=3DKERNFILE 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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ef10de9a0602231541h1332e016qe2f5435c300110f9>