Anyone upgrade from Snow Leopard Server to Mountain Lion + Server.app?

Discussion in 'Mac OS X Server, Xserve, and Networking' started by talmy, Jul 10, 2013.

  1. macrumors 601

    talmy

    Joined:
    Oct 26, 2009
    Location:
    Oregon
    #1
    I'm planning on going from Snow Leopard Server to Mountain Lion + Server.app this weekend. I don't use any features of SLS not supported in Server.app and everything else I run on it is ML compatible. The Apple website says that all I have to do is upgrade to Mountain Lion over SLS and then install Server.app.

    Has anyone done this successfully? Any "gotchas"? It somehow seems too good to be true.

    I'm particularly after the availability of FileVault 2 so I can encrypt the drives, but I also want to smooth the path to a new mini server if or when I decide to take the plunge.
     
  2. macrumors 603

    Joined:
    Aug 9, 2009
    #2
    I would simply dup the drive your current install is on, apply Mtn Lio & Server.app to that, then boot from the dup. Run from the dup for a week. If all goes well, keep it that way. If anything goes wrong, revert back simply by choosing the original drive, and erasing the dup.

    In short, have a way to revert, try it, see what happens.
     
  3. thread starter macrumors 601

    talmy

    Joined:
    Oct 26, 2009
    Location:
    Oregon
    #3
    My system clones the system drives every night and I'll be doing the upgrade in the morning, so I think I'm covered!
     
  4. macrumors member

    Joined:
    Nov 2, 2010
    #4
    I went through a living hell going to Mt Lion Server
    and geting permissions to work.
    Wiped the drive 4 or 5 times
    before I arrived at a combination that worked.
    Let us know how yours goes.

    MSD
     
  5. macrumors 603

    Joined:
    Aug 9, 2009
    #5
    Test the clone by booting from it before embarking on the upgrade. A non-working backup is a horrible thing.
     
  6. thread starter macrumors 601

    talmy

    Joined:
    Oct 26, 2009
    Location:
    Oregon
    #6
    Not only that, to make the final clone extra clean I'm going to turn off all services first. Some things don't clone well when active.
     
  7. macrumors 68040

    Joined:
    Jul 11, 2009
    #7
    Don't clone from a live disk! Depending on what the machine is doing you won't get databases copied properly.
    As for upgrading, it depends entirely on what you're doing with the server as to how successful it'll be.
     
  8. thread starter macrumors 601

    talmy

    Joined:
    Oct 26, 2009
    Location:
    Oregon
    #8
    Yep, I did extensive testing when the system was new (3+ years ago). The cloning occurs in the middle of the night when everything is stable (this is a home environment, after all). I found the only thing that wouldn't reliably clone was the Open Directory database. But there is a separate archive command for that, and I archive it every time I make a change, which isn't that often.

    I don't think I'm using any services for which it would be a problem. In fact I'm looking forward to turning off the Printer (overkill) and DNS services. Apparently ML+S doesn't need DNS while SLS wouldn't run without it. I want to be able to have Plex serve through our AppleTV, and there is a clever script that does this by acting like a DNS server and routing requests for trailers.apple.com (a service the ATV uses) to the server. I haven't been able to figure out a way to get the DNS service to do this (I'd think "trailers.apple.com. CNAME server.mydomain" would work, but I haven't had any success with any variation of that).
     
  9. macrumors 68040

    Joined:
    Jul 11, 2009
    #9
    No version of Open Directory, Mountain Lion included, will run without properly configured DNS. That hasn't changed between versions. The question, though, is do you really need OD for a home server? I would think not.
     
  10. thread starter macrumors 601

    talmy

    Joined:
    Oct 26, 2009
    Location:
    Oregon
    #10
    Perhaps not. I could turn it off and see what happens.
     
  11. thread starter macrumors 601

    talmy

    Joined:
    Oct 26, 2009
    Location:
    Oregon
    #11
    Thinking about this more, I'm not sure how things interact. The only login account on the server is the administrator account. All the other accounts and groups AFAIK are part of OD. Without OD I'd have to set up a login account on the server for every user, something I don't want to do.
     
  12. macrumors member

    Joined:
    Jan 31, 2008
    Location:
    Hobart, Tasmania, Australia
    #12
    http://support.apple.com/kb/HT5585 re backing up and re-importing wikis.

    I backed up the wikis, started from scratch with snow leopard server install disk, (used disk util to wipe the first disk) installed updates to get the app store, then installed mountain lion, then installed sever.

    the only information that was important to me was wikis. Search the apple site for backing up and restoring mail.
     
  13. talmy, Jul 13, 2013
    Last edited: Jul 13, 2013

    thread starter macrumors 601

    talmy

    Joined:
    Oct 26, 2009
    Location:
    Oregon
    #13
    About 8 hours after I started, everything appears to be up and running.

    DNS was very hosed. So messed up I really can't list everything that was wrong. I basically had to delete all the zones and start over. And there were other networking issues I had to clear up. My server had two IP addresses and two names associated with it, and the NS record was set up nonsensically.

    When I fixed that every other service I'm running sprang to life, including Open Directory.

    Added -- The upgrade process created two new shares for Groups and Videos, however I already had shares of that name that weren't in the default locations, so the new shares were Groups-1 and Videos-1. I deleted them, but my Groups and Videos shares wouldn't appear. I had to delete and recreate them as well.
     
  14. thread starter macrumors 601

    talmy

    Joined:
    Oct 26, 2009
    Location:
    Oregon
    #14
    One day later I discovered that errors were flooding in from Calendar and Contacts because the Calendar "Enable invitations by email" was checked. I unchecked the box.

    I've also encrypted all the drives (and backup drives) with sensitive material. I couldn't use FileVault 2 on the boot drive because that prevents starting up remotely. (BOO HISS!) So all sensitive info on that drive was moved off.

    Everything is running smooth. 1.81GB Wired, 2.03GB Active, so it is using slightly over 4GB of the 8GB. Presumably the free space is being used for drive caching (it was used that way with SLS). CPU usage is about 10% in the middle of the night with peaks in the 60 to 90% range during the day, so this 3+ year old mini is still up to the task (at least after the RAM upgrade).
     

    Attached Files:

Share This Page