beautypg.com

HP Traffic Director sa7220 User Manual

Page 225

background image

C H A P T E R 6

e-Commerce Appliance Scenarios

213

Add Servers to the HTTP Service

1. To add server “serv1.acme.com” to the HTTP service, type this

command:

HP SA8220/config/policygroup/gold/service/http#

server create serv1.acme.com port 80

Server serv1.acme.com port 80 has been created.

This command tells the SA8220 that serv1.acme.com can fulfill
requests arriving at 30.1.1.201 on port 80.

2. To add server “serv2.acme.com,” type this command:

HP SA8220/config/policygroup/gold/service/http#

server create serv2.acme.com port 80

Server serv2.acme.com port 80 has been created.

The SA8220 is now configured for load balancing a Web site
with two servers. When HTTP requests arrive at VIP 30.1.1.201
on port 80, the SA8220 balances the fulfillment of those requests
across serv1.acme.com and serv2.acme.com.