# cd /atlas/tar/condor
# tar zxvf condor-6.4.7-linux-x86-glibc22.tar.gz
# cd condor-6.4.7
# ./condor_install
Would you like to do a full installation of Condor? [yes]
Are you planning to setup Condor on multiple machines? [yes]
Will all the machines share files via a file server? [yes]
What are the hostnames of the machines you wish to setup?
(Just type the hostnames, not the fully qualified names.
Put one machine per line. When you are done, just hit enter.)
ouhep1
ouhep2
ouhep3
ouhep4
ouhep5
ouhep6
ouhep7
ouhep8
Setting up Condor for the following machines:
ouhep1 ouhep2 ouhep3 ouhep4 ouhep5 ouhep6 ouhep7 ouhep8
Have you installed a release directory already? [no]
Where would you like to install the Condor release directory?
[/usr/local/condor]
That directory doesn't exist, should I create it now? [yes]
If something goes wrong with Condor, who should get email about it?
[root@ouhep1.nhn.ou.edu] hs@nhn.ou.edu
What is the full path to a mail program that understands "-s" means
you want to specify a subject? [/bin/mail]
Do all of the machines in your pool from your domain ("nhn.ou.edu")
share a common filesystem? [no] yes
Do all of the users across all the machines in your domain have a unique
UID (in other words, do they all share a common passwd file)? [no] yes
In some cases, even if you have unique UIDs, you might not have all users
listed in the password file on each machine.
Is this the case at your site? [no]
Shall I create links in some other directory? [yes]
Where should I install these files?
[/usr/local/bin]
What is the full hostname of the central manager?
[ouhep1.nhn.ou.edu]
You have a "condor" user on this machine. Is the home directory for
this account (/home/condor) shared among all machines in your pool?
[yes]
Do you want to put all the Condor directories for each machine in
subdirectories of /home/condor/hosts? [yes]
Do you want to specify a local partition for file locking? [yes]
Where should I put the lock files? [/var/lock/condor]
Do you want all the machine-specific config files for each host in one
directory? [yes]
What directory should I use? [/usr/local/condor/etc]
What name would you like to use for this pool? This should be a
short description (20 characters or so) that describes your site.
For example, the name for the UW-Madison Computer Science Condor
Pool is: "UW-Madison CS". This value is stored in your central
manager's local config file as "COLLECTOR_NAME", if you decide to
change it later. (This shouldn't include any " marks).
OUHEP
Should I put in a soft link from /home/condor/condor_config to
/usr/local/condor/etc/condor_config [yes]
To start Condor on any machine, just execute:
/usr/local/condor/sbin/condor_master
Since this is your central manager, you should start Condor here first.
------------ End of condor_install script -------------
# /usr/local/condor/sbin/condor_init
# cd /home/condor/
# chown -R condor.condor condor_config hosts/
# rm /home/condor/hosts/ouhep1/condor_config.local
Change parts in /usr/local/condor/etc/condor_config to:
## Where is the machine-specific local config file for each host?
#LOCAL_CONFIG_FILE = $(LOCAL_DIR)/condor_config.local
LOCAL_CONFIG_FILE = $(RELEASE_DIR)/etc/$(HOSTNAME).local
HOSTALLOW_READ = *.nhn.ou.edu, *.cs.wisc.edu
HOSTALLOW_WRITE = *.nhn.ou.edu
BackgroundLoad = 0.6
HighLoad = 0.8
UWCS_START = $(CPU_Idle)
UWCS_SUSPEND = $(CPU_Busy)
UWCS_CONTINUE = $(CPU_Idle)
PREEMPT_VANILLA = False
UWCS_PREEMPTION_REQUIREMENTS = ( ($(StateTimer) > (1 * $(HOUR)) && RemoteUserPrio > SubmittorPrio * 1.2 ) && (MY.JobUniverse != $(VANILLA)) )
JOB_RENICE_INCREMENT = 19
DEFAULT_RANK = TARGET.KFlops
Also, copy condor script from /usr/local/condor/etc/examples/condor.generic
to /usr/local/bin/condor and change
$default_pool=""; to
$default_pool="default";
and
%configlocation = (
); to
%configlocation = (
"default", "/usr/local/condor/etc/condor_config",
);
To startup on boot:
# cp -p /usr/local/condor/etc/examples/condor.boot /etc/rc.d/init.d/condor
# ln -s /etc/rc.d/init.d/condor /etc/rc.d/rc3.d/S95condor
# ln -s /etc/rc.d/init.d/condor /etc/rc.d/rc5.d/S95condor
# ln -s /etc/rc.d/init.d/condor /etc/rc.d/rc0.d/K04condor
# ln -s /etc/rc.d/init.d/condor /etc/rc.d/rc6.d/K04condor
Do full install of condor_compile script (on all machines):
# mv /usr/bin/ld /usr/bin/ld.real
# cp -p /usr/local/condor/lib/ld /usr/bin/ld