6

Similar to some of the topics touched on in this question, Is it important to reboot Linux after a kernel update?, I was curious if there was a way in which one could apply kernel updates to the system without rebooting. I know that there is a vendor called Ksplice that offer features like this. However, I was curious if there was a way to perform this same task without a commercial offering or perhaps an alternative to Ksplice since it looks like some of the feature sets may have changed since they were purchased by Oracle. Ideally, if there is a script or way that I can add some files to perform this on CentOS, Red Hat, and/or Ubuntu would be great.

John
  • 2,266
  • 6
  • 44
  • 60
  • Is kexec even viable anymore? – John Dec 14 '11 at 20:52
  • 1
    You can evidently use Ksplice for free on Ubuntu and Ferdora as well as Oracle. From the webpage: "Ksplice Uptrack is available for Oracle Linux, free of charge, for Oracle Linux customers with a Premier support subscription. Additionally, anyone can use Ksplice Uptrack for free on Ubuntu Desktop and Fedora. " – jdw Dec 15 '11 at 14:18

3 Answers3

5

KSplice was a novel piece of code and nothing similar has been written for Linux. While it possible (and probable) that somebody can fork the old open source code and continue development, there are presently no alternative pieces of software in distribution for hot patching a running Linux kernel.

Jeff Ferland
  • 20,239
  • 2
  • 61
  • 85
3

kexec is a nice way of doing fast reboot. While this isn't 'live upgrading your kernel', it does some interesting things such as bypassing BIOS, POST and BootLoader...

Some additional informations can be found through Ubuntu 'RapidReboot' topic : https://wiki.ubuntu.com/RapidReboot

CloudWeavers
  • 2,511
  • 1
  • 14
  • 17
0

(Disclosure: I work for Canonical)

Since you asked, for Ubuntu specifically, Canonical now delivers this service on 16.04.

This uses the live patching technology in the upstream Linux kernel since 4.0 was released.

dpb
  • 445
  • 5
  • 16