Top-level BDII configuration file generator tool Quattor installation

This tool depends on 3 services to be configured on the node:

  • httpd
  • cron
  • Sindes

This way the tool only relies on already existing NCM components. Therefore it doesn't need a new NCM component, but only configuration for the ones above.

httpd

Only a template with default settins is needed:

pro_component_httpd_defaults_bdiiconfgen
Quattorized version of the httpd config file described in BDII Config Generator Tool Service

Sindes

Since the tool does not have a separate component, "software" template is available for it. This way the Sindes configuration has to be added to the node profile, that will have the service running.

The Sindes script only has to copy the DB connection file described at BDII Config Generator Tool Service to /opt/lcg/bdiiconf-gen/conf.

cron

The cron entries also have to be added to the server's node profile. What we're using in production right now looks as the following:

  "/software/components/cron/entries" = push(
    nlist( "name","bdiiconf-gen-prod-osgsites",
        "user","root",
        "frequency","0,10,20,30,40,50 * * * *",
        "command", "/opt/lcg/bdiiconf-gen/cron/get-osgsites-cron.sh 2>> /opt/lcg/bdiiconf-gen/log/get-osgsites-cron.log"));
  "/software/components/cron/entries" = push(
    nlist( "name","bdiiconf-gen-prod",
        "user","root",
        "frequency","3,13,23,33,43,53 * * * *",
        "command", "/opt/lcg/bdiiconf-gen/cron/bdiiconf-gen-cronscript.sh 2>> /opt/lcg/bdiiconf-gen/log/bdiiconf-gen-cron.log"));
  "/software/components/cron/entries" = push(
    nlist( "name","bdiiconf-gen-pps-osgsites",
        "user","root",
        "frequency","5,15,25,35,45,55 * * * *",
        "command", "/opt/lcg/bdiiconf-gen/cron/get-osgsites-cron.sh -type=PPS -name=pps 2>>  /opt/lcg/bdiiconf-gen/log/get-osgsites-cron-pps.log" ));
  "/software/components/cron/entries" = push(
    nlist( "name","bdiiconf-gen-pps",
        "user","root",
        "frequency","7,17,27,37,47,57 * * * *",
        "command", "/opt/lcg/bdiiconf-gen/cron/bdiiconf-gen-cronscript.sh -type=PPS -name=pps 2>> /opt/lcg/bdiiconf-gen/log/bdiiconf-gen-cron-pps.log"));

-- JuditNovak - 24 Sep 2007

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2007-09-24 - JuditNovak
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LCG All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback