View on GitHub

compose-xrootd

What will be installed:

Requirements

Preparation

First of all create all the needed directories:

mkdir -p logs
mkdir -p proxy
mkdir -p data
mkdir -p metadata

:exclamation: N.B. if you want to provide an external volume to store data, you can simply mount it as ./data folder.

In .env file you can find the main knobs to tweak the cache configuration. Among the others you should adjust the CACHE_RAM_GB to be between one third and an half of your total machine memory (e.g. for a machine with a total of 4GB of RAM, you could put CACHE_RAM_GB=2)

Deploy

Now everything should be ready to go. Bring up the system with:

docker-compose up -d

and monitor the status via a simple docker ps command. When everything is in status healthy (that can take several minutes), you should be able to find the logs of the xrootd daemon on ./logs folder.

Configure WNs to select the cache instance by default

Please follow the WN deployment instructions