Difference between revisions of "ARC HTCondor Basic Install"

From GridPP Wiki
Jump to: navigation, search
Line 21: Line 21:
 
== HTCondor configuration ==
 
== HTCondor configuration ==
  
Configure HTCondor to use partitionable slots. Create a file /etc/condor/config.d/00slots containing the following:
+
Configure HTCondor to use partitionable slots. Create a file ''/etc/condor/config.d/00slots'' containing the following:
 
  NUM_SLOTS = 1
 
  NUM_SLOTS = 1
 
  SLOT_TYPE_1              = cpus=100%,mem=100%,auto
 
  SLOT_TYPE_1              = cpus=100%,mem=100%,auto
 
  NUM_SLOTS_TYPE_1          = 1
 
  NUM_SLOTS_TYPE_1          = 1
 
  SLOT_TYPE_1_PARTITIONABLE = TRUE
 
  SLOT_TYPE_1_PARTITIONABLE = TRUE
 +
 +
Start HTCondor by running
 +
service condor start
  
 
Check the HTCondor is working correctly:
 
Check the HTCondor is working correctly:
Line 34: Line 37:
 
  DaemonMaster      None              lcgvm21.gridpp.rl.ac.uk                   
 
  DaemonMaster      None              lcgvm21.gridpp.rl.ac.uk                   
 
  Negotiator        None              lcgvm21.gridpp.rl.ac.uk                   
 
  Negotiator        None              lcgvm21.gridpp.rl.ac.uk                   
  Machine            Job                slot1@lcgvm21.gridpp.rl.ac.uk  
+
  Machine            Job                slot1@lcgvm21.gridpp.rl.ac.uk
 
+
Start HTCondor by running
+
service condor start
+

Revision as of 18:49, 8 May 2014

This page explains how to setup a minimal ARC CE and HTCondor pool on a single node.

ARC CE installation

YUM repository configuration for EPEL and NorduGrid:

rpm -Uvh https://anorien.csc.warwick.ac.uk/mirrors/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -Uvh http://download.nordugrid.org/packages/nordugrid-release/releases/13.11/centos/el6/x86_64/nordugrid-release-13.11-1.el6.noarch.rpm

Install the ARC CE meta-package:

yum install nordugrid-arc-compute-element

HTCondor installation

Setup the YUM repository:

cd /etc/yum.repos.d/
wget http://research.cs.wisc.edu/htcondor/yum/repo.d/htcondor-stable-rhel6.repo

Install the most recent stable version of HTCondor:

yum install condor

HTCondor configuration

Configure HTCondor to use partitionable slots. Create a file /etc/condor/config.d/00slots containing the following:

NUM_SLOTS = 1
SLOT_TYPE_1               = cpus=100%,mem=100%,auto
NUM_SLOTS_TYPE_1          = 1
SLOT_TYPE_1_PARTITIONABLE = TRUE

Start HTCondor by running

service condor start

Check the HTCondor is working correctly:

[root@lcgvm21 ~]# condor_status -any
MyType             TargetType         Name                                     
Collector          None               Personal Condor at lcgvm21.gridpp.rl.ac.u
Scheduler          None               lcgvm21.gridpp.rl.ac.uk                  
DaemonMaster       None               lcgvm21.gridpp.rl.ac.uk                  
Negotiator         None               lcgvm21.gridpp.rl.ac.uk                  
Machine            Job                slot1@lcgvm21.gridpp.rl.ac.uk