What’s KernelCare?

What’s KernelCare?

This article explains all that you need to know about KernelCare. But before studying about KernelCare, let’s do a quick recap of the Linux kernel. It’ll help you understand KernelCare better. The Linux kernel is the core part of Linux OS. It resides in memory and prompts the CPU what to do.

Now let’s begin with today’s topic which is KernelCare. And if you’re a system administrator this article is going to present valuable information for you.

What is KernelCare?

So, what’s KernelCare? KernelCare is a patching service that offers live security updates for Linux kernels, shared libraries, and embedded devices. It patches security vulnerabilities inside the Linux kernel without creating service interruptions or any downtime. Once you install KernelCare on the server, security updates automatically get applied every 4 hours on your server. It dismisses the need for rebooting your server after making updates.

It is a commercial product and is licensed under GNU GPL version 2. Cloud Linux, Inc developed this product. The first beta version of KernelCare was released in March 2014 and its commercial launch was in May 2014. Since then they have added various useful integrations for automation tools, vulnerability scanners, and others. 

Operating systems supported by KernelCare include CentOS/RHEL 5, 6, 7; Cloud Linux 5, 6; OpenVZ, PCS, Virtuozzo, Debian 6, 7; and Ubuntu 14.04.

Is KernelCare Important?

Are you wondering if KernelCare is important for you or not? Find out here. By installing the latest kernel security patches, you are able to minimize potential risks. When you try to update the Linux kernel manually, it may take hours. Apart from the server downtime, it can be a stressful job for the system admins and also for the clients.

Once the kernel updates are applied, the server needs a reboot. This is usually done during off-peak work hours. And this causes some additional stress. However, ignoring server reboots can cause a whole lot of security issues. It’s seen that, even after rebooting, the server experiences issues and doesn’t easily come back up. Fixing such issues is a trouble for the system admins. Often the system admin needs to roll back all the applied updates to get the server up quickly.

With KernelCare, you can avoid such issues.

How Does KernelCare Work?

KernelCare eliminates non-compliance and service interruptions caused by system reboots. KernelCare agent resides on your server. It periodically checks for new updates. In case it finds any, the agent downloads those and applies them to the running kernel. A KernelCare patch can be defined as a piece of code that’s used to substitute buggy code in the kernel. 

A special KernelCare module applies the patches. It loads the patches, sets up the relocations, and switches the path of execution from the initial code to the modified code blocks. The code ensures that the KernelCare patch is applied safely so that the CPU doesn’t execute the initial code while switching to the updated version.

Advantages of KernelCare

Following are the top 5 features of KernelCare that you’d never want to miss.

Latest Security and Stability Upgrades

Using KernelCare, you don’t need to apply updates manually. This saves you time as KernelCare manages this critical part of server administration.

Fast Install

You can easily install KernelCare. And you don’t have to reboot the server in order to do so. By giving commands from the command line, the installation can be done.

No Performance Impact

KernelCare loads patches through a kernel module. Since the patches take nanoseconds to be applied, they don’t affect your system’s performance.

Prompt Patch Roll Outs

Whenever the KernelCare team finds any security vulnerabilities affecting any of the supported kernels, immediately they prepare a new patch to eliminate its effect.

Ability to Roll Back Changes

Want to roll back changes? With KernelCare, you can do that too. Running a special command allows you to roll back all the changes applied.

Conclusion

Through this article, you came to know what KernelCare is, how important KernelCare is, how it works, and KernelCare’s advantages. KernelCare is a nice product specially for system administrators as it makes their job easier. If you’re second-guessing about using KernelCare, I’m sure reading this article will help you clear your doubts.

Suparna is a freelance writer who writes about Linux including tips, tricks, and how-tos.

Load Disqus comments