Warning, /harvester/installer/README.md is written in an unsupported language. File is not indexed.
0001 Harvester installer
0002
0003 Harvester installer script created initial directory structures and initial configuration.
0004
0005 ./install-harvester.sh \
0006 -d <top_directory> \
0007 -h <harvester_id> \
0008 -q <queue_name> \
0009 -b <batch_system> \
0010 [ -p <path_to_your_proxy>] \
0011 [ -c <path_to_CA_certificates, usually: /etc/grid-security/certificates> ]
0012
0013 For example:
0014
0015 ./install-harvester.sh \
0016 -d /home/user_home/harvester_topdir \
0017 -h BNL_IC_HARVESTER \
0018 -q ANALY-BNL_IC-LQCD \
0019 -b torque \
0020 -p /home/user_home/proxy \
0021 -c /home/user_home/grid-security/certificates
0022
0023 This will create the following defaultdirectory structure:
0024
0025 |-- /home/user_home/harvester_topdir
0026 |-- harvester-messenger
0027 |-- harvester-preparator
0028 |-- harvester-worker-maker
0029 |-- harvester-BNL_IC_HARVESTER
0030 |-- bin
0031 |-- etc
0032 |-- include
0033 |-- lib
0034 |-- lib64 -> lib
0035 |-- share
0036 |-- start_harvester.sh
0037 |-- stop_harvester.sh
0038 |-- clean_logs.sh
0039 `-- var
0040 |-- harvester
0041 | `-- test.db
0042 `-- log
0043 `-- panda
0044
0045 A virtual environment is created under harvester-BNL_IC_HARVESTER directory, which contains patched bin/activate script which sets all of the necessary environment variable is created by the installer,
0046 Thus, in order to activate the environment you simply have to run:
0047
0048 source /home/user_home/harvester_topdir/harvester-BNL_IC_HARVESTER/bin/activate
0049
0050 The installer also creates tools for simple Harvester control (start_harvester, stop_harvester, clean_logs)
0051
0052 Some manual configuration may be needed if you need to tune parameters in queueconfig.json of etc/panda/panda_harvester.cfg
0053
0054 If you have some restrictions on installing software (not possible to install virtualenv, system-wide python does not have sqlite modules, other problems): please refer to PYTHON-INSTALLATION.md