Print

Print


Hi Marcel, 

thanks for the config file. So lipnode01:1094 is a CNS server, while your cluster is lipnode01:1095. In /etc/fstab you should change to port from 1094 to 1095. A few more comments:

1. You must get this configuration template from a long time ago. CNS is no longer needed unless you have a good reason. You can comment out the following lines if you will not use CNS and inventory:

> if $(xrdr) && named cns
> all.export /data/inventory
> xrd.port 1094

> ofs.notify closew create mkdir mv rm rmdir trunc | /usr/bin/XrdCnsd -d -D 2 -i 90 -b $(xrdr):1094:/data/inventory


2. Putting xrootdfs in /etc/fstab sometimes don’t work well at system start up time because the mount command was run at a very earlier stage. the man page of xrootdfs described how to put it under autofs.

regards,
Wei Yang  |  [log in to unmask]  |  650-926-3338(O)



On Sep 28, 2014, at 5:21 PM, marcelkuri <[log in to unmask]> wrote:

> Yes. 192.168.0.1 is lipnode01, the redirector.
> And, all my data servers have "all.export /data/xrootdfs" in their xrootd-clustered.cfg file.
> 
> The output of "xrd lipnode01:1094 locateall /data/xrootdfs" is:
> InfoType: kXrdcLocDataServer
> CanWrite: true
> Location: '192.168.0.1:1094
> 
> Marcel Kuriyama
> 
> This is our xrootd-clustered.cfg of all nodes:
> 
> all.export /data/xrootdfs
> set xrdr=lipnode01
> all.manager $(xrdr):1213
> cms.allow host *
> 
> if $(xrdr) && named cns
> all.export /data/inventory
> xrd.port 1094
> else if $(xrdr)
> all.role manager
> xrd.port 1095
> else
> all.role server
> oss.localroot /data/files
> ofs.notify closew create mkdir mv rm rmdir trunc | /usr/bin/XrdCnsd -d -D 2 -i 90 -b $(xrdr):1094:/data/inventory
> cms.space min 20g 50g
> fi
> 
> #Proof configuration
> if exec xrootd
> xrd.protocol xproofd:1093 /usr/local/Root/lib/root/libXrdProofd.so
> fi
> 
> ROOTSYS
> 
> xpd.rootsys /usr/local/Root
> xpd.workdir /tmp/proofbox
> xpd.resource static /usr/local/Root/etc/proof/proof.conf
> 
> xpd.role worker
> if lipnode01
> xpd.role master
> fi
> 
> —
> Reply to this email directly or view it on GitHub.
> 

---
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/issues/141#issuecomment-57111034
########################################################################
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