docker-emi-ui
How to use EMI UI docker container for enmr.eu VO:
In a CentOS (or Ubuntu) server, as root, install and start docker engine:
curl -fsSL https://get.docker.com/ | sh
service docker start
Copy your usercert.pem and userkey.pem under /root/.globus/ (or where else you prefer)
mkdir /root/.globus
scp [email protected]:.globus/user*.pem /root/.globus/
Now you have two options:
- pull the image and run the container (faster):
docker pull marcoverl/ansible-role-emi-ui
docker run -it -v /root/.globus:/home/enmruser/.globus --name wenmr-ui marcoverl/ansible-role-emi-ui
- build the docker image and run the container (slower):
ansible-galaxy install marcoverl.emi-ui
cd /etc/ansible/roles/marcoverl.emi-ui/docker-emi-ui
docker build -t docker-emi-ui .
docker run -it -v /root/.globus:/home/enmruser/.globus --name wenmr-ui docker-emi-ui
You are logged as root, in case you need to install other packages. As enmruser you can then create your proxy and submit grid jobs
su - enmruser
voms-proxy-init -voms enmr.eu
#
# testing job submission via EMI-WMS
#
glite-wms-job-list-match -a test-wms.jdl
glite-wms-job-submit -a -o jidw.txt test-wms.jdl
glite-wms-job-status -i jidw.txt
glite-wms-job-output -i jidw.txt
#
# testing direct job submission to a CREAM-CE
#
glite-ce-allowed-submission pbs-enmr.cerm.unifi.it:8443
glite-ce-job-submit -a -o jidc.txt -r pbs-enmr.cerm.unifi.it:8443/cream-pbs-short test-cream.jdl
glite-ce-job-status -i jidc.txt
glite-ce-job-output -i jidc.txt