beautypg.com

HP Traffic Director sa7220 User Manual

Page 177

background image

C H A P T E R 5

Policy Group Commands

165

config policygroup
service balancing

Changes the load balancing algorithm. The default algorithm is
"load."

config policygroup service

balancing [robin | load]

where:

policy-name

is the name of an existing Policy Group

service-name

is the name of the service

robin

directs the service to use the round-robin load

balancing algorithm

load

directs the service to use the response time load

balancing algorithm.

config policygroup
service create

NOTE: The VIP/port
combination must be
unique. The service type
defaults to TCP unless
specified otherwise on the
command line. The

service-name

,

ipaddr

,

and

port

cannot be

changed once you enter this
command.

Creates a service. The default type is TCP.

Config policygroup service create

vip port {type

[TCP | UDP | RICH_HTTP]}

where:

policy-name

is the name of an existing Policy Group

service-name

is the name of the service you want to create

ipaddr

is the virtual IP address (xxx.xxx.xxx.xxx)

port

is the listening port for incoming connections. You can

select port numbers between 1 and 65535.

config policygroup
service delete

Deletes an existing service.

config policygroup service delete

| -all

where:

policy-name

is the name of the Policy Group that contains

the service to be deleted

service-name

is the service to be deleted

-all

deletes all services and associated servers

Command

Description