On 09/14/2017 12:10 AM, Andrew Hanushevsky wrote:
> Zero in xrootd means assume 1094 (this is not done automatically by
> xrdmapc -- a known issue). The reason it get reported as zero is that
> the cmsd started before the xrootd and the cmsd apparently was told it
> didn't need to wait for the xrootd to start up. I can confirm that if
hmmm, it is true that the services are started one after the other
without timeout ... is there a check of xrootd that i can make in that
cmsd start up part? or should i just add a sleep 1 ?
> you give me the config file for one of the zerers showing port 0. You
attached the config that is common for all servers
> also should send the command line used to start the cmsd as well. Either
> will work:
>
> ps -fp <pid>
> cat /proc/<pid>/cmdline
>
> where <pid> is the process ID of the cmsd.
UID PID PPID C STIME TTY TIME CMD
aliprod 11748 1 0 Sep13 ? 00:00:01 /usr/bin/cmsd -b -n
manager -l /home/aliprod/alicexrdrun/logs/cmslog -s
/home/aliprod/alicexrdrun/admin/cmsd_manager.pid -c
/home/aliprod/alicexrdconf/xrootd.cf
Thank you!
Adrian
>
> Andy
>
> On Wed, 13 Sep 2017, Adrian Sevcenco wrote:
>
>> Hi! I have a very strange problem with the reporting of registered
>> servers (xrootd 4.6.1) :
>>
>> [Wednesday 13.09.17 23:53] adrian@sev : ~ $
>> /usr/bin/xrdmapc --list s -r rd.spacescience.ro:1094
>> 0**** rd.spacescience.ro:1094
>> Srv storage04.spacescience.ro:1094
>> Srv storage05.spacescience.ro:0
>> Srv storage07.spacescience.ro:1094
>> Srv storage06.spacescience.ro:0
>> Srv storage02.spacescience.ro:1094
>>
>> the thing is that excluding oss.cache all the configuration is identical
>> among servers ... does anyone have any idea why the reported port would
>> be 0 ?
>>
>> Thank you!!
>> Adrian
>>
>>
>> ########################################################################
>> 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
>>
>
--
----------------------------------------------
Adrian Sevcenco, Ph.D. |
Institute of Space Science - ISS, Romania |
adrian.sevcenco at {cern.ch,spacescience.ro} |
----------------------------------------------
########################################################################
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
##########################################################
## COMMON DEFINITIONS
set myName = ALICE::ISS::FILE
set myRedirector = rd.spacescience.ro
set portXRDman = 1094
set portXRDsrv = 1094
set portCMSD = 3122
##########################################################
## COMMON SETTINGS ##
# http://xrootd.org/doc/dev44/xrd_config.htm#_Toc454222303
all.export / writable
# http://xrootd.org/doc/dev44/xrd_config.htm#_Toc454222299
all.sitename $myName
# Specify the manager cmsd location.
# http://xrootd.org/doc/dev45/cms_config.htm#_Toc454223020
all.manager $myRedirector $portCMSD
# Specify the location of the administrative communications path.
# http://xrootd.org/doc/dev44/xrd_config.htm#_Toc454222287
all.adminpath /home/aliprod/alicexrdrun/admin/
# Specify the location of the xrootd.pid file
# http://xrootd.org/doc/dev44/xrd_config.htm#_Toc454222317
all.pidpath /home/aliprod/alicexrdrun/admin/
# Specify execution tracing options.
# http://xrootd.org/doc/dev44/xrd_config.htm#_Toc454222301
# http://xrootd.org/doc/dev44/xrd_config.htm#_Toc454222320
#all.trace debug all
# Enable I/O monitoring.
# http://xrootd.org/doc/dev44/xrd_config.htm#_Toc454222316
xrootd.monitor all flush 60s window 30s dest files info user alien.spacescience.ro:9930
# Configure a protocol that xrd is to use for incoming requests.
# http://xrootd.org/doc/dev44/xrd_config.htm#_Toc454222296
xrd.protocol xrootd *
# Enable window scaling on the monostream connection.
# http://xrootd.org/doc/dev44/xrd_config.htm#_Toc454222293
xrd.network buffsz 0 nodnr
# Enable and set third-party-copy (TPC) parameters.
# http://xrootd.org/doc/dev41/ofs_config.htm#_Toc401930723
ofs.tpc autorm xfr 20 pgm /usr/bin/xrdcp -f
# Manage processing latency.
# http://xrootd.org/doc/dev45/cms_config.htm#_Toc454223045
cms.delay servers 1 startup 10
# Specify how servers are selected for file creation
# http://xrootd.org/doc/dev45/cms_config.htm#_Toc454223038
cms.space min 48g 16g
#########################
## MANAGER SECTION ##
#########################
if $myRedirector
# http://xrootd.org/doc/dev45/cms_config.htm#_Toc454223024
all.role manager
# http://xrootd.org/doc/dev44/xrd_config.htm#_Toc454222290
xrd.port 1094
# Specify the parameters for the load balancing scheduling algorithm.
# http://xrootd.org/doc/dev45/cms_config.htm#_Toc454223036
cms.sched cpu 10 io 10 space 80
else
########################
## SERVER SECTION ##
########################
# http://xrootd.org/doc/dev45/cms_config.htm#_Toc454223024
all.role server
# http://xrootd.org/doc/dev44/xrd_config.htm#_Toc454222290
xrd.port 1094
# DEFAULTS
# http://xrootd.org/doc/dev41/ofs_config.htm#_Toc401930728
oss.defaults nomig nodread nocheck norcreate nolock
# Specify how asynchronous I/O is to be handled.
# http://xrootd.org/doc/dev44/xrd_config.htm#_Toc454222306
xrootd.async off
# Specify how file check sums are computed.
# http://xrootd.org/doc/dev44/xrd_config.htm#_Toc454222307
xrootd.chksum max 2 md5
# Specify when threads are created, how many can be created, and when they should be destroyed.
# http://xrootd.org/doc/dev44/xrd_config.htm#_Toc454222298
xrd.sched mint 32 maxt 2048 avlt 512 idle 780
# Enable tracing at the oss level.
# http://xrootd.org/doc/dev41/ofs_config.htm#_Toc401930724
# Tracing may severely impact performance because all trace messages require
# serialization to make sure trace messages are printed in the correct order.
ofs.trace open
# Auth Section #
# Specify the location of the security interface layer. - IS IT NEEDED?
# http://xrootd.org/doc/dev44/xrd_config.htm#_Toc454222304
xrootd.seclib /usr/lib64/libXrdSec.so
# Define the characteristics of an authentication protocol.
# http://xrootd.org/doc/dev45/sec_config.htm#_Toc464225462
sec.protocol /usr/lib64 unix
# Enable the access control, acc, component.
# http://xrootd.org/doc/dev41/ofs_config.htm#_Toc401930710
ofs.authorize
# Specify the location of the file system authorization interface layer.
# http://xrootd.org/doc/dev41/ofs_config.htm#_Toc401930712
ofs.authlib /usr/lib64/libXrdAliceTokenAcc.so
# Specify the way a disk partition is selected for file placement.
# http://xrootd.org/doc/dev41/ofs_config.htm#_Toc401930727
oss.alloc 0 0 0
# The funny ALICE name translation, for the global metamanager to aggregate all the clusters
# http://xrootd.org/doc/dev41/ofs_config.htm#_Toc401930739
oss.namelib /usr/lib64/libXrdAggregatingName2Name.so /home/aliprod/data
# The metamanager acts as a virtual stager. Beware, internally xrootd strips the trailing slashes so, no point in adding them here
# Specify where the local file system name space is actually rooted.
# http://xrootd.org/doc/dev41/ofs_config.htm#_Toc401930730
oss.localroot /storage01/xrdnamespace
# Specify the location of a file system that is to be used to hold data files.
# http://xrootd.org/doc/dev41/ofs_config.htm#_Toc401930733
oss.space public /storage01/xrddata
oss.space public /storage02/xrddata
oss.space public /storage03/xrddata
fi
## CLI starting of services
## !!! DO NOT REMOVE !!!
## variables used for cutomized start of services
#@@__XRD_INSTANCE_NAME="manager"
#@@__XRD_LOG="/home/aliprod/alicexrdrun/logs/xrdlog"
#@@__XRD_PIDFILE="/home/aliprod/alicexrdrun/admin/xrd_manager.pid"
#@@__XRD_DEBUG=""
#@@__CMSD_INSTANCE_NAME="manager"
#@@__CMSD_LOG="/home/aliprod/alicexrdrun/logs/cmslog"
#@@__CMSD_PIDFILE="/home/aliprod/alicexrdrun/admin/cmsd_manager.pid"
#@@__CMSD_DEBUG=""
########################################################################
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
|