+ All Categories
Home > Documents > FP62004Infrastructures6-SSA-026409 E-infrastructure shared between Europe and Latin America WMS+LB...

FP62004Infrastructures6-SSA-026409 E-infrastructure shared between Europe and Latin America WMS+LB...

Date post: 19-Jan-2018
Category:
Upload: dwain-white
View: 215 times
Download: 0 times
Share this document with a friend
Description:
Fourth EELA Tutorial, Mexico City, 28 August - 01 September 2006 FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America 3 Pre-requisites Do all the pre-requirement steps illustrated in the IntroSysAdmin tutorial  Java SDK  Date and Time  GILDA CA and VOMS RPM  Check Host certificates and permissions  Download and install glite-yaim and gilda_ig-yaim
14
FP6−2004−Infrastructures−6-SSA-026409 www.eu-eela.org E-infrastructure shared between Europe and Latin America WMS+LB Server Installation Eduardo Murrieta DGSCA-UNAM Based on the presentation of Tony Calanducci INFN – Catania Fourth EELA Tutorial for Managers and Users Mexico City, 28 August - 01 September 2006
Transcript
Page 1: FP62004Infrastructures6-SSA-026409   E-infrastructure shared between Europe and Latin America WMS+LB Server Installation Eduardo Murrieta.

FP6−2004−Infrastructures−6-SSA-026409

www.eu-eela.org

E-infrastructure shared between Europe and Latin America

WMS+LB Server InstallationEduardo MurrietaDGSCA-UNAMBased on the presentation of Tony CalanducciINFN – CataniaFourth EELA Tutorial for Managers and UsersMexico City, 28 August - 01 September 2006

Page 2: FP62004Infrastructures6-SSA-026409   E-infrastructure shared between Europe and Latin America WMS+LB Server Installation Eduardo Murrieta.

Fourth EELA Tutorial, Mexico City, 28 August - 01 September 2006FP6−2004−Infrastructures−6-SSA-026409

E-infrastructure shared between Europe and Latin AmericaOutline

• Installation of the WMSLB

• Testing the installation

• Logs location and references

Page 3: FP62004Infrastructures6-SSA-026409   E-infrastructure shared between Europe and Latin America WMS+LB Server Installation Eduardo Murrieta.

Fourth EELA Tutorial, Mexico City, 28 August - 01 September 2006 3FP6−2004−Infrastructures−6-SSA-026409

E-infrastructure shared between Europe and Latin AmericaPre-requisites

• Do all the pre-requirement steps illustrated in the IntroSysAdmin tutorial

Java SDK Date and Time GILDA CA and VOMS RPM Check Host certificates and permissions Download and install glite-yaim and gilda_ig-yaim

Page 4: FP62004Infrastructures6-SSA-026409   E-infrastructure shared between Europe and Latin America WMS+LB Server Installation Eduardo Murrieta.

Fourth EELA Tutorial, Mexico City, 28 August - 01 September 2006 4FP6−2004−Infrastructures−6-SSA-026409

E-infrastructure shared between Europe and Latin AmericaFirewall

• WMS+LB services requires a wide range of ports• Set the firewall allowing input for any protocol in the

range of ports > 1023• Edit the file /etc/sysconfig/iptables and

– Replace the last line -A RH-Firewall-1-INPUT –j REJECT - -reject-with icmp-host-

prohibited– With these two

-A RH-Firewall-1-INPUT -p tcp - -dport 1:1023 -j REJECT - -reject-with icmp-host-prohibited

-A RH-Firewall-1-INPUT -p udp - -dport 1:1023 -j REJECT - -reject-with icmp-host-prohibited

• Restart the iptables with the new rules– # service iptables restart && service ntpd restart

Page 5: FP62004Infrastructures6-SSA-026409   E-infrastructure shared between Europe and Latin America WMS+LB Server Installation Eduardo Murrieta.

Fourth EELA Tutorial, Mexico City, 28 August - 01 September 2006 5FP6−2004−Infrastructures−6-SSA-026409

E-infrastructure shared between Europe and Latin AmericaWMSLS YAIM relevant variables

• Edit your site-info.def file• MY_DOMAIN=super.unam.mx• WMS_HOST=eela-XXX.$MY_DOMAIN <- Replace XXX to your hostname• PX_HOST=grid001.ct.infn.it• BDII_HOST=eela-136.$MY_DOMAIN• MON_HOST=rgmasrv.ct.infn.it• AMGA_HOST=amga.ct.infn.it• REG_HOST=rgmasrv.ct.infn.it• LFC_HOST=lfc-gilda.ct.infn.it• MYSQL_PASSWORD=MysQL• GRID_TRUSTED_BROKERS=“• ’/C=IT/O=GILDA/OU=Host/L=EELA/CN=eela-XXX.super.unam.mx/

[email protected]’• ”

– You can get this DN with: openssl x509 -in /etc/grid-security/hostcert.pem -subject -noout

Page 6: FP62004Infrastructures6-SSA-026409   E-infrastructure shared between Europe and Latin America WMS+LB Server Installation Eduardo Murrieta.

Fourth EELA Tutorial, Mexico City, 28 August - 01 September 2006FP6−2004−Infrastructures−6-SSA-026409

E-infrastructure shared between Europe and Latin America

Middleware installation with YAIM

• We are ready to install the services running:

– /opt/glite/bin/gilda_ig_install_node /root/my-site-info.def GILDA_ig_WMSLB

• This command will download and install all the needed packages.

• Now we can configure the node:

– /opt/glite/bin/gilda_ig_configure_node /root/my-site-info.def GILDA_ig_WMSLB

Page 7: FP62004Infrastructures6-SSA-026409   E-infrastructure shared between Europe and Latin America WMS+LB Server Installation Eduardo Murrieta.

Fourth EELA Tutorial, Mexico City, 28 August - 01 September 2006 7FP6−2004−Infrastructures−6-SSA-026409

E-infrastructure shared between Europe and Latin AmericaApplying WMS Patches

• Stop all the WMSLB services:– service gLite stop

• Download and install the following RPMs:

– wget http://grid-it.cnaf.infn.it/certification/downloads/glite-security-gsoap-plugin-2.2.3-0_U200605160140.i386.rpm rpm -Uvh glite-security-gsoap-plugin-2.2.3-

0_U200605160140.i386.rpm

– wget http://grid-it.cnaf.infn.it/certification/downloads/glite-wms-jobsubmission-1.5.8-1.i386.rpm rpm -Uvh glite-wms-jobsubmission-1.5.8-1.i386.rpm

Page 8: FP62004Infrastructures6-SSA-026409   E-infrastructure shared between Europe and Latin America WMS+LB Server Installation Eduardo Murrieta.

Fourth EELA Tutorial, Mexico City, 28 August - 01 September 2006 8FP6−2004−Infrastructures−6-SSA-026409

E-infrastructure shared between Europe and Latin AmericaWMS Patches (II)

• Edit the file /opt/glite/etc/glite_wms.conf: – add the following line to the LogMonitor section to improve

Condor reliability: GlobusDownTimeout = 7200;

– and change the following parameters in the WorkloadManager section to improve matchmaking performances: PipeDepth = 200; WorkerThreads = 20; (you have to rename the

NumberOfWorkerThreads parameter into WorkerThreads) • Restart gLite services:

– service gLite start

Page 9: FP62004Infrastructures6-SSA-026409   E-infrastructure shared between Europe and Latin America WMS+LB Server Installation Eduardo Murrieta.

Fourth EELA Tutorial, Mexico City, 28 August - 01 September 2006 9FP6−2004−Infrastructures−6-SSA-026409

E-infrastructure shared between Europe and Latin AmericaTesting the WMS

• Login to a user interface (eela-132.super.unam.mx):– Edit rb-test.conf with the following line (replace XXX to

match your WMS+LB host): [

• VirtualOrganisation = "gilda";• NSAddresses = {• “eela-XXX.super.unam.mx:7772"• };• LBAddresses = {• {“eela-XXX.super.unam.mx:9000"}• };• MyProxyServer = "grid001.ct.infn.it";

]

• Try: – glite-job-list-match –config-vo rb-test.conf hostname.jdl

• And – glite-job-submit –config-vo rb-test.conf hostname.jdl

• Monitor the run of your job and if you will be able to retrieve its output your are in the right way!

Page 10: FP62004Infrastructures6-SSA-026409   E-infrastructure shared between Europe and Latin America WMS+LB Server Installation Eduardo Murrieta.

Fourth EELA Tutorial, Mexico City, 28 August - 01 September 2006 10

FP6−2004−Infrastructures−6-SSA-026409

E-infrastructure shared between Europe and Latin AmericaTesting the WMS (II)

• $ glite-job-submit --config-vo rb-test.conf hostname.jdl

– Selected Virtual Organisation name (from proxy certificate extension): gilda– Connecting to host eela-XXX.super.unam.mx, port 7772– Logging to host eela-XXX.super.unam.mx, port 9002

– *********************************************************************************

– JOB SUBMIT OUTCOME– The job has been successfully submitted to the Network Server.– Use glite-job-status command to check job current status. Your job

identifier is:

– - https://eela-XXX.super.unam.mx:9000/BdCMtt1wtlLamqmXEJN8DQ

– *********************************************************************************

Page 11: FP62004Infrastructures6-SSA-026409   E-infrastructure shared between Europe and Latin America WMS+LB Server Installation Eduardo Murrieta.

Fourth EELA Tutorial, Mexico City, 28 August - 01 September 2006 11

FP6−2004−Infrastructures−6-SSA-026409

E-infrastructure shared between Europe and Latin AmericaTesting the WMS (III)

• $ glite-job-status https://eela-XXX.super.unam.mx:9000/BdCMtt1wtlLamqmXEJN8DQ

– *************************************************************– BOOKKEEPING INFORMATION:

– Status info for the Job : https://eela-XXX.super.unam.mx:9000/BdCMtt1wtlLamqmXEJN8DQ– Current Status: Running – Status Reason: Job successfully submitted to Globus– Destination: grid010.ct.infn.it:2119/jobmanager-lcgpbs-long– Submitted: Wed Aug 23 05:35:50 2006 CEST– *************************************************************

• $ glite-job-status https://eela-XXX.super.unam.mx:9000/BdCMtt1wtlLamqmXEJN8DQ

– *************************************************************– BOOKKEEPING INFORMATION:

– Status info for the Job : https://eela-XXX.super.unam.mx:9000/BdCMtt1wtlLamqmXEJN8DQ– Current Status: Done (Success)– Exit code: 0– Status Reason: Job terminated successfully– Destination: grid010.ct.infn.it:2119/jobmanager-lcgpbs-long– Submitted: Wed Aug 23 05:35:50 2006 CEST– *************************************************************

Page 12: FP62004Infrastructures6-SSA-026409   E-infrastructure shared between Europe and Latin America WMS+LB Server Installation Eduardo Murrieta.

Fourth EELA Tutorial, Mexico City, 28 August - 01 September 2006 12

FP6−2004−Infrastructures−6-SSA-026409

E-infrastructure shared between Europe and Latin AmericaTesting the WMS (IV)

• $ glite-job-output https://eela-XXX.super.unam.mx:9000/BdCMtt1wtlLamqmXEJN8DQ

– Retrieving files from host: eela-XXX.super.unam.mx ( for https://eela-134.super.unam.mx:9000/BdCMtt1wtlLamqmXEJN8DQ )

– *********************************************************************************– JOB GET OUTPUT OUTCOME

– Output sandbox files for the job:– - https://eela-134.super.unam.mx:9000/BdCMtt1wtlLamqmXEJN8DQ– have been successfully retrieved and stored in the directory:– /tmp/glite/glite-ui/mexicocityXX_BdCMtt1wtlLamqmXEJN8DQ

– *********************************************************************************

• $ cd /tmp/glite/glite-ui/mexicocityXX_BdCMtt1wtlLamqmXEJN8DQ/• $ ls

– hostname.err hostname.out• $ cat hostname.err • $ cat hostname.out • grid047.ct.infn.it

Page 13: FP62004Infrastructures6-SSA-026409   E-infrastructure shared between Europe and Latin America WMS+LB Server Installation Eduardo Murrieta.

Fourth EELA Tutorial, Mexico City, 28 August - 01 September 2006 13

FP6−2004−Infrastructures−6-SSA-026409

E-infrastructure shared between Europe and Latin America

Logs

• Logs can be found in /var/log/glite– networkserver_events.log– workload_manager_events.log

• They are the best starting point to deal with eventual problems.

• You can monitor and follow the jobs• See if the BDII and RGMA purchasing is working fine

Page 14: FP62004Infrastructures6-SSA-026409   E-infrastructure shared between Europe and Latin America WMS+LB Server Installation Eduardo Murrieta.

Fourth EELA Tutorial, Mexico City, 28 August - 01 September 2006FP6−2004−Infrastructures−6-SSA-026409

E-infrastructure shared between Europe and Latin AmericaReferences

• gLite 3.0 General Installation manual– http://grid-deployment.web.cern.ch/grid-deployment/

documentation/LCG2-Manual-Install/

• GILDA gLite 3.0 installation manual:

– https://gilda.ct.infn.it/docs/GILDAsiteinstall-3_0_0.html

• GILDA gLite 3.0 installation notes wiki– https://grid.ct.infn.it/twiki/bin/view/GILDA/GliteElementsInstallation

• EGEE Users Guide: WMS Service– http://documents.eu-eela.org/getfile.py?docid

=188&name=EGEE-JRA1-TEC-572489-WMS-guide-v0-2&format=pdf&version=1


Recommended