Configure sessionless load balancing virtual servers
Supported setup
Service Types
-
ANY for MAC-based redirection
-
ANY, DNS, and UDP for IP-based redirection
Load Balancing Methods
-
Round Robin
-
Least Bandwidth
-
LRTM (Least response time method)
-
Source IP Hash
-
Destination IP Hash
-
Source IP Destination IP Hash
-
Source IP Source Port Hash
-
Custom Load
Limitations
-
The appliance must be deployed in two-arm mode.
-
A service must be bound to only one virtual server.
-
Sessionless load balancing is not supported for service groups.
-
Sessionless load balancing is not supported for domain based services (DBS services).
-
Sessionless load balancing in the IP mode is not supported for a virtual server that is configured as a backup to a primary virtual server.
-
You cannot enable spillover mode.
-
For all the services bound to a sessionless load balancing virtual server, the Use Source IP (USIP) option must be enabled.
-
For a wildcard virtual server or service, the destination IP address is not changed.
-
While configuring a virtual server for sessionless load balancing, explicitly specify a supported load balancing method. The default method, Least Connection, cannot be used for sessionless load balancing.
-
To configure sessionless load balancing in MAC-based redirection mode on a virtual server, the MAC-based forwarding option must be enabled on the NetScaler appliance.
To add a sessionless virtual server by using the CLI
add lb vserver <name>@ <serviceType> <IPAddress>@ <port> -m <redirectionMode> -sessionless <(ENABLED|DISABLED)> -lbMethod <load_balancing_method>
show lb vserver <name>
add lb vserver sesslessv1 any 11.11.12.123 54 -sessionless ENABLED -lbMethod roundrobin -m ip
Done
show lb vserver sesslessv1
sesslessv1 (11.11.12.123:54) - ANY Type: ADDRESS
State: DOWN
...
Effective State: DOWN
Client Idle Timeout: 120 sec
Down state flush: ENABLED
...
Persistence: NONE
Sessionless LB: ENABLED
Connection Failover: DISABLED
L2Conn: OFF
1) Policy : cmp_text Priority:8680 Inherited
2) Policy : cmp_nocmp_ie60 Priority:8690 Inherited
To configure sessionless load balancing on an existing virtual server
set lb vserver <name>@ -m <redirectionMode> -sessionless <(ENABLED|DISABLED)> -lbMethod <load_balancing_method>
Example
set lb vserver sesslessv1 -m mac -sessionless ENABLED -lbmethod lrtm
Done
-m MAC option is enabled, you must bind a non-user monitor.
To configure a sessionless virtual server by using the GUI
-
Navigate to Traffic Management > Load Balancing > Virtual Servers.
-
Open the virtual server, and in Advanced Settings, click Traffic Settings, and then select Sessionless Load Balancing.