Update vzkernel newbie
Update only vzkernel on Centos. Read till the end before proceed.
Check the bootlist:
cat /boot/grub/grub.conf
Proceed with update:
yum update vzkernel
Check the bootlis again and note that new kernel appeare to load at the next boot:
cat /boot/grub/grub.conf
For any case count how much active vps now:
vzlist | wc -l
You may save the output in order to be able to compare it with the same command output after reboot/all vm start
vzlist | wc -l >/tmp/vzlist.txt vzlist >>/tmp/vzlist.txt
Reboot:
reboot
Once reboot finished take a look into /var/log/vzctl.log and /var/log/messages you may do it in two separte ssh sessions with tail -f command.
update vzctl vzquota ploop for better workaround.
- NOTE** If you see messaged like this during module update:
Cleanup : vzkernel-2.6.32-042stab090.5.x86_64 3/4 dkms: removing: sysdig 0.1.84 (2.6.32-042stab090.5) (x86_64) -------- Uninstall Beginning -------- Module: sysdig Version: 0.1.84 Kernel: 2.6.32-042stab090.5 (x86_64) ------------------------------------- Status: Before uninstall, this module version was ACTIVE on this kernel. Removing any linked weak-modules sysdig-probe.ko: - Uninstallation - Deleting from: /lib/modules/2.6.32-042stab090.5/extra/ - Original module - No original module was found for this module on this kernel. - Use the dkms install command to reinstall any previous module version.
depmod... DKMS: uninstall completed. ------------------------------ Deleting module version: 0.1.84 completely from the DKMS tree.
Most likely you need to follow the instructions in the output message and try to install deprecated module manually before reboot.