We’re trying to finalize our EOS setup, apparently we missed the config to subscribe to the global xroot. redirector. I understand this is probably more xrootd specific than EOS, but I’m not sure if this might be part of the EOS cli client.
There are some generic docs,
So it looks like from Vienna wie should subscribe to xrootd-cms.infn.it:1213
What I dont understand is where the config is done for that,
Again with the background of running multiple VOs on that instance. Our auth is ok, but will the redirector affect this. Or can I limit the redirector to just a subtree?
The only thing you need is one xrootd and one cmsd daemons that connect to the rest of the CMS federation and forward the requests to your CMS MGM daemon. You can find an example for the /etc/xrd.cf.fed daemon that we use at CERN, below:
I have a config now, that is basically working I believe. Just the file permissions for the cmsd and xrootd took a bit of fiddling.
xrd.port 1098
ofs.osslib libXrdPss.so
pss.origin eos.grid.vbc.ac.at:1094
xrootd.redirect eos.grid.vbc.ac.at:1094 /
xrootd.trace emsg redirect
cms.trace all
ofs.trace most
# specia, because of NAT?
xrd.network rpipa
all.sitename T2_AT_Vienna
all.export /
all.role server
all.manager cms-xrd-transit.cern.ch+:1213
all.adminpath /var/spool/xrootd
all.pidpath /var/run/xrootd
My question now is, since EOS mgm is basically HA, I’d like to have that for fed subscription too. i.e. run this on each of our mgms.
The docs in section “Special configuration for aliased redirector(s)” https://twiki.cern.ch/twiki/bin/view/CMSPublic/RedirectorsSubscription don’t exactly align with the config here - compare the all.manager in the docs vs pss.origin+xrootd.redirect here.
Can I just run this (the identical config) with cmsd+xrootd processes alongside the EOS mgm services on each of my mgm nodes?
I don’t think this will work. In principle the fed daemon is very lightweight and should not crash or be down in general - also there should be just one up and there is no logic to coordinate multiple such daemons. I suggest you have one of them which points to the alias of the MGMs. This is how we’ve run this since the beginning.
Hello Elvin
on eos version 5 we could deploy the same configuration ?
I do not understand if we need to run cmsd or not
in the case that we need a local redirector in-from of eos - xroot ?
thank you in advance
best
e.v