Skip to main content

How to Load Balance DHCP Server in Windows Server 2012 R2

Steps to Load Balance DHCP server in Windows Server 2012 R2

Two DHCP Windows Server are required to configure DHCP Failover. We have two DHCP Server windows SK01 and SK02. SK01 has DHCP Scope configured, on SK02 we don’t have DHCP Scope configured.
1. On “SK01.saikrishna.com“, DHCP scope is configured ranging from an IP addresses 192.168.1.10 to 192.168.1.60.
2. To load balance DHCP Server, we have to install the role of DHCP on another server i.e. “SK02.saikrishna.com“. Open Server Manager and then click on “Add roles and features” to install the role of DHCP.
3. On Before you begin console, we can read about all the pre-requisite tasks to be performed before proceeding further. Click on Next to continue.
Configure Reservation
4. On Select installation type console, select “Role-based or feature-based installation” and click on Next to continue.
5. On Select destination server console, select the option of “Select a server from the server pool” and select the server from the list of available servers to install the role. Here, we are selecting “SK02.saikrishna.com“. Click on Next to continue.

6. On Select server roles console, select the role of “DHCP Server“. Click on Next to continue.

7. On Select features console, we don’t have to select any feature. Simply, click on Next to continue.

8. On the console, read about the importance and advantages of DHCP. Read the important points mentioned under Things to note. Click on Next to continue.
How to promote a Domain Controller
9. On Confirm installation selections console, verify all the options selected on previous consoles. Click on Install to start the installation process.
10. On Installation progress console, we can see the installation in progress. After the successful installation click on Close to close the console.

11. Open DHCP on “SK02.saikrishna.com“. Here, we can see that the no scope is defined. We don’t have to create a new scope because we will balance the load of existing scope created on SK01.saikrishna.com.

12. To configure Load balance DHCP Server, on SK01.saikrishna.com open DHCP, under IPv4 right click on your scope and then click on “Configure Failover“.

13. On Introduction to DHCP Failover console, we can read the importance of DHCP Failover. DHCP Failover enables us to synchronize the information of IP address lease with the another DHCP server. It also helps in load balancing two DHCP servers. From the list of Available Scopes, select the scope for creating failover or load-balancing. Or select the option of “Select all” to enable the setting on all scopes of your DHCP server, else you can select the specific Scope. Click on Next to continue.

14. On Specify the partner server to use for failover console, enter either the hostname or IP address of the partner DHCP  server with which failover should be configured. Click on Add Server to select the partner DHCP server. In this practical, the name of our partner is “SK02“. Click on Next to continue.

15. On Create a new failover relationship console, enter the relationship name, set Maximum Client Lead Time. Select the Mode to “Load Balance” from the drop-down menu. Set the load balance percentage for the Local and Partner server. It would help in determining distribution of load. You can define the percentage as per your requirement. You can even define the State Switchover interval and secret key, however we are not defining the same for this practical. Click on Next to continue.

16. On this console, verify all the options selected on previous consoles. Click on Finish to create a relationship between both the DHCP servers with the selected settings.

17. On Progress of failover configuration console, we can see the progress of configuration. After the successful configuration of failover click on Close to close the console.

18. Again on DHCP console, Under IPv4 right click on Scope and then click on Display Statistics to see the statistics of load balanced scope.

19. On Scope 192.168.1.0 Statistics console, we can Total IP addresses of the scope, available IP addresses of local and partner server, used IP addresses of both local and partner server. Click on Close to close this console.

20. Now open DHCP on partner server i.e. SK02.saikrishna.com. Here, we can see that the scope is replicated from the first DHCP server (SK01) with all the information like address leases, reservations, etc.

21. Now login to any client computer and open command prompt. Run command “ipconfig /all” to check the name of DHCP Server from which this client computer is receiving an IP address. Here, we can see that this client computer is getting IP address from 192.168.1.41 i.e. SK02.saikrishna.com.

22. Now, we will shutdown SK02.saikrishna.com assuming that it is unavailable or crashed. Now again, open the command prompt and run the command to release and renew the IP address and then type “ipconfig /all“. Now, we can see that this computer is getting IP address from 192.168.1.10 i.e.SK01.saikrishna.com
Hope you have understood the steps to load balance DHCP Servers Window. Please feel free to leave your comments


SAI KRISHNA KALYANAPU

Comments

Popular posts from this blog

How To Upgrade Windows Server 2008 R2 To Windows Server 2012

In this post we will see how to upgrade Windows Server 2008 R2 to Windows Server 2012. It’s been an year that Microsoft has released Windows Server 2012, when Windows Sever 2012 was released the IT professionals were eager to know what’s new in Windows Server 2012 and i was one of them. Microsoft releases all of its operating systems in multiple editions, which provides consumers with varying price points and feature sets. While choosing the edition make sure you choose the edition that suits your requirements. Before we go ahead and deploy Server 2012, let’s take a look at editions of Windows Server 2012. 1)  Windows Server 2012 Datacenter Edition  – The Datacenter edition is designed for large and powerful servers with up to 64 processors and fault-tolerance features such as hot add processor support. This edition is available only through the Microsoft volume licensing program and from original equipment manufacturers bundled with a server. 2)  Windows Server 2012 Standard Ed

Installing the Fuzzy Lookup Excel Add-In

    1.       Navigate to the Microsoft website and download the Fuzzy Lookup installation ZIP file.  Save the ZIP file in a new directory on your desktop called ‘FuzzyLookup’ and then extract the files to that same directory.   2.       Make sure all applications are closed on your computer. 3.       Run the ‘setup.exe’ file. Press ‘Run’.   4.       Next the setup process will ask you if you accept two separate License Agreements.  Press ‘Accept’ to both. 5.       Next you will see the application start downloading and installing files.  This will take several minutes. 6.       Next the Setup Wizard will appear.  Press ‘Next.’ 7.       Another License Agreement screen will appear.  Choose ‘I Agree’ and then ‘Next’.   8.       Do not change the default installation folder.  Press ‘Next’. 9.       The setup application will next ask you to confirm installation instructions.  Press ‘Next’ to confirm the installation choices and the i