General information on the condor installation

For the condor batch system installation we configure the gLite CE as a condor submitter machine which uses the machine CONDOR-MANAGER as condor master node.

The local condor deamons arte configured to run as root to not interfere with the user condor, which is configured by gLite.

Local Condor installation

We get the package condor-6.8.5-linux-x86-rhel3-dynamic-1.i386.rpm and istall it :

# rpm -ihv condor-6.8.5-linux-x86-rhel3-dynamic-1.i386.rpm 
 Preparing...                ########################################### [100%]
    1:condor                 ########################################### [100%]
We create a link to condor-local
 # ln -s /opt/condor-6.8.5 /opt/condor-local 
We change some variables in /opt/condor-6.8.5/etc/condor_config from
 HOSTALLOW_WRITE = YOU_MUST_CHANGE_THIS_INVALID_CONDOR_CONFIGURATION_VALUE
to
 HOSTALLOW_WRITE = *.yourdomain
(EXAMPLE: HOSTALLOW_WRITE = *.pic.es)
We configure condor as submitter machine with root as the owner and CONDOR-MANAGER your LRMS headnode.
 # export CONDOR_CONFIG=/opt/condor-local/etc/condor_config 
and configure:
 # /opt/condor-local/sbin/condor_configure   --owner 0 --central-manager=CONDOR-MANAGER --type=submit --install-dir=/opt/condor-local
 (EXAMPLE: /opt/condor-local/sbin/condor_configure   --owner 0 --central-manager=vwn02.pic.es --type=submit --install-dir=/opt/condor-local)
We edit line 60 condor_config in /etc/condor-local/etc/local.vce02.pic.es to
 CONDOR_IDS=0.0
and set the variable
 UID_DOMAIN = $(FULL_HOSTNAME)
 UID_DOMAIN = $(FULL_HOSTNAME)
We change the file permission
 
 # chmod 0.0 -R /opt/condor-local/
We copy the init file to /etc/init.d
 # cp /opt/condor-6.8.5/etc/examples/condor.boot /etc/init.d/
and modify the line 23 form
 MASTER=/usr/local/condor/sbin/condor_master
to
 MASTER=/opt/condor-6.8.5/sbin/condor_master 
and line 38 from
 pid=`$PS | grep condor_master | grep -v grep | awk '{print $2}'`
to
 pid=`$PS | grep root | grep condor_master | grep -v grep | awk '{print $2}'`
We start the service
 # /etc/init.d/condor.boot start
and have a look if everything is running fine
 # ps -aux | grep condor | grep root
 root     17472  0.0  1.0 11596 2836 ttyp0    T    12:13   0:00 emacs -nw /etc/init.d/condor.boot start
 root     32628  0.0  1.0  6788 2892 ?        S    12:35   0:00 /opt/condor-local/sbin/condor_master
 root     32629  0.0  1.3  8212 3524 ?        S    12:35   0:00 condor_schedd -f
 root      3034  0.0  0.2  3700  676 ttyp0    S    12:40   0:00 grep condor

 # /opt/condor-local/bin/condor_status
 
 Name          OpSys       Arch   State      Activity   LoadAv Mem   ActvtyTime
 
 vwn02.pic.es  LINUX       INTEL  Owner      Idle       2.000   263  0+01:55:09
 vwn03.pic.es  LINUX       INTEL  Owner      Idle       2.000   263  0+01:55:10
 
                      Total Owner Claimed Unclaimed Matched Preempting Backfill
 
          INTEL/LINUX     2     2       0         0       0          0        0
 
                Total     2     2       0         0       0          0        0
 
 # chkconfig condor.boot on

Infosystem

gLite CE configuration

blah scripts

condor_submit.sh condor_status.sh condor_cancel.sh condor_resume.sh

-- Main.kneuffer - 03 Jul 2007

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r1 - 2007-07-03 - unknown
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    EGEE All webs login

This site is powered by the TWiki collaboration platform Powered by Perl This site is powered by the TWiki collaboration platformCopyright & by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Ask a support question or Send feedback