0

In OSX Mountain Lion, I run a Windows Server 2003 VM solely to run SQL Sever 2008. It chews up a lot of battery life. Is there some way to automatically pause the VM when the SQL Server is idle and restart it again when requested (kind of like wake-on-lan)?

Update: I can get it to pause when idle by setting the power setting in Windows to put the system to sleep. However, I cannot get it to start back up again.

2
  • Automatically? Or manually? Nov 3, 2012 at 18:25
  • Automatically. Ideally it would start it when it was requested and pause it when idle for some number of minutes. Question updated to be clearer. Nov 5, 2012 at 17:36

1 Answer 1

0

Well, sql server cannot do anything once the OS is asleep.

That leaves hardware (or virtual hardware). If you could modify the clients to check how long it was since they last accessed the server and if it was longer than windows leep time send a wake up call, pause while windows boots again, and then continue; then yes, you could.

I bit more practical might be to just run an sql server on OSX.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .