<div dir="ltr"><div><div><div><div><div><div>It's always fun when I have to bring down a server that's under heavy use. The users complain about how long their jobs need to run (days or weeks!) and how inconvenient it is to schedule a power down (even when its to add a 10G ethernet card! - Whiners!)<br>
<br></div>So I think I've found a way to make them a bit happier and thought I'd pass this along.<br><br></div>hibernate<br><br></div>yeah. That thing used by laptops. pm-hibernate will pause running programs and dump the RAM to swap space (you MUST have enough swap for this!) and then power down the system. I do my hardware upgrade and reboot and running programs come back to life.<br>
<br></div>NOTE: on a new install I needed to "prime the hibernate pump" by first running <br><br>pm-is-supported --hibernate<br><br></div>to get the system to do a full HAL check and write some config data needed to hibernate successfully.<br>
<br></div>Look for the pm-utils package on RHEL, Fedora, Ubuntu and Debian and probably al others as well.<br clear="all"><div><div><div><div><div><div><div><br>-- <br>-- <br>James P. Kinney III<br><i><i><i><i><br></i></i></i></i>Every time you stop a school, you will have to build a jail. What you
gain at one end you lose at the other. It's like feeding a dog on his
own tail. It won't fatten the dog.<br>
- Speech 11/23/1900 Mark Twain<br><i><i><i><i><br><a href="http://electjimkinney.org" target="_blank">http://electjimkinney.org</a><br><a href="http://heretothereideas.blogspot.com/" target="_blank">http://heretothereideas.blogspot.com/</a><br>
</i></i></i></i>
</div></div></div></div></div></div></div></div>