Here it goes!
This is my xpd.cf file:
XRD port
xrd.port 1094
if exec xrootd
xrd.protocol xproofd:1092 /cms/slc4_ia32_gcc345/lcg/root/5.14.00f-CMS3q/lib/libXrdProofd.so
fi
if fanae41
xpd.seclib /afs/fanae/cmssw64/slc4_ia32_gcc345/lcg/root/5.14.00f-CMS3q/lib/libXrdSec.so
xpd.sec.protocol gsi -d:1 -certdir:/etc/grid-security/certificates -cert:/etc/grid-security/hostcert.pem -key:/etc/grid-security/hostkey.pem
fi
Export /data/proofpool
xrootd.export /data/proofpool
FS lib
xrootd.fslib /afs/fanae/cmssw64/slc4_ia32_gcc345/lcg/root/5.14.00f-CMS3q/lib/libXrdOfs.so
OpenFS section
if fanae41
ofs.redirect remote
ofs.forward all
else
ofs.redirect target
fi
OSS section
oss.cache public /data/cache*
oss.path /data/proofpool r/w
OLB / ODC section
Port
olb.port 3121
Paths
olb.path w /data/proofpool
Role
if fanae41
all.role manager
else
all.role server
fi
Manager location (ignored by managers)
all.manager fanae41 3121
Delay client requests at manager startup
olb.delay startup 30
PROOF part
(xrootd only: the ‘xpd.’ directives are ignored if the protocol is not loaded)
Load the XrdProofd protocol:
using absolute paths (<ROOT_sys> with the path to the ROOT distribution)
#if exec xrootd
#xrd.protocol xproofd:1092 /cms/slc4_ia32_gcc345/lcg/root/5.14.00f-CMS3q/lib/libXrdProofd.so
fi
ROOTSYS
xpd.rootsys /cms/slc4_ia32_gcc345/lcg/root/5.14.00f-CMS3q pro
xpd.rootsys /cms/slc4_ia32_gcc345/lcg/root/5.14.00g-CMS11 pro_dev
Working directory for sessions [<User_Home>/proof]
xpd.workdir /data/proofbox
Resource finder
NB: 'if ’ not supported for this directive.
xpd.resource static [<cfg_file>] [ucfg:<user_cfg_opt>] [wmx:<max_workers>]
[selopt:<selection_mode>]
“static”, i.e. using a config file
<cfg_file> path alternative config file
[$ROOTSYS/proof/etc/proof.conf]
<user_cfg_opt> if “yes”: enable user private config files at
$HOME/.proof.conf or $HOME/.<usr_def>, where
<usr_cfg> is the second argument to
TProof::Open("","<usr_cfg>") [“no”]
<max_workers> Maximum number of workers to be assigned to user
session [-1, i.e. all]
<selection_mode> If <max_workers> != -1, specify the way workers
are chosen:
“roundrobin” round-robin selection in bunches
of n(=<max_workers>) workers.
Example:
N = 10 (available workers), n = 4:
1st (session): 1-4, 2nd: 5-8,
3rd: 9,10,1,2, 4th: 3-6, …
“random” random choice (a worker is not
assigned twice)
xpd.resource static /cms/slc4_ia32_gcc345/lcg/root/5.14.00f-CMS3q/etc/proof.conf all
Server role (master, submaster, worker) [default: any]
Allows to control the cluster structure.
The following (commented) example will set lxb6046 as master, and all
the others lxb* as workers
xpd.role worker if fanae*
xpd.role master if fanae41
Master(s) allowed to connect. Directive active only for Worker or
Submaster session requests. Multiple ‘allow’ directives can
be specified. By default all connections are allowed.
xpd.allow fanae41
URL and namespace for the local storage if different from defaults.
By the default it is assumed that the pool space on the cluster is
accessed via a redirector running at the top master under the common
namespace /proofpool.
Any relevant protocol specification should be included here.
xpd.poolurl root://fanae41
xpd.namespace /data/proofpool
And…this is my log file:
080115 13:35:05 001 © 2004 Stanford University/SLAC xrd version 20060928-1600
080115 13:35:05 001 xrootd anon@fanae41.geol.uniovi.es initialization started.
080115 13:35:05 001 Using configuration file /afs/fanae/code/Proof/xpd.cf
080115 13:35:05 001 Optimizing for 256 connections; maximum is 1024
080115 13:35:05 001 XrdSched: Set min_Workers=4 max_Workers=32
080115 13:35:05 001 XrdSched: Set stk_Workers=26 max_Workidl=780
080115 13:35:05 001 XrdSched: scheduling underused thread monitor in 780 seconds
080115 13:35:05 001 XrdSched: Starting with 1 workers
080115 13:35:05 001 XrdLink: Allocating 16 link objects at a time
080115 13:35:05 001 XrdPoll: Starting poller 0
080115 13:35:05 001 XrdPoll: Starting poller 1
080115 13:35:05 001 XrdPoll: Starting poller 2
080115 13:35:05 001 XrdProtocol: getting port from protocol xrootd
080115 13:35:05 001 XrdProtocol: getting port from protocol xproofd
— Proofd: : XrdgetProtocolPort: listening on port: 1092 (0x8094440, 1092)
080115 13:35:05 001 XrdProtocol: getting protocol object xrootd
080115 13:35:05 001 © 2005 Stanford University/SLAC XRootd.
080115 13:35:05 001 XrootdAioReq: Max aio/req=8; aio/srv=4096; Quantum=65536
080115 13:35:05 001 XrootdAioReq: Adding 30 aioreq objects.
080115 13:35:05 001 XrootdAio: Adding 24 aio objects; 4096 pending.
080115 13:35:05 001 XRootd seclib not specified; strong authentication disabled
080115 13:35:05 001 XrootdProtocol: Loading filesystem library /afs/fanae/cmssw64/slc4_ia32_gcc345/lcg/root/5.14.00f-CMS3q/lib/libXrdOfs.so
080115 13:35:05 001 ofs_Init: © 2005 Stanford University/SLAC, Ofs Version 20060928-1600
080115 13:35:05 001 ofs_Config: File system initialization started.
080115 13:35:05 001 ofs_Config: Warning! redirect directive is deprecated; use role.
080115 13:35:05 001 odc_Config: Target redirection initialization started
080115 13:35:05 001 odc_Config: Target redirection initialization completed.
080115 13:35:05 001 ofs_Config: File system initialization completed.
/afs/fanae/code/Proof/xpd.cf ofs configuration:
ofs.role server
ofs.authorize
ofs.fdscan 9 120 1200
ofs.maxdelay 60
ofs.trace bfcd
080115 13:35:05 001 oss_Init: © 2006, Stanford University, oss Version 20060928-1600
080115 13:35:05 001 oss_config: Storage system initialization started.
080115 13:35:05 001 oss_AioInit: started AIO read signal thread; tid=3079330720
080115 13:35:05 001 oss_AioInit: started AIO write signal thread; tid=3078540192
080115 13:35:05 001 oss_config: Storage system initialization completed.
/afs/fanae/code/Proof/xpd.cf oss configuration:
oss.alloc 0 0 0
oss.cachescan 600
oss.compdetect *
oss.fdlimit 512 1024
oss.maxdbsize 0
oss.trace fff
oss.xfr 1 9437184 30 10800
oss.memfile off max 131020800
oss.path /data/proofpool r/w nocheck nodread nomig nomkeep nomlock nommap norcreate nostage
oss.path / r/w nocheck nodread nomig nomkeep nomlock nommap norcreate nostage
oss.cache public /data/cache/
080115 13:35:05 001 XrdSched: scheduling xrootd protocol anchor in 3600 seconds
080115 13:35:05 001 Prep log directory not specified; prepare tracking disabled.
080115 13:35:05 001 Exporting /data/proofpool
080115 13:35:05 001 XRootd protocol version 2.6.0 build 20060928-1600 successfully loaded.
080115 13:35:05 001 XrdProtocol: getting protocol object xproofd
080115 13:35:05 001 Config: configuration file cannot be read: /root/allool1
080115 13:35:05 001 Configure: using ROOTSYS: /cms/slc4_ia32_gcc345/lcg/root/5.14.00g-CMS11
080115 13:35:05 001 Configure: PROOF server application: /cms/slc4_ia32_gcc345/lcg/root/5.14.00g-CMS11/bin/proofserv
080115 13:35:05 001 Configure: using temp dir: /tmp
080115 13:35:05 001 XRD seclib not specified; strong authentication disabled
080115 13:35:05 001 Configure: role set to: worker
080115 13:35:05 001 Configure: masters allowed to connect: fanae41
080115 13:35:05 001 Configure: no priority changes requested
080115 13:35:05 001 Configure: image set to: fanae41.geol.uniovi.es
080115 13:35:05 001 Configure: PROOF work directories under: /data/proofbox
080115 13:35:05 001 Configure: client sessions kept idle for 0 secs after disconnection
080115 13:35:05 001 Configure: list of superusers: lara
— Proofd: : SetProofServEnv: enter: psid: -1, log: -1
080115 13:35:05 001 Proofd : Forking external proofsrv
080115 13:35:05 001 Proofd : SetSrvProtVers: test server launched: wait for protocol
080115 13:35:05 001 Configure: PROOF server protocol number: 12
080115 13:35:05 001 XrdSched: scheduling xproofd protocol anchor in 3600 seconds
080115 13:35:05 001 Configure: cron thread started
080115 13:35:05 001 XProofd protocol version 0.2 build 20060928-1600 successfully loaded.
080115 13:35:05 001 xproofd: protocol V 0.2 successfully loaded
080115 13:35:05 001 xrootd anon@fanae41.geol.uniovi.es:1094 initialization completed.
080115 13:35:05 001 XrdSched: scheduling midnight runner in 37495 seconds
080115 13:35:05 7299 XrdXeq: Port 1092 handler thread started