usage: rucio-storage-consistency-actions [-h] [--run-once] [--scope SCOPE]
[--rses RSES [RSES ...]]
[--sleep-time SLEEP_TIME]
[--dark-min-age DARK_MIN_AGE]
[--dark-threshold-percent DARK_THRESHOLD_PERCENT]
[--miss-threshold-percent MISS_THRESHOLD_PERCENT]
[--scanner-files-path SCANNER_FILES_PATH]
[--threads THREADS] [-f]
The Consistency-Actions daemon is responsible for applying the corrective actions resulting from a consistency-check scan of an RSE.
optional arguments:
-h, --help show this help message and exit
--run-once One iteration only
--scope SCOPE Scope of the input files produced by theiCC scanner -
e.g.: "cms"
--rses RSES [RSES ...]
RSEs to check, specified as a RSE expression. Defaults
to check all RSEs.
--sleep-time SLEEP_TIME
Concurrency control: thread sleep time (in seconds)
after each chunk of work
--dark-min-age DARK_MIN_AGE
Min. age (in days) of a file to be considered as DARK.
--dark-threshold-percent DARK_THRESHOLD_PERCENT
Max. percentage of dark files at RSE, expressed as
percents - e.g. 1.5 means 1.5%
--miss-threshold-percent MISS_THRESHOLD_PERCENT
Max. percentage of missing files at RSE, expressed as
percents - e.g. 1.5 means 1.5%
--scanner-files-path SCANNER_FILES_PATH
The path where the CC scanner files are mounted.
--threads THREADS Concurrency control: total number of threads on this
process
-f, --force-proceed Force CC actions, even if number of dark/missing files
over thresholds
Run the daemon::
$ rucio-storage-consistency-actions --run-once --scope cms --rses T2_US_Purdue T2_US_Nebraska --dark-threshold-percent 2.0 --miss-threshold-percent 1.5 --scanner-files-path /tmp/consistency-dump --sleep-time 10