HP Traffic Director sa7220 User Manual
Page 234
C H A P T E R 6
HP Traffic Director Server Appliances User Guide
222
Create a Policy Group
1. To create a policy group, first move the prompt to the policy
group level by typing this command:
HP SA8220#config policygroup
2. To specify the new policy group's name (“richtest” in this
example), type this command:
HP SA8220/config/policygroup#create richtest
3. To move the prompt to the new policy group's level, type this
command:
HP SA8220/config/policygroup#richtest
Add RICH_HTTP Service and VIP
1. To add RICH_HTTP service (with a virtual IP address of
10.1.1.201 on port 80) to policy group richtest, type this
command:
HP SA8220/config/policygroup/richtest#
service create rich vip 30.1.1.201 port 80 type
RICH_HTTP
This creates a new RICH service on the SA8220 using the
RICH_HTTP protocol, at IP address 30.1.1.201, listening on
TCP port 80.
2. To move the prompt to the service level, type
service rich
:
HP SA8220/config/policygroup/richtest#service
rich
Add Servers to the RICH Service
1. To add “serv1” to the rich service, type this command:
HP SA8220/config/policygroup/richtest/service/
rich#server create serv1.prime.com port 80
Server serv1.prime.com port 80 has been created.
This tells the SA8220 that serv1.prime.com can fulfill requests
arriving at 10.1.1.201 on port 80.