Oracle® Traffic Director Command-Line Reference 11g Release 1 (11.1.1.7) Part Number E21037-03 |
|
|
PDF · Mobi · ePub |
tadm create-request-limit common_options --config=config_name --vs=vs_name (--max-rps=x | --max-connections=c) [--condition=expr] request_limit_name
Use this command to create a request limit rule.
For information about common_options
, run the help command.
--config|-c
Specify the name of the configuration for which you want to create a request limit rule.
--vs|-s
Specify the name of the virtual server.
--max-rps|-r
Specify the maximum requests per second.
--max-connections|-x
Specify the maximum number of concurrent connections to a server. Values are 0 or a positive integer. Default: 0. The maximum allowable value is 20480.
--condition|-C
Specify the condition for the request limit.
request-limit-name
Specify the request limit rule name.
tadm create-request-limit --user=admin --host=admin.example.com --password-file=./admin.passwd --port=8989 --no-prompt --config=www.example.org --vs=soa.example.org --max-connections=25 request-limit-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-request-limit, list-request-limits, get-request-limit-prop, set-request-limit-prop