Intel 480T Switch User Manual


 
C H A P T E R 18 Server Load Balancing (SLB)
365
configure vlan sites ipaddress 192.168.201.254 /24
All VIPs is configured to use this subnet. There are no ports
associated with this VLAN.
You can use these commands to create the VLAN servers and
enable IP forwarding:
create vlan servers
configure vlan servers ipaddress 192.168.200.254 /
24
configure vlan servers add ports 9-16
enable ipforwarding
The next example shows a series of commands used to create a Web
site. The site is defined as having 2 servers: 192.168.200.1 and
192.168.200.2, each with 2 services (HTTP and SSL).
Two VIPs (virtual IP addresses) are then created to point at the
appropriate pools. As a default, round-robin is used to load balance
the services.
Only one IP address is used for both VIPs; the difference is the port
number. Finally, port checking is enabled to ensure fault tolerance
on each of the servers.
Use these commands:
create slb pool site1web
configure slb site1 add 192.168.200.1:80
configure slb site1 add 192.168.200.2:80
create slb pool site1ssl
configure slb site1 add 192.168.200.1:443
configure slb site1 add 192.168.200.2:443
create slb vip myweb pool site1web mode
transparent 192.168.201.1:80
create slb vip myssl pool site1ssl mode
transparent 192.168.201.1:443
enable slb node 192.168.200.1:80 tcp-port-check
enable slb node 192.168.200.2:80 tcp-port-check
enable slb node 192.168.200.1:443 tcp-port-check