Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Best Practice - Moving ODM to another server?




On Nov 7, 2007, at 10:19 PM, Jamie Lists wrote:

Were wanting to move our ODM from one xserve to one that will just
handle open directory master duties.

Right now xserv1.domain.com is our ODM.

We'd like to move it to od.domain.com which is another xserve

I'm thinking that making od.domain.com a replica and then promoting it
to master would be the best way but i wanted to hear others thoughts.

That is a valid and supported way to move the master, and has the advantage of minimal downtime. If these are the only two OD servers, it won't be totally seamless when you switch. This is because OD clients only update their local replica tables at reboot, network change, etc.... so after you promote the new server, none of your network will know it's there. You can bite the bullet and just reboot everything, or you can leave both servers up for a while, letting people pick up the new replica as they reboot at their normal schedule.


I filed this bug in Tiger, and I think it's fixed in Leopard, but haven't tested it myself.

Another option would be to use the OD backup / restore, but in that case you really want the new OD server to have the same network / dns configuration as the existing one, meaning that the old one has to be taken off the network when the new one is brought up. Don't actually demote or reconfigure the old one until the new one is running smoothly, just shut it down.

When I did this in a production environment, I chose the 'promote a replica' route, leaving both the old and new servers up for a couple weeks to allow the new replica records to propagate... as it turns out, some servers which are OD clients have uptimes that are longer than two weeks! Those servers didn't pick up the new replica, and had to be rebooted when I took the old master offline (hint: you can simply kill or HUP DirectoryService instead of a reboot).

HTH,
-Andre
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden
References: 
 >Best Practice - Moving ODM to another server? (From: "Jamie Lists" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.