LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-21-2019, 07:36 PM   #16
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225

Quote:
Originally Posted by upnort View Post
How did you keep both the host and guest systems synchronized between the two?
Normally, by both of them looking at the same database cluster.
 
Old 04-21-2019, 09:13 PM   #17
chris.willing
Member
 
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 917

Rep: Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619
Quote:
Originally Posted by linus72 View Post
The default 14.2 kernels are not configured with CONFIG_KEXEC=y as is required to use kexec (of course you could build custom kernels to fix that). However it is set appropriately in -current where I just tested in a VM and it worked pretty well, although the change over is not instantaneous (about 20secs for new kernel to boot & services to start).

Compared with livepatch (which looks complicated at first glance), kexec is very easy to setup and run although the kernel changeover time wouldn't be good enough for cases like an online store where you may have purchase transactions going on (and don't want to interrupt).

Edit: PS. the existing SlackBuild for kexec-tools at SBo uses version 2.0.17 but this generated an error (kexec unhandled rela relocation R_X86_64_PLT32) when I tried to run it. Updating to version 2.0.19 fixed the problem.

chris

Last edited by chris.willing; 04-21-2019 at 09:45 PM.
 
2 members found this post helpful.
Old 04-22-2019, 12:29 AM   #18
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,810

Rep: Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447
Regardless of the expense, assuming it is THAT important to be up without even a few minutes lapse, ever, that is worth money as well as an investment into the only practical and effective solution - redundancy. Replacing a kernel on-the-fly does not solve the issue since what does it matter if the system is technically up in some manner if no or even limited services can be provided? It's just cleaner, and ultimately more reliable, to have scheduled reboots for various kinds of maintenance.

This wouldn't be about supposed advantages of a parallel init would it?

Last edited by enorbet; 04-22-2019 at 12:32 AM.
 
Old 04-22-2019, 10:24 AM   #19
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Rep: Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162
Quote:
Regardless of the expense, assuming it is THAT important to be up without even a few minutes lapse, ever, that is worth money as well as an investment into the only practical and effective solution - redundancy.
I agree with the sentiment but I can share that in the real world this often does not happen. I appreciate that in some use cases five 9s of uptime or better is not a goal but a requirement. People in such use cases should indeed accept that investing in some kind of redundancy is simply the cost of doing business. That said, I work for a small mom-and-pop. Striving for five 9s of uptime is impossible and stressful. Two 9s of uptime is good enough for most people.
 
Old 04-30-2019, 10:46 AM   #20
Geremia
Member
 
Registered: Apr 2011
Distribution: slackware64-current
Posts: 516

Original Poster
Rep: Reputation: 50
Quote:
Originally Posted by glorsplitz View Post
Maybe see here Livepatch: Linux kernel updates without rebooting?

Although slackware is not listed, it seems on my stable slackware there's this
Code:
zcat /proc/config.gz | grep LIVEPATCH
CONFIG_HAVE_LIVEPATCH=y
CONFIG_LIVEPATCH=y
What's yours say?
Code:
CONFIG_HAVE_LIVEPATCH=y
CONFIG_LIVEPATCH=y
I also have a /sys/kernel/livepatch directory.

Is there a SlackBuild for a livepatch client?

Last edited by Geremia; 04-30-2019 at 10:55 AM.
 
Old 04-30-2019, 08:01 PM   #21
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,314

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
Then there's this

Canonical livepatch does not work?

Quote:
Quoting from the Livepatch wiki page:
Since there are limitations to the kernel livepatch technology, some Linux kernel code paths cannot be safely patched while running. There may be occasions when the traditional kernel upgrade and reboot might still be necessary.
 
  


Reply

Tags
kernel, server, upgrade



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
reload the linux kernel without rebooting co_bra35 Linux - Kernel 2 01-22-2018 03:50 PM
Keeping the kernel TZ up to date in Slackware without rebooting xj25vm Slackware 5 04-08-2015 04:05 PM
Can I Reload Konqueror Without Reloading KDE all together or Rebooting the machine?? TeddyB Linux - Software 3 01-06-2008 07:05 PM
reload linux kernel without reboot mnauta Linux - General 1 02-14-2007 06:06 PM
Tomcat reload servlet is very slow, but reload jsp is fast and good? gsbarry Programming 2 04-28-2006 09:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration