1 / 25

Instalación y configuración de CE+WN

Instalación y configuración de CE+WN. Angelines Alberto angelines.alberto@ciemat.es CIEMAT Grid Tutorial, Sept. 2007. Outline.

rumor
Download Presentation

Instalación y configuración de CE+WN

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Instalación y configuración de CE+WN Angelines Alberto angelines.alberto@ciemat.es CIEMAT Grid Tutorial, Sept. 2007

  2. Outline What is a Computing Element (CE) ?What is a Torque Server ?What is a Worker Node?How to install and configure a Computing Element with Torque Server.How to install and configure a Worker Node with TorqueComputing Element Testing To change: View -> Header and Footer

  3. What is CE? • The CE is a service representing a computing resource.Its main functionality is job management (job submission, job control, etc.). • For job submission, the CE can work in: • push model (where the job is pushed to a CE for its execution). • pull model (where the CE asks the WMS for jobs).

  4. What is Torque? • TORQUE(Tera-scale Open-source Resource and QUEue management) is a resource management providing control over batch jobs and distribuited compute resource. • The Torque System is composed by a: • pbs_server which provides the basic batch services such as receiving/creating a batch job or protecting the job against system crashes. • job_scheduler which contains the site's policy used to decide which job must be executed. • pbs_mom which places the job into execution. It is also responsible for returning the job’s output to the user.

  5. What is a Worker Node? • The Worker Node (WN) is a set of clients required to run jobs sent by the CE via the Local Resource Management System. It currently includes the: • gLite I/O Client, • the Logging and Bookkeeping Client, • the R-GMA Client and • the WMS Checkpointing library.

  6. Installing CE + Torque Server WN + Torque

  7. root GildaVM.06 ./netconfig

  8. Preliminary and common steps • Start from an instalation of SLC 3.0.X • Install JAVA SDK • Install and configure ntp daemon • Install the latest version of YAIM • Install the latest version of GILDA YAIM • Install X.509 host certificates (it is necessary for CE, SE and RB) /etc/grid-security and check their file permissions. • Install the middleware

  9. Installing pre-requisites • Check the FQDN hostname • Ensure that the hostnames of your machines are correctly set. Run the command: hostname -f

  10. Installing pre-requisites • Edit the list file of your WNs: vi /opt/glite/yaim/examples/ gilda_wn-list.conf and insert a line for each WN, with its Fully Qualified Domain Name

  11. Installing pre-requisites • Copy the gilda_wn_list.conf file to the yaim folder cp /opt/glite/yaim/examples/gilda_wn-list.conf /opt/glite/yaim/ Ensure that the file is right gridxx.cica.es

  12. Customize gilda_ig-site-info.def • Open file /root/my-site-info.def and set the values according to your grid environment: MY_DOMAIN=cica.es CE_HOST=gridXX.$MY_DOMAIN RB_HOST=glite-rb.ct.infn.it WMS_HOST=glite-rb.ct.infn.it PX_HOST=grid001.ct.infn.it BDII_HOST=grid004.ct.infn.it MON_HOST=aliserv6.ct.infn.it FTS_HOST=fts.ct.infn.it AMGA_HOST=amga.ct.infn.it REG_HOST=rgmasrv.ct.infn.it NTP_HOSTS_IP=“130.206.1.3”

  13. Customize gilda_ig-site-info.def OS_REPOSITORY="rpm http://sunsite.rediris.es/mirror/grid.infn.it/rep slc306-i386 os updates extras " LCG_REPOSITORY="rpm http://sunsite.rediris.es/mirror/grid.infn.it/rep glite_sl3-i386 3_0_0 3_0_0_externals 3_0_0_updates" IG_REPOSITORY="rpm http://sunsite.rediris.es/mirror/grid.infn.it/rep ig_sl3-i386 3_0_0 utils“ GILDA_REPOSITORY="rpm http://sunsite.rediris.es/mirror/grid.infn.it/rep gilda_app-i386 app 3_0_0" CA_REPOSITORY="rpm http://sunsite.rediris.es/mirror/grid.infn.it/rep glite_sl3-i386 security"

  14. Customize gilda_ig-site-info.def MYSQL_PASSWORD=sevillaxx JOB_MANAGER=lcgpbs CE_BATCH_SYS=pbs BATCH_BIN_DIR=/usr/bin BATCH_VERSION=torque-1.0.1b VOS= “gilda” ALL_VOMS_VOS=“gilda”

  15. Installing CE+Torque Server CE_CPU_MODEL=PIII CE_CPU_VENDOR=intel CE_OS="Scientific Linux SL" CE_OS_RELEASE="SL" CE_OS_VERSION=3.0.6 CE_MINPHYSMEM=1024 CE_MINVIRTMEM=2048 CE_SMPSIZE=2 CE_SI00=1000 CE_SF00=1200 CE_OUTBOUNDIP=TRUE CE_INBOUNDIP=FALSE CE_RUNTIMEENV="a list of tags"

  16. Installing CE+Torque Server • Copy from /opt/glite/yaim/examples to /opt/glite/yaim the files: users.conf  is right wn-list.conf  gridxx.cica.es and modify them according to your site.

  17. Installing CE+Torque Server • Install the node /opt/glite/bin/gilda_ig_install_node /root/my-site-info.def GILDA_ig_CE_torque • Configure the node /opt/glite/bin/gilda_ig_configure_node /root/my-site-info.def GILDA_ig_CE_torque GILDA_ig_BDII_site

  18. Installing CE+Torque Server • Edit /etc/ssh/sshd_config and add the following lines at the end: HostbasedAuthentication yes IgnoreUserKnownHosts yes IgnoreRhosts yes • Restart the server with: /sbin/service sshd restart

  19. Installing CE+Torque Server • On the CE generate an updated version of /etc/ssh/ssh_know_hosts by running: /opt/edg/sbin/edg-pbs-knownhosts • You have to copy this file in each WN

  20. Installing WN Server • Install the node • /opt/glite/bin/gilda_ig-install_node /root/my-site-info.def GILDA_ig_WN_torque • Configure the node • /opt/glite/bin/gilda_ig-configure_node /root/my-site-info.def GILDA_ig_WN_torque

  21. Computing Element Testing

  22. CE Testing • Log as a new created user (e.g gilda003) • Edit a file and write #!/bin/sh hostname sleep 10 • Save it (as test.sh) and set the permission of execution chmod +x test.sh • Submit the job: qsub –q short test.sh • Test the status of the job qstat -a

  23. CE Testing • After the job execution there are two output files: ls test.sh test.sh.e12 test.sh.o12 • And show these files: • Error file cat test.sh.e12 • Output file more test.sh.o12 grid24.cica.es

  24. References • https://grid.ct.infn.it/twiki/bin/view/GILDA/ComputingElement • https://grid.ct.infn.it/twiki/bin/view/GILDA/WorkerNode

  25. Questions

More Related