Print

Print


Hi Tommaso,

OK, I created a setup similar to yours. Specifically, in the DNS I have:

abh-rdr.slac.stanford.edu. 600  IN      A       134.79.120.146 // noric35
abh-rdr.slac.stanford.edu. 600  IN      A       134.79.120.152 // noric40

I started a redirector on noric35 and left noric40 with nothing. I then 
did an xrdcp (using the old client) and it worked as expected (see the 
trace below). Some things to consider:

1) Was your DNS setup up as mine was (i.e. using A records)?
2) What was the release you were using? I used what is now R4 and 3.2.6 
(a much older release) with identical results. The recoery code was not 
changed in the 3.2.x or the 3.3.x series. So, no suprise.

My only assumption is that the DNS record was not setup in a way that the 
client expected (though, the trace seems to counter that notion). So, at 
the moment I am at a loss. Anyway, to cut down the only tracing chatter so 
as to make the output more readable, just use -d 1 which is good enough.

Andy

./xrdcp -f -d 1 root://abh-rdr.slac.stanford.edu//tmp/motd /tmp/motd
140418 19:38:24 28376 Xrd: main: (C) 2004-2011 by the XRootD 
collaboration. Version: v20140318-ef1e4ab
140418 19:38:24 28376 Xrd: Create: (C) 2004-2010 by the Xrootd group. 
XrdClient $Revision$ - Xrootd version: v20140321-cdb721c
140418 19:38:24 28376 Xrd: ShowUrls: The converted URLs count is 2
140418 19:38:24 28376 Xrd: ShowUrls: URL n.1: 
root://noric40.slac.stanford.edu:1094//tmp/motd.
140418 19:38:24 28376 Xrd: ShowUrls: URL n.2: 
root://noric35.slac.stanford.edu:1094//tmp/motd.
140418 19:38:24 28376 Xrd: ShowUrls: The converted URLs count is 2
140418 19:38:24 28376 Xrd: ShowUrls: URL n.1: 
root://noric35.slac.stanford.edu:1094//tmp/motd.
140418 19:38:24 28376 Xrd: ShowUrls: URL n.2: 
root://noric40.slac.stanford.edu:1094//tmp/motd.
140418 19:38:24 28376 Xrd: Connect: can't open connection to 
[noric40.slac.stanford.edu:1094]
140418 19:38:24 28376 Xrd: XrdNetFile: Error creating logical connection 
to noric40.slac.stanford.edu:1094
140418 19:38:24 28376 Xrd: Open: Connection attempt failed. Sleeping 5 
seconds.
140418 19:38:29 28376 Xrd: ShowUrls: The converted URLs count is 2
140418 19:38:29 28376 Xrd: ShowUrls: URL n.1: 
root://noric40.slac.stanford.edu:1094//tmp/motd.
140418 19:38:29 28376 Xrd: ShowUrls: URL n.2: 
root://noric35.slac.stanford.edu:1094//tmp/motd.
140418 19:38:29 28376 Xrd: Open: Access to server granted.
140418 19:38:29 28376 Xrd: Open: Opening the remote file /tmp/motd
140418 19:38:29 28376 Xrd: Open: File open in progress.
140418 19:38:29 28379 Xrd: HandleServerError: Received redirection to 
[rhel6-64b.slac.stanford.edu:1094]. Token=[]]. Opaque=[].
140418 19:38:29 28376 Xrd: main: 
root://abh-rdr.slac.stanford.edu//tmp/motd --> /tmp/motd
140418 19:38:29 28381 Xrd: Read: Hole in the cache: offs=0, len=1536
[xrootd] Total 0.00 MB  |====================| 100.00 % [inf MB/s]

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-L list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-L&A=1