STAR Scheduler Configuration

I deployed a private build of SUMS (roughly 1.8.10) on CMSAF and made the following changes to globalConfig.xml to get local job submission working:

In the Queue List

<void method="add">
<object id="MIT_CMSAF" class="gov.bnl.star.offline.scheduler.Queue">
<void method="setID"> <string>CMSAF</string></void>
<void method="setName"> <string></string></void>
<void method="setCluster"> <string>cmsaf.mit.edu</string> </void>
<void method="setSearchOrderPriority"> <int>1</int> </void>
<void method="setType"> <string>CONDOR</string> </void>
<void method="setSite"> <string>MIT</string> </void>
<void method="setImplementation"> <string>local</string> </void>
</object>
</void>

In the Policy List

<void method="put">
<string>mit_cmsaf_condor</string>
<object id="mit_cmsaf_condor" class="gov.bnl.star.offline.scheduler.policy.PassivePolicy">
<void method="addQueue"><object idref="MIT_CMSAF"/></void>
<void property="clusterName"><string>cmsaf.mit.edu</string></void>
</object>
</void>

Now for the Dispatcher

<void method="add">
<object id="MIT_Local_CMSAF_Dispatcher" class="gov.bnl.star.offline.scheduler.Dispatchers.condorg.CondorDispatcher">
<void property="condorEx"> <string>condor_submit</string> </void>
<void property="condorOptions"> <string>
</string></void>
<void method="addRequirement"><string/> </void>
<void property="maxAttempts"> <int>1</int> </void>
<void property="msBtwnFailure"> <int>10000</int> </void>
<void property="msBtwnSuccess"> <int>1000</int> </void>
<void property="application"> <object idref="CSHApplication"/></void>
<void property="defaultStorageSpace"><int>-1</int> </void>
</object>
</void>

And finally, here's the site configuration block

<void method="add">
<object class="gov.bnl.star.offline.scheduler.Site">
<void property="siteName"><string>cmsaf.mit.edu</string></void>
<void property="canonicalName"><string>cmsaf</string></void>
<void method="addFileSyntax">
<string>paths</string>
<object class="gov.bnl.star.offline.scheduler.util.fileSyntax.PathsSyntax"/>
</void>
<void method="addAccessPoint">
<object class="gov.bnl.star.offline.scheduler.LocalAccessPoint">
<void method="addAccessMethod">
<object class="gov.bnl.star.offline.scheduler.AccessMethod">
<void property="dispatcher"><object idref="MIT_Local_CMSAF_Dispatcher"/></void>
<void property="batchSystem"><string>condor</string></void>
<void method="addQueue"><object idref="MIT_CMSAF"/></void>
</object>
</void>
</object>
</void>
<void method="AddFileTransferGatekeeper">
<object class="gov.bnl.star.offline.scheduler.GateKeeperAccessPoint">
<void property="name"><string>cgate.mit.edu</string></void>
<void property="Utilization"><int>100</int></void>
</object>
</void>
<void property="statisticsConf">
<object class="java.util.Hashtable">
<void method="put">
<string>URL</string>
<string>jdbc:mysql://deltag5.lns.mit.edu/Scheduler_mit</string>
</void>
<void method="put">
<string>password</string>
<string>********</string>
</void>
<void method="put">
<string>username</string>
<string>scheduler</string>
</void>
</object>
</void>
<void property="logConf">
<object class="java.util.Hashtable">
<void method="put">
<string>directory</string>
<string>/net/pstore01/d00/scratch/kocolosk/sums-logs</string>
</void>
<void method="put">
<string>level</string>
<string>INFO</string> <!-- DEBUG INFO WARN ERROR FATAL -->
</void>
</object>
</void>
<void property="programLocations">
<object class="java.util.Hashtable">
<void method="put">
<string>$SCRATCH</string>
<string>$_CONDOR_SCRATCH_DIR</string>
</void>
<void method="put">
<string>unzip</string>
<string>/usr/bin/unzip</string>
</void>
<void method="put">
<string>ls</string>
<string>/bin/ls</string>
</void>
<void method="put">
<string>csh</string>
<string>/bin/csh</string>
</void>
<void method="put">
<string>ln</string>
<string>/bin/ln</string>
</void>
</object>
</void>
<void property="defaultPolicy">
<object idref="mit_cmsaf_condor"/>
</void>
</object>
</void>