How Linux servers update their kernel without rebooting2019 Community Moderator ElectionChain loading kernel without a boot loaderHow to repair system if kernel panic?expanding the priorities table in runqueue in Linux kernel“Last resort” Linux terminal command to reboot (over ssh) in case of a kernel bug?Installing linux kernel 4.4.0-trunk-amd64 crashes X serverRunning a current Linux OS on older kernel (what are the / are there disadvantages?)Can't run any snap using linux 4.12 : snap-confine has elevated permissions and is not confined but should beArch Linux kernel version not changing even after upgradeWhy does apt autoremove not remove all old kernel packages at once?Is /var/run/reboot-required a reliable indicator of a needed reboot?

Can you take a "free object interaction" while incapacitated?

How do I prevent inappropriate ads from appearing in my game?

What is the tangent at a sharp point on a curve?

Non-Borel set in arbitrary metric space

Should a narrator ever describe things based on a character's view instead of facts?

Why does the Persian emissary display a string of crowned skulls?

Are hand made posters acceptable in Academia?

Derivative of an interpolated function

Why didn’t Eve recognize the little cockroach as a living organism?

New Order #2: Turn My Way

What is the purpose of using a decision tree?

Asserting that Atheism and Theism are both faith based positions

Mortal danger in mid-grade literature

Friend wants my recommendation but I don't want to give it to him

Do native speakers use "ultima" and "proxima" frequently in spoken English?

Why is implicit conversion not ambiguous for non-primitive types?

Output visual diagram of picture

Why would five hundred and five same as one?

How would a solely written language work mechanically

Is there any common country to visit for persons holding UK and Schengen visas?

Do people actually use the word "kaputt" in conversation?

If the Dominion rule using their Jem'Hadar troops, why is their life expectancy so low?

What do the positive and negative (+/-) transmit and receive pins mean on Ethernet cables?

Showing mass murder in a kid's book



How Linux servers update their kernel without rebooting



2019 Community Moderator ElectionChain loading kernel without a boot loaderHow to repair system if kernel panic?expanding the priorities table in runqueue in Linux kernel“Last resort” Linux terminal command to reboot (over ssh) in case of a kernel bug?Installing linux kernel 4.4.0-trunk-amd64 crashes X serverRunning a current Linux OS on older kernel (what are the / are there disadvantages?)Can't run any snap using linux 4.12 : snap-confine has elevated permissions and is not confined but should beArch Linux kernel version not changing even after upgradeWhy does apt autoremove not remove all old kernel packages at once?Is /var/run/reboot-required a reliable indicator of a needed reboot?










8















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 ??










share|improve this question


























    8















    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 ??










    share|improve this question
























      8












      8








      8


      3






      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 ??










      share|improve this question














      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 ??







      linux-kernel upgrade






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Feb 16 '17 at 20:07









      SidahmedSidahmed

      7931418




      7931418




















          2 Answers
          2






          active

          oldest

          votes


















          4














          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 central 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.






          share|improve this answer


















          • 5





            What about live kernel patching?

            – jiggunjer
            Feb 16 '17 at 20:25











          • The question was not specific to minor patching but mentions 'upgrade' which I will take to mean major version upgrades. Therefore, to 'upgrade' from 2.6 -> 3.0 I would recommend dropping the machine from load before starting upgrade work. Post kernel changes I would reboot. Since grub/lilo is likely to need changes I would suggest a courtesy reboot anyway.

            – Ed Neville
            Feb 17 '17 at 14:36


















          9














          Yes, they do a "reboot", but could do a kexec_load system call to preload the new kernel.



          There is the possibility of patching the running kernel as well, redhat kpatch for example. All the things which do this that I am aware of can not change the data structures.



          Of course lisp machines used to be able to patch their running kernels in the last century.






          share|improve this answer


















          • 1





            There's also vanilla kexec, for just booting the new kernel immediately. Depending on your definition of "reboot", this might qualify as a non-reboot kernel upgrade.

            – Patrick
            Feb 17 '17 at 2:26










          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f345561%2fhow-linux-servers-update-their-kernel-without-rebooting%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          4














          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 central 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.






          share|improve this answer


















          • 5





            What about live kernel patching?

            – jiggunjer
            Feb 16 '17 at 20:25











          • The question was not specific to minor patching but mentions 'upgrade' which I will take to mean major version upgrades. Therefore, to 'upgrade' from 2.6 -> 3.0 I would recommend dropping the machine from load before starting upgrade work. Post kernel changes I would reboot. Since grub/lilo is likely to need changes I would suggest a courtesy reboot anyway.

            – Ed Neville
            Feb 17 '17 at 14:36















          4














          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 central 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.






          share|improve this answer


















          • 5





            What about live kernel patching?

            – jiggunjer
            Feb 16 '17 at 20:25











          • The question was not specific to minor patching but mentions 'upgrade' which I will take to mean major version upgrades. Therefore, to 'upgrade' from 2.6 -> 3.0 I would recommend dropping the machine from load before starting upgrade work. Post kernel changes I would reboot. Since grub/lilo is likely to need changes I would suggest a courtesy reboot anyway.

            – Ed Neville
            Feb 17 '17 at 14:36













          4












          4








          4







          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 central 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.






          share|improve this 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 central 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.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Feb 16 '17 at 20:19









          Ed NevilleEd Neville

          1,13758




          1,13758







          • 5





            What about live kernel patching?

            – jiggunjer
            Feb 16 '17 at 20:25











          • The question was not specific to minor patching but mentions 'upgrade' which I will take to mean major version upgrades. Therefore, to 'upgrade' from 2.6 -> 3.0 I would recommend dropping the machine from load before starting upgrade work. Post kernel changes I would reboot. Since grub/lilo is likely to need changes I would suggest a courtesy reboot anyway.

            – Ed Neville
            Feb 17 '17 at 14:36












          • 5





            What about live kernel patching?

            – jiggunjer
            Feb 16 '17 at 20:25











          • The question was not specific to minor patching but mentions 'upgrade' which I will take to mean major version upgrades. Therefore, to 'upgrade' from 2.6 -> 3.0 I would recommend dropping the machine from load before starting upgrade work. Post kernel changes I would reboot. Since grub/lilo is likely to need changes I would suggest a courtesy reboot anyway.

            – Ed Neville
            Feb 17 '17 at 14:36







          5




          5





          What about live kernel patching?

          – jiggunjer
          Feb 16 '17 at 20:25





          What about live kernel patching?

          – jiggunjer
          Feb 16 '17 at 20:25













          The question was not specific to minor patching but mentions 'upgrade' which I will take to mean major version upgrades. Therefore, to 'upgrade' from 2.6 -> 3.0 I would recommend dropping the machine from load before starting upgrade work. Post kernel changes I would reboot. Since grub/lilo is likely to need changes I would suggest a courtesy reboot anyway.

          – Ed Neville
          Feb 17 '17 at 14:36





          The question was not specific to minor patching but mentions 'upgrade' which I will take to mean major version upgrades. Therefore, to 'upgrade' from 2.6 -> 3.0 I would recommend dropping the machine from load before starting upgrade work. Post kernel changes I would reboot. Since grub/lilo is likely to need changes I would suggest a courtesy reboot anyway.

          – Ed Neville
          Feb 17 '17 at 14:36













          9














          Yes, they do a "reboot", but could do a kexec_load system call to preload the new kernel.



          There is the possibility of patching the running kernel as well, redhat kpatch for example. All the things which do this that I am aware of can not change the data structures.



          Of course lisp machines used to be able to patch their running kernels in the last century.






          share|improve this answer


















          • 1





            There's also vanilla kexec, for just booting the new kernel immediately. Depending on your definition of "reboot", this might qualify as a non-reboot kernel upgrade.

            – Patrick
            Feb 17 '17 at 2:26















          9














          Yes, they do a "reboot", but could do a kexec_load system call to preload the new kernel.



          There is the possibility of patching the running kernel as well, redhat kpatch for example. All the things which do this that I am aware of can not change the data structures.



          Of course lisp machines used to be able to patch their running kernels in the last century.






          share|improve this answer


















          • 1





            There's also vanilla kexec, for just booting the new kernel immediately. Depending on your definition of "reboot", this might qualify as a non-reboot kernel upgrade.

            – Patrick
            Feb 17 '17 at 2:26













          9












          9








          9







          Yes, they do a "reboot", but could do a kexec_load system call to preload the new kernel.



          There is the possibility of patching the running kernel as well, redhat kpatch for example. All the things which do this that I am aware of can not change the data structures.



          Of course lisp machines used to be able to patch their running kernels in the last century.






          share|improve this answer













          Yes, they do a "reboot", but could do a kexec_load system call to preload the new kernel.



          There is the possibility of patching the running kernel as well, redhat kpatch for example. All the things which do this that I am aware of can not change the data structures.



          Of course lisp machines used to be able to patch their running kernels in the last century.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Feb 16 '17 at 20:26









          icarusicarus

          6,12111231




          6,12111231







          • 1





            There's also vanilla kexec, for just booting the new kernel immediately. Depending on your definition of "reboot", this might qualify as a non-reboot kernel upgrade.

            – Patrick
            Feb 17 '17 at 2:26












          • 1





            There's also vanilla kexec, for just booting the new kernel immediately. Depending on your definition of "reboot", this might qualify as a non-reboot kernel upgrade.

            – Patrick
            Feb 17 '17 at 2:26







          1




          1





          There's also vanilla kexec, for just booting the new kernel immediately. Depending on your definition of "reboot", this might qualify as a non-reboot kernel upgrade.

          – Patrick
          Feb 17 '17 at 2:26





          There's also vanilla kexec, for just booting the new kernel immediately. Depending on your definition of "reboot", this might qualify as a non-reboot kernel upgrade.

          – Patrick
          Feb 17 '17 at 2:26

















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f345561%2fhow-linux-servers-update-their-kernel-without-rebooting%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          getting Checkpoint VPN SSL Network Extender working in the command lineHow to connect to CheckPoint VPN on Ubuntu 18.04LTS?Will the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayVPN SSL Network Extender in FirefoxLinux Checkpoint SNX tool configuration issuesCheck Point - Connect under Linux - snx + OTPSNX VPN Ububuntu 18.XXUsing Checkpoint VPN SSL Network Extender CLI with certificateVPN with network manager (nm-applet) is not workingWill the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayImport VPN config files to NetworkManager from command lineTrouble connecting to VPN using network-manager, while command line worksStart a VPN connection with PPTP protocol on command linestarting a docker service daemon breaks the vpn networkCan't connect to vpn with Network-managerVPN SSL Network Extender in FirefoxUsing Checkpoint VPN SSL Network Extender CLI with certificate

          Cannot Extend partition with GParted The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election ResultsCan't increase partition size with GParted?GParted doesn't recognize the unallocated space after my current partitionWhat is the best way to add unallocated space located before to Ubuntu 12.04 partition with GParted live?I can't figure out how to extend my Arch home partition into free spaceGparted Linux Mint 18.1 issueTrying to extend but swap partition is showing as Unknown in Gparted, shows proper from fdiskRearrange partitions in gparted to extend a partitionUnable to extend partition even though unallocated space is next to it using GPartedAllocate free space to root partitiongparted: how to merge unallocated space with a partition

          Marilyn Monroe Ny fiainany manokana | Jereo koa | Meny fitetezanafanitarana azy.