LISTSERV mailing list manager LISTSERV 16.5

Help for XROOTD-L Archives


XROOTD-L Archives

XROOTD-L Archives


XROOTD-L@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-L Home

XROOTD-L Home

XROOTD-L  May 2013

XROOTD-L May 2013

Subject:

Re: Anybody with puppet for xrootd ?

From:

Martin Philipp Hellmich <[log in to unmask]>

Reply-To:

Support use of xrootd by HEP experiments <[log in to unmask]>

Date:

Fri, 24 May 2013 11:07:59 +0000

Content-Type:

multipart/signed

Parts/Attachments:

Parts/Attachments

text/plain (237 lines) , smime.p7s (237 lines)

Hi Henrik,

already thanks a lot for testing and for your config files!

On May 24, 2013, at 12:27 PM, Henrik Öhman <[log in to unmask]>
 wrote:

> Hi Martin,
> 
> I'm trying to get the DPM xrootd module working in a custom
> environment, but I am still not entirely sure how to begin. Right now
> I have a basic VM instance running CentOS 6.4 with puppet installed. I
> have downloaded the punch modules and the manifests-testbed, but I
> don't believe that the xrdbase.pp maniest is applicable to this use
> case. Could you give me some hints on whether I can use the punch
> modules on a custom VM, or if they depend on some domain specific
> requirements for CERN?
In general, the punch modules have CERN-specific requirements, but ours, i.e. lcgdm, dmlite, xrootd, gridftp, …, do not.
So you can (should be able to) use the xrootd module on any VM.
The only OS I test on is Scientific Linux, but CentOS should be close enough.

The xrdbase.pp is a full dpm configuration, so if you just want xrootd configured, you can only instantiate the xrootd classes with the appropriate parameters.
class{"xrootd::install":}
class{"xrootd::config":}
class{"xrootd::service":}
This should work, but you will have a lot of parameters to configure. :)
That's why we have the convenience class in dmlite::xrootd, but this relies on other classes in dpm -- so maybe you don't want to do that.
> 
> Secondly, I looked through the configuration template, and so far I've
> found a couple of things that might not agree with the ATLAS Tier3
> configuration file I've been using. Perhaps these options are
> configured in some other way, but here are the differences:
> 
> oss.localroot: We set this to /data/scratch by convention
> acc.authdb: This is set to /etc/xrootd/auth_file, which contains the
> single line 'u * /atlas a' to give users full access to the atlas area
> frm.xfr.copycmd: This is set to 'in stats /etc/xrootd/stagein.sh $SRC
> $DST $CGI' on the nodes
> 
> There are a few other options we use that are not available in the
> xrootd.cfg.erb template. I'm not an xrootd expert - in fact I barely
> know it - so I don't know the significance or impact of these options.
> I have attached xrootd.cfg, auth_file, and stagein.sh.

Thanks a lot for naming these parameters, I will include them in the templates.
If anyone else can comment on the use of these, you are very welcome to do so!

Thanks again

Cheers
Martin
> 
> Best regards,
> Henrik
> 
> On 22 May 2013 09:53, Martin Philipp Hellmich <[log in to unmask]> wrote:
>> Hi Henrik,
>> 
>> did you get a chance to try it?
>> 
>> Cheers
>> Martin
>> 
>> On May 17, 2013, at 3:55 PM, Martin Philipp Hellmich <[log in to unmask]> wrote:
>> 
>>> Hi all,
>>> 
>>> so the module should be able to configure a dpm with xrootd as head node or disk node, but _without_ federation.
>>> It would be great, if you could test that.
>>> 
>>> The federation part is trickier and I am still working on it.
>>> If you want to have a look at this, I believe it can follow the same schema as the other configs, look into "modules/dmlite/manifest/xrootd.pp".
>>> 
>>> Cheers
>>> Martin
>>> 
>>> On May 17, 2013, at 11:10 AM, Henrik Öhman <[log in to unmask]> wrote:
>>> 
>>>> Thanks Martin,
>>>> 
>>>> I'll have a look over the weekend!
>>>> 
>>>> Best regards,
>>>> Henrik
>>>> 
>>>> On 17 May 2013 10:52, Martin Philipp Hellmich <[log in to unmask]> wrote:
>>>>> Hi Henrik
>>>>> 
>>>>> the branch to use is 'test'. The punch-modules are the collection of all puppet modules used at CERN.
>>>>> This is where the xrootd module should go in the end, too.
>>>>> 
>>>>> If you look in the folder 'modules', you can find the xrootd and the lcgdm modules.
>>>>> The templates are inside there, too, in a template folder.
>>>>> You can find an example how to use it in a dpm configuration here:
>>>>> https://svnweb.cern.ch/trac/lcgdm/browser/extras/puppet/manifests-testbed
>>>>> 
>>>>> The xrootd manifests are in 'xrootd'. The xrdbase.pp holds all the information.
>>>>> 
>>>>> Hope that helps, please ask if I missed something!
>>>>> 
>>>>> Cheers
>>>>> Martin
>>>>> 
>>>>> 
>>>>> On May 17, 2013, at 10:43 AM, Henrik Öhman <[log in to unmask]>
>>>>> wrote:
>>>>> 
>>>>>> Dear Martin,
>>>>>> 
>>>>>> Thanks for the repo link. I have cloned it, but there is no default
>>>>>> branch (e.g. master), only 'devel' and 'test'. Which one should I use?
>>>>>> 
>>>>>> Further I have no experience with punch-modules - could you tell me
>>>>>> where to start digging? For the ATLAS (US) Tier3 perspective, I'd like
>>>>>> to examine the configuration file templates and also the manifests
>>>>>> responsible for creating the configuration files. Could you give me a
>>>>>> pointer or two?
>>>>>> 
>>>>>> Thanks,
>>>>>> Henrik
>>>>>> 
>>>>>> On 16 May 2013 11:06, Martin Philipp Hellmich <[log in to unmask]> wrote:
>>>>>>> Hi Henrik, Andrea,
>>>>>>> 
>>>>>>> I am very happy to collaborate.
>>>>>>> I have started making an xrootd puppet module, which is general and extensible.
>>>>>>> It now works together with a dpm-xrootd module defining extra variables and parameters and hiding some of the configuration complexity to the user.
>>>>>>> 
>>>>>>> The xrootd part should be invoked through
>>>>>>> class{"xrootd::config":}
>>>>>>> class{"xrootd::install":}
>>>>>>> class{"xrootd::service":}
>>>>>>> plus two functions after config, which create the configuration files:
>>>>>>> create_config{"config_disk":}
>>>>>>> create_config{"config_redir":}
>>>>>>> create_sysconfig{"sysconfig":}
>>>>>>> 
>>>>>>> so in all it looks like this in your manifest:
>>>>>>> class{"xrootd::config":}
>>>>>>> create_config{"config_disk":}
>>>>>>> create_config{"config_redir":}
>>>>>>> create_sysconfig{"sysconfig":}
>>>>>>> class{"xrootd::install":}
>>>>>>> class{"xrootd::service":}
>>>>>>> 
>>>>>>> If you are interested to have a look at the code, checkout the test branch from here:
>>>>>>> [log in to unmask]:./public/repo/punch-modules
>>>>>>> It's the punch module repo with the xrootd and lcgdm::xrootd modules added (and some minor changes throughout so it works without hiera)
>>>>>>> 
>>>>>>> I am happy to help dig through the code and try it!
>>>>>>> 
>>>>>>> Cheers
>>>>>>> Martin
>>>>>>> 
>>>>>>> On May 16, 2013, at 10:00 AM, Henrik Öhman <[log in to unmask]>
>>>>>>> wrote:
>>>>>>> 
>>>>>>>> Dear Fabrizio,
>>>>>>>> 
>>>>>>>> I got this mail through Sergey Panitkin, and I believe I can be of some help. Note that I'm not on the xrootd-l list, so please make sure that my email is among the recipients in your reply.
>>>>>>>> 
>>>>>>>> I have been using puppet to configure xrootd on Google Compute Engine (GCE). In this activity I have based my modules and templates on the ATLAS US Tier3 puppet modules. I am by no means an expert on puppet, but I do have some experience crafting puppet modules and templates for different services. I have some spare time right now, so if you'd like me to take a look at your specific setup let me know.
>>>>>>>> 
>>>>>>>> Best regards,
>>>>>>>> Henrik
>>>>>>>> 
>>>>>>>> 
>>>>>>>> -------- Original Message --------
>>>>>>>> Subject:      Anybody with puppet for xrootd ?
>>>>>>>> Date: Wed, 15 May 2013 16:09:38 +0200
>>>>>>>> From: Fabrizio Furano <[log in to unmask]>
>>>>>>>> To:   xrootd-l <[log in to unmask]>
>>>>>>>> CC:   Martin Philipp Hellmich <[log in to unmask]>, Oliver Keeble <[log in to unmask]>
>>>>>>>> 
>>>>>>>> 
>>>>>>>> Hi xrootd folks,
>>>>>>>> 
>>>>>>>> as DPM team we are planning to invest into puppet for the setup, and
>>>>>>>> of course this would cover also the so-called xrootd plugin, that
>>>>>>>> involves an xrootd setup as a frontend of DPM, plus some DPM-related
>>>>>>>> Xrd* plugins.
>>>>>>>> 
>>>>>>>> The question is... is there anybody who has experience/templates/etc.
>>>>>>>> about setting up xrootd clusters with puppet ? Our idea is to be
>>>>>>>> compatible with existing practices, if any, or, even better, to share
>>>>>>>> material on this.
>>>>>>>> 
>>>>>>>> Thank you!
>>>>>>>> 
>>>>>>>> Fabrizio
>>>>>>>> 
>>>>>>>> ########################################################################
>>>>>>>> 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
>>>>>>>> 
>>>>>>> 
>>>>>>> --
>>>>>>> Martin Hellmich                    Information Technology Department
>>>>>>> [log in to unmask]               CERN
>>>>>>> +41 22 76 765 26                 CH-1211 Geneva 23
>>>>>>> 
>>>>> 
>>>>> --
>>>>> Martin Hellmich                    Information Technology Department
>>>>> [log in to unmask]               CERN
>>>>> +41 22 76 765 26                 CH-1211 Geneva 23
>>>>> 
>>> 
>>> --
>>> Martin Hellmich                    Information Technology Department
>>> [log in to unmask]               CERN
>>> +41 22 76 765 26                 CH-1211 Geneva 23
>>> 
>> 
>> --
>> Martin Hellmich                    Information Technology Department
>> [log in to unmask]               CERN
>> +41 22 76 765 26                 CH-1211 Geneva 23
>> 
> <auth_file><xrootd-clustered.cfg><stagein.sh>

--
Martin Hellmich                    Information Technology Department
[log in to unmask]               CERN
+41 22 76 765 26                 CH-1211 Geneva 23


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

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

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
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
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
December 2009
November 2009
October 2009
September 2009
July 2009
June 2009
May 2009
April 2009
March 2009
January 2009
December 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
December 2004
November 2004
October 2004
September 2004
August 2004

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