How To Configure Two Node Pool

On Linux

Install two instances of condor in two seperate directories on a single machine using condor_config using installation procedure detailed in the manual. Configure them with the following settings:

In this guide, condor1 will be a central manager,submit node (COLLECTOR, MASTER, NEGOTIATOR, SCHEDD). condor2 (MASTER, STARTD) will be a execute only node. Configure each of these instances independently.

//An example config for condor1
$./condor_configure --install=. --prefix=mycondor1/ --local-dir={dir}/mycondor1/ --type=manager,submit
//An example config for condor2
$./condor_configure --install=. --prefix=mycondor2 --local-dir={dir}/mycondor2/ --type=execute

In two seperate shells, source each of the shell files in the release directory of condor1 and condor2, respectively.

$ source condor.sh

In each of the condor_config.local (or just condor_config) files set the Lock to different values for each instance.

LOCK = /tmp/condor-lock.0.317763962390931 %in condor1's config

LOCK = /tmp/condor-lock.0.317763456546765 %in condor2's config

In condor2's local config file, set

COLLECTOR_HOST = {mycomputer} 

where mycomputer is your machine's name.

In condor1's local config file, ensure that COLLECTOR_HOST is set appropriately.

COLLECTOR_HOST = $(FULL_HOSTNAME)

This links condor2 to the collector of condor1.

Both condor instances should now be ready to start and run together.