3-20
T-Series Traffic Director Installation, Configuration and Administration Guide
Chapter 3 Basic T1000/Unison Load-Balancing Configuration
To create services for Server Load Balancing from the CLI:
Server load balancing pools typically listen to specific service ports. For instance, a pool of
HTTP servers typically handles requests to port 8080 (TCP port configured as
explicity-proxy port on the OSN) while a pool of HTTP proxy servers typically handles
request to port 3128.
The following example applies server load balancing to port 8080 of the OSN ingress
servers, and applies server load balancing to the T1000 egress servers.
>
add service ingress1proxy OSN1-ingress HTTP 8080 -gslb NONE -maxClient 0 -maxReq
0 -cip DISABLED -usip YES -useproxyport NO -sp OFF -cltTimeout 180 -svrTimeout 360
-CKA NO -TCPB NO -CMP NO
Done
>
add service ingress2proxy OSN2-ingress HTTP 8080 -gslb NONE -maxClient 0 -maxReq
0 -cip DISABLED -usip YES -useproxyport NO -sp OFF -cltTimeout 180 -svrTimeout 360
-CKA NO -TCPB NO -CMP NO
Done
>
add service ingress3proxy OSN3-ingress HTTP 8080 -gslb NONE -maxClient 0 -maxReq
0 -cip DISABLED -usip YES -useproxyport NO -sp OFF -cltTimeout 180 -svrTimeout 360
-CKA NO -TCPB NO -CMP NO
Done
>
add service server1service server1 ANY * -gslb NONE -maxClient 0 -maxReq 0 -cip
DISABLED -usip YES -useproxyport NO -sp OFF -cltTimeout 120 -svrTimeout 120 -CKA
NO -TCPB NO -CMP NO
Done
Creating Virtual Servers
After creating services, a virtual server must be created to accept traffic for the load
balanced servers. The following examples show how to defines services per server for
firewall or server load balancing.
To create virtual servers for Firewall Load Balancing from the CLI:
For firewall load balancing, the
add lb vserver
has the following syntax for adding a virtual
server:
add lb vserver
name
serviceType
[(
IPAddress
port
[
-range
positive_integer
]) |
(
-IPPattern
ippat
-IPMask
ipmask
)] [
-persistenceType
persistenceType
]
[
-lbMethod
lbMethod
] [
-Listenpolicy
expression
]
[
-m
m
] [
-cltTimeout
secs
]
[
-l2Conn
{ON | OFF}]
The following example creates a pair of virtual servers for the two ingress interfaces, using
the roundrobin load balancing method.
>
add lb vserver Ingress ANY * * -persistenceType SOURCEIP -lbMethod ROUNDROBIN
-timeout 30 -Listenpolicy "CLIENT.VLAN.ID.EQ(151)" -Listenpriority 1 -m MAC
-cltTimeout 120 -l2Conn ON
Done
>
add lb vserver Egress ANY * * -persistenceType SOURCEIP -lbMethod ROUNDROBIN
-Listenpolicy "CLIENT.VLAN.ID.EQ(200)" -Listenpriority 2 -m MAC -cltTimeout 120
-l2Conn ON
Done
The T1000 supports advanced listen policies. For example, if one wants to push just HTTP
and ICMP traffic to the Unison cluster, while bypassing the rest of the traffic adjust the
ingress vserver listen policy accordingly. For example (optional):
Summary of Contents for ByteMobile T1010
Page 10: ...x T Series Traffic Director Installation Configuration and Administration Guide...
Page 14: ...Contents xiv T Series Traffic Director Installation Configuration and Administration Guide...
Page 172: ...Index Index 4 T Series Traffic Director Installation Configuration and Administration Guide...