Creating a worker node gateway container

 

  1. Install docker

  2. git clone GitHub - stfc/grid-workernode

  3. cd xrootd

  4. run “sudo docker build -t xrootd-gateway .”

  5. ensure the correct files are present in /etc/gateway (copy from a workernode)

  6. “/usr/bin/docker run --rm --name=xrootd-gateway --memory=4g --user=xrootd:xrootd -v /etc/gateway/xrootd-gateway.cfg:/etc/xrootd/xrootd-ceph.cfg:ro -v /etc/gateway/xrd_cephsum.sh:/etc/xrootd/xrd_cephsum.sh:ro -v /etc/gateway:/etc/gateway:ro -v /etc/gateway/ceph:/etc/ceph:ro -v /usr/bin/xrootd-health-gateway:/usr/bin/xrootd-health-gateway --pids-limit=2000 --health-cmd=/usr/bin/xrootd-health-gateway --health-interval=180s --health-retries=2 --health-timeout=10s xrootd-gateway”