Top-level BDII configuration file generator tool Quattor installation
This tool depends on 3 services to be configured on the node:
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