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.
Note: "root" user must be used to perform installation.
| 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
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.repoExample - 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
yum install condorOn 64-bit machines:
yum install condor.x86_64
service condor start
ps -ef | grep condorExpected 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
| Orignal Location | Current Location |
|---|---|
| bin | /usr/bin |
| etc | /etc/condor/ |
| etc/examples | /usr/share/doc/condor-{version}/etc/examples |
| examples | /usr/share/doc/condor-{version}/examples |
| include | /usr/include/condor |
| lib | /usr/lib/condor | /usr/lib64/condor |
| libexec | /usr/libexec/condor |
| local/condor_config.local | /etc/condor/ |
| local/execute | /var/lib/condor/execute |
| local/spool | /var/lib/condor/spool |
| man | /usr/share/man |
| sbin | /usr/sbin |
| sql | /usr/share/condor/sql |
| src | /usr/src |
| INIT | /etc/init.d/condor |
| PID | /var/run/condor |
| LOGS | /var/log/condor |
| LOCK | /var/lock/condor |
| 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.
yum install yum-downloadonly
yum install condor --downloadonly --downloaddir=/tmp
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
service condor start
ps -ef | grep condorExpected 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
export PATH=${PATH}:/opt/condor/usr/bin:/opt/condor/usr/sbin
export CONDOR_CONFIG=/opt/condor/etc/condor/condor_config