X-Git-Url: https://pere.pagekite.me/gitweb/homepage.git/blobdiff_plain/969227bd70d2c8e4c690edd88aeb308199f77db8..4670db8c493b13f0e5943bbd89757deb459a997a:/blog/archive/2012/02/02.rss diff --git a/blog/archive/2012/02/02.rss b/blog/archive/2012/02/02.rss index 6393a0f3d9..bc9d939267 100644 --- a/blog/archive/2012/02/02.rss +++ b/blog/archive/2012/02/02.rss @@ -59,5 +59,45 @@ will see you there?</p> + + Saving power with Debian Edu / Skolelinux using shutdown-at-night + http://people.skolelinux.org/pere/blog/Saving_power_with_Debian_Edu___Skolelinux_using_shutdown_at_night.html + http://people.skolelinux.org/pere/blog/Saving_power_with_Debian_Edu___Skolelinux_using_shutdown_at_night.html + Sun, 5 Feb 2012 09:45:00 +0100 + <p>Since the Lenny version of +<a href="http://www.skolelinux.org/">Debian Edu / Skolelinux</a>, a +feature to save power have been included. It is as simple as it is +practical: Shut down unused clients at night, and turn them on again +in the morning. This is done using the +<a href="http://packages.qa.debian.org/s/shutdown-at-night.html">shutdown-at-night</a> Debian package.</p> + +<p>To enable this feature on a client, the machine need to be added to +the netgroup shutdown-at-night-hosts. For Debian Edu, This is done in +LDAP, and once this is in place, the machine in question will check +every hour from 16:00 until 06:00 to see if the machine is unused, and +shut it down if it is. If the hardware in question is supported by +the +<a href="http://packages.qa.debian.org/n/nvram-wakeup.html">nvram-wakeup</a> +package, the BIOS is told to turn the machine back on around 07:00 +- +10 minutes. If this isn't working, one can configure wake-on-lan to +try to turn on the client. The wake-on-lan option is only documented +and not enabled by default in Debian Edu.</p> + +<p>It is important to not turn all machines on at once, as this can +blow a fuse if several computers are connected to the same fuse like +the common setup for a classroom. The nvram-wakeup method only work +for machines with a functioning hardware/BIOS clock. I've seen old +machines where the BIOS battery were dead and the hardware clock were +starting from 0 (or was it 1990?) every boot. If you have one of +those, you have to turn on the computer manually.</p> + +<p>The shutdown-at-night package is completely self contained, and can +also be used outside the Debian Edu environment. For those without a +central LDAP server with netgroups, one can instead touch the file +<tt>/etc/shutdown-at-night/shutdown-at-night</tt> to enable it. +Perhaps you too can use it to save some power?</p> + + +