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

talmy

macrumors 601
Original poster
Oct 26, 2009
4,727
337
Oregon
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.
 

chown33

Moderator
Staff member
Aug 9, 2009
10,999
8,887
A sea of green
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.
 

PrePressAcrobat

macrumors member
Nov 2, 2010
64
1
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
 

talmy

macrumors 601
Original poster
Oct 26, 2009
4,727
337
Oregon
Test the clone by booting from it before embarking on the upgrade. A non-working backup is a horrible thing.

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.
 

chrfr

macrumors G5
Jul 11, 2009
13,710
7,280
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.

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.
 

talmy

macrumors 601
Original poster
Oct 26, 2009
4,727
337
Oregon
Don't clone from a live disk! Depending on what the machine is doing you won't get databases copied properly.

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.

As for upgrading, it depends entirely on what you're doing with the server as to how successful it'll be.

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).
 

chrfr

macrumors G5
Jul 11, 2009
13,710
7,280
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.
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.
 

talmy

macrumors 601
Original poster
Oct 26, 2009
4,727
337
Oregon
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.
Perhaps not. I could turn it off and see what happens.
 

talmy

macrumors 601
Original poster
Oct 26, 2009
4,727
337
Oregon
The question, though, is do you really need OD for a home server? I would think not.

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.
 

voigtstr

macrumors member
Jan 31, 2008
88
1
Hobart, Tasmania, Australia
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.
 

talmy

macrumors 601
Original poster
Oct 26, 2009
4,727
337
Oregon
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.
 
Last edited:

talmy

macrumors 601
Original poster
Oct 26, 2009
4,727
337
Oregon
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).
 

Attachments

  • server.jpg
    server.jpg
    20.2 KB · Views: 161
  • server-1.jpg
    server-1.jpg
    41.1 KB · Views: 161
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.