Docker image for ATLAS' XCache implementation
100K+
Image source available here: https://github.com/opensciencegrid/docker-xcache/tree/master/atlas-xcache
XCache provides a caching service for data federations that serve one or more Virtual Organizations (VOs) based on the XRootD software. This image, based on the OSG XCache image, implements XCache for the ATLAS data federation.
This document covers how to configure and start an ATLAS XCache container.
Before starting the container, write the following configuration on your docker host:
Write a file containing the following required environment variables and values for your XCache:
XC_ROOTDIR: The directory containing files to export from the cacheXC_SITENAME: The server name used for monitoring and reportingXC_SPACE_HIGH_WM: High watermark for disk usage; when usage goes above the high watermark, the cache deletes until it hits the low watermarkXC_SPACE_LOW_WM: Low watermark for disk usage; when usage goes above the high watermark, the cache deletes until it hits the low watermarkXC_PORT: TCP port that XCache listens onXC_RAMSIZE: Amount of memory to use for blocks in flightXC_BLOCKSIZE: The size of the blocks in the cacheXC_PREFETCH: Number of blocks to prefetch from a file at onceWrite cache-disks.config with paths to disks that you will mount within the container.
By default, XCache reports to the OSG so that OSG staff can monitor the health of data federations. If you would like to report monitoring information to another destination, you can disable the OSG monitoring by setting the following in your environment variable configuration:
DISABLE_OSG_MONITORING = true
To run the container, use docker run with the following options, replacing the text within angle brackets with your
own values:
$ docker run --env-file=<PATH TO ENV FILE> \
--volume <PATH TO HOST CERT>:/etc/grid-security/hostcert.pem \
--volume <PATH TO HOST KEY>:/etc/grid-security/hostkey.pem \
--volume <PATH TO DISK CONFIG>:/etc/xrootd/cache-disks.config \
--volume <HOST PATH TO CACHE DISK 1>:<CONTAINER MOUNT POINT 1> \
...
--volume <HOST PATH TO CACHE DISK N>:<CONTAINER MOUNT POINT N> \
--publish <HOST PORT>:<XC_PORT> \
--hostname <XCACHE HOSTNAME> \
opensciencegrid/atlas-xcache:development
Content type
Image
Digest
sha256:1069ef3a9…
Size
228.6 MB
Last updated
7 months ago
docker pull opensciencegrid/atlas-xcache:23-release-20260215-0749