[Ru_ngi] Configuring the CMS TFC Plugin in D-Cache
Valery Mitsyn
vvm at mammoth.jinr.ru
Wed May 24 23:21:01 MSK 2023
On Wed, 24 May 2023, Liudmila Stepanova wrote:
> Добрый день всем.
> Я выполнила переход с DPM на dCache. Не могу сконфигурировать CMS TFC Plugin
> in D-Cache. Мне дали ссылку для конфигурации
> https://twiki.cern.ch/twiki/bin/view/CMSPublic/DCacheXRootD
> Где указано PNFS must be mounted for the xrootd federation host to function.
> Это у меня не получается.
> xrootd federation и dCashe door на одном сервере (grse001.inr.troitsk.ru)
Сделайте файл /etc/exports, примерно такой:
{{{
/pnfs localhost(rw,no_root_squash)
/pnfs *.inr.ru(rw,no_root_squash)
}}}
И в /etcfstab:
{{{
localhost:/pnfs /pnfs nfs
bg,intr,nfsvers=3,noacl,noac,nolock,,x-systemd.requires=dcache at nfsDomain.service
0 0
}}}
У нас не [doorsDomain/nfs], а [nfsDomain], я не уверен, что
[doorsDomain/nfs] правильно.
{{{
[nfsDomain]
[nfsDomain/nfs]
nfs.version=3, 4.1
}}}
Возможно редиректор может проглотить и 4.1, у нас 3 традиционно.
> /etc/dcache/layouts/layout-grse001.inr.troitsk.ru.conf
> doorsDomain/xrootd]
>
> [xrootd-${host.name}Domain]
> [xrootd-${host.name}Domain/xrootd]
> xrootd.plugins=gplazma:gsi,authz:cms-tfc
> #xrootd.plugins=gplazma:gsi
> xrootd.cms.tfc.path=/etc/dcache/storage.xml
> xrootd.cms.tfc.protocol=direct
> #xrootd.cms.tfc.protocol=xrootd
> #
> xrootd.authz.read-paths=/
> xrootd.authz.write-paths=/
> #
> xrootd.limits.threads = 3000
> xrootd.mover.timeout=28800000
>
> [doorsDomain/nfs]
> nfs.version = 4.1
>
> DCache dcache-8.2.10-1.noarch
>
> /etc/xrootd/xrootd-clustered.cfg
> #oss.localroot /dpm/inr.troitsk.ri/home/cms
> xrd.port 11000
> all.role server
> all.manager any xrootd-cms.infn.it+ 1213
> all.sitename T2_RU_INR
> xrootd.redirect grse001.inr.troitsk.ru:1094 /
> all.export / nostagea
> #all.export /dpm/inr.troitsk.ru/home/cms/
> cms.allow host *
> xrootd.trace emsg login stall redirect
> ofs.trace all
> xrd.trace conn
> cms.trace all
> cms.space linger 0 recalc 30 min 2% 1g 5% 2g
> oss.namelib /usr/lib64/libXrdCmsTfc.so
> file:/etc/xrootd/storage.xml?protocol=direct
> ofs.authorize 1
> acc.authdb /etc/xrootd/Authfile
> #sec.protocol /usr/lib64 gsi -d:1 -crl:0 -authzfun:libXrdLcmaps.so
> -authzfunparms:--loglevel,1 -gmapopt:10 -gmapto:0
> sec.protocol /usr/lib64 gsi -crl:3 -key:/etc/grid-security/xrd/xrdkey.pem
> -cert:/etc/grid-security/xrd/xrdcert.pem -md:sha256:sha1 -ca:2 -gmapopt:10
> -vomsfun:/usr/lib64/libXrdSecgsiVOMS.so
> xrootd.seclib /usr/lib64/libXrdSec.so
> all.adminpath /var/run/xrootd
> all.pidpath /var/run/xrootd
> cms.delay startup 10
> cms.fxhold 60s
> if exec xrootd
> xrd.report grse001.inr.troitsk.ru:9931 every 60s all sync
> xrootd.monitor all fstat 60s lfn ops ssq xfr 5 ident 5m dest fstat info
> user CMS-AAA-EU-COLLECTOR.cern.ch:9330
> fi
>
> Спасибо,
> Людмила.
> --
> Ru_ngi mailing list
> Ru_ngi at theory.sinp.msu.ru
> https://theory.sinp.msu.ru/cgi-bin/mailman/listinfo/ru_ngi
>
---
Best regards,
Valery Mitsyn
More information about the Ru_ngi
mailing list