Andrei Borzenkov wrote:
16.12.2017 16:21, Per Jessen пишет:
Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Saturday, 2017-12-16 at 07:49 -0500, Anton Aylward wrote:
On 16/12/17 07:06 AM, Carlos E. R. wrote:
In a business server scenario, I see needing swap as a bad thing. Get more ram instead, there is money involved. The link is not a recommendation for openSUSE, but for SLE. For business servers.
And, lets face it, a business server is not going to need to hibernate; its a 7/24 device!
There is a use case for swap on servers, though: when mains goes out and the battery watcher daemon kicks in: hibernate the machine in emergency, in order to restore without losing anything. Al services up, nothing lost. No admin time needed, either, except to switch on.
AFAIK, our UPS monitoring daemon (apcupsd) has no such option (hibernate instead of shutdown). I guess it could be scripted.
UPS monitoring program just calls script on event, and this script can do anything. Except hibernation has exactly zero (or even below) value in this case.
Yes, that was my first thought too. Currently, when there is about 10mins left on the UPS and we (for some reason) haven't switched to the generator, everything is told to shut down. -- Per Jessen, Zürich (2.2°C) http://www.hostsuisse.com/ - virtual servers, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org