ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Using name-spaces or address pools for domain controllers? (things to make replacing DC's easier)

    Scheduled Pinned Locked Moved IT Discussion
    45 Posts 9 Posters 4.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • scottalanmillerS
      scottalanmiller
      last edited by

      This is what DHCP is for. In a typical environment you have to update almost nothing when replacing a DC.

      DashrenderD dave247D 2 Replies Last reply Reply Quote 1
      • scottalanmillerS
        scottalanmiller
        last edited by

        For machines where you have set things to be static, you have a couple of options. A really common one is to not give new IP addresses for new DCs, but to have new DCs use the IP addresses of the old ones. In that case, nothing changes anywhere.

        Or you can use a state management system like Salt or Ansible and then the static DNS entries on your statically assigned machines can be updated in an automated way very easily.

        Or you can script the update and it would only take a few seconds anyway. Just loop through the server names and update their DNS that way.

        1 Reply Last reply Reply Quote 1
        • DashrenderD
          Dashrender @scottalanmiller
          last edited by

          @scottalanmiller said in Using name-spaces or address pools for domain controllers? (things to make replacing DC's easier):

          This is what DHCP is for. In a typical environment you have to update almost nothing when replacing a DC.

          To expand upon this, use DHCP reservations on almost anything, printers, servers, switches (if able), etc.

          Use static IPs on:
          DNS servers
          DHCP servers
          Firewalls
          AD servers
          VM hosts

          JaredBuschJ 1 Reply Last reply Reply Quote 2
          • dave247D
            dave247 @scottalanmiller
            last edited by

            @scottalanmiller said in Using name-spaces or address pools for domain controllers? (things to make replacing DC's easier):

            This is what DHCP is for. In a typical environment you have to update almost nothing when replacing a DC.

            So would you typically put your servers on DHCP reservation? Also, I thought you once told me about the very thing I am asking about in my OP.. I just forgot the details

            scottalanmillerS 1 Reply Last reply Reply Quote 2
            • scottalanmillerS
              scottalanmiller @dave247
              last edited by

              @dave247 said in Using name-spaces or address pools for domain controllers? (things to make replacing DC's easier):

              @scottalanmiller said in Using name-spaces or address pools for domain controllers? (things to make replacing DC's easier):

              This is what DHCP is for. In a typical environment you have to update almost nothing when replacing a DC.

              So would you typically put your servers on DHCP reservation? Also, I thought you once told me about the very thing I am asking about in my OP.. I just forgot the details

              Typically, yes, DHCP Reservations are ideal. The power of static but with central control. I'm fine with static when they make sense, but DHCP gives you a lot of important flexibility.

              1 Reply Last reply Reply Quote 0
              • JaredBuschJ
                JaredBusch @Dashrender
                last edited by

                @dashrender said in Using name-spaces or address pools for domain controllers? (things to make replacing DC's easier):

                Use static IPs on:
                DNS servers
                DHCP servers
                AD servers

                These are typically all on one server (or one per site) SO not as many servers as it sounds like.

                Also random AD file servers are all DHCP reservations , not static. Just because it has a role, does not mean it is an AD server that needs a static IP.

                1 Reply Last reply Reply Quote 4
                • JaredBuschJ
                  JaredBusch
                  last edited by

                  Seriously, very little of anything needs to be a static IP.

                  Almost everything works on DNS. Even SQL servers. No one has an app that connects to SQL by IP. They use DNS names.

                  scottalanmillerS 1 Reply Last reply Reply Quote 5
                  • scottalanmillerS
                    scottalanmiller @JaredBusch
                    last edited by

                    @jaredbusch said in Using name-spaces or address pools for domain controllers? (things to make replacing DC's easier):

                    Seriously, very little of anything needs to be a static IP.

                    Almost everything works on DNS. Even SQL servers. No one has an app that connects to SQL by IP. They use DNS names.

                    Basically, in a normal network, you can have your default gateway be static and nothing else.

                    1 Reply Last reply Reply Quote 0
                    • dave247D
                      dave247
                      last edited by

                      So basically, what I should do, is swap as much of my manual static to DHCP reservation that I possibly can. Then I can update DNS in the DHCP scope and all should be well... sounds like a good plan.

                      scottalanmillerS 1 Reply Last reply Reply Quote 3
                      • scottalanmillerS
                        scottalanmiller @dave247
                        last edited by

                        @dave247 said in Using name-spaces or address pools for domain controllers? (things to make replacing DC's easier):

                        So basically, what I should do, is swap as much of my manual static to DHCP reservation that I possibly can. Then I can update DNS in the DHCP scope and all should be well... sounds like a good plan.

                        Correct. This will make things easier and easier over time.

                        dave247D 1 Reply Last reply Reply Quote 2
                        • dave247D
                          dave247 @scottalanmiller
                          last edited by dave247

                          @scottalanmiller

                          One last question... and I plan to look into reservation tomorrow.. but what happens with the reservations in the event that the DHCP server goes down and, say, is un-recoverable? I mean, sure it would be trivial to fire up a new server, but you'd still have all the reservations to rebuild, unless they were exported as backup and then you could import or something.. and this is worst-case. DHCP would probably never go down, except for that one time....

                          JaredBuschJ scottalanmillerS 2 Replies Last reply Reply Quote 0
                          • JaredBuschJ
                            JaredBusch @dave247
                            last edited by

                            @dave247 said in Using name-spaces or address pools for domain controllers? (things to make replacing DC's easier):

                            @scottalanmiller

                            One last question... and I plan to look into reservation tomorrow.. but what happens with the reservations in the event that the DHCP server goes down and, say, is un-recoverable? I mean, sure it would be trivial to fire up a new server, but you'd still have all the reservations to rebuild, unless they were exported as backup and then you could import or something.. and this is worst-case. DHCP would probably never go down, except for that one time....

                            I assume you have a Windows 2012 R2 or newer AD serve rthat is your DHCP server? If so, you can make a secondary.

                            If not, with any version back even to Server 2003, you can export your scope and reimport it on a new server.

                            dave247D 1 Reply Last reply Reply Quote 3
                            • scottalanmillerS
                              scottalanmiller @dave247
                              last edited by

                              @dave247 said in Using name-spaces or address pools for domain controllers? (things to make replacing DC's easier):

                              @scottalanmiller

                              One last question... and I plan to look into reservation tomorrow.. but what happens with the reservations in the event that the DHCP server goes down and, say, is un-recoverable? I mean, sure it would be trivial to fire up a new server, but you'd still have all the reservations to rebuild, unless they were exported as backup and then you could import or something.. and this is worst-case. DHCP would probably never go down, except for that one time....

                              DHCP Reservations are like normal DHCP Leases, so if you have them for, say 48 hours, you will likely have quite some time before things start to lose their leases. You have several choices...

                              1. Have failover DHCP so that you are not dependent on a single once.
                              2. Recreate everything by hand, for even 100 machines, this is trivial amounts of work as long as you document it.
                              3. Take a backup and restore.
                              4. Set the reservations programtically like through a script or state system.
                              dave247D JaredBuschJ 3 Replies Last reply Reply Quote 1
                              • dave247D
                                dave247 @JaredBusch
                                last edited by

                                @jaredbusch said in Using name-spaces or address pools for domain controllers? (things to make replacing DC's easier):

                                @dave247 said in Using name-spaces or address pools for domain controllers? (things to make replacing DC's easier):

                                @scottalanmiller

                                One last question... and I plan to look into reservation tomorrow.. but what happens with the reservations in the event that the DHCP server goes down and, say, is un-recoverable? I mean, sure it would be trivial to fire up a new server, but you'd still have all the reservations to rebuild, unless they were exported as backup and then you could import or something.. and this is worst-case. DHCP would probably never go down, except for that one time....

                                I assume you have a Windows 2012 R2 or newer AD serve rthat is your DHCP server? If so, you can make a secondary.

                                If not, with any version back even to Server 2003, you can export your scope and reimport it on a new server.

                                2008 R2. But, what I will probably do is set up the new 2016 DC and then move DHCP role to that and set up the reservations and things. Then, when the time is right, I will point everything from old DC to new DC

                                scottalanmillerS 1 Reply Last reply Reply Quote 0
                                • dave247D
                                  dave247 @scottalanmiller
                                  last edited by

                                  @scottalanmiller said in Using name-spaces or address pools for domain controllers? (things to make replacing DC's easier):

                                  @dave247 said in Using name-spaces or address pools for domain controllers? (things to make replacing DC's easier):

                                  @scottalanmiller

                                  One last question... and I plan to look into reservation tomorrow.. but what happens with the reservations in the event that the DHCP server goes down and, say, is un-recoverable? I mean, sure it would be trivial to fire up a new server, but you'd still have all the reservations to rebuild, unless they were exported as backup and then you could import or something.. and this is worst-case. DHCP would probably never go down, except for that one time....

                                  DHCP Reservations are like normal DHCP Leases, so if you have them for, say 48 hours, you will likely have quite some time before things start to lose their leases. You have several choices...

                                  1. Have failover DHCP so that you are not dependent on a single once.
                                  2. Recreate everything by hand, for even 100 machines, this is trivial amounts of work as long as you document it.
                                  3. Take a backup and restore.
                                  4. Set the reservations programtically like through a script or state system.

                                  nice, thanks!

                                  1 Reply Last reply Reply Quote 1
                                  • scottalanmillerS
                                    scottalanmiller @dave247
                                    last edited by

                                    @dave247 said in Using name-spaces or address pools for domain controllers? (things to make replacing DC's easier):

                                    @jaredbusch said in Using name-spaces or address pools for domain controllers? (things to make replacing DC's easier):

                                    @dave247 said in Using name-spaces or address pools for domain controllers? (things to make replacing DC's easier):

                                    @scottalanmiller

                                    One last question... and I plan to look into reservation tomorrow.. but what happens with the reservations in the event that the DHCP server goes down and, say, is un-recoverable? I mean, sure it would be trivial to fire up a new server, but you'd still have all the reservations to rebuild, unless they were exported as backup and then you could import or something.. and this is worst-case. DHCP would probably never go down, except for that one time....

                                    I assume you have a Windows 2012 R2 or newer AD serve rthat is your DHCP server? If so, you can make a secondary.

                                    If not, with any version back even to Server 2003, you can export your scope and reimport it on a new server.

                                    2008 R2. But, what I will probably do is set up the new 2016 DC and then move DHCP role to that and set up the reservations and things. Then, when the time is right, I will point everything from old DC to new DC

                                    Don't forget those 2016 CALs (inside joke for those that saw the guy freak out about having to get CALs when updating Windows today.)

                                    dave247D 1 Reply Last reply Reply Quote 1
                                    • JaredBuschJ
                                      JaredBusch @scottalanmiller
                                      last edited by JaredBusch

                                      @scottalanmiller said in Using name-spaces or address pools for domain controllers? (things to make replacing DC's easier):

                                      1. Have failover DHCP so that you are not dependent on a single once.

                                      Until he moves to 2016 he cannot have it "automagic" inside Windows Server. But he can manually have a backup made.

                                      1 Reply Last reply Reply Quote 1
                                      • dave247D
                                        dave247 @scottalanmiller
                                        last edited by

                                        @scottalanmiller said in Using name-spaces or address pools for domain controllers? (things to make replacing DC's easier):

                                        @dave247 said in Using name-spaces or address pools for domain controllers? (things to make replacing DC's easier):

                                        @jaredbusch said in Using name-spaces or address pools for domain controllers? (things to make replacing DC's easier):

                                        @dave247 said in Using name-spaces or address pools for domain controllers? (things to make replacing DC's easier):

                                        @scottalanmiller

                                        One last question... and I plan to look into reservation tomorrow.. but what happens with the reservations in the event that the DHCP server goes down and, say, is un-recoverable? I mean, sure it would be trivial to fire up a new server, but you'd still have all the reservations to rebuild, unless they were exported as backup and then you could import or something.. and this is worst-case. DHCP would probably never go down, except for that one time....

                                        I assume you have a Windows 2012 R2 or newer AD serve rthat is your DHCP server? If so, you can make a secondary.

                                        If not, with any version back even to Server 2003, you can export your scope and reimport it on a new server.

                                        2008 R2. But, what I will probably do is set up the new 2016 DC and then move DHCP role to that and set up the reservations and things. Then, when the time is right, I will point everything from old DC to new DC

                                        Don't forget those 2016 CALs (inside joke for those that saw the guy freak out about having to get CALs when updating Windows today.)

                                        Oh for sure. I already have them set up in our budget (thanks to help I got from you guys on here)

                                        1 Reply Last reply Reply Quote 1
                                        • JaredBuschJ
                                          JaredBusch @scottalanmiller
                                          last edited by

                                          @scottalanmiller said in Using name-spaces or address pools for domain controllers? (things to make replacing DC's easier):

                                          DHCP Reservations are like normal DHCP Leases, so if you have them for, say 48 hours, you will likely have quite some time before things start to lose their leases. You have several choices...

                                          I typically set my lease time to 8 hours. I want things to break during the business day whenever possible.
                                          Machines should renew ever 4 hours with that setting. So if shit hits the fan, someone should fail to renew before you go home and clue you in to an issue.

                                          1 Reply Last reply Reply Quote 0
                                          • ObsolesceO
                                            Obsolesce @dave247
                                            last edited by

                                            @dave247 said in Using name-spaces or address pools for domain controllers? (things to make replacing DC's easier):

                                            I was wondering, is there an easier way to do this, such as to put all the domain controllers behind a name-space or address pool or something?

                                            Nope. Being that you're static everywhere... you're stuck doing it the hard way. Take this as an opportunity to use DHCP + reservations for what you want static.

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 1 / 3
                                            • First post
                                              Last post