Extreme Networks Px Series Switch User Manual


 
Px Series Application Switch Installation and Configuration Guide 7-3
Domain and URL Switching
Figure 7-2: Domain switching example
The Px series application switch uses a single VIP, located at 192.1.1.1:80, to service all
three domains.
When the client request arrives, the application switch examines the request to
determine the domain name being requested. In Figure 7-2, the domain name requested
is
www.speakyourmind.net.
Using domain name switching, the application switch matches the domain name to
server group 2. The application switch then uses the configuring server load balancing
policy (round robin, weighted round robin, least connections, or weighted least
connections) to select a particular server within the server group. The request is then
forwarded to the selected server in server group 2.
The following configuration shows the commands used to configure the combination of
the three websites. Another server group,
mainpage, contains a page that allows the
user to self-select, just in case the domain specified by the user does not match either of
the three. This could happen, for example, if the actual IP address is used instead of a
host name.
config service vip 10.65.31.202 port 8080 proto tcp l7 class http
WS_006
Server Group 1
www.buystuff.com
Server Group 2
www.speakyourmind.net
www.speakyourmind.net
Server Group 3
www.buythisnow.net
Client
192.1.1.1:80