This article introduces the procedure to upgrade domU kernel of Applogic template/class based appliance(PV appliance) from 2.9 to 3.7.
From AL 2.9 to 3.5, Applogic template/class appliances are based on CentOS 5.4 and 5.5. CentOS 5.4/5.5 provide separate kernel packages for HVM and PV mode. The Xen PV capable kernel package name is usually in form of kernel-xen-xxxxx. Since AL 3.7, Applogic template/class appliances are based on CentOS 6.3 which utilizes single kernel package to support both HVM and PV.
Per-upgrade
gunzip < [full path to new intrid image] | cpio -t | grep lib/xenblk.ko
If initrd image does not include xenblk.ko, add xenblk.ko into initrd image.
mkinitrd -f --without-usb --with=xenblk [full path to new intrid image] [kernel version]
Here is a sample. Please use your initrd image file name and kernel version in CLI.
gunzip < /boot/initrd-2.6.18-xenU.img | cpio -t | grep lib/xenblk.ko mkinitrd -f --without-usb --with=xenblk /boot/initrd-2.6.18-xenU.img 2.6.18-xenU
Note: This instruction only applies to those Applogic template/class based appliances. It's customer responsibility to choose the stable Linux kernel to upgrade to. Additionally, It's also customer responsibility to make the decision of what is the best approach to upgrade kernel of appliance which is NOT based on AppLogic template/class.
|
Copyright © 2013 CA Technologies.
All rights reserved.
|
|