Print

Print


Dear Andrew:

  Now I use xrootd-3.0.4 and the problem remains, I am using the xrdcp 
inside this package.

[pcncu1001] /home/xrootd/xrootd-3.0.4/etc > 
../bin/x86_64_linux_26/xrootd -c xrootd.cf
[pcncu1001] /home/xrootd/xrootd-3.0.4/etc > ../bin/x86_64_linux_26/xrdcp 
/tmp/mytestfile.dat root://qing1981.cern.ch://xrootd/2.dat
Last server error 10000 ('')

  And where is the xrootd server log ?

------ xrootd anon@pcncu1001:1094 initialization completed.
110617 21:51:56 9962 XrootdXeq: xrootd.9978:[log in to unmask] login
110617 21:51:57 9962 XrootdXeq: xrootd.9978:[log in to unmask] disc 
0:00:01           --------- this is the local transfer and it succeded, 
but there is no log for that failed outbound transfer.
110617 21:52:45 9962 cms_Finder: Waiting for cms path /tmp/.olb/olbd.admin
110617 21:53:55 9962 cms_Finder: Waiting for cms path /tmp/.olb/olbd.admin
110617 21:55:05 9962 cms_Finder: Waiting for cms path /tmp/.olb/olbd.admin
110617 21:56:15 9962 cms_Finder: Waiting for cms path /tmp/.olb/olbd.admin
110617 21:57:25 9962 cms_Finder: Waiting for cms path /tmp/.olb/olbd.admin


  BTW, do I also need to do something like ../bin/x86_64_linux_26/cmsd 
-c cmsd.cf? If yes, how should I configure this cmsd.cf file?

  Cheers,Gang

> Hi Gang,
>
> I could be related to the version of xrdcp you are using. There was an 
> incompatability introduced in 3.0.3 that would cause outgoing copies 
> to fail. You can verify this by looking at the xrootd server log and 
> if this is the case, an error emssage will appear in the log. Anyway, 
> try using a version of xrdcp from an older release.
>
> Andy
>
> On Fri, 17 Jun 2011, qing wrote:
>
>> Dear Andrew:
>>
>> Thanks a lot for you help, I have installed xroot on both 
>> pcncu1001.cern.ch and qing1981.cern.ch., after  starting the xrootd 
>> service on both machines, I can use xrdcp to transfer a file inside 
>> the machine:
>>
>> [pcncu1001] /home/xrootd/xrootd-20100510-1509/etc > 
>> /opt/xrootd/bin/x86_64_linux_26/xrootd -c xrootd.cf
>> [pcncu1001] /home/xrootd/xrootd-20100510-1509/etc > xrdcp 
>> /tmp/mytestfile.dat root://pcncu1001.cern.ch//xrootd/7.dat
>> [xrootd] Total 1.00 MB  |====================| 100.00 % [inf MB/s]
>>
>>
>> [localhost] /home/xrootd/xrootd-20100510-1509/etc > 
>> /opt/xrootd/bin/x86_64_linux_26/xrootd -c xrootd.cf
>> [localhost] /home/xrootd/xrootd-20100510-1509 > ./bin/arch/xrdcp 
>> /tmp/mytestfile.dat root://qing1981.cern.ch//xrootd/7.dat
>> [xrootd] Total 1.00 MB  |====================| 100.00 % [1048.6 MB/s]
>>
>> But when I tried to transfer one file between the 2 machines,  it 
>> failed:
>>
>> [pcncu1001] /home/xrootd/xrootd-20100510-1509/etc > xrdcp 
>> /tmp/mytestfile.dat root://qing1981.cern.ch//xrootd/7.dat
>> Last server error 10000 ('')
>> Error accessing path/file for root://qing1981.cern.ch//xrootd/7.dat
>>
>> [localhost] /home/xrootd/xrootd-20100510-1509 > ./bin/arch/xrdcp 
>> /tmp/mytestfile.dat root://pcncu1001.cern.ch//xrootd/8.dat
>> Last server error 10000 ('')
>> Error accessing path/file for root://pcncu1001.cern.ch//xrootd/8.dat
>>
>>
>> Any idea what's wrong? Here is the content of my xrootd.cf:
>>
>> [pcncu1001] /home/xrootd/xrootd-20100510-1509/etc > cat xrootd.cf
>> if pcncu1001.cern.ch
>>       xrd.port 1094
>> else
>>       xord.port any
>> fi
>> xrootd.fslib /opt/xrootd/lib/x86_64_linux_26/libXrdOfs.so
>> all.export /xrootd r/w
>> if pcncu1001.cern.ch
>>       all.role manager
>> else
>>       all.role server
>> fi
>> all.manager pcncu1001.cern.ch:1213
>> cms.allow host pcncu1001.cern.ch
>> cms.allow host qing1981.cern.ch
>>
>> Cheers,Gang
>>
>>
>>
>>
>>> 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
>>>>>
>>>>>
>>>>
>>> .
>>>
>>
> .
>