Difference between revisions of "RucioDaemonsSetup"
From GridPP Wiki
(One intermediate revision by one user not shown) | |||
Line 63: | Line 63: | ||
===reaper=== | ===reaper=== | ||
+ | Function: | ||
+ | Deletion of files from RSEs once no replica rules point to it either when there is no space left, or greedy as soon as no replication rules apply to it | ||
+ | |||
+ | Requirements for a Reaper container to function: | ||
For the Reaper Container you need several components to mount into the container: | For the Reaper Container you need several components to mount into the container: | ||
* /etc/grid-security | * /etc/grid-security | ||
Line 69: | Line 73: | ||
* database login in the environmental variable RUCIO_CFG_DATABASE_DEFAULT | * database login in the environmental variable RUCIO_CFG_DATABASE_DEFAULT | ||
− | + | Command: | |
− | + | ||
sudo docker run -d --name reaper -v /home/rtt84632/rucio/robot_proxy:/tmp/x509up_u0 \ | sudo docker run -d --name reaper -v /home/rtt84632/rucio/robot_proxy:/tmp/x509up_u0 \ | ||
-v /home/rtt84632/rucio/grid-security/:/etc/grid-security/ -v /home/rtt84632/rucio/.globus/:/root/.globus/ \ | -v /home/rtt84632/rucio/grid-security/:/etc/grid-security/ -v /home/rtt84632/rucio/.globus/:/root/.globus/ \ | ||
-v /home/rtt84632/rucio/rucio.cfg:/opt/rucio/etc/rucio.cfg \ | -v /home/rtt84632/rucio/rucio.cfg:/opt/rucio/etc/rucio.cfg \ | ||
− | -e RUCIO_CFG_DATABASE_DEFAULT=postgresql://rucio_db_user: | + | -e RUCIO_CFG_DATABASE_DEFAULT=postgresql://rucio_db_user:PASSWORD@ruciodb02.gridpp.rl.ac.uk/rucio_ska_prod \ |
-e RUCIO_DAEMON=reaper -v /tmp/logs:/var/log/rucio -e RUCIO_ENABLE_LOGS=True rucio/rucio-daemons | -e RUCIO_DAEMON=reaper -v /tmp/logs:/var/log/rucio -e RUCIO_ENABLE_LOGS=True rucio/rucio-daemons | ||
+ | |||
+ | Notes: | ||
+ | |||
+ | Other things to consider, logging, change for each daemon | ||
==ReplicaRecoverer== | ==ReplicaRecoverer== |
Latest revision as of 11:26, 12 November 2021
Contents
Conveyor
Submitter
Poller
finisher
preparer
stager
reciever
throttler
fts_throttler
Abacus
Atropos
Auditor
Automatix
Badreplicas
Mino
Minos_temporary_exppiration
necromancer
bb8
c3po
cache
Follower
hermes
judge
cleaner
evaluator
injector
repairer
OAuthManager
Reaper
dark_reaper
light_reaper
reaper
Function: Deletion of files from RSEs once no replica rules point to it either when there is no space left, or greedy as soon as no replication rules apply to it
Requirements for a Reaper container to function: For the Reaper Container you need several components to mount into the container:
- /etc/grid-security
- A proxy (for daemons consider the robot certificate - also renewal script to keep fresh, but as mounted can run on container runner, and will be updated within the containers that use it)
- rucio.cfg for settings
- database login in the environmental variable RUCIO_CFG_DATABASE_DEFAULT
Command:
sudo docker run -d --name reaper -v /home/rtt84632/rucio/robot_proxy:/tmp/x509up_u0 \ -v /home/rtt84632/rucio/grid-security/:/etc/grid-security/ -v /home/rtt84632/rucio/.globus/:/root/.globus/ \ -v /home/rtt84632/rucio/rucio.cfg:/opt/rucio/etc/rucio.cfg \ -e RUCIO_CFG_DATABASE_DEFAULT=postgresql://rucio_db_user:PASSWORD@ruciodb02.gridpp.rl.ac.uk/rucio_ska_prod \ -e RUCIO_DAEMON=reaper -v /tmp/logs:/var/log/rucio -e RUCIO_ENABLE_LOGS=True rucio/rucio-daemons
Notes:
Other things to consider, logging, change for each daemon