Migrate Users/Services from Old XServe to New XServe

Mindwatering Incorporated

Author: Tripp W Black

Created: 12/29/2009 at 10:45 AM

 

Category:
OS X Configuration
Software Update

Issue:
Want to migrate users from an existing (old) XServe to a new XServe and retire the old one. What is the process?

Solution:

1. Open Directory
a. Start Server Admin
b. Select Open Directory on the left.
c. Click the Archive button.
d. In the Archive dialog, select the location (e.g. Desktop) and choose sparse image as the database type. Enter a password and make a note of it.
e. Copy the sparseimage database file to an external drive (e.g. usb stick).

2. Do New Server Base Set Up
a. Setup new server with static IP, but leave services unconfigured. Let it restart.
b. If new server is doing DNS set that up with correct forward and reverse zone.
c. Verify that Kerberos authentication is working correctly and identical to the old server in setup/realm.

3. Import the exported LDAP database onto the new server.
a. On the new server, Start Server Admin
b. Select Open Directory again.
c. Click the Archive button and this time locate the database file to restore and perform the restore.
The server will promote itself to be the master OD LDAP server and import the users.

4. Setup the additional services by copying their configuration files
a. Start Server Admin on the old server.
b. Select a service to be migrated to the new server.
c. Click the little box just above the Save button and drag to the Desktop.
This will create a configuration plist file or that service.
d. Copy the file to the new server.
e. To restore, drag the file into the settings window for that service on the new server to automatically reconfigure the server to those settings.

Note:
This will NOT migrate Postfix settings that had to be done in the other configuration files (e.g. virtual file). I ended up migrating Postfix manually.

5. Transfer the user Home directories
a. Copy all the HJome folders to the new server.
(e.g. Old server in Target mode, or ssh shell copy.)
b. Verify in the user Workgroup Manager that the users are pointing to the correct Home folders.


previous page

×