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: changeip and od master



 
On Tuesday, November 08, 2005, at 12:47PM, mark garey <email@hidden> wrote:

>hello,
>in preparation to change the ip address of a server
>(10.3.9) running my od master, i ran the changeip
>command as syntax in the man page and various
>docs (server wiki, afp548), net set the new ip in net
>prefs and rebooted.

OK. Good so far...

>
>assuming that it had worked i found the od slaves
>could not authenticate and further investigation
>found that they were still trying to use the password
>server at the old ip address. got around that by
>setting up an alias to the old ip address on the od
>master. 

Oh, you really need to destroy and recreate the replicas here.

>then after firing up wgm on the master
>i discovered that directory location is still
>old_server_name/LDAPv3/127.0.0.1. slapcat
>confirms this in the dump of the ldap db: the db
>still has the old name and ip address therein.

Correct. The searchbase doesn't change. Did you change the DNS name as well?

>
>since the docs don't detail what changeip
>actually does (or did i miss that?) 

Take a look at the 10.2 version of changeip, it's a shel script that might give some clues.

>can one assume
>that changing the ip and name in the ldap db part of
>its function? ( would be helpful of changeip
>displayed even minimal verbosity when it runs )
>if so, what might be some conditions that cause it
>to not do this or? i can give some explicit details
>master/slave configs if need be ( this is a small
>research cluster of xserves )

I would:

1. Destroy replicas.
2. Change IP on the master.
3. Rebuild replicas.

If the hostname changes, then there might be larger issues. You can always dump the user data out, demote to standalone, massage the data, and then re-import it if you run into problems. Check our article on LDAP migrations for a how-to on this.

josh
www.afp548.com
 _______________________________________________
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: 
 >changeip and od master (From: mark garey <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.