infra_worker_db_remove
This job deletes a worker cluster and removes its nodes.
Mandatory parameters
| Parameter name | Data type | Description |
|---|---|---|
| worker_db_name | string | The name of the worker cluster you want to remove. |
Optional parameters
| Parameter name | Data type | Description |
|---|---|---|
| offload_enabled | boolean | Whether or not offload is enabled for this worker db |
| offload_force | boolean | All sessions which cannot be moved will have their currently running statements killed |
| offload_timeout | integer | The client/statement will wait up to timeout in seconds for the sessions to be moved. |
Substitute parameters
There are no substitute parameters.
Allowed users
The following users are allowed to run this job:
- root
Allowed groups
The following groups are allowed to run this job:
- root
- exaadm
- exadbadm
Examples
The following examples show how to run this job in a Python program using XML-RPC or on the command line using confd_client.
conn.job_exec('infra_worker_db_remove', {'params': {'worker_db_name': 'worker_cluster_name'}})
confd_client infra_worker_db_remove worker_db_name: worker_cluster_name