High Performance Computing
High End Visualization
About CCR Contact Us Events Facilities Faculty Project Highlights History Job Opportunities News Partners Staff
Bioinformatics Consulting Services Grid Computing Visualization
Accounts Application Software Consulting Getting Started Hardware Resources Frequently Asked Questions Machine Status MyCCR MyStats Overview Request Help Storage Resources Training/Courses Web Portals
Access Grid Training Outreach
Events Logos Media News Photo Album Videos
Contact Information Directions
  Dashboard > People > Jon Bednasz > Home > CCRs Condor Project
Log In   View a printable version of the current page.
CCR's Condor Project

Download Condor

http://www.cs.wisc.edu/condor/downloads (free registration required) and put it into /opt

Configure

host# sudo /usr/sbin/adduser -s /bin/false condor
copy the tar ball to /opt
host# cd /opt/
host# sudo tar vxzf condor-<version>.tar.gz
host# sudo ln -s /opt/condor-<version> /opt/condor
host# cd condor
host# sudo ./condor_configure --install --type=submit,execute --owner=condor --central-manager=yardbirds.ccr.buffalo.edu
host# sudo mkdir /etc/condor
host# sudo ln -s /opt/condor/etc/condor_config /etc/condor/condor_config
host# sudo cp /opt/condor/etc/examples/condor.boot /etc/init.d/condor

Edit /opt/condor/local.<hostname>/condor_config.local making sure it has:

LOWPORT = 9600
HiGHPORT = 9700
RESERVED_SWAP = 0
FILESYSTEM_DOMAIN = $(FULL_HOSTNAME)
UID_DOMAIN = $(FULL_HOSTNAME)
CONDOR_ADMIN = jbednasz@ccr.buffalo.edu

Edit /etc/condor/condor_config

RELEASE_DIR = /usr/local/condor
to
RELEASE_DIR = /opt/condor

CONDOR_ADMIN = condor-admin@your.domain
to
CONDOR_ADMIN = jbednasz@ccr.buffalo.edu

UID_DOMAIN = your.domain
to
UID_DOMAIN = ccr.buffalo.edu

FILESYSTEM_DOMAIN = your.domain
to
FILESYSTEM_DOMAIN = buffalo.edu

COLLECTOR_NAME = My Pool
to
COLLECTOR_NAME = CCR Backfill Condor Pool

FLOCK_FROM =
to
FLOCK_FROM = ccr.buffalo.edu

FLOCK_TO =
to
FLOCK_TO = ccr.buffalo.edu

HOSTALLOW_READ = *
to
HOSTALLOW_READ = *.ccr.buffalo.edu

HOSTALLOW_WRITE = YOU_MUST_CHANGE_THIS_INVALID_CONDOR_CONFIGURATION_VALUE
to
HOSTALLOW_WRITE = *.ccr.buffalo.edu

Firewall Configuration

Our condor setup requires port 9600:9700 to be open for condor communication

For example:

-A RH-Firewall-1-INPUT&nbsp; -p tcp -m state --state NEW --destination-port 9600:9700 -j ACCEPT
-A RH-Firewall-1-INPUT&nbsp; -p udp -m state --state NEW --destination-port 9600:9700 -j ACCEPT

Start up Files 

Edit /etc/init.d/condor
change /usr/local/condor to /opt/condor

Have condor start on any reboots

/sbin/chkconfig condor on

Edit /etc/profile.d/condor.sh and add:

export PATH=$PATH:/opt/condor/bin/
export CONDOR_CONFIG=/opt/condor/etc/condor_config

Edit /etc/profile.d/condor.csh and add:

($path /opt/condor/bin)
setenv CONDOR_CONFIG /opt/condor/etc/condor_config

Start Condor 

sudo /etc/init.d/condor start

    Check if things are working:

        condor_status - command will give you a list of all the machines currently in the condor pool. Your machine will be added after about 20 minutes of starting condor.

Center for Computational Research - University at Buffalo - State University of New York