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
E-infrastructure shared between Europe and Latin America 1° EELA Grid School, Itacuruçà Island, State of Rio De Janeiro (Brazil), 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
E-infrastructure shared between Europe and Latin America 1° EELA Grid School, Itacuruçà Island, State of Rio De Janeiro (Brazil), 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
E-infrastructure shared between Europe and Latin America 1° EELA Grid School, Itacuruçà Island, State of Rio De Janeiro (Brazil), GENIUS: layout restyling
E-infrastructure shared between Europe and Latin America 1° EELA Grid School, Itacuruçà Island, State of Rio De Janeiro (Brazil), GENIUS: SSL Encryption !
E-infrastructure shared between Europe and Latin America 1° EELA Grid School, Itacuruçà Island, State of Rio De Janeiro (Brazil), GENIUS: files management OS authority Both authorities os and genius are distinct: we have services with different authority!
E-infrastructure shared between Europe and Latin America 1° EELA Grid School, Itacuruçà Island, State of Rio De Janeiro (Brazil), GENIUS: files management Remote File Browser On the User Interface
E-infrastructure shared between Europe and Latin America 1° EELA Grid School, Itacuruçà Island, State of Rio De Janeiro (Brazil), GENIUS: files management
E-infrastructure shared between Europe and Latin America 1° EELA Grid School, Itacuruçà Island, State of Rio De Janeiro (Brazil), GENIUS: files management HTML fragment for better grouping of options in a service, i.e.
E-infrastructure shared between Europe and Latin America 1° EELA Grid School, Itacuruçà Island, State of Rio De Janeiro (Brazil), GENIUS: Grid Authentication with Myproxy myproxy-get-delegation
E-infrastructure shared between Europe and Latin America 1° EELA Grid School, Itacuruçà Island, State of Rio De Janeiro (Brazil), 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 )
E-infrastructure shared between Europe and Latin America 1° EELA Grid School, Itacuruçà Island, State of Rio De Janeiro (Brazil), GENIUS: security Transparent VOMS Support
E-infrastructure shared between Europe and Latin America 1° EELA Grid School, Itacuruçà Island, State of Rio De Janeiro (Brazil), GENIUS: preferences
E-infrastructure shared between Europe and Latin America 1° EELA Grid School, Itacuruçà Island, State of Rio De Janeiro (Brazil), GENIUS: preferences
E-infrastructure shared between Europe and Latin America 1° EELA Grid School, Itacuruçà Island, State of Rio De Janeiro (Brazil), GENIUS: preferences
E-infrastructure shared between Europe and Latin America 1° EELA Grid School, Itacuruçà Island, State of Rio De Janeiro (Brazil), GENIUS: preferences Custom MyProxy Server List Management
E-infrastructure shared between Europe and Latin America 1° EELA Grid School, Itacuruçà Island, State of Rio De Janeiro (Brazil), GENIUS: preferences
E-infrastructure shared between Europe and Latin America 1° EELA Grid School, Itacuruçà Island, State of Rio De Janeiro (Brazil), How to create a SERVICE on GENIUS PORTAL
E-infrastructure shared between Europe and Latin America 1° EELA Grid School, Itacuruçà Island, State of Rio De Janeiro (Brazil), 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.
E-infrastructure shared between Europe and Latin America 1° EELA Grid School, Itacuruçà Island, State of Rio De Janeiro (Brazil), 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}" $EF_ROOT/plugins/genius/bin/geniusgrid.sh view-file $EF_ROOT/plugins/genius/bin/geniusgrid.sh edit-file
E-infrastructure shared between Europe and Latin America 1° EELA Grid School, Itacuruçà Island, State of Rio De Janeiro (Brazil), 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.
E-infrastructure shared between Europe and Latin America 1° EELA Grid School, Itacuruçà Island, State of Rio De Janeiro (Brazil), 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.
E-infrastructure shared between Europe and Latin America 1° EELA Grid School, Itacuruçà Island, State of Rio De Janeiro (Brazil), Skeleton of any your services <ef:agent id="FILENAME" authority="os" xmlns:ef=" GENIUS Grid Portal Welcome to the demo services... DEMO Services
E-infrastructure shared between Europe and Latin America 1° EELA Grid School, Itacuruçà Island, State of Rio De Janeiro (Brazil), My Service file: vardizzo.grid.xml Services Welcome to Valeria Home Valeria Services 1. Service Hello Valeria.
E-infrastructure shared between Europe and Latin America 1° EELA Grid School, Itacuruçà Island, State of Rio De Janeiro (Brazil), 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
E-infrastructure shared between Europe and Latin America 1° EELA Grid School, Itacuruçà Island, State of Rio De Janeiro (Brazil), 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:
E-infrastructure shared between Europe and Latin America 1° EELA Grid School, Itacuruçà Island, State of Rio De Janeiro (Brazil), 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:
E-infrastructure shared between Europe and Latin America 1° EELA Grid School, Itacuruçà Island, State of Rio De Janeiro (Brazil), Practical Session GENIUS SERVER: 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)
E-infrastructure shared between Europe and Latin America 1° EELA Grid School, Itacuruçà Island, State of Rio De Janeiro (Brazil), 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
E-infrastructure shared between Europe and Latin America 1° EELA Grid School, Itacuruçà Island, State of Rio De Janeiro (Brazil), Questions…