Difference between revisions of "Condor/Installation"

From WolfTech
Jump to navigation Jump to search
m
 
Line 1: Line 1:
 
==Windows==
 
==Windows==
#Download “Condor 6.6.8 for Microsoft Windows NT 4.0” from http://www.cs.wisc.edu/condor/downloads/v6.6.license.html
+
#Navigate to http://www.cs.wisc.edu/condor/downloads-v2/download.pl to find download links for the current versions of the Condor client.
#Provide the following information when you run the downloaded set-up file :
+
#Choose a release version - we suggest the current stable release (7.4.2 as of this writing) - and a mirror to use.
#*Name - < your name > and Company – NCSU [Note: This info does not affect the installation in any way]
+
#On the following page, scroll down the list until you find “WinNT 5.0 Intel x86”, and download the MSI installer.
#*select “join existing pool”
+
#Provide the following information when you run the MSI:
#*hostname of the machine that is your central manager – “condor.ece.ncsu.edu”
+
#*Select “Join an existing Condor Pool”
#*select both “submit jobs to condor pool” and “allow jobs from condor pool to run on this machine”
+
#**For hostname of the Central Manager – “condor.ece.ncsu.edu”
#*Destination folder can be folder to wherever you want Condor to be installed on your machine
+
#*Select “Submit jobs to condor pool”
#*No Condor Java Universe is used in our pool – so just click next when prompted about this
+
#**For conditions to start a condor job on your machine, select “When keyboard has been idle for 15 minutes and CPU is idle”
#*e-mail : rkvenkat@ncsu.edu & smtp : smtp.ncsu.edu
+
#**then select “Keep the job in memory and restart when you leave”
#*accounting domain of your machine : ecew2k.ncsu.edu
+
#*Accounting domain of your machine: ece.ncsu.edu
#*Read & Write access : *.ncsu.edu
+
#*E-mail: rkvenkat@ncsu.edu & smtp: smtp.ncsu.edu
#*For conditions to start a condor job on your machine, select “After 15 minutes of low console activity and low CPU activity”
+
#*Path to Java Virtual Machine: leave as default
#*then select “leave it in memory and restart when you leave”
+
#*Hosts with Read & Write access : *.ncsu.edu
 +
#*VM Universe settings: leave as "No" and click Next
 +
#*HDFS support settings: leave as "No" and click Next
 +
#*Click the Install button, then click Install to install the Condor client.
 +
#*After restarting your machine, add C:\condor\bin to your PATH environment variable.
  
 
==Linux==   
 
==Linux==   

Latest revision as of 13:47, 27 July 2010

Windows

  1. Navigate to http://www.cs.wisc.edu/condor/downloads-v2/download.pl to find download links for the current versions of the Condor client.
  2. Choose a release version - we suggest the current stable release (7.4.2 as of this writing) - and a mirror to use.
  3. On the following page, scroll down the list until you find “WinNT 5.0 Intel x86”, and download the MSI installer.
  4. Provide the following information when you run the MSI:
    • Select “Join an existing Condor Pool”
      • For hostname of the Central Manager – “condor.ece.ncsu.edu”
    • Select “Submit jobs to condor pool”
      • For conditions to start a condor job on your machine, select “When keyboard has been idle for 15 minutes and CPU is idle”
      • then select “Keep the job in memory and restart when you leave”
    • Accounting domain of your machine: ece.ncsu.edu
    • E-mail: rkvenkat@ncsu.edu & smtp: smtp.ncsu.edu
    • Path to Java Virtual Machine: leave as default
    • Hosts with Read & Write access : *.ncsu.edu
    • VM Universe settings: leave as "No" and click Next
    • HDFS support settings: leave as "No" and click Next
    • Click the Install button, then click Install to install the Condor client.
    • After restarting your machine, add C:\condor\bin to your PATH environment variable.

Linux

(Need to have root access to install condor)

  1. 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)
  2. 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
  3. 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
  Article created by Ravi Venkatesan of the CESR Research group