DESKTOP

Windows Server 2003 : Clustering Servers - Using Network Load Balancing (part 3) - Monitoring Network Load Balancing

1/9/2014 3:20:20 AM

4. Monitoring Network Load Balancing

Once you have created and configured your Network Load Balancing cluster, several tools included in Windows Server 2003 can be used to monitor the cluster’s ongoing processes.

Using Network Load Balancing Manager

When you display the Network Load Balancing Manager application, the bottom pane of the window displays the most recent log entries generated by activities in the NLB Manager. (See Figure 3) These entries detail any configuration changes and contain any error messages generated by improper configuration parameters on any host in the cluster.

Figure 3. The Network Load Balancing Manager’s log pane

By default, the log entries that Network Load Balancing Manager displays are not saved. To save a continuing log, you must enable logging by selecting Log Settings from the NLB Manager’s Options menu. In the Log Settings dialog box, select the Enable Logging check box, and then, in the Log Filename text box, specify the name you want to use for the log file. The NLB Manager creates the file in the Documents And Settings folder’s subfolder named for the account used to log on to the server.

Using Event Viewer

The Network Load Balancing Manager’s log pane and log file contain information only about the NLB Manager’s activities. To display log information about the Network Load Balancing service, you must look at the System log in the Event Viewer console, as shown in Figure 4. Entries concerning the Network Load Balancing service are labeled WLBS. (This stands for Windows Load Balancing Service, a holdover from the Windows NT name for the service.)

Figure 4. Windows Server 2003 Event Viewer

Using Nlb.exe

You can control many of an NLB cluster’s functions from the Windows Server 2003 command line using a utility named Nlb.exe. Some of the program’s most useful parameters are as follows:

Tip

Nlb.exe is the Windows Server 2003 equivalent of the Wlbs.exe program included with earlier versions of the Windows operating system. If you are accustomed to using Wlbs on your command lines, or more importantly, if you have existing scripts that use Wlbs, you can continue to use them because Windows Server 2003 includes the Wlbs.exe program as well.


  • display Displays the configuration parameters stored in the registry for a specific cluster, plus the most recent cluster-related System log entries, the computer’s IP configuration, and the cluster’s current status.

  • drain port Prevents a specified cluster from handling any new traffic conforming to the rule containing the port specified by the port variable.

  • drainstop Disables all cluster traffic handling after completing the transactions currently in process.

  • params Displays all the current configuration parameters for a specified cluster on the local host, as follows:

    WLBS Cluster Control Utility V2.4 (c) 1997-2003 Microsoft Corporation.
    Cluster 192.168.2.101
    Retrieving parameters
    Current time = 3/19/2003 1:55:24 AM
    HostName = cz3net.int.adatum.com
    ParametersVersion = 4
    CurrentVersion = 00000204

    EffectiveVersion = 00000201
    InstallDate = 3E779B7C
    HostPriority = 3
    ClusterIPAddress = 192.168.2.101
    ClusterNetworkMask = 255.255.255.0
    DedicatedIPAddress = 192.168.2.3
    DedicatedNetworkMask = 255.255.255.0
    McastIPAddress = 0.0.0.0
    ClusterName = www.int.adatum.com
    ClusterNetworkAddress = 03-bf-c0-a8-02-65
    IPToMACEnable = ENABLED
    MulticastSupportEnable = ENABLED
    IGMPSupport = DISABLED
    MulticastARPEnable = ENABLED
    MaskSourceMAC = ENABLED
    AliveMsgPeriod = 1000
    AliveMsgTolerance = 5
    NumActions = 100
    NumPackets = 200
    NumAliveMsgs = 66
    DescriptorsPerAlloc = 512
    MaxDescriptorAllocs = 512
    TCPConnectionTimeout = 60
    IPSecConnectionTimeout = 86400
    FilterICMP = DISABLED
    ClusterModeOnStart = STARTED
    HostState = STARTED
    PersistedStates = NONE
    ScaleSingleClient = DISABLED
    NBTSupportEnable = ENABLED
    NetmonAliveMsgs = DISABLED
    IPChangeDelay = 60000
    ConnectionCleanupDelay = 300000
    RemoteControlEnabled = ENABLED
    RemoteControlUDPPort = 2504
    RemoteControlCode = 00000000
    RemoteMaintenanceEnabled = 00000000
    BDATeaming = NO
    TeamID =
    Master = NO
    ReverseHash = NO
    IdentityHeartbeatPeriod = 10000
    IdentityHeartbeatEnabled = ENABLED

    PortRules (1):
    VIP Start End Prot Mode Pri Load Affinity
    --------------- ----- ----- ---- -------- --- ---- --------
    All 80 80 TCP Multiple Eql None

    Statistics:
    Number of active connections = 0
    Number of descriptors allocated = 0


  • query Displays the current state of all hosts in a specified cluster, as follows:

    WLBS Cluster Control Utility V2.4 (c) 1997-2003 Microsoft Corporation.
    Cluster 192.168.2.101
    Host 3 has entered a converging state 3 time(s) since joining the cluster
    and the last convergence completed at approximately: 3/19/2003 12:06:20 AM
    Host 3 converged with the following host(s) as part of the cluster:
    1, 3


  • queryport port Displays the current status of the rule containing the port specified by the port variable.

    WLBS Cluster Control Utility V2.4 (c) 1997-2003 Microsoft Corporation.
    Cluster 192.168.2.101
    Retrieving state for port rule 80
    Rule is enabled
    Packets: Accepted=0, Dropped=17

    Tip

    Be sure to understand that the Nlb.exe and Wlbs.exe programs are one and the same, with identical functions and parameters.

Other  
  •  Windows Server 2003 : Clustering Servers - Understanding Clustering (part 2) - Designing a Clustering Solution
  •  Windows Server 2003 : Clustering Servers - Understanding Clustering (part 1) - Clustering Types
  •  Windows Server 2003 : Administering Software Update Services (part 6) - SUS Backup and Recovery,Designing a Network Security Update Infrastructure
  •  Windows Server 2003 : Administering Software Update Services (part 5) - Configuring Automatic Updates Through Group Policy , SUS Troubleshooting
  •  Windows Server 2003 : Administering Software Update Services (part 4) - The Automatic Updates Client
  •  Windows Server 2003 : Administering Software Update Services (part 3) - Synchronizing SUS, Approving Updates
  •  Windows Server 2003 : Administering Software Update Services (part 2) - Configuring and Administering SUS - Configuring Software Update Services
  •  Windows Server 2003 : Administering Software Update Services (part 1) - Installing SUS on a Windows Server 2003 Computer
  •  Windows 7 : Understanding the User Account Control - INTERACTING WITH THE UAC
  •  Windows 7 : Understanding the User Account Control
  •  
    Top 10
    3 Tips for Maintaining Your Cell Phone Battery (part 2) - Discharge Smart, Use Smart
    3 Tips for Maintaining Your Cell Phone Battery (part 1) - Charge Smart
    OPEL MERIVA : Making a grand entrance
    FORD MONDEO 2.0 ECOBOOST : Modern Mondeo
    BMW 650i COUPE : Sexy retooling of BMW's 6-series
    BMW 120d; M135i - Finely tuned
    PHP Tutorials : Storing Images in MySQL with PHP (part 2) - Creating the HTML, Inserting the Image into MySQL
    PHP Tutorials : Storing Images in MySQL with PHP (part 1) - Why store binary files in MySQL using PHP?
    Java Tutorials : Nested For Loop (part 2) - Program to create a Two-Dimensional Array
    Java Tutorials : Nested For Loop (part 1)
    REVIEW
    - First look: Apple Watch

    - 3 Tips for Maintaining Your Cell Phone Battery (part 1)

    - 3 Tips for Maintaining Your Cell Phone Battery (part 2)
    VIDEO TUTORIAL
    - How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 1)

    - How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 2)

    - How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 3)
    Popular Tags
    Microsoft Access Microsoft Excel Microsoft OneNote Microsoft PowerPoint Microsoft Project Microsoft Visio Microsoft Word Active Directory Biztalk Exchange Server Microsoft LynC Server Microsoft Dynamic Sharepoint Sql Server Windows Server 2008 Windows Server 2012 Windows 7 Windows 8 Adobe Indesign Adobe Flash Professional Dreamweaver Adobe Illustrator Adobe After Effects Adobe Photoshop Adobe Fireworks Adobe Flash Catalyst Corel Painter X CorelDRAW X5 CorelDraw 10 QuarkXPress 8 windows Phone 7 windows Phone 8 BlackBerry Android Ipad Iphone iOS