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

    Is it possible to have a running backup DHCP server

    Scheduled Pinned Locked Moved IT Discussion
    16 Posts 8 Posters 643 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.
    • DustinB3403D
      DustinB3403
      last edited by

      This has to be possible right? I haven't had to ever look into this, but a conversation came up about the concern of what happens if we lose access to our DHCP server, and I thought that there has to be some kind of a backup mechanism...

      scottalanmillerS 1 Reply Last reply Reply Quote 0
      • dafyreD
        dafyre
        last edited by

        Windows does have a way to do this, but I've never set it up.

        Unsure about Linux DHCP servers.

        DustinB3403D 1 Reply Last reply Reply Quote 0
        • DustinB3403D
          DustinB3403 @dafyre
          last edited by

          @dafyre a redundant, ready and waiting DHCP server with existing leases etc. Right?

          I was told there is no such thing, and thought it incredibly strange that there wasn't.

          "So everyone in the world is only use 1 DHCP server per range... get real" was my thought.. but I have no idea what the solution is.

          1 Reply Last reply Reply Quote 1
          • DustinB3403D
            DustinB3403
            last edited by

            Maybe what was meant was "there is no such thing here, in your org".

            Which, then begs the question. Why not?

            scottalanmillerS 1 Reply Last reply Reply Quote 1
            • thwrT
              thwr
              last edited by

              Linux DHCP servers are often just using flat files which could be placed into a git repo or maybe rsynced to a backup machine. Now, you just need to wait for a failing server and start the service / daemon on the backup machine. Icinga with a custom check / action plugin could do this, for example.

              stacksofplatesS 1 Reply Last reply Reply Quote 3
              • dafyreD
                dafyre
                last edited by

                In Windows, it's set up as a Failover Cluster... (https://technet.microsoft.com/en-us/library/ee405263(v=ws.10).aspx) article is for 2008, but I'd expect something similar or totally different for 2012, lol.

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

                  @DustinB3403 said in Is it possible to have a running backup DHCP server:

                  This has to be possible right? I haven't had to ever look into this, but a conversation came up about the concern of what happens if we lose access to our DHCP server, and I thought that there has to be some kind of a backup mechanism...

                  Of course. Like most things you can...

                  • Do it at the platform level.
                  • Do it at the OS level.
                  • If the app supports it, do it at the app level.
                  1 Reply Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller @DustinB3403
                    last edited by

                    @DustinB3403 said in Is it possible to have a running backup DHCP server:

                    Maybe what was meant was "there is no such thing here, in your org".

                    Which, then begs the question. Why not?

                    No because, who cares? Not important to have DHCP fail over. You can go a long time with zero impact. Getting a new DHCP Server up is SO trivial. You'd need a special case to justify running one just for DHCP.

                    dafyreD 1 Reply Last reply Reply Quote 3
                    • dafyreD
                      dafyre @scottalanmiller
                      last edited by

                      @scottalanmiller said in Is it possible to have a running backup DHCP server:

                      @DustinB3403 said in Is it possible to have a running backup DHCP server:

                      Maybe what was meant was "there is no such thing here, in your org".

                      Which, then begs the question. Why not?

                      No because, who cares? Not important to have DHCP fail over. You can go a long time with zero impact. Getting a new DHCP Server up is SO trivial. You'd need a special case to justify running one just for DHCP.

                      At my last job, we used a Linux one and I can count the number of times it had issues on one hand... and i was there 10 years.

                      1 Reply Last reply Reply Quote 0
                      • Mike DavisM
                        Mike Davis
                        last edited by

                        In Server 2012 failover cluster is pretty easy to set up.

                        If you have a lot of reservations, it's not as trivial to set one up from scratch, but if you can restore your server from backups quickly, that works.

                        1 Reply Last reply Reply Quote 0
                        • stacksofplatesS
                          stacksofplates @thwr
                          last edited by

                          @thwr said in Is it possible to have a running backup DHCP server:

                          Linux DHCP servers are often just using flat files which could be placed into a git repo or maybe rsynced to a backup machine. Now, you just need to wait for a failing server and start the service / daemon on the backup machine. Icinga with a custom check / action plugin could do this, for example.

                          You can also do corosync and pacemaker between the two, but it's a million percent easier to just spin up from a saved snapshot.

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

                            @stacksofplates said in Is it possible to have a running backup DHCP server:

                            @thwr said in Is it possible to have a running backup DHCP server:

                            Linux DHCP servers are often just using flat files which could be placed into a git repo or maybe rsynced to a backup machine. Now, you just need to wait for a failing server and start the service / daemon on the backup machine. Icinga with a custom check / action plugin could do this, for example.

                            You can also do corosync and pacemaker between the two, but it's a million percent easier to just spin up from a saved snapshot.

                            Exactly. This is the OS cluster method.

                            1 Reply Last reply Reply Quote 1
                            • wirestyle22W
                              wirestyle22
                              last edited by wirestyle22

                              Interesting. I did not know this was a thing but it makes sense.

                              scottalanmillerS 2 Replies Last reply Reply Quote 0
                              • scottalanmillerS
                                scottalanmiller @wirestyle22
                                last edited by

                                @wirestyle22 said in Is it possible to have a running backup DHCP server:

                                Interesting. I did not know this was a thing but it makes sense.

                                It's how we always did these things before we had platform level failover techniques.

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

                                  @wirestyle22 and it is still how things like NAS and SAN failover.

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

                                    Server 2012 (maybe R2?) added the ability to have a backup/failover DHCP server in the Windows world.

                                    But this is a waste of time.

                                    Make a backup of your DHCP server config manually if you are worried about the VM hosting the service going south but not being restored.

                                    1 Reply Last reply Reply Quote 5
                                    • 1 / 1
                                    • First post
                                      Last post