Get Lion server to sleep

Discussion in 'Mac OS X Server, Xserve, and Networking' started by mjsanders5uk, Sep 2, 2011.

  1. mjsanders5uk macrumors regular

    Joined:
    May 11, 2009
    #1
    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
     
  2. Darby67 macrumors 6502

    Joined:
    Jul 5, 2011
    Location:
    the corner of Fire and Brimstone
    #2
    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.
     
  3. derbothaus macrumors 601

    derbothaus

    Joined:
    Jul 17, 2010
    #3
    ^^This. Servers are not designed to sleep. Period.
     
  4. PatentBoy macrumors newbie

    Joined:
    Apr 14, 2008
    #4
    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.
     
  5. H2SO4 macrumors 68040

    Joined:
    Nov 4, 2008
    #5
    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?
     
  6. derbothaus macrumors 601

    derbothaus

    Joined:
    Jul 17, 2010
    #6
    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.
     
  7. H2SO4 macrumors 68040

    Joined:
    Nov 4, 2008
    #7
    Admittedly yes, but it's pertinent so why start a new one?

    My router supports it and I use it, (well I did with 10.7 Server anyway).

    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.

    So on server when you check that box exactly what happens?


    Next question.....
     
  8. derbothaus macrumors 601

    derbothaus

    Joined:
    Jul 17, 2010
    #8
    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.
     
  9. H2SO4, Sep 12, 2012
    Last edited: Sep 12, 2012

    H2SO4 macrumors 68040

    Joined:
    Nov 4, 2008
    #9
    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?
     
  10. derbothaus macrumors 601

    derbothaus

    Joined:
    Jul 17, 2010
  11. H2SO4 macrumors 68040

    Joined:
    Nov 4, 2008
    #11
    Just as I thought. Nothing useful, bye now.....
     
  12. derbothaus, Sep 12, 2012
    Last edited: Sep 12, 2012

    derbothaus macrumors 601

    derbothaus

    Joined:
    Jul 17, 2010
    #12
    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.
     
  13. H2SO4 macrumors 68040

    Joined:
    Nov 4, 2008
    #13

Share This Page