I have talked up my Mac mini running OS X Server quite a bit in regards to how I use it as the center of my home entertainment center, but I never really touched on why I use OS X Server. The mini is a great little beast, and I use it heavily. Aside from running Front Row on it via a neat little hack, it also acts as my sandbox webserver, my torrent box, and my backup server.
Mobile Homes
Tiger Server reintroduced the most beloved and missed feature of ASIP – portable checkout – and updated it to modern times. Mobile Homes, as it is now called, uses SyncServices to keep a copy of your home directory synchronized between your computer and the server, and it actually works as advertised. Mostly.
Server Install and Client Setup
For Mobile Homes, your OS X Server must be an Open Directory Master. If you installed Server without this option, it is possible to “promote” the server to Master status, but I’ve never had the need to do it, so don’t ask me. And here you thought I was the expert.
On the client computer, use the Directory Access application to add the server under LDAPv3. Unless you did something wrong, the client and server will talk to each other and the client configures itself correctly. Prior to Tiger, you needed to know the Search Base for the LDAP directory, but nowadays Directory Access is smart enough to figure that out for you.
Workgroup Manager
The real fun happens in Workgroup Manager. I have all my shares on an external Lacie mini disk. First things first, I went into Shares and disabled the default Homes share and created a new one on my external. Once shared, go to the Network Mount tab and designate this share to be used for User Home Directories. Create a new user for yourself, selecting the AFP mount under Home.
For Mobile Home, you must do some MCX (Managed Client for OS X) magic. There are three domains to manage – User, Group, and Machine. Choose one. I manage at the Machine level, as I use Mobile Homes to sync home directories on my iMac, my PowerBook, and my wife’s PowerBook. In my case, I added each machine’s MAC address to a machine group and then went to preferences for that machine group.
Mobility
All of the real magic happens under Mobility. Most of this panel is self explanatory – you turn it on and you set a schedule. The only wild card is the Rules tab. If any of the client machines are wireless, I strongly suggest auditing their home directory for large files and folders and configuring rules to either exclude these folders or, at least, common large media files. For instance, I exclude ~/Music, ~/Movies, and *.dmg.
Login
I might suggest managing the Login Window as well, so that the Network Users show up in the panel’s userlist.
There is no step 3…
Log in as the Network user and start moving your data over from your old home directory.
Finally someone post this info!!
Thanks for that JC. I am curious, not sure if possible, but it would be great if it is. Could you expound on remote applications that are installed on the server and if/how you can run those on workstation computers without having to install them. Seems like there is some sort of function regarding this, but I’ve not sought it out.
Thanks again for that info in a nutshell. Since I can’t afford another unit on my network at the moment I’m considering turning my beefy master workstation into a Server and then that will allow me to use the current ancillary machines while just having to back up this unit.
Also, I’m curious. What happens if the server were to “die.” Would the mobile homes be able to be drawn back in to a reconstructed server for recovery?
Hey, also curious, how would this Mac OS X Server installation be used as a PDC serving Roaming Profiles?
Heck, while you’re at it you might toss in using it as a linux/unix remote home server. I’m not sure if I’d just simply mount the home folder via nfs at startup or if I’d have to get into NIS or if Mac OS X Server provides a more refined solution for linux/unix home sharing generally.
Did you ever consider that comment from ylon? Seems that that would be very valuable. I’d love to know about it.
Post new comment