I have cloud storage data centers running Ubuntu 16.04 LTS and NextCloud/OwnCloud that have no need to be available 24/7 and need power management solutions. Servers are Dell PowerEdge 1950 Gen II and Dell PowerEdge 2950 Gen II
Hibernate cloud storage servers past an idle time for example 20 minutes and have such de-hibernated with WOL to reduce 6272.09 kilos of carbon dioxide per year being 6680kw from our data center alone, metrics achieved throughout a detailed energy audit.
Ineffective solution tried
The landscape on-premises/cron jobs only offer scheduled startup and shutdowns, thereby ineffective for our achievable.
powernap seems the way to go but the service is not starting on Ubuntu 16.04
XXXXXXX~$ sudo service powernap status ● powernap.service - PowerNap Loaded: loaded (/lib/systemd/system/powernap.service; disabled; vendor preset Active: inactive (dead)
powernap seems to use depreciated services such as network.service which are no longer available in Ubuntu 16.04
Wake on LAN (WOL)
Enabling WOL is straightforward by following the manual setup on this link. or with the use of power wake
Until now, I have only managed to hibernate the servers using
sudo systemctl hibernate and
sudo systemctl hibernate-sleep
- powernap - I am filing bug reports to remove depleted dependencies
- systemctl - could lead to somewhere
- pm-utils - could lead to somewhere too
I have upgraded the CPUs of the Dell 1950 Gen II dual Xeon E5335 with Xeon X5365 CPUs. The X5365 enable power management and set power management from BIOS. In all honesty, I was not in favor of such upgrade as the X5365 consume 70 watts per CPU more than E5335, but did such in favor of hibernation testing.
At this moment in time
pm-utils is the only way to go apart from setting
wol on the nic. Currently, I am exploring the optimal configuration to create a powerful hook for ac settings for idle time.
Any recommendations, please.