Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

mjsanders5uk

macrumors regular
Original poster
May 11, 2009
100
0
Hey all,

I'm a newbie to server computing so go easy on me!

I have installed Lion server on a 2GHz Intel Mac Mini, this machine had a clean install of 10.6.8, then upgraded to 10.7 then I installed lion.

Its all working fine except I can't get it to go to sleep or, more importantly put the hard drives to sleep.

I've only got file sharing and time machine services turned on as I'm basically using the server to make my 2nd Generation Drobo available over the network.

I've checked all the various energy saving settings etc and all seems fine.

The weird thing is it occurs even if I just turn the computer in and don't log on, so it seems there is some process on the server side going on that's stopping it from sleeping, but I can't for the life of me see what.

I would really appreciate any thoughts or pointers on how I could track down what's going on or is a clean install the best way forward?

Many thanks

Michael
 

Darby67

macrumors 6502
It is working as designed. Servers are not designed to sleep, the sleep stuff is in the server software is a relic of the OS client software.

Although I haven't tried, as Lion Server is so much different than the SL Server software, do a clean install and DO NOT OPEN the Server app. That way it won't load any of the server services and perhaps then it will sleep. By the sounds of it you really don't the server software so it shouldn't be an issue.
 

PatentBoy

macrumors newbie
Apr 14, 2008
1
0
^^This. Servers are not designed to sleep. Period.

For a residential user with a sleep proxy on the LAN, e.g. in an AirPort or AppleTV, why not allow my power hungry Mac Pro (500 Watts+) sleep? The sleep proxy can wake up the server when it's needed, which will not be that often in my residential situation.

As darby67 suggests, I have Lion server loaded on my Mac Pro, but I have not run the Server program and, thus, have not enabled any services. The computer sleeps as expected.
 

H2SO4

macrumors 603
Nov 4, 2008
5,833
7,110
^^This. Servers are not designed to sleep. Period.

Cars were not really designed to be switched on and off so many times causing extra wear on batteries and starter et al.
Now we wan't to be green and save energy so Start - Stop is commonplace.
Also why include 'Wake on LAN' optins if the Mac won't be sleeping in the first place?
 

derbothaus

macrumors 601
Jul 17, 2010
4,093
30
Zombie thread resurrection. Wake on LAN exists yes but does not work over a remote connection. So what if you have a user that needs something via VPN at 2:30AM? Sorry server is asleep. Please be on local LAN to wake. C'mon is this really a question? Why does "wake on LAN" exist? It exists on the client OS for far better reasons.
 

H2SO4

macrumors 603
Nov 4, 2008
5,833
7,110
Zombie thread resurrection.
Admittedly yes, but it's pertinent so why start a new one?

Wake on LAN exists yes but does not work over a remote connection.
My router supports it and I use it, (well I did with 10.7 Server anyway).

So what if you have a user that needs something via VPN at 2:30AM? Sorry server is asleep. Please be on local LAN to wake.
Because anybody that has access to my network knows how to wake remotely that's why. My computer then goes back to sleep when done. To save energy.

C'mon is this really a question? Why does "wake on LAN" exist? It exists on the client OS for far better reasons.
So on server when you check that box exactly what happens?


Next question.....
 

derbothaus

macrumors 601
Jul 17, 2010
4,093
30
What dude? You obviously run a small group of users so do what you want. I was coming from a place where you need 24Hr access to services that can't sleep. Like most admins. If you have to even ask the question and have no idea the technical limitations, I am sorry but leave the zombie alone.
 

H2SO4

macrumors 603
Nov 4, 2008
5,833
7,110
What dude? You obviously run a small group of users so do what you want. I was coming from a place where you need 24Hr access to services that can't sleep. Like most admins. If you have to even ask the question and have no idea the technical limitations, I am sorry but leave the zombie alone.

Correct, a small group of users.

It sounds like you have no more idea about the tech limits than I. Anyways it worked on Lion so it can't have been completely useless, but thanks.

ps. I work in the Data Centre industry where some of the larger ones I go to have power supply requirements that see UPS support in the range of mulitiple numbers of 8 x 800KVA systems. Being able to save energy intelligently is a very very big issue now.

In case you are not 'electronic' in practice this means 3-4MW of power, imagine the cost savings available?
 
Last edited:

derbothaus

macrumors 601
Jul 17, 2010
4,093
30
Just as I thought. Nothing useful, bye now.....

What am I supposed to add? That you enjoy a feature of a consumer based server OS and find it useful? OK. Good for you. Do you need someone to agree that saving electricity saves money? Because I agree. Do my mail, SQL, and web servers sleep? No, they don't.
You resurrected a year old thread so you could give a car analogy and disagree that servers should or shouldn't sleep. I wouldn't trust OS X Server to successfully wake on request on a regular basis repeatedly without failure. If you do it only shows your lack of experience with the product. My experience is the entire duration it has existed. Yes. See ya.
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.