LISTSERV mailing list manager LISTSERV 16.5

Help for XROOTD-DEV Archives


XROOTD-DEV Archives

XROOTD-DEV Archives


XROOTD-DEV@LISTSERV.SLAC.STANFORD.EDU


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

XROOTD-DEV Home

XROOTD-DEV Home

XROOTD-DEV  January 2021

XROOTD-DEV January 2021

Subject:

Re: List all xroot nodes by name

From:

Heiko Schröter <[log in to unmask]>

Reply-To:

xrootd developers' list for Scalla/xrootd repository and related issues <[log in to unmask]>

Date:

Tue, 19 Jan 2021 11:01:26 +0100

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (235 lines)

Hi Andy,

thanks for the hint. This does it.
My bad for not using the correct port on the manager side.


root@glogin ~ # xrdfs glogin:1094 locate -m /data
sadosrd25.iup.uni-bremen.de:1094 Server ReadWrite
sadosrd24.iup.uni-bremen.de:1094 Server ReadWrite
sadosrd21.iup.uni-bremen.de:1094 Server ReadWrite
sadosrd22.iup.uni-bremen.de:1094 Server ReadWrite
sadosrd30.iup.uni-bremen.de:1094 Server ReadWrite
sadosrd20.iup.uni-bremen.de:1094 Server ReadWrite
sadosrd28.iup.uni-bremen.de:1094 Server ReadWrite
sadosrd29.iup.uni-bremen.de:1094 Server ReadWrite
sadosrd31.iup.uni-bremen.de:1094 Server ReadWrite
sadosrd32.iup.uni-bremen.de:1094 Server ReadWrite

root@glogin ~ # xrdmapc --list all --refresh --verify glogin:1094 /data
0*rv* glogin.iup.uni-bremen.de:1094
   >+  Srv sadosrd32.iup.uni-bremen.de:1094
   >+  Srv sadosrd31.iup.uni-bremen.de:1094
   >+  Srv sadosrd29.iup.uni-bremen.de:1094
   >+  Srv sadosrd28.iup.uni-bremen.de:1094
   >+  Srv sadosrd20.iup.uni-bremen.de:1094
   >+  Srv sadosrd30.iup.uni-bremen.de:1094
   >+  Srv sadosrd22.iup.uni-bremen.de:1094
   >+  Srv sadosrd21.iup.uni-bremen.de:1094
   >+  Srv sadosrd24.iup.uni-bremen.de:1094
   >+  Srv sadosrd25.iup.uni-bremen.de:1094


Regards
Heiko

Am 2021-01-19 um 09:25 schrieb Andrew Hanushevsky:
> Hi Heiko,
> 
> Based on the config file, I think the issue is that you should target 
> xrdmapc to glogin.iup.uni-bremen.de:1094 not 1095. There is no 
> redirector at 1095 but there is one at 1094.
> 
> Andy
> 
> On Tue, 19 Jan 2021, schroete wrote:
> 
>> Hi Andy,
>>
>>
>> if it may help here is the config of glogin:
>>
>>
>> root@glogin xrootd # cat xrootd.cf
>> all.export /data
>>
>> xrootd.fsoverload stall 1
>>
>>
>> cms.blacklist /etc/xrootd/cms.blacklist
>>
>>
>> set xrdr=glogin.iup.uni-bremen.de
>> set inventory=/var/log/xrootd/inventory
>> all.manager $(xrdr):3121
>>
>> oss.defaults nocheck
>> xrd.network cache 3h dnr rpipa
>> xrd.timeout hail 30 idle 0 kill 3 read 5
>> xrootd.prep keep 12H logdir /var/log/xrootd/preplog
>>
>> # Timing defaults:
>> # http://xrootd.org/doc/dev49/cms_config.htm#_Toc506069425
>> # cms.delay delnode 15m discard 7 drop 10m full 0 hold 178 lookup 5 
>> nostage 3
>> # cms.delay overload * peer 0 qdl 5 qdn 1 servers 80% service 15 
>> startup 90
>> # cms.delay suspend 30
>> cms.delay lookup 2 qdl 4
>> cms.space linger 0 recalc 15 min 2% 500g 5% 510g
>> cms.allow host *.iup.uni-bremen.de
>> cms.fxhold 1h
>>
>> cms.request delay 3 repwait 1
>>
>>
>> if $(xrdr) && named cns
>>       all.export $(inventory)
>>       xrd.port 1095
>> else if $(xrdr)
>>       all.role manager
>>
>>       # When no ofs.forward -> Manager does not handle security
>>       # xrootd.seclib /usr/lib/libXrdSec.so
>>       # sec.protocol  unix
>>       # acc.authdb /etc/xrootd/Authfile
>>       # acc.authrefresh 60
>>       # ofs.authorize
>>
>>       oss.defaults rw
>>       # dont use ofs.forward 3way 14.4.2018
>>       ## 1way = info an alle raids fuer bspw. mkdir, damit Verz Struktur
>>       ## auf allen raids gleich bleibt.
>>       ofs.forward 1way all
>>       xrd.port 1094
>> else
>>       all.role server
>>       ofs.notify closew create mkdir mv rm rmdir trunc | 
>> /usr/bin/XrdCnsd -d -D 2 -i 90 -b $(xrdr):1095:$(inventory)
>>       ofs.notifymsg create $TID create $FMODE $LFN?$CGI
>>       ofs.notifymsg closew $TID closew $LFN $FSIZE
>>
>>       # security handled by data servers
>>       # when NO ofs.forward
>>       xrootd.seclib /usr/lib/libXrdSec.so
>>       sec.protocol /usr/lib  sss -s /etc/xrootd/sss.keytab
>>       sec.protocol  unix
>>       acc.authdb /etc/xrootd/Authfile
>>       acc.authrefresh 60
>>       ofs.authorize
>> fi
>>
>>
>>
>>
>> Am 19.01.21 um 08:22 schrieb Andrew Hanushevsky:
>>> Hi Eiko,
>>>
>>> I know you found an alternate solution. However, I want to point out 
>>> that as far as xrdmapc is concerned, glogin is a mere data server not 
>>> a manager. Notice it has been tagged as "Srv" not "Man". So, I don't 
>>> know what the setup is but I can't do much as it seems all these 
>>> machines are behind a firewall and inaccessible from tghe outside.
>>>
>>> Andy
>>>
>>> On Mon, 18 Jan 2021, Heiko Schröter wrote:
>>>
>>>> Thank you for the response, but still no listing of the nodes. Only 
>>>> the master mode (glogin) shows up.
>>>>
>>>>
>>>> root@glogin ~ # xrdmapc --list all glogin:1095 /data
>>>> 0*r** glogin.iup.uni-bremen.de:1095
>>>>  >   Srv glogin.iup.uni-bremen.de:1095
>>>>
>>>>
>>>> root@glogin ~ # xrdmapc --list all --refresh glogin:1095 /data
>>>> 0*r** glogin.iup.uni-bremen.de:1095
>>>>  >   Srv glogin.iup.uni-bremen.de:1095
>>>>
>>>>
>>>> root@glogin ~ # xrdmapc --list all --refresh --verify glogin:1095 /data
>>>> 0*rv* glogin.iup.uni-bremen.de:1095
>>>>  >+  Srv glogin.iup.uni-bremen.de:1095
>>>>
>>>> Anything i overlook ?
>>>> xrootd version v4.10.0
>>>>
>>>> Regards
>>>> Heiko
>>>>
>>>>
>>>> Am 2021-01-18 um 11:13 schrieb Yang, Wei:
>>>>> You can use xrdmapc
>>>>>
>>>>> regards,
>>>>> -- 
>>>>> Wei Yang  |  [log in to unmask]  |  650-926-3338(O)
>>>>>
>>>>> -----Original Message-----
>>>>> From: <[log in to unmask]> on behalf of Heiko Schröter 
>>>>> <[log in to unmask]>
>>>>> Date: Monday, January 18, 2021 at 2:11 AM
>>>>> To: xrootd-dev <[log in to unmask]>
>>>>> Cc: "[log in to unmask]" 
>>>>> <[log in to unmask]>
>>>>> Subject: List all xroot nodes by name
>>>>>
>>>>>      Hello all,
>>>>>           is there an option to list all active nodes by name with 
>>>>> xrdfs or such ?
>>>>>           I can only find the stats output which gives me the total 
>>>>> number of nodes.
>>>>>           Thanks and Regards
>>>>>      Heiko
>>>>>                     --
>>>>> ----------------------------------------------------------------------- 
>>>>>
>>>>>      Dipl.-Ing. Heiko Schröter
>>>>>      Institute of Environmental Physics (IUP)   phone: 
>>>>> ++49-(0)421-218-62092
>>>>>      Institute of Remote Sensing (IFE)          fax: 
>>>>> ++49-(0)421-218-62070
>>>>>      University of Bremen (FB1)
>>>>>      P.O. Box 330440               email: 
>>>>> [log in to unmask]
>>>>>      Otto-Hahn-Allee 1
>>>>>      28359 Bremen
>>>>>      Germany
>>>>> ----------------------------------------------------------------------- 
>>>>>
>>>>> ######################################################################## 
>>>>>      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
>>>>
>> -- 
>> -----------------------------------------------------------------------
>> Dipl.-Ing. Heiko Schröter
>> Institute of Environmental Physics (IUP)   phone: ++49-(0)421-218-62092
>> Institute of Remote Sensing (IFE)          fax:   ++49-(0)421-218-62070
>> University of Bremen (FB1)
>> P.O. Box 330440               email:  [log in to unmask]
>> Otto-Hahn-Allee 1
>> 28359 Bremen
>> Germany
>> -----------------------------------------------------------------------
>>
>>

########################################################################
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

Top of Message | Previous Page | Permalink

Advanced Options


Options

Log In

Log In

Get Password

Get Password


Search Archives

Search Archives


Subscribe or Unsubscribe

Subscribe or Unsubscribe


Archives

August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
December 2010
November 2010
October 2010
September 2010

ATOM RSS1 RSS2



LISTSERV.SLAC.STANFORD.EDU

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager

Privacy Notice, Security Notice and Terms of Use