Print

Print


Hi Gang,

First, globally change "olb." to "cms." and then see the individual 
changes you need to make below.

How old is that configuration? It seems to be over 4 years old.
Things have changed somewhat during that time.

Andy

P.S. The config file can be further simplified but this will do.

On Fri, 17 Jun 2011, qing wrote:

> Dear Xrood expert:
>
> -------------------------------------------------------------------------
> xrootd.fslib /opt/root/lib/libXrdOfs.so
> xrootd.export /xrootd/
> xrd.port 1094
> if pcuw101.cern.ch
> ofs.redirect remote
*****>>>> all.role manager
> ofs.forward all
> else
> ofs.redirect target
*****>>>> all.role server
> fi
> olb.port 3121
> if exec olbd
*****>>>> if exec cmsd
> xrd.sched mint 10 maxt 100 avlt 20
*****>>>> We STRONGLY suggest you remove the sched directive as it will 
cause problems for you!!!!! It is meanty largely for development purposes.
> fi
> oss.path /xrootd/ r/w
> olb.path rw /xrootd/
*****>>>> The above two directives can be specified as follows:
all.export /xrootd/ r/w
> if pcuw101.cern.ch
> olb.role manager
> else
> olb.role server
> fi
> olb.subscribe pcuw101.cern.ch 3121
*****>>>> You no longer need the subscribe directive.
> odc.manager pcuw101.cern.ch 3121
*****>>>> Change odc to all in the above.

> olb.delay startup 30
> olb.space 20g 1g
> if exec xrootd
> xrd.protocol xproofd:1093 /opt/root/lib/libXrdProofd.so
> fi
> xpd.rootsys /opt/root
> xpd.workdir /xrootd/
> xpd.intwait 20
> xpd.resource static /etc/proof.conf
> xpd.role worker
> xpd.role master if pcuw101.cern.ch
> xpd.allow pcuw101.cern.ch
> xpd.poolurl root://pcuw101.cern.ch
> xpd.namespace /home/xrootd/proofpool
> -----------------------------------------------------------------------------------------------------------------------
>
>
>
> But I was told 'olbd' has been replaced by 'cmsd' since several years,
> so how should I modify this configuration file?
>
>
>
> Cheers,Gang
>
>
>
>> Dear Xrootd-expert:
>>
>> Do we have an example or manual of installing and configuring xrootd on
>> a cluster of 2 machines?
>>
>> Cheers,Gang
>>
>>
>