You are not authorized to post comments.

Windows Tip: Clustered DHCP Servers

ITworld.com |  Operating Systems Add a new comment



Send your Windows question to Mitch today! | See other Windows tips


DHCP servers are at the heart of network client availability, and I've seen administrators bend over backwards trying to build some sort of high-availability solution that can kick in when their main DHCP server fails. And believe me, seeing your average administrator try to bend over backwards isn't a pretty sight.


One company I heard about recently apparently does the following: They have two DHCP servers configured with identical scopes, but one of the servers (we'll call it the fallback) has its scopes deactivated. The administrator created a netsh script that is scheduled to run periodically on the main server and which first backs up this server's DHCP configuration and then restores the configuration onto the fallback server.


So is this a good idea? Probably not. For one thing, if the main server suddenly fails the secondary server probably won't respond to DHCP clients trying to renew their address leases. Why not? Because DHCP lease renewal messages initially use unicast and are thus sent directly to the IP address of the DHCP server that leased the client its address. (When a lease reaches 87.5 percent of its lifetime however, the client will try broadcasting to any available DHCP server in order to try and get its lease renewed.) What this means is that the fallback DHCP server will only work if the admin changes its IP address to match the failed server, but this requires manual intervention of course and that means this scenario won't work automatically. And on top of that, the lease info in the DHCP database of the fallback server will only be as accurate as the last backup of the main server, and this could cause problems with lease renewals.


A much better solution to DHCP server availability is to use clustering. Set up a simple two-node active/passive cluster for your DHCP server, and when the active node goes down for some reason, the passive one takes over almost immediately and has up-to-date lease information for all clients on your network. Or you can combine a clustered approach with 80/20 scope splitting to ensure both high availability and fault tolerance. For more information on implementing DHCP clusters using Windows Server 2003, search Microsoft TechNet for "DHCP cluster" and you'll get several useful articles.


Breaking news: In addition to having been lead author for the Windows Vista Resource Kit (a must-have for administrators who will be deploying Vista in their organizations) I also recently finished writing Microsoft's first book about their upcoming Windows Server Code-Name "Longhorn" platform. This book will be published soon by Microsoft Press and you can pre-order it now. The reason I'm plugging my new book here (in addition to hoping sales will fund my retirement home in Florida - lol) is because clustering is going to be a whole lot easier to implement in Windows Server Code-Name "Longhorn" than it is today in Windows Server 2003. So if you've been holding off clustering your DHCP server because you're afraid you'll have to wade through a 50-page whitepaper just to get the clustering part working, wait till my book comes out and you'll see how simple it will be to set up clustered DHCP (or clustered anything else) in Windows Server Code-Name "Longhorn". Plus you'll learn about Windows Server Core, Terminal Services Gateway, Network Access Protection, and a ton of other cool things by reading my book, so pre-order it today!


I'm shameless, aren't I? Well, authors gotta eat.

 

ITworld LIVE

Operating SystemsWhite Papers & Webcasts

White Paper

A Comparison of PowerVM and VMware vSphere (4.1 & 5.0) Virtualization Performance

This technical white paper presents benchmark results showing greater VM consolidation ratios than demonstrated in previous benchmarks and demonstrating the extent of the performance lead that PowerVM virtualization technologies deliver over x86-based add-on virtualization products.

White Paper

Consolidating Lotus Domino x86 Workloads on IBM Power Systems

Read the white paper to learn how moving up to Lotus Domino 8.5 and consolidating with IBM Power Servers can help you boost performance results and ROI.

White Paper

Task, workflow & issue management for teams. Try free!

Need a flexible system for managing team tasks, issue tracking, and automating and managing workflow processes? Comindware® Tracker helps you do it all.

Webcast On Demand

Best Practices in Monitoring VMware

The benefits of virtualization are unassailable: increased agility, scale, and cost savings to name a few. However, so too are the monitoring challenges posed by these environments-including complexities, lack of visibility and control, and inefficiency.

Sponsor: Nimsoft

White Paper

How Nimsoft Service Desk Speeds Deployment and Time to Value

For years, many support teams have been hamstrung by their traditional service desk platforms, which require complex, time-consuming coding for virtually every aspect of customization. This complexity makes it costly and difficult for support organizations to adapt-and places an increasingly substantial burden on the agility and efficiency of the business as a whole.

See more White Papers | Webcasts

Ask a question

Ask a Question