srvctl add srvpool

Adds a server pool that is configured to host Oracle databases to a cluster.

Note:

This command is only available with Oracle Clusterware.

Syntax and Parameters

Use the srvctl add srvpool command with the following syntax:

srvctl add srvpool -serverpool server_pool_name [-eval] 
    [-importance importance] [-min min_size] [-max max_size] 
    [-servers "node_list" | -category server_category] [-force] [-verbose]

Table A-19 srvctl add srvpool Parameters

Parameter Description
-serverpool server_pool_name

The name of the server pool.

-eval

Use this parameter to hypothetically evaluate the impact of the command on the system.

-importance importance

The importance of the server pool (default value is 0).

-min min_size

The minimum size of the server pool (default value is 0).

-max max_size

The maximum size of the server pool. The default value is -1, which indicates that the size is unlimited.

-servers "node_list"

A comma-delimited list of candidate node names enclosed in double quotation marks (""). The server pool will only include nodes on the candidate list, but not all nodes on the candidate list will necessarily be in the server pool.

Note: In Oracle Database 12c, servers are assigned to server pools according to the value of the -category parameter.

-category server_category

The category of servers to use for the server pool, or "" for the empty category value. You can use hub for ora.hub.category, leaf for ora.leaf.category, or you can define your own category. The default is ora.hub.category.

-force

Add the server pool, even if it requires stopping resources in other server pools.

-verbose

Display verbose output.

Usage Notes

SRVCTL prepends "ora." to the name of the server pool.

Example

An example of this command is:

$ srvctl add srvpool -serverpool SP1 -importance 1 -min 3 -max 7