AFP548 Changing the world one server at a time.

Yeah, I hosed my OD now what?

Home › Forums › OS X Server and Client Discussion › Open Directory › Yeah, I hosed my OD now what?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #360683
    Anonymous
    Guest

    I was changing ISPs yesterday and took the opportunity to refine my network, going from public class IPs for the clients to a NAT’d private LAN…

    This meant that I needed to do changeip on the OD master and connected servers, and it worked OK until I got greedy…

    At first I did changeip and left the hostname alone, and it worked great. Then I thought, “Self, you know, you can give all of these servers “hq” names, like “server.hq.domain.net” instead of “server.domain.net” , they are no longer available online anyway and it will justify running your own DNS server! Increased server count!”

    So i set up a local dns server, verified it reversed and tried to changeip to the new new “HQ” hostname…

    FUBAR

    I did have a replica on a file-server I had not brought up, so I did it, just changed it’s ip normally and promoted it to master

    my users can authenticate now (I bound the vpn server and another file server to it, works OK) but the automount for the Users share (served from the replica-become-master) is stuck in the old domain (od.domain.net) wheras the “working” od is just “127.0.0.1”

    I can’t auth to the domain to disable the automount on the share, I cant disable the share and recreate it with an automount in the “127” domain (because the automount is still in the fubar’d domain) and I have no idea how to rectify this properly

    moonshark413@yahoo.com

    #360684
    moonshark413
    Participant

    I can fix my problem three ways as I see it
    (in ascending order of conceptual difficulty?)

    1 – fix the automount
    2 – fix the OD domain to match the server reality
    3 – import the users with passwords into a new OD master

    I tried the 3rd already, to create a new od.hq.domain.net master and import the users LDIF and OD database from the replica, but it refused to bring them in because the LDIF is full of references to od.domain.net. I thought about editing a copy (as a text file), but there are lots of places where there is formatted data that shifts when I do a global replace. I saw that and didnt bother trying to import it

    so – any tips on one of thes options? Is there another route?

    -moonshark413

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