question

adam900331-4783 avatar image
0 Votes"
adam900331-4783 asked gabrielluiz answered

DHCP with failover automatic synchronization issue

Hello!

I have a two node DHCP configuration in failover load balance mode (DHCP_1 and DHCP_2). I create some Allow and Deny filter in DHCP_1, but when I force manually replication, the filters do not replicate to DHCP_2. I found a script(DhcpFailoverAutoConfigSync) which can be resolve this issue, but it is not working. The DHCP server os is Windows Server 2019. The script was tested on only Windows Server 2012, should it be the problem with the script? It is not compatible with Windows Server 2019?

This is the script what I tested:
https://gallery.technet.microsoft.com/scriptcenter/Auto-syncing-of-configurati-6eb54fb0

Does it have any solution to automate the synchronization between two DHCP server when I change something in config?


Thanks.

windows-dhcp-dns
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.

CandyLuo-MSFT avatar image
0 Votes"
CandyLuo-MSFT answered

Hi ,

For server configuration, there is no way to sync it. e.g.: server policies and Filters. As a workaround, you can use PowerShell cmdlet to add it:

 Get-DhcpServerv4Filter -List Allow -ComputerName myserver.FQDN | Add-DhcpServerv4Filter -Force

58916-image.png

58940-image.png

Here is a similar thread discussed before:

syncing dhcp policies between failover hosts

Best Regards,

Candy


If the Answer is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



image.png (120.5 KiB)
image.png (111.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.

gabrielluiz avatar image
0 Votes"
gabrielluiz answered

Your answer was very good.

Is there official Microsoft documentation stating that policies and filters are not replicated?

Why is this configuration not synced? What to stop Microsoft from implementing these synchronizations?

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.

gabrielluiz avatar image
0 Votes"
gabrielluiz answered

@CandyLuo-MSFT I want to understand why!

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.