addgroup --gid 501 condor useradd --uid 501 --gid 501 condor
## What machine is your central manager? CONDOR_HOST = gfif.udea.edu.co ## Pool's short description COLLECTOR_NAME = Personal Condor at $(FULL_HOSTNAME) ## When is this machine willing to start a job? START = TRUE ## When to suspend a job? SUSPEND = FALSE ## When to nicely stop a job? ## (as opposed to killing it instantaneously) PREEMPT = FALSE ## When to instantaneously kill a preempting job ## (e.g. if a job is in the pre-empting stage for too long) KILL = FALSE ## This macro determines what daemons the condor_master will start and keep its watchful eyes on. ## The list is a comma or space separated list of subsystem names DAEMON_LIST = COLLECTOR, MASTER, NEGOTIATOR, SCHEDD SEC_DAEMON_AUTHENTICATION = required SEC_DAEMON_AUTHENTICATION_METHODS = password SEC_CLIENT_AUTHENTICATION_METHODS = password,fs,gsi,kerberos SEC_PASSWORD_FILE = /etc/condor/condor_credential ALLOW_WRITE = * UID_DOMAIN = udea.edu.co FILESYSTEM_DOMAIN = udea.edu.co CONDOR_ADMIN = omazapa@gfif.udea.edu.co CONDOR_IDS = 501.501 NETWORK_INTERFACE = 200.24.17.54 #corrige los permisos TRUST_UID_DOMAIN=true
condor_config_val SEC_PASSWORD_FILE /home/condor/condor_credential chown root:root /home/condor/condor_credential chmod 600 /home/condor/condor_credential ls -l /home/condor/condor_credential -rw------- 1 root root
#configuracion para nodos dedicados DedicatedScheduler = "DedicatedScheduler@gfif-wn0.udea.edu.co","DedicatedScheduler@gfif-wn1.udea.edu.co","DedicatedScheduler@gfif-wn2.udea.edu.co" WANT_SUSPEND = False WANT_VACATE = False MPI_CONDOR_RSH_PATH = $(LIBEXEC) STARTD_EXPRS = $(STARTD_EXPRS), DedicatedScheduler RANK = Scheduler =?= $(DedicatedScheduler) UNUSED_CLAIM_TIMEOUT = 600
addgroup --gid 501 condor adduser --uid 501 --gid 501 condor
cat /etc/condor/condor_config.local ## What machine is your central manager? CONDOR_HOST = 200.24.17.54 ## Pool's short description COLLECTOR_NAME = Personal Condor at $(FULL_HOSTNAME) ## When is this machine willing to start a job? START = TRUE #para decirle cuantas cpus(slots) del sistema tomo. #NUM_CPUS = 6 ## When to suspend a job? SUSPEND = FALSE ## When to nicely stop a job? ## (as opposed to killing it instantaneously) PREEMPT = FALSE ## When to instantaneously kill a preempting job ## (e.g. if a job is in the pre-empting stage for too long) KILL = FALSE ## This macro determines what daemons the condor_master will start and keep its watchful eyes on. ## The list is a comma or space separated list of subsystem names DAEMON_LIST = MASTER, STARTD SEC_DAEMON_AUTHENTICATION = required SEC_DAEMON_AUTHENTICATION_METHODS = password SEC_CLIENT_AUTHENTICATION_METHODS = password,fs,gsi,kerberos SEC_PASSWORD_FILE = /etc/condor/condor_credential ALLOW_WRITE = * UID_DOMAIN = udea.edu.co FILESYSTEM_DOMAIN = udea.edu.co CONDOR_ADMIN = omazapa@gfif.udea.edu.co CONDOR_IDS = 501.501 UWCS_START = true UWCS_SUSPEND = (((CpuBusyTime > 2 * $(MINUTE)) && $(ActivationTimer) > 90)) #corrige los permisos TRUST_UID_DOMAIN=true
chown -R condor.condor /var/log/condor/ chown -R condor.condor /var/run/condor/ chown -R condor.condor /var/lock/condor/ chown -R condor.condor /var/lib/condor/
chown -R condor.condor /var/spool/condor/
DAEMON_LIST = MASTER, STARTD WANT_SUSPEND = False WANT_VACATE = False START = True SUSPEND = False CONTINUE = True PREEMPT = False KILL = False RANK = 0 #NOTA gfif.udea.edu.co es el scheduler, si se cambia a otro server cambiar #en la siguiente linea DedicatedScheduler = "DedicatedScheduler@gfif.udea.edu.co" SUSPEND = Scheduler =!= $(DedicatedScheduler) && ($(SUSPEND)) PREEMPT = Scheduler =!= $(DedicatedScheduler) && ($(PREEMPT)) RANK_FACTOR = 1000000 RANK = (Scheduler =?= $(DedicatedScheduler) * \ $(RANK_FACTOR)) + $(RANK) START = (Scheduler =?= $(DedicatedScheduler)) || ($(START)) MPI_CONDOR_RSH_PATH = $(LIBEXEC) CONDOR_SSHD = /usr/sbin/sshd CONDOR_SSH_KEYGEN = /usr/bin/ssh-keygen STARTD_EXPRS = $(STARTD_EXPRS), DedicatedScheduler
cexec condor_store_cred -c add -p pass
El documento original está disponible en https://clustercien.udea.edu.co/web/tiki-index.php?page=condor