Skip to content

serviced pool

Use the serviced pool command to view and manage Control Center resource pools.

USAGE

serviced pool [global options] command [command options] [arguments...]

OPTIONS

[--help|-h]

Show the help message.

COMMANDS

list

List all pools.

add

Add a new resource pool.

[remove|rm]

Remove an existing resource pool.

list-ips

Lists the IP addresses for a resource pool.

add-virtual-ip

Add a virtual IP address to a resource pool.

remove-virtual-ip

Remove a virtual IP address from a resource pool.

set-conn-timeout

Set a connection timeout for a high-latency resource pool (for example, 5m, 2h, 6.6s).

set-permission

Set permission flags for hosts in a resource pool.

[help|h]

Show a list of commands or the help for a single command.

serviced pool set-conn-timeout

The serviced pool set-conn-timeout command sets the length of time the scheduler waits for a disconnected delegate to rejoin its pool before moving the services scheduled for the delegate to a different host in the pool.

Syntax:

serviced pool set-conn-timeout POOLID TIMEOUT

The TIMEOUT value is specified with an integer followed by the units identifier. This command accepts the following units identifiers:

ms, milliseconds

s, seconds

m, minutes

h, hours

For example, 50ms or 2m.

serviced pool set-permission

The serviced pool set-permission command sets permission flags for hosts in the resource pool, POOLID. Before removing access to administrative functions (--admin), remove DFS access.

Syntax:

serviced pool set-permission [--dfs[=false]][--admin[=false]] POOLID

Command options:

--dfs[=false]

Add or remove permission to mount the DFS. The default value is true.

--admin[=false]

Add or remove permission to perform administrative functions DFS. The default value is true.

EXAMPLES

Give a resource pool distributed file system (DFS) access:

serviced pool set-permission --dfs pool_01_140620

Give a resource pool access to administrative functions:

serviced pool set-permission --admin pool_01_140620

Remove DFS access permission from a resource pool. Note: If you need to remove access to administrative functions, first remove DFS access.

serviced pool set-permission --dfs=false pool_01_140620

Remove resource pool access to administrative functions. Note: If you need to remove access to administrative functions, first remove DFS access.

serviced pool set-permission --admin=false pool_01_140620

Set the connection timeout value to 3 minutes:

serviced pool set-conn-timeout pool_01_140620 3m