Pool_coaster is a project mainly written in PERL and RUBY, it's free.
Swift passive coaster pool
Description: This set of scripts creates configuration files and workflows to request pilot jobs to OSG. Author: Allan Espinosa Date: 2010 November 24
start_services.sh - Starts coaster services Usage: start_services.sh [number of services]
mkcatalog.rb - Generates sites.xml files for submitting condor, coaster and
gram2 jobs to a list of OSG jobs. The whitelist is formatted as
[GlueSiteUniqueID][GlueCEInfoHostName] per site.
Usage: mk_catalog.rb [whitelist] [
nqueue.rb - Submits pilot coaster jobs to a list of sites by saturating it queueing n-jobs at a time. Usage: nqueue.rb [whitelist]
Here, an app called 'extenci' will be installed on the SPRACE site resource.
$ cat > whitelist << EOF SPRACE_osg-ce.sprace.org.br EOF
$ ./mk_catalog.rb whitelist extenci
$ swift setup.k
$ ./start_services.sh 2
$ swift -config swift.properties -sites.file coaster_osg.xml slave.swift
Request coaster jobs. The script will request (2.5 * total_cpus) pilot jobs throughout the duration of the workflow
Method 1: via direct condor-g
$ ./nqueue.rb whitelist
Method 2: via swift
$ swift -config swift.properties -sites.file condor_osg.xml worker.swift
$ swift -config swift.properties -sites.file coaster_osg.xml sleep.swift