Freigeben über


Disable or Enable All Network Load Balancing Traffic Handling for Specific Ports

Applies To: Windows Server 2008, Windows Server 2008 R2

The procedures below describe how to disable and immediately block all Network Load Balancing (NLB) traffic handling. When you disable all traffic handling, all ports specified by the port rule are affected. After you disable NLB traffic handling, you can enable it at any time.

Disabling or enabling all Network Load Balancing traffic handling for specific ports

  • Using the Windows interface

  • Using a Command Prompt window

To disable or enable all Network Load Balancing traffic handling for specific ports by using the Windows interface

  1. To open NLB Manager, click Start, click Administrative Tools, and then click Network Load Balancing Manager. You can also open NLB Manager by typing Nlbmgr at a command prompt.

  2. If NLB Manager does not already list the cluster, connect to the cluster.

  3. Right-click a host or a cluster, and then click Control Ports.

  4. To disable specific ports, select the port rule that contains the ports that you want to disable, and then click Disable.

    To enable all traffic handling, select the port rule that contains the ports that you want to enable, and then click Enable.

Additional considerations

  • When you are using Network Load Balancing (NLB) Manager, you must be a member of the Administrators group on the host that you are configuring, or you must have been delegated the appropriate authority. If you are configuring a cluster or host by running NLB Manager from a computer that is not part of the cluster, you do not have to be a member of the Administrators group on that computer.

  • This procedure has no effect if the specified hosts have not started cluster operations.

Additional references

Disable New Network Load Balancing Traffic Handling for Specific Ports

Suspend or Resume Network Load Balancing

Controlling Hosts on Network Load Balancing Clusters

To disable or enable all Network Load Balancing traffic handling for specific ports by using a Command Prompt window

  1. To open a Command Prompt window, click Start, right-click Command Prompt, and then either click Run as administrator or Open.

  2. Type one of the following commands:

    • To disable all traffic handling for specific ports, type:

      nlb.exe disable vip[:port|:all] | all[:port|:all] cluster[:host]| all [local|global]
      
    • To enable all traffic handling for specific ports, type:

      nlb.exe enable vip[:port|:all] | all[:port|:all] cluster[:host]| all [local|global]
      

Additional considerations

  • When you are using Network Load Balancing (NLB) Manager, you must be a member of the Administrators group on the host that you are configuring, or you must have been delegated the appropriate authority. If you are configuring a cluster or host by running NLB Manager from a computer that is not part of the cluster, you do not have to be a member of the Administrators group on that computer.

  • This procedure has no effect if the specified hosts have not started cluster operations.

Additional references

Disable New Network Load Balancing Traffic Handling for Specific Ports

Suspend or Resume Network Load Balancing

Controlling Hosts on Network Load Balancing Clusters