Presentation is loading. Please wait.

Presentation is loading. Please wait.

Grid User Interface Giuliano Taffoni.

Similar presentations


Presentation on theme: "Grid User Interface Giuliano Taffoni."— Presentation transcript:

1 Grid User Interface Giuliano Taffoni

2 Outline The User Interface UIPnP The virtual UI UI and Apple
Marc-Elian Bégin - Demos - 1st EU reviewCorso Avanzato di Calcolo Parallelo e Grid Computing - 27 Sep - Catania Outline The User Interface Installation and Configuration UIPnP Glite3.0.0 Combo The virtual UI Vmware solution QEMU UI and Apple

3 What is a User Interface?
Marc-Elian Bégin - Demos - 1st EU reviewCorso Avanzato di Calcolo Parallelo e Grid Computing - 27 Sep - Catania What is a User Interface? WN is the real execution node WN is like a Slave User access point to Grid Proxy credential Job submission Job Monitoring Command info site CE Entry point of a queue in a batch system CE is like a Master

4 How to install a UI A dedicated SL 306 Linux PC;
Marc-Elian Bégin - Demos - 1st EU reviewCorso Avanzato di Calcolo Parallelo e Grid Computing - 27 Sep - Catania How to install a UI A dedicated SL 306 Linux PC; The UI in user space: UIPnP; Egrid LiveCD; The art of virtualization: Vmware Qemu Usermode linux XEN 3.0

5 The problem! Grid MW is BSD license
Marc-Elian Bégin - Demos - 1st EU reviewCorso Avanzato di Calcolo Parallelo e Grid Computing - 27 Sep - Catania The problem! Grid MW is BSD license It is very difficult to find sources When you find, it is very difficult to find dependencies They build a Grid is for dummies! Grid È distribuito con licenza opensource… no rpm sorgenti

6 Installation and Configuration of the
Marc-Elian Bégin - Demos - 1st EU reviewCorso Avanzato di Calcolo Parallelo e Grid Computing - 27 Sep - Catania Installation and Configuration of the User Interface Standard method

7 A UI workstation SL 30X Yam + yaim or however you like
Marc-Elian Bégin - Demos - 1st EU reviewCorso Avanzato di Calcolo Parallelo e Grid Computing - 27 Sep - Catania A UI workstation SL 30X Yam + yaim or however you like /opt/lcg/sbin/ig_install_node site.def ig_UI NOTE: BDII_HOST=egee-bdii.cnaf.infn.it NTP_HOSTS_IP="pool.ntp.org" RB_HOST=”egee-rb-01.cnaf.infn.it” LFC_CENTRAL="lfcserver.cnaf.infn.it" PX_HOST=myproxy.cnaf.infn.it

8 Marc-Elian Bégin - Demos - 1st EU reviewCorso Avanzato di Calcolo Parallelo e Grid Computing - 27 Sep - Catania Installation process If the installation is performed successfully, the following components are installed: gLite in /opt/glite Globus in /opt/globus GPT in /opt/gpt

9 After the installation
Marc-Elian Bégin - Demos - 1st EU reviewCorso Avanzato di Calcolo Parallelo e Grid Computing - 27 Sep - Catania After the installation Check the DATE!!! Check the environment variables: GLOBUS_TCP_PORT_RANGE GLOBUS_LOCATION LCG_GFAL_INFOSYS LFC_HOST etc... Data del computer deve essre precisa

10 Test the UI: prerequisites
Marc-Elian Bégin - Demos - 1st EU reviewCorso Avanzato di Calcolo Parallelo e Grid Computing - 27 Sep - Catania Test the UI: prerequisites A UI does not need a host certificate; Any user of the UI needs his user certificate; Open the firewall: Globus tcp port range: Connection to RB, BDII, myproxy, LFC etc... DO NOT use a private network for the UI!!!!

11 Marc-Elian Bégin - Demos - 1st EU reviewCorso Avanzato di Calcolo Parallelo e Grid Computing - 27 Sep - Catania Test the UI As a user: Copy the usercert/key in $HOME/.globus directory Initialize the proxy Test the connection: Lcg-infosites –vo inaf ce Lcg-infosites –vo inaf se globusrun -a -r a.ce.fqhn edg-gridftp-ls gsiftp://a.se.fqhn/tmp lfc-ls /grid/inaf

12 Some important configuration files
Marc-Elian Bégin - Demos - 1st EU reviewCorso Avanzato di Calcolo Parallelo e Grid Computing - 27 Sep - Catania Some important configuration files To point a new Resource Broker check the attributes NSAddresses and LBAddresses in the file /opt/edg/etc/VO/edg_wl_ui.conf One file for each VO supported …… NSAddresses = "server3.gs.unina.it:7772"; LBAddresses = "server3.gs.unina.it:9000"; trucchetto

13 Some important configuration files
Marc-Elian Bégin - Demos - 1st EU reviewCorso Avanzato di Calcolo Parallelo e Grid Computing - 27 Sep - Catania Some important configuration files To point at different BDII check the variable LCG_GFAL_INFOSYS ….. export LCG_GFAL_INFOSYS=server3.gs.unina.it:2170 …. The environment variables are set in /etc/profile.d and configured during the installation

14 Marc-Elian Bégin - Demos - 1st EU reviewCorso Avanzato di Calcolo Parallelo e Grid Computing - 27 Sep - Catania The Default VO You can edit the following file to set the default Virtual Organisation (VO): >vi /opt/edg/etc/edg_wl_ui_cmd_var.conf [ ….. LoggingDestination = "server3.gs.unina.it:9002"; # Default NS logger level is set to 0 (null) # max value is 6 (very ugly) NSLoggerLevel = 0; DefaultLogInfoLevel = 0; DefaultStatusLevel = 0; DefaultVo = "inaf"; ]

15 Installation and Configuration of the
Marc-Elian Bégin - Demos - 1st EU reviewCorso Avanzato di Calcolo Parallelo e Grid Computing - 27 Sep - Catania Installation and Configuration of the User Interface UIPnP

16 The UIPnP It a tarball with all the UI middleware components compiled;
Marc-Elian Bégin - Demos - 1st EU reviewCorso Avanzato di Calcolo Parallelo e Grid Computing - 27 Sep - Catania The UIPnP It a tarball with all the UI middleware components compiled; It is installed in user space; Need a Linux distribution; May be also a system installation (needs root privileges)

17 Marc-Elian Bégin - Demos - 1st EU reviewCorso Avanzato di Calcolo Parallelo e Grid Computing - 27 Sep - Catania System requirements They claim it works with any distribution: DO NOT BELIEVE THEM!!!! Fedora core 2/3 SL 30X/40X Suse 9.x (NOT 10) Mandriva Set properly time and date; Open the firewall; Install your certificate.

18 Installation Download the SW: Untar in a directory Enter the directory
Marc-Elian Bégin - Demos - 1st EU reviewCorso Avanzato di Calcolo Parallelo e Grid Computing - 27 Sep - Catania Installation Download the SW: wget Untar in a directory Enter the directory Edit the configuration file UIPnP.conf Export the variable UIPnP=install_directory Install it (source install.sh) More info in the README file

19 And what happens... Install.sh does mainly:
Marc-Elian Bégin - Demos - 1st EU reviewCorso Avanzato di Calcolo Parallelo e Grid Computing - 27 Sep - Catania And what happens... Install.sh does mainly: Downloads CA certificates, Signing Policy, CRL Creates .globus directory Creates JobOutput directory Set all the relevant environment variables Set a cron job to update CRL periodically

20 RB Environment Settings
Marc-Elian Bégin - Demos - 1st EU reviewCorso Avanzato di Calcolo Parallelo e Grid Computing - 27 Sep - Catania RB Environment Settings To point at LCG Resource Broker server3.gs.unina.it from your UIPnPcomb, uncomment this value for the attribute NSAddresses and LBAddresses in the following file >vi UIPnP/edg/etc/gilda/edg_wl_ui.conf …… NSAddresses = "server3.gs.unina.it:7772"; LBAddresses = "server3.gs.unina.it:9000";

21 BDII Environment Settings
Marc-Elian Bégin - Demos - 1st EU reviewCorso Avanzato di Calcolo Parallelo e Grid Computing - 27 Sep - Catania BDII Environment Settings To point at BDII (Berkeley Database Information Index) from your UIPnP, edit server3.gs.unina.it:2170 as value for variable LCG_GFAL_INFOSYS: >vi UIPnP/Environment.sh ….. export LCG_GFAL_INFOSYS=server3.gs.unina.it:2170 ….

22 Marc-Elian Bégin - Demos - 1st EU reviewCorso Avanzato di Calcolo Parallelo e Grid Computing - 27 Sep - Catania Default VO settings You can edit the following file to set the default Virtual Organisation (VO): >vi UIPnPcomb/edg/etc/edg_wl_ui_cmd_var.conf [ ….. LoggingDestination = "server3.gs.unina.it:9002"; # Default NS logger level is set to 0 (null) # max value is 6 (very ugly) NSLoggerLevel = 0; DefaultLogInfoLevel = 0; DefaultStatusLevel = 0; DefaultVo = "inaf"; ]

23 Installation and Configuration of the
Marc-Elian Bégin - Demos - 1st EU reviewCorso Avanzato di Calcolo Parallelo e Grid Computing - 27 Sep - Catania Installation and Configuration of the User Interface Virtual Servers Virtual Servers

24 The art of virtualization
Marc-Elian Bégin - Demos - 1st EU reviewCorso Avanzato di Calcolo Parallelo e Grid Computing - 27 Sep - Catania The art of virtualization Ops...but I use WindowsXP! My distribution does not support UIPnP; I do not have money to buy a new PC; I have a MAC I just want to play with the GRID...

25 Virtual Machines XEN UserModeLinux QEMU VMWARE
Marc-Elian Bégin - Demos - 1st EU reviewCorso Avanzato di Calcolo Parallelo e Grid Computing - 27 Sep - Catania Virtual Machines XEN Pretty invasive but very useful UserModeLinux Fast but still linux QEMU Fast, multiplatform, FREE VMWARE Fast, Win+Linux, now free!

26 Marc-Elian Bégin - Demos - 1st EU reviewCorso Avanzato di Calcolo Parallelo e Grid Computing - 27 Sep - Catania Qemu QEMU is a generic and open source processor emulator which achieves a good emulation speed by using dynamic translation. Accelerator for linux/OpenBSD/WIN(?) 2 times slower Mac version 10 times slower

27 Vmware Player Free & Fast Needs a vmware image
Marc-Elian Bégin - Demos - 1st EU reviewCorso Avanzato di Calcolo Parallelo e Grid Computing - 27 Sep - Catania Vmware Player Free & Fast Needs a vmware image We are planning to provide an INAF Vmware UI for INAF users (15days)

28 Live UI Knoppix live CD UI 2.7.0 Developed by EGRID project
Marc-Elian Bégin - Demos - 1st EU reviewCorso Avanzato di Calcolo Parallelo e Grid Computing - 27 Sep - Catania Live UI Knoppix live CD UI 2.7.0 Developed by EGRID project Very useful Can be used to install a UI but I do not suggest it There is a gilda version

29 Marc-Elian Bégin - Demos - 1st EU reviewCorso Avanzato di Calcolo Parallelo e Grid Computing - 27 Sep - Catania THE END


Download ppt "Grid User Interface Giuliano Taffoni."

Similar presentations


Ads by Google