How we monitor/get the Microsoft NLB Nodes state and its configuration?

How we monitor/get the Microsoft NLB Nodes state and its configuration?

To find Node Status :

We run a serverNlb.vbs in WMI mode to get the state of the corresponding NLB Node. Here is a sample output:

Microsoft (R) Windows Script Host Version 5.812
Copyright (C) Microsoft Corporation. All rights reserved.

CONF_NLB_STATE:1008

Here 1008 represents the status code.

Status Codes :

0             REMOTE       Node is remote. The StatusCode value cannot be retrieved
1005     STOPPED       Cluster operations have stopped on at least one node
1006     CONVERGING       The cluster is converging
1007     CONVERGED       The cluster has converged successfully
1008     DEFAULT       The specified node has converged as the default host
1009     DRAINING               One or more nodes are draining
1013             SUSPENDED       Cluster operations have been suspended on one or more nodes

To find Configuration information :

The same script will also return the configuration information of the current node. Here is a sample output:

Microsoft (R) Windows Script Host Version 5.812
Copyright (C) Microsoft Corporation. All rights reserved.

CONF_NLB_DEDICATED_IP:192.168.140.11
CONF_NLB_SUBNET_MASK:255.255.255.0
CONF_NLB_PRIORITY:1
CONF_NLB_PORTS:3
CONF_NLB_CLUSTER_NAME:com.nlb.test
CONF_NLB_CLUSTER_IP:192.168.140.10
CONF_NLB_CLUSTER_SUBNET_MASK:255.255.255.0
CONF_NLB_CLUSTER_MAC:aa-aa-aa-aa-aa-aa
CONF_NLB_CLUSTER_GUID:AAAAAAAA-AAAA-AAAA-AAAA-AAAAAAAAAAAA
          • Related Articles

          • Troubleshooting URL Monitor

            Here are few of the common errors you may come across in URL monitor, we have mentioned the steps you can follow to troubleshoot them.   General troubleshooting for URL monitor Ensure that the URL is accessible from the server in which Applications ...
          • Troubleshooting 'NLB is not configured in this Server' issue

            The following conditions must be met before you can proceed to troubleshoot NLB nodes: 1. The node has successfully been added via WMI. 2.WMI is working properly on the remote server. Using wbemtest.exe to troubleshoot WMI: 1. Open wbemtest.exe, ...
          • Microsoft Azure VM - Enabling Diagnostics extension for Windows & Linux VMs

            Steps to enable Diagnostics extension for Windows VMs 1.Log in to Azure Portal (https://portal.azure.com) using the credentials of 'Administrator'. 2.Navigate to your virtual machine. 3.Click on 'Diagnostics settings' on the vertical pane. Select ...
          • Unable to add Microsoft Teams monitor

            To resolve the issue, follow the steps given below: 1. Make sure all Microsoft 365 prerequisites are met. 2. Follow the steps mentioned in the following link and obtain the ...
          • No data for 'Member Count' metric under 'Channels Details' in Microsoft Teams monitor

            Issue: No data is shown for 'Member count' metric under the 'Channel details' table while there is data for all other metrics in Microsoft Teams monitor. Solution: To resolve the issue, follow the steps given below: Check whether the prerequisites ...