Hi Andy,
Figured it out -
Another part of CMSSW ends up loading the XrdClient library (even though we ultimately use XrdCl), which forces things to go over IPv4 via a call to SetAuto. I ended up setting the NetworkStack parameter explicitly with "IPAll".
Brian
On Apr 30, 2014, at 11:36 AM, Brian Bockelman <[log in to unmask]> wrote:
> Hi Andy,
>
> At a networking conference today, so I figured it'd be a good idea to look into this again.
>
> I copied (what I think are) the relevant log outputs below. This is from a dev host to a IPv6-enabled server. In both cases, I use "red-gridftp2.unl.edu" as the endpoint; this is from the same environment (same Xrootd libraries on both attempts). In terms of what is logged, things look identical to me.
>
> Any further suggestions?
>
> Brian
>
> Xrdcp:
>
> [2014-04-30 10:28:14.106118 -0500][Debug ][PostMaster ] Creating new channel to: red-gridftp2.unl.edu:1094 1 stream(s)
> [2014-04-30 10:28:14.106171 -0500][Debug ][PostMaster ] [red-gridftp2.unl.edu:1094 #0] Stream parameters: Network Stack: IPAuto, Connection Window: 120, ConnectionRetry: 5, Stream Error Widnow: 1800
> [2014-04-30 10:28:14.107032 -0500][Debug ][TaskMgr ] Registering task: "TickGeneratorTask for: red-gridftp2.unl.edu:1094" to be run at: [2014-04-30 10:28:29 -0500]
> [2014-04-30 10:28:14.107096 -0500][Dump ][PostMaster ] [red-gridftp2.unl.edu:1094 #0] Sending message kXR_stat (path: /store/data/Run2012D/SingleElectron/AOD/PromptReco-v1/000/207/279/D43A5B72-1831-E211-895D-001D09F24763.root, flags: none) (0x1ef90a0) through substream 0 expecting answer at 0
> [2014-04-30 10:28:14.108110 -0500][Debug ][PostMaster ] [red-gridftp2.unl.edu:1094] Found 2 address(es): [2600:900:6:1101:20f:53ff:fe0d:6de4]:1094, [::ffff:129.93.239.171]:1094
>
> cmsRun:
>
> [2014-04-30 10:27:06.909077 -0500][Debug ][PostMaster ] Creating new channel to: red-gridftp2.unl.edu:1094 1 stream(s)
> [2014-04-30 10:27:06.909249 -0500][Debug ][PostMaster ] [red-gridftp2.unl.edu:1094 #0] Stream parameters: Network Stack: IPAuto, Connection Window: 180, ConnectionRetry: 5, Stream Error Widnow: 1800
> [2014-04-30 10:27:06.910734 -0500][Debug ][TaskMgr ] Registering task: "TickGeneratorTask for: red-gridftp2.unl.edu:1094" to be run at: [2014-04-30 10:27:21 -0500]
> [2014-04-30 10:27:06.910959 -0500][Dump ][PostMaster ] [red-gridftp2.unl.edu:1094 #0] Sending message kXR_open (file: /store/data/Run2012D/SingleElectron/AOD/PromptReco-v1/000/207/279/D43A5B72-1831-E211-895D-001D09F24763.root, mode: 0660, flags: kXR_open_read kXR_async kXR_retstat ) (0xaa67eeb0) through substream 0 expecting answer at 0
> [2014-04-30 10:27:06.919740 -0500][Debug ][PostMaster ] [red-gridftp2.unl.edu:1094] Found 1 address(es): [::ffff:129.93.239.171]:1094
>
>
> On Apr 28, 2014, at 1:08 AM, Andrew Hanushevsky <[log in to unmask]> wrote:
>
>> Hi Brian,
>>
>> Start with the way the URL is specified. Hostname? IP address? There is obviously a difference. I don't see anything in the client that ostensibly pushes it to use one or the other (though there really should be).
>>
>> Andy
>>
>> On Sun, 27 Apr 2014, Brian Bockelman wrote:
>>
>>> Hi all,
>>>
>>> I have a bit of a mystery to solve (this all running 4.0.0-rc1).
>>>
>>> When I run "xrdcp" from my worker nodes to my local Xrootd server, I see the transfers occur over IPv6.
>>>
>>> However, when I access files via a version of CMSSW from the same node to the same server, I see the transfers go over IPv4.
>>>
>>> Does anyone have any hints on how to determine why this difference occurs? Maybe just because it's Sunday, but I'm stumped on where to start.
>>>
>>> Thanks,
>>>
>>> Brian
>>> ########################################################################
>>> Use REPLY-ALL to reply to list
>>>
>>> To unsubscribe from the XROOTD-DEV list, click the following link:
>>> https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1
>>>
>
> ########################################################################
> Use REPLY-ALL to reply to list
>
> To unsubscribe from the XROOTD-DEV list, click the following link:
> https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1
########################################################################
Use REPLY-ALL to reply to list
To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1
|