This is an old revision of the document!


Local Installation of Condor

This page describes the procedure for installing Condor on a Fedora 13 system from the Condor source code. The Fedora repository version of Condor is a few versions behind and has a few features, such as Checkpointing, disabled. For these reasons, we chose to install Condor from scratch using the Red Hat Enterprise Linux version of the source code.

Install Binaries

sudo ./condor_configure --type=manager,submit,execute --local-dir=/var/lib/condor --install-dir=/usr/local/condor --owner=condor --install
export CONDOR_CONFIG=/usr/local/condor/etc/condor_config

I tried to put the binaries in /usr/local/bin and /usr/local/sbin, but sudo's PATH didn't include /usr/local/bin and /usr/local/sbin, which made it inconvenient to run under sudo.

ln -s /usr/local/condor/bin/* /usr/bin/
ln -s /usr/local/condor/sbin/* /usr/sbin/
sudo chown condor:condor /usr/local/condor/bin/*
sudo chown condor:condor /usr/local/condor/sbin/*

Add Condor to Startup Sequence

sudo cp /usr/local/condor/etc/examples/condor.boot.generic /etc/init.d/condor
sudo chmod 774 /etc/init.d/condor
sudo chkconfig --add condor
sudo chkconfig --level 45 condor on

To verify the settings, run the following command and make sure levels 4 and 5 are on:

chkconfig --list | fgrep condor

Activate Condor Keyboard Daemon

Back in the olden days, Condor used to be able to easily do idle detection based on the device files in the /dev/ folder. This is great if the system has a PS/2 keyboard and (God forbid!) a serial mouse, but now with USB keyboards and mice, doing idle detection based on these USB device files is feeble, probably since USB device files vary by the make and model of the keyboard or mouse. Fortunately, Condor is now able to latch on to the X11 window manager and poll it for activity. Condor needs to run an extra daemon to do this, known as the condor_kbdd daemon.

If Condor were installed from a package manager, the condor_kbdd daemon wouldn't be included since it is considered a separate software package. No big deal. Installing Condor from its source code means that the condor_kbdd program comes with the whole bundle, which is nice. Although the condor_kbdd daemon is installed, it is not activated in Condor by default. In order to activate the daemon, simply add KBDD as an item in the DAEMON_LIST configuration variable as a comma-separated list. If the condor_kbdd daemon is correctly installed, Condor will start the daemon and latch it on to the X11 window server to allow for proper idle detection of any and all applicable input devices. 1)

1)
According to the Condor User Manual, the condor_kbdd daemon must run as root in order to correctly gather input device usage statistics from X11.
condor/installation/local.1310578214.txt.gz · Last modified: 2011/07/13 17:30 by garrettheath4
CC Attribution-Noncommercial-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0