configure_gratia - Gratia configuration script
This script is used to deploy and configure the various of the Gratia accounting system
configure_gratia --vdt-install <VDT installation root>
--reporting
--services
--probe <probe-type>
--force-probe-config
--probe-cron
--site-name <name>
--ce-name <name>
--report-to <host>
--data-dir <dir>
--working-dir <dir>
--log-dir <dir>
--log-rotate <value>
--log-level <value>
--help
- --vdt-install <VDT installation root>
-
configure_gratia will look for the root of the VDT installation at
$VDT_LOCATION. If you do not have that set you can specify it
with --vdt-install instead.
- --help, --usage
-
Print a usage message.
- --reporting
-
Install the Gratia Reporting web applications
- --services
-
Install the Gratia Services web applications
- --probe
-
Install the Gratia Probes. This takes a mandatory argument of "condor"
"pbs", "lsf", "sge", "metric", or "glexec". The following options must
be used with the --probe switch.
- --force-probe-config
-
Optional switch to force MeterName, SSLHost, SSLRegistrationHost and
SOAPHost to be configured even if the config file is not pristine (has
already been configured once).
- --site-name
-
Specifies the name of your site that Gratia is reporting for.
- --report-to
-
Specifices the hostname where the probe should send collected data.
- --probe-cron
-
This flag will install the appropriate Gratia probe cron job.
- --ce-name
-
This is required (and only used) for configure glexec.
- --data-dir --working-dir --log-dir --log-rotate --log-level
-
Sets the corresponding option in the ProbeConfig file for the probe being
configured. If not specified, the value will not be changed. These
options do not normally need to be called manually.
The following actions are performed (as needed) to configure Gatia:
- Configure and install the Gratia components into Tomcat
-
- Configure Tomcat and Apache to allow secure access to the web application
-
- Restart Apache and Tomcat if starting the service
-