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?
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
add a comment |
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
add a comment |
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
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
linux-kernel upgrade
asked Feb 16 '17 at 20:07
SidahmedSidahmed
7931418
7931418
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
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.
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
add a comment |
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.
1
There's also vanillakexec
, 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
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
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
add a comment |
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.
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
add a comment |
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.
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.
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
add a comment |
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
add a comment |
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.
1
There's also vanillakexec
, 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
add a comment |
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.
1
There's also vanillakexec
, 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
add a comment |
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.
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.
answered Feb 16 '17 at 20:26
icarusicarus
6,12111231
6,12111231
1
There's also vanillakexec
, 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
add a comment |
1
There's also vanillakexec
, 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
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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