Oracle® Traffic Director Command-Line Reference 11g Release 1 (11.1.1.7) Part Number E21037-03 |
|
|
PDF · Mobi · ePub |
tadm create-cache-rule common_options --config=config_name --vs=vs_name [--condition=expr] cache_rule_name
Use this command to create a cache 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 cache rule.
--vs|-s
Specify the virtual server.
--condition|-C
Specify the condition for creating the cache rule.
cache-rule-name
Specify the cache rule name.
tadm create-cache-rule --user=admin --password-file=./admin.passwd --host=admin.example.com --port=8989 --no-prompt --config=www.example.org --vs=soa.example.org cache-rule-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-cache-rule, get-cache-prop, get-cache-rule-prop, list-cache-rules