
Chapter 4: Configuring the High-Level Network
4-38
Using IP addresses and Fully Qualified Domain Names
When redirecting traffic to a fallback host, you can specify the fallback host
as an IP address or as a fully qualified domain name (FQDN). In either case,
it may include a port number. The example in Figure 4.7 redirects the
request to http://redirector.sam.com.
Note
The HTTP redirect mechanism is not a load balancing method. The redirect
URL may be a virtual server pointing to the requested HTTP content, but
this is not implicit in its use.
Table 4.6 shows how different fallback host specifications are resolved.
pool my_pool {
member 10.12.10.1:80
member 10.12.10.2:80
member 10.12.10.3:80
fallback redirector.sam.com
}
Figure 4.7 Fallback host in a pool
Requested URL
Fallback Host
Specification
Redirect URL
http://www.sam.com/ fallback.sam.com http://falback.sam.com/
http://www.sam.com/ fallback.sam.com:8002 http://fallback.sam.com:8002/
http://www.sam.com:8001 fallback.sam.com http://fallback.sam.com/
http://www.sam.com:8001/ fallback.sam.com:8002 http://fallback.sam.com:8002/
http://www.sam.com/sales fallback.sam.com http://fallback.sam.com/sales
http://192.168.101.3/ fallback.sam.com http://fallback.sam.com/
http://192.168.101.3/sales fallback.sam.com http://fallback.sam.com/sales
http://www.sam.com/sale 192.168.101.5 http://192.168.101.5/sales
http://192.168.101.3/sales/default.asp?q=6 fallback.sam.com http://fallback.sam.com/sales/default.asp?q=6
Table 4.6 How the fallback host specifications are resolved
Kommentare zu diesen Handbüchern