question

EduardMartinenko-9492 avatar image
0 Votes"
EduardMartinenko-9492 asked RobNicholson-1457 commented

DHCP Failover- how does the replication work?

I have configured DHCP Failover between my two windows servers, that are also domains controllers (the first windows server 2012 and the second one is windows server 2016)
So I have some questions about automatic replication
When you first enabled the DHCP Failover feature all options from this pool are copied on the second server.
But what about the future edits? Will they be copied from the one server to the second?
Or do I have to manually click the synchronize button every time I make any changes to the zone?
How are the conflicts resolved?

windows-server-2019windows-server-2016windows-dhcp-dns
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,
Just checking in to see if the information provided was helpful. Please let us know if you would like further assistance.

1 Vote 1 ·
GloriaGu-MSFT avatar image
1 Vote"
GloriaGu-MSFT answered

Hi,

In regards to your issue, here're my suggestions:

  1. When you first enabled the DHCP Failover on the specific scope, all features from this pool are copied on the second server. It includes lease information and scope options.

  2. After my test in the environment, if the client leases are updated in one server, the lease information will be automatically copied to the parterner server.

However, if the scope options are changed, it will not automatically synchronize,you have to mannually configure Scope replication. This type of replication copies the configuration of a selected DHCP scope to the failover partner server.

19322-60.png


-------If my answer is helpful to you, please remember to mark them as answer. Thank you!------

Regards
Gloria


60.png (12.0 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

TimCerling-5039 avatar image
1 Vote"
TimCerling-5039 answered

After you have established which hosts are partners in DHCP failover, updates are automatically replicated. It is not necessary to manually synchronize unless you find some sort of disparity that needs your attention, but generally you will not see any difference between hosts.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

EduardMartinenko-9492 avatar image
0 Votes"
EduardMartinenko-9492 answered RobNicholson-1457 commented

Do the IP reservations get copied automatically?
What is the difference between "Replicate scope" and "Replicate relationship"?

· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,

  1. Yes, IP reservations get copied automatically.

2.Relationship replication: This type of replication copies the configuration of all DHCP scopes that are part of a selected failover relationship to the failover partner server.
Scope replication: This type of replication copies the configuration of a selected DHCP scope to the failover partner server.
For more details please refer to :
dn338989(v=ws.11)

-------If my answer is helpful to you, please remember to mark them as answer. Thank you!------

1 Vote 1 ·

In case someone else finds this same doc, note that "Yes, IP reservations get copied automatically." is a typo.

IP/DHCP LEASES are automatically copied. DHCP RESERVATIONS are not.

I came here looking for someone to say they're copied automatically, but my testing shows they're not and there's lots of other documentation and blog type stuff online that says they're not.

1 Vote 1 ·

This is indeed correct and still the case with Windows Server 2019. You can schedule the following PowerShell command to replicate the scope automatically:

Invoke-DhcpServerv4FailoverReplication -Force

0 Votes 0 ·