366
Intel
®
NetStructure™ 480T Routing Switch User Guide
enable slb node 192.168.200.2:443 tcp-port-check
The next series of commands creates a second Web site. This
second site is similar to the first example; the difference is that
content checking is enabled on this site. For this type of health
checking, the server downloads a specified page (/testpage.htm) and
looks for a specific string in the content (
“test successful”). If
it finds the string, the server is considered online.
Use these commands:
create slb pool site2web
configure slb site2web add 192.168.200.5:80
configure slb site2web add 192.168.200.6:80
create slb pool site2ssl
configure slb site2ssl add 192.168.200.5:443
configure slb site2ssl add 192.168.200.6:443
create slb vip myweb2 pool site2web mode
transparent 192.168.201.3:80
create slb vip myssl2 pool site2ssl mode
transparent 192.168.201.3:443
enable slb vip myweb2 service-check
configure slb vip myweb2 service-check http url
“/testpage.htm” match-string “test successful”
The following series of commands creates a third Web site. This
example creates one pool with a wildcard port specified. This means
that the pool allows any port that is sent to it by the VIP. All five
servers respond to requests on both port 80 and port 443.
Note: Port 0 the wildcard
port.
Use these commands:
create slb pool site3web
configure slb site3web add 192.168.200.7:0
configure slb site3web add 192.168.200.8:0
configure slb site3web add 192.168.200.9:0
configure slb site3web add 192.168.200.10:0
configure slb site3web add 192.168.200.11:0
create slb vip myweb3 pool site3web mode
transparent 192.168.201.4:80