Bug 683478 - RFE: support soft reboot to reduce server downtime
Summary: RFE: support soft reboot to reduce server downtime
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: systemd
Version: 7.0
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: systemd-maint
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-09 14:22 UTC by Lubos Kocman
Modified: 2015-08-03 10:30 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-06-21 21:00:19 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Lubos Kocman 2011-03-09 14:22:36 UTC
Description of problem:

Sol11Express / OpenIndiana already support soft reboot. Which allows you to reboot machine without entering grub or POST.

This is killer feature as some servers are spending most boot time in self checks or raid initialization-configuration.

Solaris is using beadm to specify target that will be active on reboot.

See reboot vs reboot -p in OpenIndiana / Solaris 11 Express

It would be really killer feature for our customers.

It could save around 5+ minutes on boot time in on lot of cases (depends on grub configuration and average length of POST).

Comment 1 Lubos Kocman 2011-03-09 14:25:33 UTC
It should be such difficult to combine reboot with kexec and other code.

Comment 4 Lennart Poettering 2013-06-21 21:00:19 UTC
We already have that in systemd in RHEL7. Install "kexec-tools" and try "systemctl kexec".

Comment 5 yossig 2015-08-03 10:30:28 UTC
Hi,

Just came by this entry.  Seems the last note from 2013 is incorrect.
It does bring the system down fast, but goes to BIOS.

using kexec, one can load kernel/initrd and jump over to start the o/s without going to Bios.  I've done this via a small shell script I wrote, getting the information from Grub's config, but systemctl kexec does not do the trick just yet.

-Yossi


Note You need to log in before you can comment on or make changes to this bug.