Difference between revisions of "Condor/Installation"
Jump to navigation
Jump to search
m (→Windows) |
m (→Windows) |
||
Line 4: | Line 4: | ||
##Name - < your name > and Company – NCSU [Note: This info does not affect the installation in any way] | ##Name - < your name > and Company – NCSU [Note: This info does not affect the installation in any way] | ||
##select “join existing pool” | ##select “join existing pool” | ||
− | + | ##hostname of the machine that is your central manager – “condor.ece.ncsu.edu” | |
− | + | ##select both “submit jobs to condor pool” and “allow jobs from condor pool to run on this machine” | |
− | + | ##Destination folder can be folder to wherever you want Condor to be installed on your machine | |
− | + | ##No Condor Java Universe is used in our pool – so just click next when prompted about this | |
− | + | ##e-mail : rkvenkat@ncsu.edu & smtp : smtp.ncsu.edu | |
− | + | ##accounting domain of your machine : ecew2k.ncsu.edu | |
− | + | ##Read & Write access : *.ncsu.edu | |
− | + | ##For conditions to start a condor job on your machine, select “After 15 minutes of low console activity and low CPU activity” | |
− | + | ##then select “leave it in memory and restart when you leave” | |
==Linux== | ==Linux== |
Revision as of 17:55, 12 September 2007
Windows
- Download “Condor 6.6.8 for Microsoft Windows NT 4.0” from http://www.cs.wisc.edu/condor/downloads/v6.6.license.html
- Provide the following information when you run the downloaded set-up file :
- Name - < your name > and Company – NCSU [Note: This info does not affect the installation in any way]
- select “join existing pool”
- hostname of the machine that is your central manager – “condor.ece.ncsu.edu”
- select both “submit jobs to condor pool” and “allow jobs from condor pool to run on this machine”
- Destination folder can be folder to wherever you want Condor to be installed on your machine
- No Condor Java Universe is used in our pool – so just click next when prompted about this
- e-mail : rkvenkat@ncsu.edu & smtp : smtp.ncsu.edu
- accounting domain of your machine : ecew2k.ncsu.edu
- Read & Write access : *.ncsu.edu
- For conditions to start a condor job on your machine, select “After 15 minutes of low console activity and low CPU activity”
- 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 =
- NETWORK_INTERFACE = < your IP address >
- 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