C H A P T E R 5
Command
config policygroup
service balancing
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.
config policygroup
service delete
Description
Changes the load balancing algorithm. The default algorithm is
"load."
config policygroup <policy-name> service
<service-name> 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.
Creates a service. The default type is TCP.
Config policygroup <policy-name> service create
<service-name> vip <ipaddr> port <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.
Deletes an existing service.
config policygroup <policy-name> service delete
<service-name> | -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
Policy Group Commands
165