Project

General

Profile

If01 common tasks

Overview

  • IF01 is a general IF batch submission node servicing
    • a local condor pool (if01-05)
    • an OSG condor pool via glideinWMS 1.6 running as uids 'gfactory' and 'gfrontend'

check current condor version


[dbox@if01 ~]$ . /opt/condor/condor.sh
[dbox@if01 ~]$ condor_version
$CondorVersion: 7.2.3 May 11 2009 BuildID: 151729 $
$CondorPlatform: X86_64-LINUX_RHEL3 $

find current condor config files

[dbox@if01 ~]$ . /opt/condor/condor.sh
[dbox@if01 ~]$ condor_config_val -config
Configuration source:
        /opt/condor-7.2.3/etc/condor_config
Local configuration source:
        /opt/condor/local/condor_config.local

Stop submission leaving currently running jobs still running

  1. condor_off -peaceful
    dbox@if01 ~]$ sudo /opt/condor/sbin/condor_off -peaceful
    
  2. stop glidein factory
  • ssh gfactory@if01 ; cd scripts
    [gfactory@if01 scripts]$ pwd
    /home/gfactory/scripts
    [gfactory@if01 scripts]$ ls
    proxy             restart_factory.sh       setup.sh
    refresh_proxy.sh  setup_minerva_condor.sh  stop_factory.sh
    
    [gfactory@if01 scripts]$ ./stop_factory.sh
    Shutting down glideinWMS factory v1_0@if01:                [OK]
    
    

    It is important to make sure there are no cron jobs enabled that will restart the factory if you use this method

Resume Submission

Safest way is to shut down everything and bring it back up

Shutdown condor/glideinWMS in this order

Shutdown glideinWMS factory

  • ssh gfactory@if01 ; cd scripts
    [gfactory@if01 scripts]$ pwd
    /home/gfactory/scripts
    
    [gfactory@if01 scripts]$ ls
    proxy             restart_factory.sh       setup.sh
    refresh_proxy.sh  setup_minerva_condor.sh  stop_factory.sh
    [gfactory@if01 scripts]$ ./stop_factory.sh
    (lots of messages)
    

Shutdown glideinWMS frontend

  • ssh gfrontend@if01 ; cd scripts
    [gfrontend@if01 scripts]$ pwd
    /home/gfrontend/scripts
    
    [gfrontend@if01 scripts]$ ls
    kproxy   kproxy-v          restart_frontend.sh      setup.sh
    kproxyv  refresh_proxy.sh  setup_minerva_condor.sh  stop_frontend.sh
    
    [gfactory@if01 scripts]$ ./stop_frontend.sh
    

Shutdown condor

  • ssh (someone on sudo list) if01
    [dbox@if01 ~]$ sudo /etc/init.d/condor stop     
    

Startup condor/glideinWMS in this order

Start up factory

  • ssh gfactory@if01 ; cd scripts ; ./restart_factory.sh

Start up condor

  • ssh (someone on sudo list) if01; sudo /etc/init.d/condor start

start up frontend
  • ssh gfrontend@if01 ; cd scripts ; ./restart_frontend.sh