Intel 480T Switch User Manual


 
C H A P T E R 18 Server Load Balancing (SLB)
367
create slb vip myssl3 pool site3web mode
transparent 192.168.201.4:443
The next example demonstrates the series of commands you would
use to create an FTP site.
The site is defined as having two servers: 192.168.200.3 and
192.168.200.4. Only FTP is being serviced by the servers. The two
different VIPs and port numbers refer to the control and data
channels used by the FTP service. Two VIPs are then created to
point at the appropriate pools.
As with the first site, the default load balancing method (round-
robin) is used. Layer 7 health checking is used on the ftpC VIP. By
using health checking, the switch logs in to the site as user test with
the password testpass.
If the login is successful, the server is labeled up and is allowed to
participate in load balancing. The account and password must be set
up on all FTP servers. Use these commands:
create slb pool ftp1c
configure slb ftp1c add 192.168.200.3:21
configure slb ftp1c add 192.168.200.4:21
create slb pool ftp1d
configure slb ftp1d add 192.168.200.3:20
configure slb ftp1d add 192.168.200.4:20
create slb vip ftpc pool ftp1c mode transparent
192.168.201.2:21
create slb vip ftpd pool ftp1d mode transparent
192.168.201.2:20
enable slb vip ftpc service-check
configure slb vip ftpc service-check ftp user test
password testpass
Finally, enable SLB and configure the VLANs as either client or
server, using these commands.
enable slb
configure vlan outside slb-type client
configure vlan servers slb-type server