ig-CREAM-torque using last Torque (2.5.7-7) in Staged-Rollout and also WN
On CE Host (also BATCH Master PBS/Torque)
Here some steps to install the last Cream CE using the Torque Staged-Rollout release in ig/gLite distribution.
INSTALLATION:
Downloading Repositories:
wget http://repo-pd.italiangrid.it/mrepo/repos/glite/sl5/x86_64/glite-cream_torque-cert.repo
wget http://repo-pd.italiangrid.it/mrepo/repos/glite/sl5/x86_64/ig-cert.repo
wget http://repo-pd.italiangrid.it/mrepo/repos/egi-trustanchors.repo
wget http://grid-deployment.web.cern.ch/grid-deployment/glite/repos_prod_prepare/3.2/glite-TORQUE_server.repo
wget http://grid-deployment.web.cern.ch/grid-deployment/glite/repos_prod_prepare/3.2/glite-TORQUE_client.repo
wget http://grid-deployment.web.cern.ch/grid-deployment/glite/repos_prod_prepare/3.2/glite-TORQUE_utils.repo
# optional wget http://repo-pd.italiangrid.it/mrepo/repos/glite/sl5/x86_64/dag.repo
dag.repo must be enabled
In the file /etc/yum.repos.d/sl-security.repo add line exclude=c-ares
echo "exclude=c-ares" >> /etc/yum.repos.d/sl-security.repo
Install CA and software:
yum clean all
yum install ca-policy-egi-core
yum install xml-commons-apis
yum install ig_CREAM_torque
Create munge key
Remember to create munge key before configuring:
/usr/sbin/create-munge-key
chown munge.munge /etc/munge/munge.key
Remember to copy this key in all Worker Nodes in the Cluster and also in Torque Server if its different host to the Cream-CE host.
Follow the documentation here for more details:
CONFIGURATION:
/opt/glite/yaim/bin/ig_yaim -c -d 6 -s /usr/local/nfs/cert-3_2/lsf/ig-site-info.def.current -n ig_CREAM_torque 2>&1 | tee /root/conf_CREAM_torque.`hostname -s`.`date +%Y%m%d-%H%M%S`.log
- Results
- see attached log
On WN Hosts
INSTALLATION:
Downloading Repositories:
wget http://repo-pd.italiangrid.it/mrepo/repos/glite/sl5/x86_64/glite-cert-wn_torque.repo
wget http://repo-pd.italiangrid.it/mrepo/repos/glite/sl5/x86_64/ig-cert.repo
wget http://repo-pd.italiangrid.it/mrepo/repos/egi-trustanchors.repo
wget http://grid-deployment.web.cern.ch/grid-deployment/glite/repos_prod_prepare/3.2/glite-TORQUE_client.repo
wget http://grid-deployment.web.cern.ch/grid-deployment/glite/repos_prod_prepare/3.2/glite-TORQUE_utils.repo
# optional wget http://repo-pd.italiangrid.it/mrepo/repos/glite/sl5/x86_64/dag.repo
Install CA and software:
yum clean all
yum install ca-policy-egi-core
yum groupinstall ig_WN_torque
Copy munge key
Remeber to copy the munge.key form the batch master to the WNs:
scp cert-09:/etc/munge/munge.key /etc/munge/
chown munge.munge /etc/munge/munge.key
Follow the documentation here for more details:
CONFIGURATION:
/opt/glite/yaim/bin/ig_yaim -c -d 6 -s /usr/local/nfs/cert-3_2/lsf/ig-site-info.def.current -n ig_WN_torque 2>&1 | tee /root/conf_WN_torque.`hostname -s`.`date +%Y%m%d-%H%M%S`.log
TESTING:
JOB Submission:
From an EMI UI creating proxy and submission:
-bash-3.2$ voms-proxy-init -voms dteam
Enter GRID pass phrase:
Your identity: /C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Sergio Traldi
Creating temporary proxy ...................................................................... Done
Contacting lcg-voms.cern.ch:15004 [/DC=ch/DC=cern/OU=computers/CN=lcg-voms.cern.ch] "dteam" Failed
Error: Error during SSL handshake:
Trying next server for dteam.
Creating temporary proxy ..................................................... Done
Contacting voms2.hellasgrid.gr:15004 [/C=GR/O=HellasGrid/OU=hellasgrid.gr/CN=voms2.hellasgrid.gr] "dteam" Done
Creating proxy ......................................................... Done
Your proxy is valid until Fri Jan 20 04:23:37 2012
-bash-3.2$ glite-ce-job-submit -r cert-09.pd.infn.it:8443/cream-pbs-cert -a testCream.jdl
https://cert-09.pd.infn.it:8443/CREAM779007243
JOB Status:
-bash-3.2$ glite-ce-job-status https://cert-09.pd.infn.it:8443/CREAM779007243
****** JobID=[https://cert-09.pd.infn.it:8443/CREAM779007243]
Status = [DONE-OK]
ExitCode = [0]
Test submission:
PASSED
In the file below
more log
--
SergioTraldi - 2012-01-18