Beruflich Dokumente
Kultur Dokumente
Overview
After completing this module, you will be able to:
Explain basic load-balancing concepts for a NetScaler system.
Configure a basic load-balancing setup.
Explain why monitors are used in a load-balancing configuration.
Identify the different load-balancing methods.
Identify the different session persistence methods.
Verify the load balancing configuration
Entity Management
Entities in the NetScaler system are any configurable objects that are used with
NetScaler features:
Server
Service
Service Group
Load-Balancing Virtual Server
Monitor
SRV_1
10.10.1.3
svc_1
Protocol + Port
Monitor
Service-1
LB_RGB
VIP
Protocol + Port
Load Balancing Methods
vServer
Service-2
SRV_2
10.10.1.4
10.10.1.3
S
W
svc_2
Protocol + Port
Monitor
FTP
HTTP
SQL
RDP
10.10.1.4
svc_3
Protocol + Port
Monitor
Service-3
FTP
HTTP
SQL
RDP
10.10.1.5
SRV_3
10.10.1.5
FTP
HTTP
SQL
RDP
Server Creation
You can create servers explicitly as named entities before creating services. You
then create the service and reference the existing server object.
If you create the service first, the system automatically creates a server object
based on the IP address used when configuring the service
Server Monitoring
The purpose of service monitoring is to check the state of the services
periodically. Monitors specify the type of requests sent to a service and the
expected response from the server; this probe is known as a health check.
Services Creation
A service entity represents an application running on a server entity and is
identified by a unique IP address/port combination. The service defines the traffic
type between the NetScaler system and a server. Services must be bound to
virtual servers before the NetScaler system is able to load balance incoming
traffic between servers.
10
11
Traffic Types
You can configure a load-balancing virtual server to support any number of traffic
types. You can also configure multiple load-balancing servers to support different
services on the same virtual IP address.
12
Built-In Monitors
The NetScaler system contains a number of built-in monitors that you can use to
monitor your services
These built-in monitors handle most of the common protocols
You cannot modify or remove the built-in monitors; you can only bind a built-in
monitor to a service and unbind it from the service
13
Monitor Parameters
Two types of parameters can be configured for monitors:
Parameters that are standard and apply to all monitors, regardless of type
Parameters that are specific to the type of monitor being defined
14
Creating Monitors
You can create a monitor on the NetScaler system by specifying the monitor
name, monitor type, and values for appropriate parameters.
15
HTTP Monitoring
The parameters for the HTTP monitor can be configured as follows:
HTTP Request
Response Codes
16
18
19
Custom Monitors
In addition to built-in monitors, you can create custom monitors, either based on
the built-in monitors or from scratch, to check the state of your services.
20
21
Round Robin
Round robin distributes traffic based on a server-rotation system, regardless of
load.
This method is sufficient if all requests result in the same load on servers, but in
most cases, a more robust load-balancing method based on metrics should be
used.
22
23
Service Weights
In a load-balancing configuration, you assign weights to services to indicate the
percentage of traffic that should be sent to each service.
Service weights can be configured for the following load-balancing methods:
Least Connections
Round Robin
Least Bandwidth
Least Packets
Least Response Time
24
25
26
Persistence Tables
Session persistence information for each session is stored on the NetScaler
system in a persistence table
The following information is displayed in the table.
Persistence type
Source IP address
Destination IP address
Destination port
Virtual server name
27
28
29
30
31