Create a load balancing virtual server
Create a load balancing virtual server by using the CLI
- add lb vserver <name> <serviceType> [<IPAddress>] [<port>]
- show lb vserver [<name>]
> add lb vserver Vserver-LB-CR HTTP 10.102.20.30 80
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:00:08.470
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 : 0 (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
Done
Create a load balancing virtual server by using the GUI
-
Navigate to Traffic Management > Load Balancing > Virtual Servers.
-
In the details pane, click Add.
-
In the Create Virtual Server (Load Balancing) dialog box, specify values for the following parameters as shown:
-
Name*-name
-
IP Address*- IPAddress
-
Port*-port
*A required parameter -
-
In the Protocol list, select a supported protocol (for example, HTTP). If the virtual server is to receive traffic on a port other than the well-known port for the selected protocol, enter a new value in the Port field.
-
Click Create, and then click Close. The Load Balancing Virtual Servers pane displays the new virtual server.