How to update the dedicated server safely without downtime?

Barb

New member
Registered
Joined
Apr 5, 2017
Messages
1
Points
0
Hello everyone.

There is a dedicated server from Gt Host with CentOS 7.0. - 270 days of uptime. Full update was also 270 days ago, then I've only selectively updated some services.

I want to roll up some updates, but I'm worried that the server will drop and I'll lose access to it. Most of all I'm frightened by libc, NetworkManager and systemd updates. What can be done in advance so that the network, SSH and init won't fall of? Or do not bother at all and just selectively update and install security updates?

P.S. Yes, on a good note I need at least 2 distributed servers, virtualization and everything, of course. But it's not worth it: little time, little money and too much difficulties. But if the downtime won't last more than 15 minutes, then it's okay for me.
 

VirtuBox

Well-known member
Registered
Joined
May 3, 2016
Messages
1,622
Points
83
Hello everyone.

There is a dedicated server from Gt Host with CentOS 7.0. - 270 days of uptime. Full update was also 270 days ago, then I've only selectively updated some services.

I want to roll up some updates, but I'm worried that the server will drop and I'll lose access to it. Most of all I'm frightened by libc, NetworkManager and systemd updates. What can be done in advance so that the network, SSH and init won't fall of? Or do not bother at all and just selectively update and install security updates?

P.S. Yes, on a good note I need at least 2 distributed servers, virtualization and everything, of course. But it's not worth it: little time, little money and too much difficulties. But if the downtime won't last more than 15 minutes, then it's okay for me.
You can update your packages safely but you will have to reboot at least one time to apply the new kernel. You should not lost the SSH connection, even during the openssh-server package update.
The only way to make all your updates without any reboot is too use a solution like kernelcare
 

HostYourNet-DR

Well-known member
Registered
Joined
Jan 13, 2017
Messages
139
Points
18
If you using linux (Centos yum allows you to patch the OS without restarting but kenel will require restarts.
 

LJSHost

Well-known member
Hosting Provider
Registered
Joined
Jul 5, 2016
Messages
1,031
Points
63
Kernel care is good along with Ksplice. Both will allow injection updates into a running kernel without a reboot. Your biggest issue with updates will be if the server needs to fsck on reboot which can take a hours to run depending on how much data you have.
 

RackService

Active member
Hosting Provider
Registered
Joined
Mar 24, 2017
Messages
73
Points
8
You cant avoid a small downtime when updating, the server has to reboot to apply all the changes. If you have multiple servers you can configure it so that one takes over the functions once the 1st one is down, however, that's not always possible depending which applications you're running :)
 

Dewlance

Well-known member
Hosting Provider
Registered
Joined
Dec 20, 2014
Messages
115
Points
18
You can use --exclude=NetworkManager *otherpackage command to exclude it in your update , To avoid disconnect from SSH issue you can use "screen".

However as I know, I think CentOS 7 does not require reboot for applying update?

I am correct?
 
Latest Threads
Replies
1
Views
21
Replies
0
Views
33
Replies
1
Views
39

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top