Skip Headers
Oracle® Traffic Director Command-Line Reference
11g Release 1 (

Part Number E21037-03
Go to Documentation Home
Go to Book List
Book List
Go to Table of Contents
Go to Index
Go to Feedback page
Contact Us

Go to previous page
Go to next page
PDF · Mobi · ePub



tadm set-origin-server-prop common_options --config=config_name --origin-server-pool=origin_server_pool_name --origin-server=host:port (property_name=property_value)+


Use this command to set the properties of an origin-server.


For information about common_options, run the help command.


Specify the configuration for which you want to set origin-server properties.


Specify the name of the origin-server pool for which you want to set the origin-server properties.


Specify an origin server in the format host:port



Specify name=value pairs for one or more properties that you want to define. The name=value pairs should be separated by spaces.

You can set the following origin server properties:

enabled: Specifies whether the requests can be routed to this origin server.
Values: true, false. Default: true.

host: Specifies the host name or the IP address of the origin server.
Values: String.

port: Specifies the port number of the origin server.
Values: Integer. 80 is the default port if the origin server pool type is HTTP. 443 is the default port if the origin server pool type is HTTPS.

weight: Specifies the load distribution weight for the origin server.
Values: 0 to 1000. Default: 1.

backup: Specifies whether the origin sever is a backup server. Requests will be sent to the backup origin server only when none of the primary (non-backup) origin servers is available.
Values: true, false. Default: false.

max-connections: Specifies the maximum number of concurrent connections to the server.
Values: 0 or a positive integer. Maximum allowable value is 20480. Default: 0.

ramp-up-time: The time (in seconds) that Oracle Traffic Director should take to ramp up the request sending rate to the full capacity of this origin server.
Values: Positive integer. If max-connections is set to 0, ramp-up-time is ignored.

To reset a property to its default value, do not provide a property value.
For example, property-name=<empty_string>


tadm set-origin-server-prop --user=admin --password-file=./admin.passwd --port=8989 
--no-prompt --origin-server-pool=test-pool weight=998 max-connections=234

Exit Codes

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.

See Also

help, get-origin-server-prop, list-origin-servers, delete-origin-server, create-origin-server