There may be a better solution, but I've been using a script of my own
devising to wake and keep (at least Windows) machines awake during a
backup.  I didn't know if there was a client-side API to call to keep the
machine awake, so I implemented mine as repeated WoL packets (say, once
every 5 minutes) sent from the Linux-based bacula server through a daemon
started when a job starts, and stopped when the job ends.

My solution, hacky as it is, seems to work pretty well for Windows XP and
7, and is only about 100 lines of python code--sounds like it might not
work on OSX, if it insists on ignoring whatever sleep timer is configured,
unless the WoL packets are sent more frequently, but otherwise I had
thought it would work on pretty against pretty much any client OS (that
supports WoL, at least).
I'm happy to share it, if anyone thinks it would help them.

-se


On Thu, Jan 30, 2014 at 11:39 AM, Dimitri Maziuk <dmaz...@bmrb.wisc.edu>wrote:

> PS. (I just did a BIOS update on one of our old SuperMicros)
>
> To make it more fun there's the level of ACPI support in your kernel,
> with whatever fixes and patches you distro vendor backported to it and
> whatever compile-time options they chose to not enable -- e.g. RedHat is
> notorious for shipping software whose versions have nothing to do with
> the actual feature set. And then there's BIOS ACPI options: I've "v.1",
> "v.2", "v.3" and "disabled", and all of them cause the current centos 5
> kernel to spit out a bunch of "No PSS objects! ACPI borked! Fire your
> BIOS vendor!" crap on boot.
>
> So yeah, "not simple" is a bit of an understatement.
> --
> Dimitri Maziuk
> Programmer/sysadmin
> BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu
>
>
>
> ------------------------------------------------------------------------------
> WatchGuard Dimension instantly turns raw network data into actionable
> security intelligence. It gives you real-time visual feedback on key
> security issues and trends.  Skip the complicated setup - simply import
> a virtual appliance and go from zero to informed in seconds.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>


-- 

The whole aim of practical politics is to keep the populace alarmed (and
hence clamorous to be led to safety) by an endless series of hobgoblins,
most of them imaginary.
                   -- H.L. Mencken, 1922
------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to