I have a PC, which is used as backup server, running Windows 2000.
This PC is usually in hibernate, starting once a week to write its data to a scsi tape.
I configured the pc (windows energy options) to automatically enter hibernate after 1 hour, as there is no need that this machine is always up.
now there's no problem for the PC to start on a wake-up event from the scheduler, and it starts writing data to tape.
PROBLEM:
unfortunately, even if the pc is still writing data to tape, it enters hibernate after 1 hour, if I don't press any key or move the mouse.
obviously, writing data from disk to scsi is no recognized activity for windows to keep the PC alive.
does windows 2000 only register keyboard touches or mouse movements as activity?
how can I configure windows that is stays up, until no further data is copied from disk to scsi tape?
dont know how well it would work but
schedule your backup
then schedule another task to run after the computer has been idle for X
minutes that puts it into hibernate.
1: what's the definition of idle, i.e. below what cpu usage does windows decide that the computer is idle?
- on one hand, a computer running windows always does something, even if it does 'nothing'.
- on the other hand, copying data from disk to tape does not require a lot of cpu as the tape is slow.
2: how can I enforce the computer to go into hibernate by a task. what's the command to do this?
1:
what's the definition of idle, i.e. below what cpu usage does windows
decide that the computer is idle?
- on one hand, a computer running windows always does something, even
if it does 'nothing'.
- on the other hand, copying data from disk to tape does not require a
lot of cpu as the tape is slow.
2:
how can I enforce the computer to go into hibernate by a task. what's
the command to do this?
> dont know how well it would work but
> schedule your backup
> then schedule another task to run after the computer has been idle for X
> minutes that puts it into hibernate.
I believe that there is the problem, the computer doesn't recognize the
writing to tape as "not idle" and therefore enters hibernate while still
writing to the tape.
I'd say the easiest way is if the tape backup always takes a certain amount
of time then simply set the idle to be longer then that time. TTYL
when writing to tape, every few seconds, there is a peak that goes up to
2-5%.
the time until going to hibernate is set to 1 hour. so this shouldn't be the problem.
when running unattended, the computer goes to hibernate after about 1 hour and 5 minutes, although writing to tape would take about 6 hours.
so I think that the hibernate setting of windows 2000 does not check for cpu usage, but only checks for keyboard and mouse.
am I wrong?
i tried this:
i scheduled a task to run after 5 minutes of idle, but although i didnt do anything at the computer (but with a few applications open, not doing anything), the task is never executed.
btw. the cpu usage is always on 0%.
what's wrong?
there is something curious: the icon of the scheduled task has a red point with a white 'x'. looks like a windows 'stop' button. but the task is activated.
Two pieces of information which may solve your problem:
In the good old 'we pay you to watch ads' days you could find programs
on the internet that would move the mouse so you could be away from the
computer and still accrue ad time. If you can't find anything
prepackaged, try http://www.planetsourcecode.com/ for code which moves
the mouse for you. Its fairly easy to do. This may solve you automatic
hibernate problem.
Then go to http://grc.com/wizmo/wizmo.htm for wizmo. It's a program
utility that, in addition to being a fairly nifty screensaver, also
allows command line access to system shutdown/powersaving options.
"Wizmo hibernate" puts the computer into hibernate mode.
>I have a PC, which is used as backup server, running Windows 2000.
>This PC is usually in hibernate, starting once a week to write its data to a scsi tape.
>
>I configured the pc (windows energy options) to automatically enter hibernate after 1 hour, as there is no need that this machine is always up.
>
>now there's no problem for the PC to start on a wake-up event from the scheduler, and it starts writing data to tape.
>
>PROBLEM:
>
>unfortunately, even if the pc is still writing data to tape, it enters hibernate after 1 hour, if I don't press any key or move the mouse.
>
>obviously, writing data from disk to scsi is no recognized activity for windows to keep the PC alive.
>
>does windows 2000 only register keyboard touches or mouse movements as activity?
>
>how can I configure windows that is stays up, until no further data is copied from disk to scsi tape?
>
>is there a workaround to get this job done?
>
>thanx a lot!!
>tino
>
>--
>http://www.piclist.com hint: The PICList is archived three different
>ways. See http://www.piclist.com/#archives for details.
>
>
>
>
>