* Power Management on a linux server
@ 2003-04-11 16:00 Miguel González Castaños
2003-04-11 16:47 ` Scott Taylor
0 siblings, 1 reply; 8+ messages in thread
From: Miguel González Castaños @ 2003-04-11 16:00 UTC (permalink / raw)
To: linux-admin
dear all,
I have a home linux server where I would like to do some kind of power
saving.
I have been looking around to see if I find any howto, but all are
related with laptops.
What I would like to do is to power up and shutdown the PCs either
remotely or
automatically (with cron) or whatever.
I have different kinds of computers: Pentium Celeron, Pentium II for
software routers (xDSL) and
Pentium III and AMD K-7 for two servers.
If it is not easy to do some kind of software suspend/shutdowns or
resumes/powerups, It could be
cheap to do some kind of hardware tweak?
BTW, I have a small UPS, I have tested that sends the shutdown to the
linux server, but what I would like
to achieve is to for instance to powerup the server at 9 AM and shut it
down at for instance 9 PM.
Also I would like to know if there is any software to control the
temperature of the CPU or the fans of the box
in the command prompt.
Many thanks in advance
Miguel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Power Management on a linux server
2003-04-11 16:00 Power Management on a linux server Miguel González Castaños
@ 2003-04-11 16:47 ` Scott Taylor
2003-04-11 17:19 ` Miguel González Castaños
0 siblings, 1 reply; 8+ messages in thread
From: Scott Taylor @ 2003-04-11 16:47 UTC (permalink / raw)
To: linux-admin
At 09:00 AM 4/11/03, Miguel González Castaños wrote:
>dear all,
>
>
> BTW, I have a small UPS, I have tested that sends the shutdown to the
>linux server, but what I would like
>to achieve is to for instance to powerup the server at 9 AM and shut it
>down at for instance 9 PM.
Easy enough with UPS control: put a timer on your AC power (you can get
cheep ones at most hardware stores). Make sure you set the BIOS to start
the PC when power resumes.
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Power Management on a linux server
2003-04-11 16:47 ` Scott Taylor
@ 2003-04-11 17:19 ` Miguel González Castaños
2003-04-11 18:03 ` Mikel Bauer
0 siblings, 1 reply; 8+ messages in thread
From: Miguel González Castaños @ 2003-04-11 17:19 UTC (permalink / raw)
To: linux-admin
And for the PCs where I dont have an UPS? Is there any other choice?
Many thanks for your answer
Miguel
Scott Taylor ha escrito:
> At 09:00 AM 4/11/03, Miguel González Castaños wrote:
> >dear all,
> >
> >
> > BTW, I have a small UPS, I have tested that sends the shutdown to the
> >linux server, but what I would like
> >to achieve is to for instance to powerup the server at 9 AM and shut it
> >down at for instance 9 PM.
>
> Easy enough with UPS control: put a timer on your AC power (you can get
> cheep ones at most hardware stores). Make sure you set the BIOS to start
> the PC when power resumes.
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Power Management on a linux server
2003-04-11 17:19 ` Miguel González Castaños
@ 2003-04-11 18:03 ` Mikel Bauer
2003-04-11 20:24 ` Bob Swift
2003-04-11 20:28 ` Milan P. Stanic
0 siblings, 2 replies; 8+ messages in thread
From: Mikel Bauer @ 2003-04-11 18:03 UTC (permalink / raw)
To: Miguel González Castaños; +Cc: linux-admin
Well,
That could get interesting.
A hardware solution could be cobbled together by a power timer set to
turn on at the specified time (with the bios set to turn on on power),
and set to turn off some period of time after a cron shutdown. Kinda
cheezy though...
Obviously, turning the machine off is not a big deal, it's turning it
back on...
You could always explore the wonderful (dripping sarcasm) world of Wake
On Lan, assuming your hardware supports it. But WOL is voodoo magic
(literally...anything that requires you to send out a "magic" packet is
a little shaddy)
--
Mikel Bauer
Miguel González Castaños wrote:
> And for the PCs where I dont have an UPS? Is there any other choice?
>
> Many thanks for your answer
>
> Miguel
>
> Scott Taylor ha escrito:
>
>
>>At 09:00 AM 4/11/03, Miguel González Castaños wrote:
>>
>>>dear all,
>>>
>>>
>>> BTW, I have a small UPS, I have tested that sends the shutdown to the
>>>linux server, but what I would like
>>>to achieve is to for instance to powerup the server at 9 AM and shut it
>>>down at for instance 9 PM.
>>
>>Easy enough with UPS control: put a timer on your AC power (you can get
>>cheep ones at most hardware stores). Make sure you set the BIOS to start
>>the PC when power resumes.
>>
>>-
>>To unsubscribe from this list: send the line "unsubscribe linux-admin" in
>>the body of a message to majordomo@vger.kernel.org
>>More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Power Management on a linux server
2003-04-11 18:03 ` Mikel Bauer
@ 2003-04-11 20:24 ` Bob Swift
2003-04-11 20:28 ` Milan P. Stanic
1 sibling, 0 replies; 8+ messages in thread
From: Bob Swift @ 2003-04-11 20:24 UTC (permalink / raw)
To: Mikel Bauer; +Cc: linux-admin list
On Friday 11 April 2003 12:03, Mikel Bauer wrote:
> A hardware solution could be cobbled together by a power timer set to
> turn on at the specified time (with the bios set to turn on on power),
> and set to turn off some period of time after a cron shutdown. Kinda
> cheezy though...
>
> Obviously, turning the machine off is not a big deal, it's turning it
> back on...
How about using a cron job to shut the system down, then have the timer set to
turn off the power some reasonable time later (say 10-15 minutes to make sure
that the shutdown had completed and to allow for any clock / timer setting
differences? Then when the system powers back up, same process as the
suggestion for the boxes connected to UPS.
--
Bob Swift
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Power Management on a linux server
2003-04-11 18:03 ` Mikel Bauer
2003-04-11 20:24 ` Bob Swift
@ 2003-04-11 20:28 ` Milan P. Stanic
2003-04-14 7:05 ` Miguel González Castaños
1 sibling, 1 reply; 8+ messages in thread
From: Milan P. Stanic @ 2003-04-11 20:28 UTC (permalink / raw)
To: linux-admin
On Fri, Apr 11, 2003 at 12:03:28PM -0600, Mikel Bauer wrote:
> Obviously, turning the machine off is not a big deal, it's turning it
> back on...
About: NVRAM WakeUp can read and write the WakeUp time in the BIOS (via
/dev/nvram on recent 2.4.x kernels). On this WakeUp time the computer will
be powered on automatically from the soft-off state.
Changes: This release added support for configuration files, a manual page
for the configuration file, and support for mainboard auto-detection. The
ACTUALLY_WRITE option was removed,as the program now writes by default. A
new option --nowrite option emulates the old default behaviour. Some of
the auto-detection information was guessed and may be incorrect.
License: GNU General Public License (GPL)
URL: http://freshmeat.net/projects/nvram-wakeup/
Milan
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Power Management on a linux server
2003-04-11 20:28 ` Milan P. Stanic
@ 2003-04-14 7:05 ` Miguel González Castaños
2003-04-15 14:13 ` Milan P. Stanic
0 siblings, 1 reply; 8+ messages in thread
From: Miguel González Castaños @ 2003-04-14 7:05 UTC (permalink / raw)
To: linux-admin; +Cc: Milan P. Stanic
Many thanks for this reply. Sounds exactly what I am looking for. I would need
a software solution rather than a hardware solution, mainly because not all
the PCs
have an UPS connected and are phisycally available.
If you could give more information of which kind of configuration I would need
to set up
in the machine, and if It could be used in any kind of BIOS.
Many thanks
Miguel
"Milan P. Stanic" ha escrito:
> On Fri, Apr 11, 2003 at 12:03:28PM -0600, Mikel Bauer wrote:
> > Obviously, turning the machine off is not a big deal, it's turning it
> > back on...
>
> About: NVRAM WakeUp can read and write the WakeUp time in the BIOS (via
> /dev/nvram on recent 2.4.x kernels). On this WakeUp time the computer will
> be powered on automatically from the soft-off state.
>
> Changes: This release added support for configuration files, a manual page
> for the configuration file, and support for mainboard auto-detection. The
> ACTUALLY_WRITE option was removed,as the program now writes by default. A
> new option --nowrite option emulates the old default behaviour. Some of
> the auto-detection information was guessed and may be incorrect.
>
> License: GNU General Public License (GPL)
>
> URL: http://freshmeat.net/projects/nvram-wakeup/
>
> Milan
> -
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Power Management on a linux server
2003-04-14 7:05 ` Miguel González Castaños
@ 2003-04-15 14:13 ` Milan P. Stanic
0 siblings, 0 replies; 8+ messages in thread
From: Milan P. Stanic @ 2003-04-15 14:13 UTC (permalink / raw)
To: linux-admin
On Mon, Apr 14, 2003 at 09:05:55AM +0200, Miguel González Casta?os wrote:
> If you could give more information of which kind of configuration I
> would need to set up in the machine, and if It could be used in any
> kind of BIOS.
BIOS must have support for wake-up, I think. You can try to find
newer BIOS for your mainboard if it doesn't have wake-up feature and
upgrade it.
In the nvram-wakeup package are two README's, read them and you will
know what to do.
Milan
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2003-04-15 14:13 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-11 16:00 Power Management on a linux server Miguel González Castaños
2003-04-11 16:47 ` Scott Taylor
2003-04-11 17:19 ` Miguel González Castaños
2003-04-11 18:03 ` Mikel Bauer
2003-04-11 20:24 ` Bob Swift
2003-04-11 20:28 ` Milan P. Stanic
2003-04-14 7:05 ` Miguel González Castaños
2003-04-15 14:13 ` Milan P. Stanic
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).