Home Forums OS X Server and Client Discussion Open Directory Need to change IP of OD Master, but not DNS name

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #369307
    Steve H.
    Participant

    I need to change the IP address of my Open Directory Master, but it will retain its original name in DNS (I will modify DNS to point to the new IP).

    Can I just change the IP in Network Preferences and then modify DNS, or will that break something?

    #369734
    jacbop
    Participant

    That will break something.

    You need to also use the changeip command. Something like:

    sudo changeip /LDAPv3/127.0.0.1 10.100.1.11 172.16.21.11 flower.example.com ldap.example.com

    Make sure that the DNS and reverse DNS for (new and old) hostname and IP exist before running this command. I would use the following commands and make sure there are no errors:
    host 10.100.1.11
    host 172.16.21.11
    host flower.example.com
    host ldap.example.com

    Also note that it does not actually change the IPs, you still need to use the GUI or networksetup and systemsetup commands to make the actual changes. And even if the name is not changing, still put it in the command line like so:
    sudo changeip /LDAPv3/127.0.0.1 10.100.1.11 172.16.21.11 flower.example.com flower.example.com

    and then check via:
    sudo changeip -checkhostname

    Also, for me, when I changed the IP and name of my OD master, most of my clients locked up (could not login to them) and I had to reboot all of them to fix the problem. Netstat -a showed sockets to the ldap server on port 389 in a SYN_SENT state, so maybe there is a way to force the machine to try and reconnect to the OD master, but I could not figure that out short of a reboot. Has anyone else seen this? Any suggestions on how to avoid rebooting all the other servers on the network?

    #369978
    tofla
    Participant

    I have a similar requirement and have used the changeip command, as well as changeip -checkhostname to ensure all is well with DNS etc..

    I can access the directory I need to for Network Home Folders from client machines no problem, but the clients refuse to log on and give a spinning beach ball for 15-20 seconds before returning to login screen.

    Any help much appreciated.

    #370025
    stmoddell
    Participant

    I am experiencing similar issue, and posted hoping for a reply. Haven’t seen one yet.

    ———–bump———-

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.

Comments are closed