Good afternoon. 

Could XRootD developers please help with a xrdfs puzzle?

Bockjoo first noticed. When we query our XRootD regional redirector cmsxrootd2.fnal.gov, we were able to get locate results using "-m" option, but no results without "-m" option:

### xrdfs locate -d with "-m" option

bash-4.2$ date; xrdfs cmsxrootd2.fnal.gov:1094 locate -d -m /store/mc/RunIIFall17FSPrePremix/Neutrino_E-10_gun/GEN-SIM-DIGI-RAW/PUFor2016_94X_mcRun2_asymptotic_v3-v1/2810000/7AB76D28-6C1D-EE11-B331-FA163EEB94EB.root

Fri Sep 15 21:22:52 CEST 2023

cmsxrootd-site3.fnal.gov:1093 Server Read

cmsxrootd-site2.fnal.gov:1093 Server Read

cmsxrootd-site1.fnal.gov:1093 Server Read

cmsio5.rc.ufl.edu:1094 Server ReadWrite 

cmsio7.rc.ufl.edu:1094 Server ReadWrite 

cmsio9.rc.ufl.edu:1094 Server ReadWrite 

cmsio4.rc.ufl.edu:1094 Server ReadWrite 

cmsio3.rc.ufl.edu:1094 Server ReadWrite 

cmsio8.rc.ufl.edu:1094 Server ReadWrite 

cmsio6.rc.ufl.edu:1094 Server ReadWrite 


-------------------

### xrdfs locate -d without "-m" option


bash-4.2$ date; xrdfs cmsxrootd2.fnal.gov:1094 locate -d /store/mc/RunIIFall17FSPrePremix/Neutrino_E-10_gun/GEN-SIM-DIGI-RAW/PUFor2016_94X_mcRun2_asymptotic_v3-v1/2810000/7AB76D28-6C1D-EE11-B331-FA163EEB94EB.root

Fri Sep 15 21:27:13 CEST 2023

[ERROR] Server responded with an error: [3011] No valid location found


--------------------

On the server side, the first one showed:

230915 14:22:53 18227 acc_Audit: yujun.12664:[log in to unmask] grant host *@lxplus734.cern.ch stat /store/mc/RunIIFall17FSPrePremix/Neutrino_E-10_gun/GEN-SIM-DIGI-RAW/PUFor2016_94X_mcRun2_asymptotic_v3-v1/2810000/7AB76D28-6C1D-EE11-B331-FA163EEB94EB.root

230915 14:22:53 17913 cms_Receive: cmsxrootd2 125 bytes on 727534553

230915 14:22:53 17913 cms_Decode: cmsxrootd2 sent yujun.12664:[log in to unmask] 'Mwcmsio2.rc.ufl.edu:1094 Mrcmsxrootd-site1.fnal.gov:1094 Mrcmsxrootd-site3.fnal.gov:1094 Mrcmsxrootd-site2.fnal.gov:1094' /store/mc/RunIIFall17FSPrePremix/Neutrino_E-10_gun/GEN-SIM-DIGI-RAW/PUFor2016_94X_mcRun2_asymptotic_v3-v1/2810000/7AB76D28-6C1D-EE11-B331-FA163EEB94EB.root

230915 14:22:53 17913 cms_Receive: cmsxrootd2 32 bytes on 727535577



While the 2nd one without "-m" option showed:

230915 14:27:13 27864 acc_Audit: yujun.9149:[log in to unmask] grant host *@lxplus734.cern.ch stat /store/mc/RunIIFall17FSPrePremix/Neutrino_E-10_gun/GEN-SIM-DIGI-RAW/PUFor2016_94X_mcRun2_asymptotic_v3-v1/2810000/7AB76D28-6C1D-EE11-B331-FA163EEB94EB.root

230915 14:27:13 17913 cms_Receive: cmsxrootd2 135 bytes on 743171027

230915 14:27:13 17913 cms_Decode: cmsxrootd2 sent yujun.9149:[log in to unmask] 'Mw[2620:104:1f:1000:faf2:1eff:fed9:dd80]:1094 Mr[2620:6a:0:8420::f8]:1094 Mr[2620:6a:0:8421::243]:1094 Mr[2620:6a:0:8420::f9]:1094' /store/mc/RunIIFall17FSPrePremix/Neutrino_E-10_gun/GEN-SIM-DIGI-RAW/PUFor2016_94X_mcRun2_asymptotic_v3-v1/2810000/7AB76D28-6C1D-EE11-B331-FA163EEB94EB.root

230915 14:27:13 17913 cms_Receive: cmsxrootd2 4 bytes on 743172051


===================


As you can see, the successful one sent multiple hostnames while the failed one sent multiple IP addresses:

230915 14:27:13 27864 acc_Audit: yujun.9149:[log in to unmask] grant host *@lxplus734.cern.ch stat /store/mc/RunIIFall17FSPrePremix/Neutrino_E-10_gun/GEN-SIM-DIGI-RAW/PUFor2016_94X_mcRun2_asymptotic_v3-v1/2810000/7AB76D28-6C1D-EE11-B331-FA163EEB94EB.root

230915 14:27:13 17913 cms_Receive: cmsxrootd2 135 bytes on 743171027

230915 14:27:13 17913 cms_Decode: cmsxrootd2 sent yujun.9149:[log in to unmask] 'Mw[2620:104:1f:1000:faf2:1eff:fed9:dd80]:1094 Mr[2620:6a:0:8420::f8]:1094 Mr[2620:6a:0:8421::243]:1094 Mr[2620:6a:0:8420::f9]:1094' /store/mc/RunIIFall17FSPrePremix/Neutrino_E-10_gun/GEN-SIM-DIGI-RAW/PUFor2016_94X_mcRun2_asymptotic_v3-v1/2810000/7AB76D28-6C1D-EE11-B331-FA163EEB94EB.root

230915 14:27:13 17913 cms_Receive: cmsxrootd2 4 bytes on 743172051


------------------------------------


In contrast, another USCMS regional redirector xrootd.unl.edu could return results with and without "-m" option:


bash-4.2$ date; xrdfs xrootd.unl.edu:1094 locate -d /store/mc/RunIIFall17FSPrePremix/Neutrino_E-10_gun/GEN-SIM-DIGI-RAW/PUFor2016_94X_mcRun2_asymptotic_v3-v1/2810000/7AB76D28-6C1D-EE11-B331-FA163EEB94EB.root

Fri Sep 15 21:38:17 CEST 2023

cmsxrootd-site3.fnal.gov:1093 Server Read

cmsio5.rc.ufl.edu:1094 Server ReadWrite 

cmsio7.rc.ufl.edu:1094 Server ReadWrite 

cmsio9.rc.ufl.edu:1094 Server ReadWrite 

cmsio4.rc.ufl.edu:1094 Server ReadWrite 

cmsio3.rc.ufl.edu:1094 Server ReadWrite 

cmsio8.rc.ufl.edu:1094 Server ReadWrite 

cmsio6.rc.ufl.edu:1094 Server ReadWrite 

cmsxrootd-site1.fnal.gov:1093 Server Read

cmsxrootd-site2.fnal.gov:1093 Server Read


I was told their log file showed hostnames were sent even without "-m" option. 



For cmsxrootd2.fnal.gov XRootD redirector, I added 


xrd.network dnr


option in our server side xrootd.cfg but it seems IP addresses still were sent. Could you please tell how I could force hostnames instead of IP addresses to be sent

when running "xrdfs cmsxrootd2.fnal.gov:1094 locate -d" command?


Thanks in advance for any advice on this.



Regards,

Yujun




 


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