HP Multi-Site Traffic Director sa9200 User Manual
Page 55
![background image](/manuals/397995/55/background.png)
C H A P T E R 4
Scenario 2
49
In this scenario, the services available on a single Web site have been
divided into three different hostnames: www (HTTP), wwwsecure
(HTTPS), and ftp (FTP). Another advantage of dividing the service
types like this is that each hostname can be configured to use a
different balancing method. Typically FTP traffic has fewer
connections, but longer connection times. This is ideal for balancing
by Least Connections. Secure traffic (HTTPS) or Layer 7 load
balancing (Rich Mode) can place a heavy burden on the load
balancers. This is ideal for balancing by CPU Utilization. Layer 4
load balancing is typically many short duration connections. In this
case, response time can be used as a direct measure of the actual
server farms loading. This is ideal for balancing by Response Time.
The mapping of services to hostnames is also the easiest place to
designate a service standby. If the service had been designated as
standby in the agent record when it was first configured, it would
have no effect. The standby command for an agent or ISV Group is
a shortcut to placing that service in standby in all the hostnames that
use that service at the time the command is issued.
HP SA9200/config/dns/zones# div1.mstd-ex.com
hostnames
HP SA9200/config/dns/zones/div1.mstd-ex.com/
hostnames# create www
Host www created
HP SA9200/config/dns/zones/div1.mstd-ex.com/
hostnames# www
HP SA9200/config/dns/zones/div1.mstd-ex.com/
hostnames/www# method avgresp
Load Balancing Method set to avgresp
HP SA9200/config/dns/zones/div1.mstd-ex.com/
hostnames/www# siteservices
HP SA9200/config/dns/zones/div1.mstd-ex.com/
hostnames/www/siteservices# map
site1:10.1.1.100:80
Site Service mapped
HP SA9200/config/dns/zones/div1.mstd-ex.com/
hostnames/www/siteservices# map
site2:10.1.2.100:80
Site Service mapped
HP SA9200/config/dns/zones/s/div1.mstd-ex.com/
hostnames/www/siteservices# map
backupsite:10.1.4.100:80
Site Service mapped