900731 Data Handling for Eye-in-the-Sea on MARS : Installing Condor As Execute-Only Node on Linux This page last changed on Oct 05, 2010 by dcline. ## RPM installation * Set JAVA_MAXHEAP_ARGUMENT to null, to disable the default of max RAM
    export JAVA_MAXHEAP_ARGUMENT=
* As root install condor RPM
    [root@nanomia condor\]# rpm -ivh condor-6.8.4-linux-x86-rhel3-dynamic-1.i386.rpm
    Preparing; ########################################### [100%] condor ###########################################[100%]
    ERROR "The following configuration macros appear to contain default values that must be changed before Condor will run. These macros are:
    hostallow_write (found on line 215 of /opt/condor-6.8.4/etc/condor_config) " at line 223 in file condor_config.C
    Unable to find local directory!
| hostallow_write ERROR This error is normal in the installation process. By default the installation only allows read access for security purposes.
* Run configure script to setup installation as a submit and execute only node to the central manager nanomia
    [root@nanomia condor]# /opt/condor-6.8.4/condor_configure --type=submit,execute --central-manager=nanomia.shore.mbari.org --owner=root --install-dir=/opt/condor-6.8.4
* Edit /opt/condor-6.8.4/etc/condor_config changing the lines to allow WRITE access and an address where email should be sent when something goes wrong
    HOSTALLOW_WRITE = *.shore.mbari.org
    CONDOR_ADMIN = dcline@mbari
    MAIL = /bin/mail
Open the local configuration file /opt/condor-7.2.3/local.nanomia/condor_config.local. Modify DAEMON_LIST to include VIEW_SERVER and add the START expression
    CONDOR_VIEW_HOST = $(CONDOR_HOST):9619
    DAEMON_LIST = VIEW_SERVER,...
    START = ( $(CPUIdle) || (State != "Unclaimed" && State != "Owner"))
    UID_DOMAIN = $(FULL_HOSTNAME)
    FILESYSTEM_DOMAIN = $(FULL_HOSTNAME)
    TRUST_UID_DOMAIN = True
## Installing Condor as a service on Linux * Create condor.sh file in /etc/profile.d then add the following to it:
    CONDOR_ROOT=/opt/condor-6.8.4
    export PATH=$PATH:$CONDOR_ROOT/sbin:$CONDOR_ROOT/bin
    export CONDOR_CONFIG=$CONDOR_ROOT/etc/condor_config
- Install condor service script to execute condor on bootup
      [root@nanomia condor]# cd /opt/condor-6.8.4/etc/examples
      [root@nanomia condor]# cp condor.boot /etc/init.d/condor
- Edit condor boot service script replacing MASTER line and Add . /etc/profile.d/condor.c/sh *before* the line MASTER
      . /etc/profile.d/condor.sh
      MASTER=$CONDOR_ROOT/sbin/condor_master
- Add soft links to the condor startup script
      ln -s /etc/init.d/condor /etc/rc5.d/S100condor
      ln -s /etc/init.d/condor /etc/rc5.d/K100condor
- Start the condor service
      [root@nanomia condor]# service condor start

Document generated by Confluence on Feb 03, 2026 14:51