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

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

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

create-origin-server-pool

Syntax

tadm create-origin-server-pool common_options [--load-distribution=round-robin|least-connection-count|least-response-time] [--family=default|inet|inet6|inet-sdp] 
--type=http|https|tcp --config=config_name --origin-server=host:port[,host:port,..] origin_server_pool_name

Description

Use this command to create a origin-server pool. The origin-server pool configures a pool of origin servers that are used for load balancing requests.

Options

For information about common_options, run the help command.

--load-distribution|-l

Specify the load distribution algorithm. Values are round-robin, least-response-time and least-connection-count (default).

--family|-f

Specify the internet protocol family, for example:IPV4, and IPV6. The default is IPv4(family=inet). To use the IPv6 address, specify family=inet6.

--type|-t

Specify the type of requests handled by each server in the server pool, for example: HTTP, HTTPS, TCP.

--config|-c

Specify the configuration for which you want to create a origin-server pool.

--origin-server|-O

Specify the list of origin servers of the format host:port separated by comma. For origin servers of type HTTP and HTTPS, if the port information is not specified, it defaults to 80 and 443 respectively. For origin servers of type TCP, port information is mandatory.

Note:

The property origin-server enables you to specify multiple values, with each value enclosed in quotes and separated by commas.

Operands

origin-server-pool-name

Specify the name of the origin-server pool.

Example

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

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, set-origin-server-pool-prop, get-origin-server-pool-prop, delete-origin-server-pool, list-origin-server-pools