XRootD 
  FRM 
  Release Matrix 
	
		
			|  release filename  | 
			 source  | 
			 url  | 
			 version  | 
			 author  | 
			 notes  | 
			 release date   | 
		
	
	
		
			|  xrootd-client-3.0.2-1.el5.x86_64.rpm  | 
			 EPEL  | 
			 download  | 
			 3.0.2  | 
			 Mattias Ellert  | 
			    | 
			    | 
		
		
			|  xrootd-20100115.1117.tar.gz  | 
			 cern  | 
			 download  | 
			    | 
			    | 
			    | 
		
		
			|  xrootd-20100315-1007-vdt2-x86_64_rhap_5.tar.gz  | 
			 VDT  | 
			 download  | 
			    | 
			    | 
			 used by pacman  | 
		
		
			|  root-system-xrootd  | 
			 ubuntu  | 
			 download  | 
			 2.9.0 build 20071116-0000c  | 
			 Chuck Short  | 
			    | 
			    | 
		
		
			|  xrootd-3.0.2.rhel4-64_dbg.tar.gz  | 
			 slac  | 
			 download  | 
			 3.0.2.rhel4-64_dbg  | 
			    | 
			 official release  | 
			 2011-01-26  | 
		
		
			|  xrootd-3.0.2-1.fc13.src.rpm  | 
			 FC13  | 
			 download  | 
			 3.0.2-1.fc13  | 
			 Mattias Ellert  | 
			 same spec xrootd-3.0.2-1.el5  | 
			 1-30-2011  | 
		
		
			|  xrootd-3.0.2-2.fc15.src.rpm  | 
			 FC15  | 
			 download  | 
			 3.0.2-2.fc15  | 
			 Fedora Release Engineering  | 
			    | 
			 2-08-2011  | 
		
		
			|  xrootd-3.0.3-1  | 
			 cern git  | 
			    | 
			 3.0.3-1  | 
			 Lukasz Janyst  | 
			 spec in repo only  | 
			 3-22-2011  | 
		
		
			|  xrootd-3.0.3-0.pre8.x86_64  | 
			 ultralight  | 
			 download  | 
			 3.0.3-0.pre8  | 
			 Brian Bockelman  | 
			 used on uct2-grid5  | 
			 3-7-2011  | 
		
	
  Resources 
 
-  VDT 2.0 Cache
  -  Xrootd Homepage
  -  A mirror of the XRootD repository at SLAC
  -  Tier3 Xrootd Install Twiki
 
 
  Puppet Rules as of 3-27-2011 
[root@uct2-mgt xrootd]# cat manifests/init.pp 
# $Id: XRootD.txt,v 1.3 2011/05/26 23:55:55 NathanYehle Exp $
class xrootd::repo {
   file { "/etc/yum.repos.d/osg-xrootd.repo":  source => "puppet:///modules/xrootd/osg-xrootd.repo", owner => "root",group => "root", mode => 644 }
}
class xrootd::repo::package {
   include xrootd::repo
   package { "xrootd": ensure => installed, require => [ File["/etc/yum.repos.d/osg-xrootd.repo"] ] }
}
class xrootd::package {
    package { "xrootd": ensure => installed }
}
class xrootd::service {
  include xrootd::package
  service { "xrootd":
     hasrestart => true,
    ensure => running,
    enable => true,
    require => Package['xrootd']
  }
  service { "cmsd":
     hasrestart => true,
    ensure => running,
    enable => true,
    require => Package['xrootd']
  }
}
define xrootd_xrdlfc_pool($xrd_manager='itbv-xrootd1.mwt2.org:1213',$xrd_port=1094,$xrd_export_path="/atlas",$xrd_export_lock="lock",$xrd_export_oss_options="r/o", $lfc_host='uct2-grid5.uchicago.edu', $wn_setup='/share/wn-client/setup.sh', $pnfs_root="/pnfs", $path_match="uchicago.edu", $dcache_pools="/dcache/pool*/data", $xrd_lfc_options="force_direct" ) {
   include xrootd::repo
   include xrootd::package
   include xrootd::service
   file { "/etc/xrootd/xrootd.cfg":
        owner => "root",
        group => "root",
        mode => 644,
        content => template("xrootd/xrootd.cfg.xrdlfc.tpl"),
        require => [ Package['xrootd'] ],
        notify => [ Service["xrootd"], Service ["cmsd"] ]
   }
  
   file { "/etc/xrootd/Authfile":
        owner => "root",
        group => "root",
        mode => 644,
        content => template("xrootd/Authfile.tpl"),
        require => [ Package['xrootd'] ],
        notify => [ Service["xrootd"], Service ["cmsd"] ]
   }
  file { "/usr/bin/xrootd.sh": content => template("xrootd/xrootd.sh.tpl"), owner => root, group => root, mode => "755", require => Package["xrootd"] }
  file { "/usr/bin/cmsd.sh": content => template("xrootd/cmsd.sh.tpl"), owner => root, group => root, mode => "755", require => Package["xrootd"] }
}
define xrootd_pool($xrd_manager='itbv-xrootd1.mwt2.org:1213',$xrd_port=1094,$xrd_export_path="/atlas",$xrd_export_lock="lock",$xrd_export_oss_options="r/o") {
   include xrootd::repo
   include xrootd::package
   include xrootd::service
   file { "/etc/xrootd/xrootd.cfg":
        owner => "root",
        group => "root",
        mode => 644,
        content => template("xrootd/xrootd.cfg.pool.tpl"),
        require => [ Package['xrootd'] ],
        notify => [ Service["xrootd"], Service ["cmsd"] ]
   }
   file { "/etc/xrootd/Authfile":
        owner => "root",
        group => "root",
        mode => 644,
        content => template("xrootd/Authfile.tpl"),
        require => [ Package['xrootd'] ],
        notify => [ Service["xrootd"], Service ["cmsd"] ]
   }
}
define xrootd_manager($global_manager='',$xrd_manager='itbv-xrootd1.mwt2.org:1213',$xrd_port=1094,$xrd_export_path="/atlas",$xrd_export_lock="lock",$xrd_export_oss_options="r/o") {
   include xrootd::repo
   include xrootd::package
   include xrootd::service
   file { "/etc/xrootd/xrootd.cfg":
        owner => "root",
        group => "root",
        mode => 644,
        content => template("xrootd/xrootd.cfg.manager.tpl"),
        require => [ Package['xrootd'] ],
        notify => [ Service["xrootd"], Service ["cmsd"] ]
   }
   file { "/etc/xrootd/Authfile":
        owner => "root",
        group => "root",
        mode => 644,
        content => template("xrootd/Authfile.tpl"),
        require => [ Package['xrootd'] ],
        notify => [ Service["xrootd"], Service ["cmsd"] ]
   }
}
class xrootd::lsm {
    file { "/usr/local/analy_mwt2_x": 
        ensure => directory,
        require=>File["/usr/local"]
    }
    file { "/usr/local/analy_mwt2_x/setup.sh":
        mode=>0644,
        require=>File["/usr/local/analy_mwt2_x/"],
        source => "puppet:///modules/xrootd/setup.sh"
    }
    file { "/usr/local/analy_mwt2_x/bin":
        ensure => directory,
        require=>File["/usr/local/analy_mwt2_x"]
    }
    file { "/usr/local/analy_mwt2_x/log":
        ensure => directory,
        mode =>0777,
        require=>File["/usr/local/analy_mwt2_x"]
    }
    file { "/usr/local/analy_mwt2_x/bin/lsm-get":
        mode=>0755,
        require=>[File["/usr/local/analy_mwt2_x/bin"], 
                  Mount["/share/xrootd-client"] ],
        source => "puppet:///modules/xrootd/lsm-get"
    }
    file { "/usr/local/analy_mwt2_x/bin/lsm-rm":
        mode=>0755,
        require=>File["/usr/local/analy_mwt2_x/bin"],
        source => "puppet:///modules/xrootd/lsm-rm"
    }
    file { "/usr/local/analy_mwt2_x/bin/lsm-put":
        mode=>0755,
        require=>[File["/usr/local/analy_mwt2_x/bin"], 
                  Mount["/share/xrootd-client"] ],
        source => "puppet:///modules/xrootd/lsm-put",
    }
    file { "/usr/local/analy_mwt2_x/bin/lsm-df":
        mode=>0755,
        require=>File["/usr/local/analy_mwt2_x/bin"],
        source => "puppet:///modules/xrootd/lsm-df"
    }
    file { "/usr/local/analy_mwt2_x/log/lsm-get.log":
        mode=>0666,
        require=>File["/usr/local/analy_mwt2_x/log"]
    }
    file { "/usr/local/analy_mwt2_x/log/lsm-df.log":
        mode=>0666,
        require=>File["/usr/local/analy_mwt2_x/log"]
    }  
    file { "/usr/local/analy_mwt2_x/log/lsm-put.log":
        mode=>0666,
        require=>File["/usr/local/analy_mwt2_x/log"]
    } 
    file { "/usr/local/analy_mwt2_x/log/lsm-rm.log":
        mode=>0666,
        require=>File["/usr/local/analy_mwt2_x/log"]
    }  
    # Should we be requiring the python rpm ?
    file { "/usr/lib/python2.4/site-packages/XrdPosix.py":
        mode=>0755,
        source => "puppet:///modules/xrootd/XrdPosix.py"
    }
    file { "/usr/lib/python2.4/site-packages/_XrdPosixmodule.so":
        mode=>0755,
        source => "puppet:///modules/xrootd/_XrdPosixmodule.so"
    }
}
class xrootd::xrdlfc {
  include xrootd::package
  file { "/etc/xrootd/XrdOucName2NameLFC.so": source => "puppet:///modules/xrootd/XrdOucName2NameLFC.so", owner => root, group => root, mode => "755", require => Package["xrootd"] }
  file { "/etc/xrootd/update-xrdlfc-proxy.sh": source => "puppet:///modules/xrootd/update-xrdlfc-proxy.sh", owner => root, group => root, mode => "755", require => Package["xrootd"] }
  file { "/usr/bin/xrootd.sh": source => "puppet:///modules/xrootd/xrootd.sh", owner => root, group => root, mode => "755", require => Package["xrootd"] }
  file { "/usr/bin/cmsd.sh": source => "puppet:///modules/xrootd/cmsd.sh", owner => root, group => root, mode => "755", require => Package["xrootd"] }
  file { "/etc/cron.d/update-xrdlfc-proxy.cron": source => "puppet:///modules/xrootd/update-xrdlfc-proxy.cron", owner => root, group => root, mode => "755", require => File["/etc/xrootd/update-xrdlfc-proxy.sh"] }
}
-- 
NathanYehle - 27 Mar 2011