[ |
| |
| |
| |
] |
1. DescriptionNOTE: It is strongly recommended to use CCB available in new version of condor over GCB. CCB provides same functionality as GCB and has performance benifits. Using GCB requires additional installation of condor daemon whereas this feature is integrated in newer versions of condor. 2. Hardware requirementsThis machine needs a
reasonably recent CPU
and a small amount of memory
(256MB
should be enough). |
|
A reasonably recent
Linux OS (SL4 used at press time).
The Condor
distribution.
The GCB should be
installed as a non privileged user.
The whole process is managed
by a install script described below. You will need to provide a valid
Condor tarball,
so you may as well download it before starting the installer.
Move into
glideinWMS/install
and execute
./glideinWMS_install
You will be presented with this screen:
What do you want to install?
(May select several options at one, using a , separated list)
[1] glideinWMS Collector
[2] Glidein Factory
[3] GCB
[4] pool Collector
[5] Schedd node
[6] Condor for VO Frontend
[7] VO Frontend
[8] Components
Select 3.
Now follow the instructions. The installation is straightforward.
The installer will also start the Condor daemons. To stop the Condor daemons, issue
killall condor_master
To start them again:
cd <install dir>; ./start_condor.sh
You can check that the processes are running:
ps -u `id -un` |grep gcb
You should see one
gcb_broker and at least one gcb_relay_server.
You can also
check that tey are working well, by pinging it with gcb_broker_query:
<install dir>/sbin/gcb_broker_query your_ip freesockets
The default installation will set up GCB to handle up to 20k requests. Look in the <install dir>/etc/condor_config.local for
GCB_MAX_RELAY_SERVERS=200
GCB_MAX_CLIENTS_PER_RELAY_SERVER=100
This is enough for approx. 4k glideins (each glidein uses 5-6 ports).
If you want a single
GCB to serve more glideins that that, you can increase those numbers.
However, be aware that the OS also have its limits. On most Linux
systems the limit is set in
/proc/sys/net/ipv4/ip_local_port_range.
In this
example:
$ cat /proc/sys/net/ipv4/ip_local_port_rangesystem has only ~28k ports available. If you want to configure GCB/CCB to serve more than that, first change the system limit, then the GCB/CCB configuration.
32768 61000
Note that every port used by the GCB/CCB also consumes available file descriptors. The default number of file descriptors per process is 1024 on most systems. Increase this limit to ~16k or value higher than number of ports GCB/CCB is allowed to open.
glideinWMS support: glideinwms-support@fnal.gov