Ciao, I wanted to prepare a docker container which serves as a disk-cached xrootd server, in order to deploy a T2-on demand (like) cluster.
I have used a simple configurations, attached in the end.
(By the way, I cannot find anywhere libFileCache.so, do you know in which RPM it lives?)
The problem to me seems to come from the fact that in docker 'hostname' is not to be trusted; indeed whan I start xrootd I get
151110 09:08:27 166 XrdConfig: Unable to determine host name; ai_family not supported ; execution terminated.
bash-4.1# cat xrootd-proxy.cfg
# Tell everyone who the manager is
# Everyone will export /data red-only with the stage option. The stage
# option requests that if the file isn’t found in the cluster the
# redirector should send the client to a PFC server with enough space to
# cache the file.
all.export /store stage r/o
# First configure the redirector cmsd/xrootd using if-else-fi. However,
# the server cmsd configuration differs from that for the xrootd.
# So, we break those out in the if-else-fi clauses.
# Server’s cmsd configuration – all PFC’s are virtual data servers
else if exec cmsd
# The cmsd uses the standard oss plug-in but needs a specialized stat
# plugin to locate files in the cache. Also, the oss plug-in must be
# told where the cache is actually located via the space directive.
oss.space public /data/xrootd-cache
# Server’s xrootd configuration – all PFC’s are virtual data servers
# For xrootd, load the proxy plugin and the disk caching plugin.
# Tell the proxy where the data is coming from (arbitrary).
# Tell the PFC’s where the disk cache resides (arbitrary).