Product Documentation

Binding/Unbinding a Service to/from a Load Balancing Virtual Server

Aug 31, 2016
You must bind a service to the load balancing virtual server. This enables the load balancer to forward the request to the server that the service represents. If your configuration changes, you can unbind a service from the load balancing virtual server.

To bind a service to a load balancing virtual server by using the command line interface

At the command prompt, type:

  • bind lb vserver <name> <serviceName>
  • show lb vserver [<name>]

Example

 
> bind lb vserver vserver-LB-CR service-HTTP-1 
 Done 
> show lb vserver Vserver-LB-CR 
        Vserver-LB-CR (10.102.20.30:80) - HTTP  Type: ADDRESS 
        State: DOWN 
        Last state change was at Fri Jul  2 08:47:52 2010 
        Time since last state change: 0 days, 00:42:25.610 
        Effective State: DOWN 
        Client Idle Timeout: 180 sec 
        Down state flush: ENABLED 
        Disable Primary Vserver On Down : DISABLED 
        Port Rewrite : DISABLED 
        No. of Bound Services :  1 (Total)       0 (Active) 
        Configured Method: LEASTCONNECTION 
        Mode: IP 
        Persistence: NONE 
        Vserver IP and Port insertion: OFF 
        Push: DISABLED  Push VServer: 
        Push Multi Clients: NO 
        Push Label Rule: none 
 
1) Service-HTTP-1 (10.102.29.40: 80) - HTTP State: DOWN Weight: 1 
 Done 
> 

To unbind a service from a load balancing virtual server by using the command line interface

To unbind a service, use the unbind lb vserver command instead of bind lb vserver.

To bind/unbind a service from a load balancing virtual server by using the configuration utility

  1. Navigate to Traffic Management > Load Balancing > Virtual Servers
  2. In the details pane, select the virtual server from which you want to bind/unbind the service, and then click Open.
  3. On the Services tab, in the Active column, select/clear the check box next to the Service Name.
  4. Click OK.