Condor YUM Repository

Description

logo

Starting with Condor 7.4.1 and 7.5.1, we now have a Condor YUM repository for installing Condor on Red Hat Enterprise Linux. Please see instructions below for supported platforms. The new RPM is FHS-compliant and relocatable.

Learn more about Condor.

Install Instructions

Note: "root" user must be used to perform installation.

  1. Download and install the YUM repository file that matches your operating systems. There is a seperate repository for Development and Stable releases of Condor. If you just want the latest Condor release then please install both repositories.

    OS Development Release Stable Release Supported Platforms
    Redhat Enterprise Linux 4 condor-development-rhel4.repo condor-stable-rhel4.repo i386, x86_64
    Redhat Enterprise Linux 5 condor-development-rhel5.repo condor-stable-rhel5.repo i386, x86_64
    Redhat Enterprise Linux 6 condor-development-rhel6.repo condor-stable-rhel6.repo x86_64

    Note: Redhat 4 RPMs are created on Redhat 3


    Example - Redhat 5: Install latest Condor's release
    cd /etc/yum.repos.d
    wget http://research.cs.wisc.edu/condor/yum/repo.d/condor-development-rhel5.repo
    wget http://research.cs.wisc.edu/condor/yum/repo.d/condor-stable-rhel5.repo
    Example - Redhat 4: Install only Condor's stable release
    cd /etc/yum.repos.d
    wget http://research.cs.wisc.edu/condor/yum/repo.d/condor-stable-rhel4.repo
  2. [Optional] Add condor user.

    The Condor package will automatically add a 'condor' user/group if it does not exist already. Sites with a specific security policy should add the 'condor' user/group manually before performing the installation.

  3. [Optional] Condor RPM is relocatable. To install this RPM into other locations, please follows these instructions.

  4. Install Condor RPM

    On 32-bit machines:
    yum install condor
    On 64-bit machines:
    yum install condor.x86_64

  5. [Optional] Edit Condor's configuration file which locates at /etc/condor/condor_config.local

    This RPM is shipped with the Personal Condor configuration. Please do not use condor_configure or condor_install to configure Condor installed via this RPM.

  6. Start Condor daemons
    service condor start
  7. Check if Condor is running
    ps -ef | grep condor
    Expected Result:
    condor   29612     1  0 23:36 ?        00:00:01 /usr/sbin/condor_master -pidfile /var/run/condor/master.pid
    condor   29613 29612  0 23:36 ?        00:00:00 condor_collector -f
    condor   29614 29612  0 23:36 ?        00:00:00 condor_negotiator -f
    condor   29615 29612  0 23:36 ?        00:00:00 condor_schedd -f
    condor   29616 29612  1 23:36 ?        00:00:05 condor_startd -f
    root     29618 29615  0 23:36 ?        00:00:00 condor_procd -A /var/run/condor/procd_pipe.SCHEDD -S 60 -C 102
    

Release Notes

Installing Condor into other locations

  1. Condor RPM contains 3 prefixes that can be relocated to any locations. The RPM itself will automatically update configuration file to match the new locations.

    Prefix Contents
    /etc Configuration files and init script
    /usr Binaries, scripts, documentation, examples and etc.
    /var Log files and execute folder

    Note: Each prefix can be relocated into different folder.

  2. [Optional] Install Yum's downloadonly module in order to download RPM from repository

    yum install yum-downloadonly
  3. Download Condor RPM from yum repository to temporary folder

    yum install condor --downloadonly --downloaddir=/tmp
  4. Install RPM into /opt/condor folder

    rpm -ivh /tmp/condor-7.5.1-1.rhel5.i386.rpm \
    --relocate /usr=/opt/condor-7.5.0/usr \
    --relocate /var=/opt/condor-7.5.0/var \
    --relocate /etc=/opt/condor-7.5.0/etc

    Note: "-i" option will keep the existing version of Condor in the system. To remove a specific instance of Condor, stop its processes and use rpm -e condor-{version} to remove it. Please see this section for more detail about the behavior of Condor RPM when multiple instances are installed


  5. Start Condor daemons
    service condor start
  6. Check if Condor is running
    ps -ef | grep condor
    Expected Result:
    condor   29612     1  0 23:36 ?        00:00:01 /usr/sbin/condor_master -pidfile /var/run/condor/master.pid
    condor   29613 29612  0 23:36 ?        00:00:00 condor_collector -f
    condor   29614 29612  0 23:36 ?        00:00:00 condor_negotiator -f
    condor   29615 29612  0 23:36 ?        00:00:00 condor_schedd -f
    condor   29616 29612  1 23:36 ?        00:00:05 condor_startd -f
    root     29618 29615  0 23:36 ?        00:00:00 condor_procd -A /var/run/condor/procd_pipe.SCHEDD -S 60 -C 102
    
  7. [Optional] Setup environment variables
    export PATH=${PATH}:/opt/condor/usr/bin:/opt/condor/usr/sbin
    export CONDOR_CONFIG=/opt/condor/etc/condor/condor_config