OD Master/Replica upgrade best practices
I am attempting to upgrade a Mac Pro running OS X 10.6.8 Server to OS X 10.9 with Server App and having difficulties. I am looking to know the best practices for upgrading a 10.6.8 Open Directory Master and Replica to 10.9 or later.
Some background on our environment:
Our 10.6.8 Master server also functions as an afp/smb file server, an internal web server, and manages Mac clients using MCX controls. Our Mac clients (running various versions of OS X 10.9 and OS X 10.10) log into their computers with their OD accounts. Our replica server also performs the same functions. We have a ChronoSync job that mirrors data from the file shares to the replica server every night. (Only the shared volumes are mirrored, nothing on the OS volume) In case of an emergency, we can cut over our users to the Replica server.
I have attempted to upgrade the Master server before:
Upgrading the OS and installing the Server.app was remarkably simple, and I found that AFP, SMB, and web services all worked normally. However, after the upgrade, some users are unable to log in to their Macs. Specifically, no clients running OS X 10.10 can log in, while clients running 10.9 are able to log in normally. I tried unbinding a 10.10 client from the OD domain but was unable to rebind it.
I had created an archive of my OD before starting this upgrade. Thinking the OD may have been corrupted, I attempted to restore using slapconfig -restoredb /myarchive but this resulted in all my users and groups being wiped out! That may be an unrelated issue but regardless it ended up with my having to do a bare metal restore of the whole server from before the upgrade. Once the server was back to the previous state, I was able to rebind by 10.10 client and log into all clients normally.
I have read in a few places that an OD server should be upgraded Master first, and then Replica. What is not clear is whether the Replica will specifically corrupt or confuse the upgrade process, and if I should be destroying the replica first.
Mac Pro, Mac OS X (10.6.8), OS X Server