create-origin-server

Syntax

tadm create-origin-server common_options [--backup=true|false] [--ramp-up-time=number_of_seconds)]
[--max-connections=number_of_connections)] 
--config=config_name --origin-server-pool=origin_server_pool_name host:port

Description

Use this command to create a origin pool server to the existing origin server pool. The origin server defines a member of a server pool.

Options

For information about common_options, run the help command.

--backup|-b

When you specify this option, the Oracle Traffic Director sends requests to this origin server only when none of the primary (non-backup) origin servers is available.

--ramp-up-time|-r

The time taken by the application to expedite the sending rate to match the newly set up origin server. The range of values is 0.001 to 3600.

--max-connections|-x

Specify the maximum number of concurrent connections to a server. The range of values is 1 to 1048576.

--config|-c

Specify the name of the configuration for which you want to create origin server.

Note:

For origin servers of type HTTP and HTTPS, the default port values are provided if they are not specified.

Example

tadm create-origin-server --user=admin 
--host=admin.example.com --password-file=./admin.passwd 
--port=8989 --no-prompt --config=www.example.org --origin-server-pool=origin-server-pool-1 www.mail.com:8080

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.