Update Linux Kernel Without Rebooting – Live Patching Guide

linux-kernelupgrade

According to my informations, upgrading the linux kernel needs a reboot. Rebooting a home computer is not a problem, but I don't think that it is the same thing for a server.

So does the servers that use Linux distributions reboot after upgrading the kernel, or do they use some kind of a trick to avoid booting ??

Best Answer

A kernel change should get a reboot. You can install the kernel, and in some cases you can insert and remove modules of different kernels, but I would not advise it.

A server could be rebooted and service would be unaffected if the server is part of a cluster. You can create firewall/router clusters too, such that there is no single point of failure (SPOF). To do this you use what is called a Virtual IP (VIP) that is shared across more than one system.

If you want to experiment with this idea you can use QEMU or VirtualBox and others to create virtual networks.

Related Question