Gsoc2020 phase3 integration
requested to merge adangwal/jalien-setup:gsoc2020-phase3-integration into gsoc2020-phase3-integration
Contains the work done on deploying CE and HTCondor containers along with their integration to the previous work done for JCentral replica.
Instructions:
- Export
$SHARED_VOLUME
(eg:export SHARED_VOLUME=/path/doesn't/exist/yet
) - Run
/path/to/repo/bin/jared --jar /path/to/jar --volume $SHARED_VOLUME
- Config, logs and certificates can be found in
$SHARED_VOLUME
, along withdocker-compose.yml
andenv_setup.sh
- Run
source .env
in $SHARED_VOLUME (not mandatory as long as docker-compose in same directory as.env
file) - Run
docker-compose up -d
(for background deployment) - Run
source env_setup.sh
on host system to allow foralien.py
to connect to JCentral-replica Note: must addJCentral-dev
andJCentral-dev-SE
(ip: 172.17.0.1 or 127.0.0.1
) to/etc/hosts
on host system if runningalien.py
from host.
Submission of jobs follows standard procedure.
Things to watch out for:
- Submission of redundant jobs might cause ESV status, make sure to clear the docker-volume after tearing down deployment.
- Avoid remounting cvmfs on host, sometimes removes mount point from the docker containers.
- Make sure to specify
@disk=1
in the jdl for output. (make sure not to leave trailing white space after 1, can cause an ESV)