I have previously tried to update the systemimager image using this method - chroot to /var/lib/systemimage/images/<image> and then run kernel rpm updates there - the problem is, I suppose is that there is no /etc/fstab in the image directory structure (this is because systemimager creates it on the fly).

This results in a kernel image that didn't quite work when you push it to clients (it causes a kernel panic). That is why I opt to do the kernel update AFTER I've pushed the images out to the clients.

You might want to confirm this.

Thanks,

Bernard

Frank Crawford wrote:

On Tue, 2003-10-07 at 03:29, Bernard Li wrote:

Hi Julia:

I have recently updated my Oscar cluster from the RedHat 9.0 stock kernel to 2.4.20-20.9. And here's what I did:

1. Use cexec to rpm install the kernel
2. Modify /boot/grub/menu.lst accordingly (we use grub so you should edit the appropriate boot list for lilo)
3. Push the menu.lst to the nodes
4. Reboot and the new kernel should boot up.


We haven't quite figured out how to update the kernel for the image though.


To update the image you need to run:

rpm --root /var/lib/systemimager/image/X -Uvh Y.rpm (where X is your
image name and Y is the rpm file)

and then probably hand edit
/var/lib/systemimager/image/X/etc/systemconfig/systemconfig.conf
with the correct names (it is fairly obvious).  This file is run to
configure the nodes after image install.  (Note, you can also make
changes in the override directory instead.)

Note: this is all for OSCAR 2.3, but I think that the systemimager stuff
in earlier OSCAR versions was similar.


Cheers,

Bernard


Frank


Julia Wang wrote:


Hi, All:

I have an existing OSCAR cluster (Oscar 2.1 on RH 7.3). I want to update the kernel to 2.4.20-20.7smp. I don't know the proper steps to update the computing nodes. Thank you in advance for your help.

Regards,
Julia


------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Oscar-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/oscar-users




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Oscar-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/oscar-users




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Oscar-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/oscar-users

Reply via email to