I have been having a dickens of a time getting my computer lab to image every night. I've been at it for a few weeks, and every time I think I have it solved, I don't.
My current setup is this:
- 26 machines, with a Restore partition, and packages cached.
- 2 "scheduled tasks" that I use as policy triggers - one goes off at
10pm and one at 3am. Both triggers are scoped to the whole lab.
- One policy, scoped to 13 of the machines triggered by the 10pm
scheduled task, ongoing - it reboots the machine to the Restore
partition
- One policy, scoped to the other 13 machines triggered by the 3am
scheduled task, ongoing - reboots the machine to the Restore partition.
But every morning I wake up and the policy logs for those policies show that it hasn't run.
Previously, of course, I just had one policy set to reboot the machines between 10pm and 4am, but I was getting inconsistent results and inconsistent imaging - packages not being installed, etc - probably due to bandwidth issues? Anyway, that's why I tried the alternate route of scheduled tasks.
Anyway, if anyone has experience with policies not firing when they should, I'd like to hear about your experience(s).
I'm very close to just adding a script to /etc/periodic/daily but I'd prefer to do the Casper solution.
Thanks,
-Baker
--------------------------------------------------------------
Baker Franke
Computer Science Dept.
The University of Chicago Laboratory Schools
773.702.5419
