HP e-Commerce / XML director server appliance sa8250 - Users Guide
C H A P T E R 6 HP e-Commerce/XML Director Server Appliance SA8250 User Guide
240
3. To move the prompt to that level, type the name of the new
policy group:
HP SA8250/config/policygroup#gold
Add HTTP Service and VIP
1. To add HTTP service to policy group gold, type this command:
HP SA8250/config/policygroup/gold#
service create http vip 30.1.1.201 port 80
This command creates a new HTTP service on the SA8250 at IP
address 30.1.1.201, listening on TCP port 80.
2. To move the prompt to the level of the specific service (“http”),
type this command:
HP SA8250/config/policygroup/gold#service http
Add Servers to the HTTP Service
1. To add server “serv1.acme.com” to the HTTP service, type this
command:
HP SA8250/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 SA8250 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 SA8250/config/policygroup/gold/service/http#
server create serv2.acme.com port 80
Server serv2.acme.com port 80 has been created.
The SA8250 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 SA8250 balances the fulfillment of those requests
across serv1.acme.com and serv2.acme.com.