tadm get-origin-server-prop common_options --config=config_name --origin-server-pool=origin_server_pool_name --origin-server=host:port (property_name)*
Use this command to view origin server properties.
For information about common_options
, run the help command.
--config|-c
Specify the configuration for which you want to view the origin server properties.
--origin-server-pool|-o
Specify the name of the origin-server pool for which you want to view the origin server properties.
--origin-server|-O
Specify the origin server of the format host:port
property-name
Specify the name of the property that you want to view (Optional).
You can view the following origin server properties:
enabled host port weight backup max-connections ramp-up-time
tadm get-origin-server-prop --user=admin --host=admin.example.com --password-file=./admin.passwd --port=8989 --no-prompt --config=www.example.org --origin-server-pool=test-pool --origin-server=www.mail2.com:8080 weight
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, create-origin-server, delete-origin-server, list-origin-servers, set-origin-server-prop