Grid gateway enhancements at University of Canterbury
From BeSTGRID
When setting up grid gateways, I have installed a number of minor enhancements over the default ARCS install. The enhancements have been documented on different pages on this wiki. This page is where new enhancements should be documented, and should also link to description of existing enhancements.
Contents |
[edit] Automatic Certificate Updates
VDT 1.8.1 comes with a tool for automatic updates of the IGTF root certificate bundle. The tool comes in a separate VDT package, CA-Certificates-Updater. This package does not get installed on a default ARCS gateway. To install the package on an existing gateway, run the following sequence of commands:
cd /opt/vdt/ . pacman-3.20/setup.sh export VDTSETUP_CA_CERT_UPDATER=y pacman -pretend-platform linux-rhel-4 -get http://projects.arcs.org.au/mirror/vdt/vdt_181_cache:CA-Certificates-Updater vdt-control --on vdt-update-certs
The updater installs a cron job that runs the updater (/opt/vdt/vdt/sbin/vdt-update-certs-wrapper) runs every 11 minutes past, and logs to /opt/vdt/vdt-install.log (not to standard output mailed by cron).
[edit] Fixing startup and shutdown of gateway services
See my description of the problem, a fix to startup order, and a fix for correct shutdown
[edit] PBS job tagging
See PBS job tagging
[edit] StartUp VO: limit wall clock time
I have decided to support the StartUp VO on ng2.canterbury.ac.nz.
To limit the maximum wall clock time, I am using the pbs.pm snippet courtesy of Sam Morrison:
# Prevent grid-startup job length - Sam Morrison
if( ($ENV{'LOGNAME'} eq "grid-startup") &&
(($wall_time>30)||($wall_time==0)) ) {
$wall_time = 30;
}
