Configuring DHCP server failover and load balancing
The basic installation and configuration of a single DHCP server, as shown in the two previous recipes, is straightforward. However, a single DHCP server represents a single point of failure. A standard solution to this shortcoming is to implement DHCP failover and load balancing. Microsoft added this to DHCP with Windows 2012. The feature and indeed DHCP is unchanged in Server 2016.
Getting ready
This recipe requires two servers, with one server (DC1
) setup with a working and configured DHCP scope. You achieved this by using the Configuring and authorizing a DHCP server, Configure DHCP scopes recipes. The recipe needs a second, as of yet an unconfigured server, which in this case is the second DC, DC2.Reskit.Org
.
How to do it...
- Log in and install the DHCP feature on
DC2
:
Install-WindowsFeature -Name DHCP,RSAT-DHCP ` -ComputerName DC2.Reskit.Org
- Let DHCP know it's all configured:
Invoke-Command -ComputerName DC2...