Configuration

To configure the Condor Job Submission portlet, modify the portlet deployment descriptor (portlet.xml). If using the GridPort Demo Portal, this file will be located in demo-portal/src/conf/portlet.xml.condor-job-submission. If deploying the portlet to your own portal, the file will be located in condor-job-submission/src/webapp/WEB-INF/portlet.xml

Configure the resources that users of this portlet can access. Enter a resource list as the value of the resources parameter. Resources entered in this list should be GRAM-enabled and running the gridFTP server. In the following example, the machines bandera, blanco, and laredo are assigned as resources.

	<!-- resources configuration -->
        <init-param>
            <name>resources</name>
            <value>bandera.tacc.utexas.edu,blanco.tacc.utexas.edu,laredo.tacc.utexas.edu</value>
        </init-param>
        ...

Configure the Condor collector, schedd, and spool directory. The Condor collector runs on a well known port on the Central Manager and has information about all resources in the Condor Pool. The portlet queries the collector for resource information. Enter the URL of the Condor Collector as the value of the gp.condor.collector.url parameter. The IP address may be substituted for the resource name, followed by a colon, and then the port number. In the following example the collector (gp.condor.collector.url) is assigned the value "http://129.114.4.22:9618". The Condor Schedd runs on the submit node. The portlet will submit Jobs to the Schedd where the Central Manager will match them with appropriate resources the Collector has as available. Enter the hostname of the submit node as the value for the gp.condor.submission.host parameter. In the following example, the Schedd running on the submit node (gp.condor.submission.host) is assigned the value "laredo.tacc.utexas.edu". The spool directory is typically located on the submit node under the Condor installation directory. Enter the location of the Condor spool directory as the value of the gp.condor.spool.directory.location parameter. In the following example, the spool directory is assigned the value "/home/mausolf/mycondor/".

                <!-- Condor Configuration -->
        <init-param>
            <name>gp.condor.submission.host</name>
            <value>laredo.tacc.utexas.edu</value>
        </init-param>
        <init-param>
            <name>gp.condor.spool.directory.location</name>
            <value>/home/mausolf/mycondor/</value>
        </init-param>
        <init-param>
            <name>gp.condor.collector.url</name>
                        <value>http://129.114.4.22:9618</value>
        </init-param>
        ...

The portlet is now configured to use Condor-G to submit batch jobs to remote resources on your grid. Note that after editing the configuration of this portlet, you must redeploy the portlet and restart Tomcat.