Presentation is loading. Please wait.

Presentation is loading. Please wait.

Presentation of the results khiat abdelhamid

Similar presentations


Presentation on theme: "Presentation of the results khiat abdelhamid"— Presentation transcript:

1 Presentation of the results khiat abdelhamid (a.khiat@dtri.cerist.dz)

2 Objectives Installation of Grid Services as a Grid Site Administrator study of Grid Monitoring System.

3 Plan Pre-requisites Study of grid computing services Installation of Grid Services as a Grid Site Administrator UI CE WN Study of Grid Monitoring System. CEMON gstat RTM Future objectives

4 Grid services studied Workload Management System (WMS) – The purpose of the WMS is to accept user jobs, to assign them to the most appropriate resources, to record their status and retrieve their output

5 Grid services studied Computing Element (CE) is the service representing a computing resource. Its main functionality is job management (job submission, job control, etc.).

6 Grid services studied Worker Node (WN) is a set of clients required to run jobs sent by the Computing Element via the Local Resource Management System

7 Grid services studied Job Description Language (JDL) describes jobs to be submitted, which specifies, for example, which executable to run and its parameters, files, and any requirements on the CE and the Worker Node

8 Grid services studied The gLite user Interface (UI) is a suite of clients and APIs that users and applications can use to access the gLite services from the gLite software.

9 Installation of Grid Services Before installation the administrator must have knowledge in Linux system and minimum of knowledge in networks for this installation we used 4 Virtual machines 64 bit with SL5.

10 Installation of Grid Services User interface Repo used for this installation is cd /etc/yum/repos.d/ wget \ http://grid- it.cnaf.infn.it/mrepo/repos/sl5/x86_64/dag.repo \ http://grid-it.cnaf.infn.it/mrepo/repos/sl5/x86_64/ig.repo \ http://grid-it.cnaf.infn.it/mrepo/repos/sl5/x86_64/lcg- ca.repo \ http://grid- it.cnaf.infn.it/mrepo/repos/sl5/x86_64/glite-ui.repo \ http://grid018.ct.infn.it/mrepo/repos/gilda.repo

11 Installation of Grid Services User interface installation of the packages yum groupinstall ig_UI_noafs (Andrew File System ) Install CAs and GILDA UTILS yum install -y lcg-CA ntp Configuration vi /opt/glite/yaim/examples/siteinfo/ig-site-info.def

12 Installation of Grid Services # Hostname of the top level BDII # INFN-GRID: Default BDII Top for Italy (if you do not have your own) BDII_HOST=egee-bdii.cnaf.infn.it # Hostname of the PX PX_HOST=myproxy.ct.infn.it # Hostname of the RGMA server MON_HOST=my-mon.$MY_DOMAIN # Hostname of the RB RB_HOST=my-rb.$MY_DOMAIN # Space separated list of VOs supported by your site VOS="dteam ops eumed gilda infngrid"

13 Installation of Grid Services /opt/glite/yaim/bin/ig_yaim -c \ -s /opt/glite/yaim/examples/siteinfo/ig-site-info.def \ -n ig_UI_noafs Result INFO: Configuration Complete. [ OK ] INFO: YAIM terminated succesfully.

14 Test Creation of an account on the UI server Installation of the certificate (usercert.pem,userkey.pem) Generate voms proxy Submit the first job

15 Test vi test.jdl Type = "Job"; JobType = "Normal"; Executable = "/bin/sh"; Arguments = « test.sh"; StdOutput = "std.output"; StdError = "std.error"; Environment = {"PATH=$PATH:/usr/local/bin", "LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib"}; InputSandbox = {« test.sh"}; OutputSandbox = {"std.output", "std.error"};

16 Test vi test.sh #!/bin/sh wdtofind=" 9dd4e461268c8034f5c8564e155c67a6 " alphabet="! \" # $ % & \' ( ) \* +, -. / 0 1 2 3 4 5 6 7 8 9 : ; ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _ \` a b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~« for w1 in $alphabet do pwdcrypt=`echo -n $w1 | openssl md5` if [ "$pwdcrypt" = "$wdtofind" ] then echo "word found:$w1" exit fi done&

17 Test glite-wms-job-submit -a -e https://prod-wms- 01.pd.infn.it:7443/glite_wms_wmproxy_server test.jdl glite-wms-job-status https://prod-lb- 01.pd.infn.it:9000/qpm6s9DZpDK7uvlgnQNXyw glite-wms-job-output https://prod-lb- 01.pd.infn.it:9000/qpm6s9DZpDK7uvlgnQNXyw cd /tmp/jobOutput/testgrid_qpm6s9DZpDK7uvlgnQNXyw/ Vi std.output word found:x

18 Installation of Grid Services Computing Element Repository Settings for x86_64 wget \ http://grid-it.cnaf.infn.it/mrepo/repos/sl5/x86_64/dag.repo \ http://grid-it.cnaf.infn.it/mrepo/repos/sl5/x86_64/ig.repo \ http://grid-it.cnaf.infn.it/mrepo/repos/sl5/x86_64/lcg-ca.repo \ http://grid-it.cnaf.infn.it/mrepo/repos/sl5/x86_64/glite- cream_torque.repo \ http://grid018.ct.infn.it/mrepo/repos/gilda.repo

19 Installation of Grid Services Computing Element Instalation of the packages yum install ig_CREAM_torque yum install -y lcg-CA ntp Install Host Certificate Configuring vi /opt/glite/yaim/examples/siteinfo/ig-site-info.def

20 Installation of Grid Services Computing Element configuration of the users VI /opt/glite/yaim/examples/ig-users.conf 4401:gilda001:4400:gilda:gilda:: 4402:gilda002:4400:gilda:gilda:: 4403:gilda003:4400:gilda:gilda:: 4404:gilda004:4400:gilda:gilda:: 4405:gilda005:4400:gilda:gilda:: 4406:gilda006:4400:gilda:gilda:: 4407:gilda007:4400:gilda:gilda:: 4408:gilda008:4400:gilda:gilda:: [..]

21 Installation of Grid Services Computing Element Configuration of the groups VI /opt/glite/yaim/examples/ig-groups.conf "/eumed/ROLE=SoftwareManager":::sgm "/eumed":::: "/gilda/ROLE=SoftwareManager":::sgm: "/gilda/grelc/das/*":gilda::: "/gilda"::::

22 Installation of Grid Services VI /opt/glite/yaim/examples/siteinfo/services/glite-creamce # CE-monitor host (by default CE-monitor is installed on the same machine as # cream-CE) CEMON_HOST=${CE_HOST} # # CREAM database user CREAM_DB_USER=creamdbuser CREAM_DB_PASSWORD=KualaLumpur # # Machine hosting the BLAH blparser. # In this machine batch system logs must be accessible. BLPARSER_HOST=${CE_HOST} VI /opt/glite/yaim/examples/wn-list.conf vm02.ct.infn.it

23 Installation of Grid Services Computing Element Configure site /opt/glite/yaim/bin/ig_yaim -c -s /opt/glite/yaim/examples/siteinfo/ig-site-info.def -n ig_CREAM_torque

24 Installation of Grid Services Worker nodes Repository Settings for x86_64 wget http://grid-it.cnaf.infn.it/mrepo/repos/sl5/x86_64/dag.repo \ http://grid-it.cnaf.infn.it/mrepo/repos/sl5/x86_64/ig.repo \ http://grid-it.cnaf.infn.it/mrepo/repos/sl5/x86_64/lcg-ca.repo \ http://grid-it.cnaf.infn.it/mrepo/repos/sl5/x86_64/glite- wn_torque.repo \ http://grid018.ct.infn.it/mrepo/repos/gilda.repo

25 Installation of Grid Services worker nodes Installation of the packages yum groupinstall ig_WN_torque_noafs yum install -y lcg-CA ntp Copy the ig-site-info.def from the CE to the WN VI /opt/glite/yaim/examples/wn-list.conf vm02.ct.infn.it

26 Installation of Grid Services worker nodes Configure site /opt/glite/yaim/bin/ig_yaim -c -s /opt/glite/yaim/examples/siteinfo/ig-site-info.def -n ig_WN_torque_noafs

27 Study of Grid Monitoring System CEMon The BDII hosted CEMon-BDII server acquires LDIF formatted information from several Computing element (via CEMon),

28 Study of Grid Monitoring System CEMon-BDII Aggregator Components CEMon Consumer This process waits for connections from CEMons running on Computing element. It then saves the data sent to a file in the CEMon consumer's own data space.The file name is that of the FQDN reported by the CEMon consumer.

29 Study of Grid Monitoring System CEMon-BDII Aggregator Components Translator script A translator script runs periodically via cron. It scans the CEMon raw data directory for CEMon data files (LDIF) from active registered Computing element, that are less than N minutes old (currently 10 minutes), and modifies the LDIF data to a format that is acceptable to the BDII.

30 Study of Grid Monitoring System LDAP Queries on BDII Server The LDAP servers are primarily accessed using ldap queries on the LDAP servers running on: Request: ldapsearch -x -LLL -H ldap://sibilla.cnaf.infn.it:2170 -b mds-vo- name=INFN-CNAF,o=grid 'objectClass=GlueSite' Result : dn: GlueSiteUniqueID=INFN-CNAF,Mds-Vo-name=INFN-CNAF,o=grid GlueSiteSecurityContact: mailto:grid-sec@cnaf.infn.it GlueSiteSponsor: none objectClass: GlueTop objectClass: GlueSite objectClass: GlueKey objectClass: GlueSchemaVersion GlueSiteSysAdminContact: mailto:sitemanager@cnaf.infn.it GlueSiteDescription: predeployment site GlueSiteUniqueID: INFN-CNAF

31 Study of Grid Monitoring System gstat gstat provides a method to visualize a grid infrastructure from an operational perspective based on information found in the grid information system(BDII).

32 Study of Grid Monitoring System gstat Repository Settings for x86_64 wget \ http://grid-deployment.web.cern.ch/grid-deployment/glite/repos/3.2/glite- BDII.repo \ http://grid-deployment.web.cern.ch/grid-deployment/igtf/igtf.repo \ http://grid-deployment.web.cern.ch/grid-deployment/dag/el5/dag.repo \ http://grid-deployment.web.cern.ch/grid-deployment/epel/el5/epel.repo

33 Study of Grid Monitoring System gstat Installation. rpm -Uvh http://www.sysadmin.hep.ac.uk/rpms/egee- SA1/centos5/$(uname -i)/sa1-release-2-1.el5.noarch.rpm yum install -y MySQL-shared-compat MySQL-client-community MySQL-server-community yum install -y gstat-web ca_policy_igtf-classic yum install -y nagios nagios-plugins nagios-plugins-nrpe nagios- devel

34 Study of Grid Monitoring System gstat Create the GStat database and grant access to gstat user. mysql mysql> CREATE DATABASE gstat mysql> GRANT ALL PRIVILEGES ON gstat.* TO 'gstat'@'localhost' IDENTIFIED BY 'GLOBAL_PASSWORD';" Edit /etc/gstat/gstat.ini file and ensure that DATABASE_PASSWORD and other database parameters match the values used to create the GStat database. vi /etc/gstat/gstat.ini DATABASE_PASSWORD:GLOBAL_PASSWORD... Create a password for MySQL. mysqladmin password GLOBAL_PASSWORD Set up the database tables in the database. /usr/share/gstat/manage syncdb

35 Study of Grid Monitoring System Create a configuration file containing the details for the reference BDII. vi /etc/gstat/ref-bdii.conf BDII_HOST=liknayan.pscigrid.gov.ph BDII_PORT=2170 BDII_BIND=mds-vo-name=PH-ASTI-LIKNAYAN,o=grid GSTAT_PROD=TRUE Create a site-info.def file for use with YAIM. Use your DN for the NAGSIO_ADMIN_DNS. vim /opt/glite/yaim/bin/site-info.def INSTALL_ROOT=/opt SITE_NAME=PSciGrid NAGIOS_HTTPD_ENABLE_CONFIG=true NAGIOS_NAGIOS_ENABLE_CONFIG=true NAGIOS_CGI_ENABLE_CONFIG=true VOS="euasia dteam ops" NAGIOS_ADMIN_DNS="/C=TW/O=AP/OU=GRID/CN=Rey Vincent Babilonia 101075" VO_EUASIA_VOMS_SERVERS='vomss://voms.grid.sinica.edu.tw:8443/voms/e uasia?/euasia' VO_DTEAM_VOMS_SERVERS='vomss://voms.cern.ch:8443/voms/dteam?/dte am' VO_OPS_VOMS_SERVERS='vomss://voms.cern.ch:8443/voms/ops?/ops‘

36 Study of Grid Monitoring System gstat Create the initial Nagios configuration files and populate the database. gstat-update configure-nagios Run YAIM../yaim -c -s site-info.def -n GSTAT

37 Study of Grid Monitoring System Usage Open your Web browser and go to http://grid-test-19.trigrid.it/

38 Study of Grid Monitoring System RTM I just begin with RTM The Real Time Monitor (RTM) is a high-level monitoring tool, which aggregates information on grid jobs and presents it in a suitable graphical form, displaying job distribution on a map of the Earth.

39 Future objectives Learn more about the grid computing Learn more about the monitoring Learn the liferay Devloppe a tool of monitoring using the liferay

40 Thank you


Download ppt "Presentation of the results khiat abdelhamid"

Similar presentations


Ads by Google