Andy,
You can almost do an rpm -U xxx.rpm for kernel updates, but there are a
couple of little fix ups you need after it. You need to update lilo (it
generally survives it), rename the initrd file and update the system
configurator script. I've again attached a script I used recently to do
it (however, the script did a lot more updates than just the kernel, it
also did glibc and other outstanding patches). Just run it with "cexec
upit.sh".
You also need to apply all this to the images directory (i.e. rpm -Uvh
--root /var/lib/systemimage/images/XXX/ *.rpm)
Frank
On Wed, 2004-02-04 at 06:59, [EMAIL PROTECTED] wrote:
> I'm running a seven-node oscar 3.0 cluster with some persistent data on
> the nodes. (i.e. i dont want to cpushimage!) I currently have the default
> kernel from red hat 9 installed, but the developers want an upgrade, for
> which they have an rpm. My questions: What issues should i be aware of?
> How should i apply this upgrade? (cexec rpm -U xxx.rpm?) Will this
> destroy my LILO boot environment? Is this even possible without using
> cpushimage? Thanks for your time.
>
> andy goodell
> discovery mining
>
>
>
>
> -------------------------------------------------------
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration
> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> _______________________________________________
> Oscar-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/oscar-users
--
ac3
Suite G16, Bay 7, Locomotive Workshop Phone: 02 9209 4600
Australian Technology Park Fax: 02 9209 4611
Eveleigh NSW 1430
#! /bin/sh
PATH=/bin:/usr/bin:/sbin:/usr/sbin:$PATH
# Some definitions
OLDKERNEL=2.4.20-20.9
KERNEL=2.4.20-28.9
GLIB=2.3.2-27.9.7
echo "Update starting - node `hostname`"
mount -r barossa:/tftpboot /mnt/cx200_1a
cd /mnt/cx200_1a/rpm
rpm -ivh kernel-$KERNEL.i686.rpm kernel-smp-$KERNEL.i686.rpm
rpm -Fvh *.i686.rpm glibc-common-$GLIB.i386.rpm
rpm -Fvh *.rpm
cd /mnt/cx200_1a/local
rpm -Fvh *.rpm
cd /boot
umount /mnt/cx200_1a
cp -p initrd-$KERNEL.img sc-initrd-$KERNEL.gz
cp -p initrd-${KERNEL}smp.img sc-initrd-${KERNEL}smp.gz
cd /etc
cp -p lilo.conf lilo.prev
sed 's/$OLDKERNEL/$KERNEL/' lilo.prev > lilo.conf
lilo -v
cd /etc/systemconfig
cp -p systemconfig.conf systemconfig.prev
sed 's/$OLDKERNEL/$KERNEL/' systemconfig.prev > systemconfig.conf
rm -f systemconfig.prev
echo "Update complete - node `hostname`"
exit 0