Condor/Installation

From WolfTech
Revision as of 17:57, 12 September 2007 by Djgreen (talk | contribs) (→‎Linux)
Jump to navigation Jump to search

Windows

  1. Download “Condor 6.6.8 for Microsoft Windows NT 4.0” from http://www.cs.wisc.edu/condor/downloads/v6.6.license.html
  2. Provide the following information when you run the downloaded set-up file :
    1. Name - < your name > and Company – NCSU [Note: This info does not affect the installation in any way]
    2. select “join existing pool”
    3. hostname of the machine that is your central manager – “condor.ece.ncsu.edu”
    4. select both “submit jobs to condor pool” and “allow jobs from condor pool to run on this machine”
    5. Destination folder can be folder to wherever you want Condor to be installed on your machine
    6. No Condor Java Universe is used in our pool – so just click next when prompted about this
    7. e-mail : rkvenkat@ncsu.edu & smtp : smtp.ncsu.edu
    8. accounting domain of your machine : ecew2k.ncsu.edu
    9. Read & Write access : *.ncsu.edu
    10. For conditions to start a condor job on your machine, select “After 15 minutes of low console activity and low CPU activity”
    11. then select “leave it in memory and restart when you leave”

Linux

(Need to have root access to install condor)

  • Create a user named “condor” (with normal user privileges). Note : Condor will run a job on an available machine under the username “condor”.
    • To add a user run “/usr/bin/redhat-config-users” (user-friendly GUI)
  • Download “Condor 6.6.5 - Linux 2.4.x (glibc 2.3) - Red Hat 9” from http://www.cs.wisc.edu/condor/downloads/v6.6.license.html
  • Unzip condor-6.6.5-linux-x86-glibc23-dynamic.tar.gz [ gunzip –c <filename> | tar xvf - ] in “/usr”
    • cd /usr/condor-6.6.5
    • Replace the existing “condor_configure” perl script by this modified perl script condor_configure
    • condor_configure --install --type = submit,execute --central-manager = zakkwylde.ecew2k.ncsu.edu –owner = condor
    • cd etc
    • Replace the condor_config file by this modified condor_config file [ condor_config ]
    • cd ../local.$(HOSTNAME) & modify/add the following if they do not exist already in the condor_config.local file :
      • NETWORK_INTERFACE = < your IP address >
        • To find out your machine’s IP address : host <full hostname> (e.g., host zakkwylde.ecew2k.ncsu.edu)
      • CONDOR_ADMIN = root@zakkwylde.ecew2k.ncsu.edu
    • CONDOR_HOST = zakkwylde.ecew2k.ncsu.edu
    • MAIL = /bin/mail
    • Comment out the following lines (add # at the beginning of the line)
      • FILESYSTEM_DOMAIN =
      • UID_DOMAIN =
      • SUSPEND =
      • START =
      • VACATE =
      • PREEMPT =
  • Set CONDOR_CONFIG environment variable to point to /usr/condor-6.6.5/etc/condor_config
    • tcsh – setenv CONDOR_CONFIG /usr/condor-6.6.5/etc/condor_config
    • bash – export CONDOR_CONFIG = /usr/condor-6.6.5/etc/condor_config
  • cd /usr/condor-6.6.5/sbin
  • ./condor_master
  • To ensure that Condor is running, type ps -ef | egrep condor_ , the following processes should be running
    • condor_ master
    • condor_ startd
    • condor_ schedd