Presentation is loading. Please wait.

Presentation is loading. Please wait.

E-infrastructure shared between Europe and Latin America GENIUS PORTAL Valeria Ardizzone INFN-Catania 1° EELA Grid School Itacuruçà Island, State of Rio.

Similar presentations


Presentation on theme: "E-infrastructure shared between Europe and Latin America GENIUS PORTAL Valeria Ardizzone INFN-Catania 1° EELA Grid School Itacuruçà Island, State of Rio."— Presentation transcript:

1 E-infrastructure shared between Europe and Latin America GENIUS PORTAL Valeria Ardizzone INFN-Catania 1° EELA Grid School Itacuruçà Island, State of Rio De Janeiro, Brazil

2 E-infrastructure shared between Europe and Latin America 1° EELA Grid School, Itacuruçà Island, State of Rio De Janeiro (Brazil), 04-15.12.2006 GENIUS: how it works Apache + Tomcat EnginFrame GENIUS https+java/xml+rfb WEB Browser gLite UI Local WS the Grid M/W+GSI 3-tier model

3 E-infrastructure shared between Europe and Latin America 1° EELA Grid School, Itacuruçà Island, State of Rio De Janeiro (Brazil), 04-15.12.2006 The GENIUS hourglass model OS & Net services Basic Services High level GRID middleware ALICEATLASCMSLHCb Applications’ specific layer Other apps GLOBUS toolkit EGEE (LCG/gLite) architecture GENIUS web portal GENIUS Grid Enabled web eNvironment for site Independent User job Submission INFN / NICE Collaboration

4 E-infrastructure shared between Europe and Latin America 1° EELA Grid School, Itacuruçà Island, State of Rio De Janeiro (Brazil), 04-15.12.2006 GENIUS: layout restyling

5 E-infrastructure shared between Europe and Latin America 1° EELA Grid School, Itacuruçà Island, State of Rio De Janeiro (Brazil), 04-15.12.2006 GENIUS: https://egris216.eela.ufrj.br SSL Encryption !

6 E-infrastructure shared between Europe and Latin America 1° EELA Grid School, Itacuruçà Island, State of Rio De Janeiro (Brazil), 04-15.12.2006 GENIUS: files management OS authority Both authorities os and genius are distinct: we have services with different authority!

7 E-infrastructure shared between Europe and Latin America 1° EELA Grid School, Itacuruçà Island, State of Rio De Janeiro (Brazil), 04-15.12.2006 GENIUS: files management Remote File Browser On the User Interface

8 E-infrastructure shared between Europe and Latin America 1° EELA Grid School, Itacuruçà Island, State of Rio De Janeiro (Brazil), 04-15.12.2006 GENIUS: files management

9 E-infrastructure shared between Europe and Latin America 1° EELA Grid School, Itacuruçà Island, State of Rio De Janeiro (Brazil), 04-15.12.2006 GENIUS: files management HTML fragment for better grouping of options in a service, i.e.

10 E-infrastructure shared between Europe and Latin America 1° EELA Grid School, Itacuruçà Island, State of Rio De Janeiro (Brazil), 04-15.12.2006 GENIUS: Grid Authentication with Myproxy myproxy-get-delegation

11 E-infrastructure shared between Europe and Latin America 1° EELA Grid School, Itacuruçà Island, State of Rio De Janeiro (Brazil), 04-15.12.2006 Grid authentication with MyProxy UI Local WS MyProxy Server GENIUS Server (UI) myproxy-init any grid service myproxy-get-delegation output the Grid execution WEB Browser Now, VOMS Extensions needed to run jobs on the GRID ( --voms )

12 E-infrastructure shared between Europe and Latin America 1° EELA Grid School, Itacuruçà Island, State of Rio De Janeiro (Brazil), 04-15.12.2006 GENIUS: security Transparent VOMS Support

13 E-infrastructure shared between Europe and Latin America 1° EELA Grid School, Itacuruçà Island, State of Rio De Janeiro (Brazil), 04-15.12.2006 GENIUS: preferences

14 E-infrastructure shared between Europe and Latin America 1° EELA Grid School, Itacuruçà Island, State of Rio De Janeiro (Brazil), 04-15.12.2006 GENIUS: preferences

15 E-infrastructure shared between Europe and Latin America 1° EELA Grid School, Itacuruçà Island, State of Rio De Janeiro (Brazil), 04-15.12.2006 GENIUS: preferences

16 E-infrastructure shared between Europe and Latin America 1° EELA Grid School, Itacuruçà Island, State of Rio De Janeiro (Brazil), 04-15.12.2006 GENIUS: preferences Custom MyProxy Server List Management

17 E-infrastructure shared between Europe and Latin America 1° EELA Grid School, Itacuruçà Island, State of Rio De Janeiro (Brazil), 04-15.12.2006 GENIUS: preferences

18 E-infrastructure shared between Europe and Latin America 1° EELA Grid School, Itacuruçà Island, State of Rio De Janeiro (Brazil), 04-15.12.2006 How to create a SERVICE on GENIUS PORTAL

19 E-infrastructure shared between Europe and Latin America 1° EELA Grid School, Itacuruçà Island, State of Rio De Janeiro (Brazil), 04-15.12.2006 XML terminology XML - eXtensible Markup Language a data format for structured document interchange XSL - eXtensible Stylesheet Language XSL describes how the XML document should be displayed –XSLT - a language for transforming XML documents –XPATH - a language for navigating in XML documents –XSL-FO - a language for formatting XML documents Tag or Element - an item enclosed in <>, which is part of an XML document –e.g., Attribute - an option of a tag, which has a name and a value enclosed by single or double quotes –e.g. Name space - an optional naming convention that groups tags related to a common context –e.g., SDF – Services Definition File. Xml File which contains the definition of services.

20 E-infrastructure shared between Europe and Latin America 1° EELA Grid School, Itacuruçà Island, State of Rio De Janeiro (Brazil), 04-15.12.2006 GENIUS: files management View/Edit a File With this service you may edit a file in your home directory. <ef:option id="filetoedit" label="Select File to View/Edit" type="rfb" base="${HOME}" target="@genius"/> $EF_ROOT/plugins/genius/bin/geniusgrid.sh view-file $EF_ROOT/plugins/genius/bin/geniusgrid.sh edit-file

21 E-infrastructure shared between Europe and Latin America 1° EELA Grid School, Itacuruçà Island, State of Rio De Janeiro (Brazil), 04-15.12.2006 Services Creations Steps The steps you have to follow in order to make your new service accessible to the users, are: Choose the Service Definition File that will include the new service; Write the tag and give it an unique identifier. This identifier must be located in the id attribute of the tag; Add a tag which will be used as the readable text for the hyper-link in the page containing the services. Clicking on the hyper- link will execute the service; Add an tag; As a text node of the tag, add the command that must be executed. for example, ${EF_ROOT}/plugins/ef/bin/ef.test. Note the use of the ${EF_ROOT} syntax: this makes your Genius services independent from the Genius installation directory; As a child node of the tag, add the tag. The attribute type of suggests to the Genius Server what kind of output it should expect. (XML, HTML or Simple Text); Finally, close the and the tags.

22 E-infrastructure shared between Europe and Latin America 1° EELA Grid School, Itacuruçà Island, State of Rio De Janeiro (Brazil), 04-15.12.2006 in Detail.. Sub tags of –[optional] – title of the web page –[optional] – welcome message of the opening page –[optional] – location of Remote Agent(s)  [required] host – hostname/IP address of EF Agent host  [required] port – TCP port used by EF Agent –[optional] – external XML libraries of functions  [required] xml – path to an SDF which contains XML libraries –[optional] – definition of default data  [required] server – server-side absolute path of spoolers  [optional] agent – agent-side absolute path of spoolers  [optional] ttl –defines how long the spoolers will be accessible format: [DD]d[HH]h[MM]m[SS]s, 0(remove immediately), - 1(not create) –[required] – first folder of the service tree.

23 E-infrastructure shared between Europe and Latin America 1° EELA Grid School, Itacuruçà Island, State of Rio De Janeiro (Brazil), 04-15.12.2006 Skeleton of any your services <ef:agent id="FILENAME" authority="os" xmlns:ef="http://www.enginframe.com/2000/EnginFrame"> GENIUS Grid Portal Welcome to the demo services... DEMO Services

24 E-infrastructure shared between Europe and Latin America 1° EELA Grid School, Itacuruçà Island, State of Rio De Janeiro (Brazil), 04-15.12.2006 My Service file: vardizzo.grid.xml Services Welcome to Valeria Home Valeria Services 1. Service Hello Valeria.

25 E-infrastructure shared between Europe and Latin America 1° EELA Grid School, Itacuruçà Island, State of Rio De Janeiro (Brazil), 04-15.12.2006 My script: vardizzo.sh #!/bin/sh ### valeria Services Functions home() { echo " \"vardizzo.grid.xml\" " } ### Main Procedure COMMAND="$1" shift case "$COMMAND" in home) home $* ;; #################################################################* ) error "Unrecognized command $COMMAND" ;; esac

26 E-infrastructure shared between Europe and Latin America 1° EELA Grid School, Itacuruçà Island, State of Rio De Janeiro (Brazil), 04-15.12.2006 2 Service 2. Service /home/vardizzo/EGRIS_1/bin/vardizzo.sh zip #!/bin/sh … zip() { gzip $file echo "Your file was succefully zipped!" }... zip) zip $* ;; In vardizzo.grid.xml: In vardizzo.sh:

27 E-infrastructure shared between Europe and Latin America 1° EELA Grid School, Itacuruçà Island, State of Rio De Janeiro (Brazil), 04-15.12.2006 3 Service maximum medium minimum $EF_ROOT/plugins/genius/bin/demo.service.sh In vardizzo.grid.xml: #!/bin/sh zip2() { gzip -$level -c $file > $dir$filename.gz echo "Your file was succefully zipped again!“ }... zip2) zip2 $* ;; In vardizzo.sh:

28 E-infrastructure shared between Europe and Latin America 1° EELA Grid School, Itacuruçà Island, State of Rio De Janeiro (Brazil), 04-15.12.2006 Practical Session GENIUS SERVER: https://egris216.eela.ufrj.br The following users’ accounts have been made: (Users,Passwd_Account, Passwd_certificate): (climate, GridCLIMATE, ITACURUCA) (distsim, GridDISTSIM, ITACURUCA) (emboss,GridEMBOSS, ITACURUCA) (lemdist, GridLEMDIST, ITACURUCA) (lms, GridLMS, ITACURUCA) (satyrus,GridSATYRUS, ITACURUCA) (seghidro, GridSEGHIDRO, ITACURUCA) (vod, GridVOD, ITACURUCA)

29 E-infrastructure shared between Europe and Latin America 1° EELA Grid School, Itacuruçà Island, State of Rio De Janeiro (Brazil), 04-15.12.2006 Modify properly the file.sh that you find on your account, under this directory: $ ls EGRIS_1/bin/ vardizzo_ok.sh vardizzo.sh And the SDF (service Description File), here: $ vi /opt/genius/enginframe/plugins/genius/WEBAPP/gilda/v ardizzo.grid.xml

30 E-infrastructure shared between Europe and Latin America 1° EELA Grid School, Itacuruçà Island, State of Rio De Janeiro (Brazil), 04-15.12.2006 Questions…


Download ppt "E-infrastructure shared between Europe and Latin America GENIUS PORTAL Valeria Ardizzone INFN-Catania 1° EELA Grid School Itacuruçà Island, State of Rio."

Similar presentations


Ads by Google