| Oracle® Traffic Director Command-Line Reference 11g Release 1 (11.1.1.7) Part Number E21037-03 |
|
|
PDF · Mobi · ePub |
tadm create-variable common_options [--vs=vs_name] [--description=text] --config=config_name (var_name=value)+
Use this command to create a server.xml variable. You can create a variable at the server as well as the virtual server levels. The variable element defines a variable for use in expressions, log formats, and obj.conf parameters.
For information about common_options, run the help command.
--vs|-sSpecify the name of the virtual server for which you want to create a variable.
--description|-DSpecify the description of the server.xml variable that you want to create.
--config|-cSpecify the name of the configuration for which you want to create a variable.
var-name=value
Specify name=value pairs for one or more properties that you want to define. The name=value pairs should be separated by spaces.
tadm create-variable --user=admin --host=admin.example.com --password-file=./admin.passwd --port=8989 --no-prompt --config=www.example.org foo=bar
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.