After a DHCP server has been installed, it most certainly must be maintained . This entails performing management tasks and monitoring the server on a regular basis to ensure adequate performance over time. A number of tools are available that you can use to perform these tasks , including:
Using the DHCP ManagerAs you've seen throughout this chapter, the DHCP Manager is where most DHCP server-management tasks are performed. The Action menu within the management console has a number of options. Some of the options are outlined in the next section beginning with "Displaying Statistics." Displaying StatisticsWhen you highlight the DHCP server and choose Display Statistics from the Action menu, the Server Statistics dialog box opens (see Figure 3.10), providing you with a summary of what is happening on the server. Figure 3.10. Viewing DHCP server statistics.
The statistics window displays the following items:
Reconciling ScopesThe Reconcile All Scopes option is useful when you need to fix any inconsistencies in the DHCP database, such as when not all IP address leases are being reflected in the DHCP database. Information in the database is compared with information stored in the Registry. Selecting the Reconcile All Scopes option opens the Reconcile All Scopes dialog box. Click the Verify button to check the database for inconsistencies. Any errors are displayed (see Figure 3.11). Figure 3.11. Checking the DHCP database for inconsistencies.
Other Management Tasks in the DHCP Manager Action MenuYou can also perform a number of other tasks from the Action menu, including
Finally, selecting the Properties option from the Action menu opens the Properties dialog box for the DHCP server. The Properties dialog box contains three tabs:
You have already seen the DNS tab earlier in the chapter; the next two sections cover the other two tabs in further depth. The General TabOn the General tab, you can configure how often the statistics gathered for the server are refreshed (see Figure 3.12), whether to write DHCP information to the System log within Event Viewer, and whether to display the BOOTP configuration information in the DHCP management console. Figure 3.12. Configure DCHP server properties.
The Advanced TabOn the Advanced tab (see Figure 3.13), you can configure conflict detection, which specifies the number of times the DHCP server should attempt to determine whether an IP address is already in use before assigning it to a DHCP client. You can also change the location of the DHCP database and audit log, as well as check the connections used to service DHCP clients. Figure 3.13. Configuring the Advanced properties of a DHCP server.
Tools for MonitoringIt's always good practice to monitor server performance, whether it's a DHCP server, a domain controller, or a DNS server. Windows 2000 comes with a number of tools that can be used to monitor different aspects of a DHCP server. The following section looks at monitoring real-time performance of a DHCP server, logging DHCP related events, and monitoring DHCP related traffic. System MonitorThe tool most commonly used for monitoring is the System Monitor found in the Performance MMC within the Administrative Tools menu. Once the DHCP Server service is installed, a number of counters are added that allow you to monitor specific aspects of DHCP (see Figure 3.14). Some of the more commonly used counters include:
Figure 3.14. DHCP performance counters.
Event ViewerIf the DHCP server is configured to log activity, you can use the System Log within the Event Viewer to monitor and troubleshoot events. When an event does occur, such as the DHCP Server service being restarted, it is written to the log file and provides useful information, including a description of the event and when it occurred. Network MonitorNetwork Monitor is a "sniffer" that can be used to capture network traffic coming to and from a computer. In terms of DHCP, you can use it to view and analyze traffic between a DHCP server and DHCP clients, such as the IP address lease process. |