Skip to content
Snippets Groups Projects

Separate data meta

Merged MUSSET Paul requested to merge separate_data_meta into dev
5 files
+ 206
28
Compare changes
  • Side-by-side
  • Inline
Files
5
@@ -37,13 +37,20 @@ RUN xrootd_uid=$(id -u xrootd)\
&& find / -group ${xrootd_gid} -user ${xrootd_gid} -type d -execdir chown xrootd:xrootd {} \;
# Config directory
RUN mkdir -p /etc/xrootd\
RUN mkdir -p /etc/xrootd/\
&& chown xrootd:xrootd /etc/xrootd
# Directory to mount the data storage. need to have same gid on host and container
RUN mkdir -p /mnt/xcache\
&& chown xrootd:xrootd /mnt/xcache\
&& chmod g+w /mnt/xcache
# Directory keeping the namespace
RUN mkdir -p /mnt/xcache-ns/\
&& chown xrootd:xrootd /mnt/xcache-ns/
# Directory keeping the metadata
RUN mkdir -p /mnt/xcache-meta/\
&& chown xrootd:xrootd /mnt/xcache-meta/
# Directory to mount the data disks. need to have same uid+gid on host and container
RUN mkdir -p /mnt/xcache-storage\
&& chown xrootd:xrootd /mnt/xcache-storage/
# For now checking crl is disabled in xcache config file
# Might have to be later to be put in a volume. with a container spawning every n hours doing the fetch crl
@@ -55,7 +62,6 @@ RUN yum install --nogpg -y ca-policy-lcg
RUN mkdir /etc/grid-security/xrd/\
&& chown xrootd:xrootd /etc/grid-security/xrd/
# Steps for certificates authentication
# Get VOMS Files
ADD https://indigo-iam.github.io/escape-docs/voms-config/voms-escape.cloud.cnaf.infn.it.vomses /etc/vomses/
@@ -70,7 +76,6 @@ ENV X509_USER_PROXY=/tmp/proxy-certificate/certificate
RUN mkdir -p /tmp/proxy-certificate\
&& chown xrootd:xrootd /tmp/proxy-certificate
# Steps for Token authorization
# Scitokens library
COPY --from=sci-token-build /root/rpmbuild/RPMS/x86_64/xrootd-scitokens-1.2.2-1.el7.x86_64.rpm .
Loading