st_node_set_bg_recovery_limit
This job sets a limit for the throughput of background restoration on the given node in MiB/s. EXAStorage will try to reach the given throughput - which may not be possible due to hardware limitation or heavy I/O load by the DB - but will never exceed it once it has found the proper parameters. If the limit is set to 0, the threshold value will be determined automatically by EXAStorage.
Mandatory parameters
| Parameter name | Data type | Description |
|---|---|---|
| limit | integer | Throughpout limit in MiB/s (0 for automatic selection) |
| nid | integer | Node ID of the desired node (can be "all_nodes") |
Optional parameters
There are no optional parameters.
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
- exastoradm
- exaadm
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('st_node_set_bg_recovery_limit', {'params': {'nid': 11, 'threshold': 0}})
confd_client st_node_set_bg_recovery_limit nid: 11 threshold: 0