Oracle® Traffic Director Command-Line Reference 11g Release 1 (11.1.1.7) Part Number E21037-03 |
|
|
PDF · Mobi · ePub |
tadm create-route common_options --origin-server-pool=pool_name --config=config_name --vs=vs_name [--condition=expr] route_name
Use this command to create a route. Based on the condition specified while creating a route, the load balancing requests are routed to the specified origin-server pool. A default route is created when a virtual-server is created.
For information about common_options
, run the help command.
--origin-server-pool|-o
Specify the name of the origin-server pool to which the load balancing requests must be routed.
--config|-c
Specify the name of the configuration for which you want to create route rule.
--vs|-s
Specify the name of the virtual server.
--condition|-C
Specify the condition for the route rule.
route-name
Specify the route name.
tadm create-route --user=admin --host=admin.example.com --password-file=./admin.passwd --port=8989 --no-prompt --config=www.example.org --vs=soa.example.org route-1
The following exit values are returned:
0: command executed successfully
>0: error in executing the command
For more information about exit codes and syntax notations, run the help command.
help, delete-route, list-routes, get-route-prop, set-route-prop