Setup Desktop Grids and Bridges. Tutorial. Robert Lovas, MTA SZTAKI

Similar documents
SZDG, ecom4com technology, EDGeS-EDGI in large P. Kacsuk MTA SZTAKI

Improved 3G Bridge scalability to support desktop grid executions

Dario Ferrer. 27 September CPC Centre for Parallel Computing University of Westminster. Challenges, problems and solutions for

glite Grid Services Overview

30 Nov Dec Advanced School in High Performance and GRID Computing Concepts and Applications, ICTP, Trieste, Italy

Gergely Sipos MTA SZTAKI

Security issues in hierarchically connected BOINC systems

EUROPEAN MIDDLEWARE INITIATIVE

Chapter 2 Introduction to the WS-PGRADE/gUSE Science Gateway Framework

Grid services. Enabling Grids for E-sciencE. Dusan Vudragovic Scientific Computing Laboratory Institute of Physics Belgrade, Serbia

BOINC extensions in the SZTAKI DesktopGrid system

Apache Manual Install Ubuntu Php Mysql. Phpmyadmin No >>>CLICK HERE<<<

ULTEO OPEN VIRTUAL DESKTOP DEBIAN WHEEZY (7.0) SUPPORT

g-eclipse A Framework for Accessing Grid Infrastructures Nicholas Loulloudes Trainer, University of Cyprus (loulloudes.n_at_cs.ucy.ac.

SLCS and VASH Service Interoperability of Shibboleth and glite

Gridbus Portlets -- USER GUIDE -- GRIDBUS PORTLETS 1 1. GETTING STARTED 2 2. AUTHENTICATION 3 3. WORKING WITH PROJECTS 4

Deploying virtualisation in a production grid

Towards a Security Model to Bridge Internet Desktop Grids and Service Grids

FREE SCIENTIFIC COMPUTING

Workflow applications on EGI with WS-PGRADE. Peter Kacsuk and Zoltan Farkas MTA SZTAKI

Grid Computing Middleware. Definitions & functions Middleware components Globus glite

VIRTUAL GPU LICENSE SERVER VERSION , , AND 5.1.0

Grid Scheduling Architectures with Globus

Installing LAMP on Ubuntu and (Lucid Lynx, Maverick Meerkat)

LCG-2 and glite Architecture and components

EDGI Project Infrastructure Benchmarking

Installing and Configuring vcloud Connector

BOINC II. Nicolas Maire, Swiss Tropical Institute. with Christian Ulrik Søttrup, Niels Bohr Institute

ARC integration for CMS

Using vrealize Operations Tenant App as a Service Provider

Table of contents. Friday 23 September

Application Deployment With Zend Server 5.5 Beta

Zadara Enterprise Storage in

EGEE and Interoperation

Kollaborate Server. Installation Guide

VMware AirWatch Content Gateway for Linux. VMware Workspace ONE UEM 1811 Unified Access Gateway

Regional SEE-GRID-SCI Training for Site Administrators Institute of Physics Belgrade March 5-6, 2009

Ubuntu Practice and Configuration Post Installation Exercises interlab at AIT Bangkok, Thailand

MyProxy Server Installation

Ivane Javakhishvili Tbilisi State University High Energy Physics Institute HEPI TSU

Install Apache Manually Win7 7 Php Mysql Phpmyadmin Ubuntu Server

Architecture Proposal

Setting up VPS on Ovh public cloud and installing lamp server on Ubuntu instance

Infoblox Kubernetes1.0.0 IPAM Plugin

GRID COMPANION GUIDE

Interconnect EGEE and CNGRID e-infrastructures

Using DC/OS for Continuous Delivery

Grid Authentication and Authorisation Issues. Ákos Frohner at CERN

Integration of Cloud and Grid Middleware at DGRZR

Troubleshooting Grid authentication from the client side

EGI-InSPIRE. GridCertLib Shibboleth authentication for X.509 certificates and Grid proxies. Sergio Maffioletti

Comodo IT and Security Manager Software Version 6.4

Understanding StoRM: from introduction to internals

How To Start Mysql Use Linux Command Line Client In Ubuntu

ARC NOX AND THE ROADMAP TO THE UNIFIED EUROPEAN MIDDLEWARE

The LHC Computing Grid

Table of Contents. Configure and Manage Logging in to the Management Portal Verify and Trust Certificates

Geographical failover for the EGEE-WLCG Grid collaboration tools. CHEP 2007 Victoria, Canada, 2-7 September. Enabling Grids for E-sciencE

Argus Vulnerability Assessment *1

YAIM Overview. Bruce Becker Meraka Institute. Co-ordination & Harmonisation of Advanced e-infrastructures for Research and Education Data Sharing

Debian Project. What is Debian? Debian. Debain Roadmap. Linux(Debian GNU/Linux) : 3 (2005/8/4) ASIN:

How To Start Mysql Using Linux Command Line Client In Ubuntu

Install and make Apache + PHP to work with PosgreSQL database server on Debian Linux and set up server Web Posgre interface Pgpadmin howto

Apache Manual Install Ubuntu Php Mysql >>>CLICK HERE<<<

Table of Contents DevOps Administrators

We want to install putty, an ssh client on the laptops. In the web browser goto:

WMS Application Program Interface: How to integrate them in your code

Installing and Configuring VMware Identity Manager Connector (Windows) OCT 2018 VMware Identity Manager VMware Identity Manager 3.

WLCG Lightweight Sites

On the employment of LCG GRID middleware

EMI Deployment Planning. C. Aiftimiei D. Dongiovanni INFN

ULTEO OPEN VIRTUAL DESKTOP SUSE LINUX ENTERPRISE SERVER (SLES) 11 SP1 SUPPORT

How to build Scientific Gateways with Vine Toolkit and Liferay/GridSphere framework

INDIGO PAAS TUTORIAL. ! Marica Antonacci RIA INFN-Bari

Lesson 6: Portlet for job submission

Amigopod Release Notes. Updating to Amigopod Document Overview. Overview of the Update Process. Verify the System s Memory Limit

ViMP 2.0. Installation Guide. Verfasser: ViMP GmbH

VMware AirWatch Content Gateway Guide for Linux For Linux

VMware AirWatch Content Gateway for Windows. VMware Workspace ONE UEM 1811 Unified Access Gateway

Integration of the guse/ws-pgrade and InSilicoLab portals with DIRAC

PoS(ISGC 2011 & OGF 31)119

The first command should show your short hostname, and the second should show your fully qualified domain name (FQDN).

Inside WebSphere Application Server

MISP2 installation and configuration guide. Version 2.12

VIRTUAL GPU LICENSE SERVER VERSION AND 5.1.0

Manual Linux Ubuntu Lts Server Install Webmin

The glite middleware. Ariel Garcia KIT

VMware AirWatch Content Gateway Guide For Linux

Using the MyProxy Online Credential Repository

ULTEO OPEN VIRTUAL DESKTOP OPENSUSE 11.3 SUPPORT

Intel Education Theft Deterrent Deployment Guide. December 2017

Virtual Machine. Release 1.0. Howard Chivers

QosCosGrid Middleware

NorduGrid Tutorial. Client Installation and Job Examples

X-road MISP2 installation and configuration guide. Version 1.20

Horizon DaaS Platform 6.1 Service Provider Installation - vcloud

Ticketing Service 1 Request Tracker (RT) Installation and Configuration

Data Avenue REST API. Ákos Hajnal, Zoltán Farkas November, 2015

Working with Ubuntu Linux. Track 2 Workshop June 2010 Pago Pago, American Samoa

UNIT IV PROGRAMMING MODEL. Open source grid middleware packages - Globus Toolkit (GT4) Architecture, Configuration - Usage of Globus

Transcription:

Setup Desktop Grids and Bridges Tutorial Robert Lovas, MTA SZTAKI

Outline of the SZDG installation process 1. Installing the base operating system 2. Basic configuration of the operating system 3. Installing the SZTAKI LDG packages from ecom4com 4. Creating a BOINC project 5. Managing the BOINC project 6. Deploying the application on the LDG 2 The EDGeS project receives

Step 0: Installing the OS SZTAKI Desktop Grid is supported on Debian/ GNU Linux stable (Lenny) i386 and amd64 platforms Hardware mainly depends on the apps, for the infrastructure itself with simple apps up to a few thousand clients any current system is sufficient See Debian install documentation for details at http://www.debian.org/releases/stable/installmanual SZTAKI Desktop Grid distribution and documentation http://www.desktopgrid.hu/ 3 The EDGeS project receives

Step 1: Basic OS configuration Make sure /etc/hosts contains your FQDN 127.0.0.1 localhost.localdomain localhost 192.168.192.193 boinc.lpds.sztaki.hu boinc Make sure e-mail works (MTA installed) apt-get install postfix apt-get install exim; eximconfig Set up package repositories: Add to /etc/apt/sources.list (as one single line): deb http://www.desktopgrid.hu/debian/ etch szdg Run apt-get update to update the repository cache 4 The EDGeS project receives

Install dependencies: Step 2: Install SZTAKI Desktop Grid apt-get install apache2-mpm-prefork libapache2-mod-auth-plain apt-get install libapache2-mod-php5 php5-cli apt-get install mysql-server-5.0 php5-mysql apt-get install pwgen To install BOINC with the standard web interface, type: apt-get install boinc boinc-skin-standard To install the SZTAKI Local Desktop Grid interface, type: apt-get install boinc boinc-skin-ldg To install the DC-API development files for BOINC, type: apt-get install libdcapi-boinc-dev To install the DC-API devel. files for local execution, type: apt-get install libdcapi-local-dev 5 The EDGeS project receives

Step 3: Creating a project (as root) Creating a new project takes just a single command: boinc_create_project --name=test --long-name= Test Project This will create a UNIX user named boinc-test and a MySQL database/user named boinc_test All files belonging to the project are under the directory / var/lib/boinc/test which is the same as ~boinc-test Create a normal user account (this will be a project admin) adduser pradmin Make the pradmin user a project administrator: boinc_admin --name=test --add pradmin Password set here is for admin web interface accessible as 6 http://<host name>/<project short name>/ops The EDGeS project receives

Step 4: Managing the BOINC project The project is now ready to use Root privileges are not needed anymore so log out as root and log in as pradmin You can assume project administrator role by running sudo su - boinc-test After the above command the environment is set up so that you can issue BOINC administrative commands directly, such as: start, stop, etc. You can start the project now typing start 7 The EDGeS project receives

Step 5: Deploying the application on the LDG In plain BOINC, application deployment is a many step process With SZDG applications can be packaged, deploying a package is just one command: boinc_appmgr uses application descriptors in the package client.xml master.xml boinc_appmgr --add primesearch.tar.gz 8 The EDGeS project receives

3G Bridge 3G Bridge BOINC Job source BOINC client Job Database DC-API Plugin BOINC glite Job source glite GRAM Job Handler Interface Queue Manager GridHandler Interface glite Plugin glite guse/ WS- PGRADE portal guse job submitter XtremWe b Plugin Xtrem Web

Scenario 1 DG to glite via bridge DesktopGrid VO Desktop Grid The image cannot be displayed. Your computer may not have enough memory to open the image, or the image may have been corrupted. Restart your computer, and then open the file again. If the red x still appears, you may have to delete the image and then insert it again. WMS and other glite services DG glite bridge DG user User entry point is DG using glite is completely transparent from user s point of view

Outline (Part I) What this HOWTO is about? BOINC à glite bridge in detail Prerequisites What this HOWTO is about? Prerequisites

Aim of this HOWTO You are: a BOINC project admin You want to: improve the computation performance of your BOINC Grid Use the DesktopGrid VO computing resources With technology: 3G Bridge In a nutshell: run your BOINC workunits on the DesktopGrid VO

System overview BOINC project server DesktopGrid VO Scheduler Work gen. Assim.... WU/APP/ Result Database WMS LB BDII Computing Element 1 Computing Element 2 BOINC to EGEE Bridge Computing Element 1

BOINC à glite bridge details Task to be solved: Process BOINC workunits In a glite-based infrastructure Using a bridge that: Is able to handle BOINC workunits And is able to create glite jobs from the workunits, and run them on glite-based Grid

BOINC à glite Bridge solution concept Wrapped workunit execution: Fetch BOINC workunits Parse the workunits contents instead of starting them, and wrap them into a package Send the package to the 3G Bridge An glite plugin of the 3G Bridge arranges the package execution on glite The result of the glite execution (output package) is unpacked, and results are sent back to the BOINC project

BOINC glite bridge Using 3G Bridge concept Collect jobs originating from BOINC: Place them in a queue New jobs in the queue are periodically handled by an glite plugin, that Uses Collection possibilities of glite to submit many jobs in one request This way the usage of the WMS is reduced

Prerequisites A BOINC project A DesktopGrid VO An glite User Interface machine with: BOINC jobwrapper client installed BOINC jobwrapper installed 3G Bridge with glite plugin support installed DesktopGrid VO configured

Tasks of the BOINC project admin I. Get a grid certificate from your national CA Certificates are essential for accessing glite services Consists of two parts : Public key Private key protected by a password Usually are valid for a year, can be extended Are used to identify you within the glite grid infrastructure

Tasks of the BOINC project admin II. Upload a long-term proxy to the EDGeS MyProxy server Proxies are generated from your certificate by decoding its key (using the password) and offering usually a short lifetime (few hours) Long-term proxies are stored on trusted entities (MyProxy servers), are used to generate short-term proxies in a trustworthy manner Use this command: GT_PROXY_MODE=old myproxy-init -s myproxy.grid.edges-grid.eu -d -n

Tasks of the BOINC project admin III. Send your certificate s subject the the Bridge Admin Create a new BOINC user on the BOINC project Send the BOINC project s URL to the Bridge Admin Send the new BOINC user s account key to the Bridge Admin

Tasks of the Bridge admin I. Wait for the info provided by the BOINC admin Update 3G Bridge config file: New plugin Certificate subject BOINC jobwrapper

Tasks of the Bridge admin II. Create a new algorithm queue in the 3G Bridge database for the new_boinc plugin: mysql> insert into cg_algqueue(grid, alg, batchsize) values( new_boinc,, 10); The above command adds a new queue for the new_boinc plugin using any executable and using collection size 10 during job submission Restart the bridge, so the new plugin will be initialized

Tasks of the Bridge admin III. Create a new working directory for the BOINC jobwrapper client Create jobwrapper_config.xml in the dir: Use 10 CPUs Use GUI RPC port 10000 Specify the jobwrapper binary Also specify the config section

Tasks of the Bridge admin IV. Attach to the BOINC project Restart the BOINC jobwrapper service on the glite UI machine

DesktopGrid VO activities CPU > 1 Day/Week CPU > 1 Month/Week CPU > 1 Year/Week

Scenario 2 glite to DG via bridge Desktop Grid 1 glite VO Desktop Grid n DEGISCO Services DG CE + Appl. Rep. WMS and other EGEE services glite user (using glite UI machine or portal) User entry point is glite using DG is transparent from user s point of view

How to connect your SG system to EDGI/DEGISCO? (Part II) This HOWTO is about setting up the gliteà DG bridge The title assumes user view (i.e. you want your jobs in your SG to go to DGs) From the admin view it requires more work from the DG admin and may look more like adding DGs to an SG, but don't get confused by this In this session you will see how to prepare your DG set up earlier to accept glite jobs (as a DG admin)

BDII The big picture Report resources and performance Info provider CE DG servers DC-API plugin 3G Bridge BOINC1 (SZDG) WMS Submit job UI LB Submit job Watch Get output Log events Send output VOMS X509 proxy Get EXE DG-LRMS Application Repository Add job Watch job Check EXE DC-API plugin 3G Bridge XWeb plugin 3G Bridge BOINC2 (UoW) XWeb IN2P3

What can be bridged? Let there be a validated version of an application in the AR with executables for glite and different DG systems (and on DGs for different platforms) This application (the client part) is deployed on a DG that is connected to the bridge and this DG is registered in the AR as supporting the application An glite VO is also registered in the AR as an allowed source of jobs for this application

How does bridging work? When a job is submitted to a bridge CE it checks the following: Executable matches the one in the AR for the source VO by MD5 hash 1. The source VO must be allowed 2. The application executable must be allowed The target DG is registered as supporting the application (the DG version is deployed there) If the above are true the job is bridged if false then the job is rejected

What needs to be set up? On the DG side: 3g-bridge queue manager 3g-bridge wssubmitter service To get applications from the AR to be installed locally and to register installed applications: gemlcacli and gridftp clients On the glite side An lcg-ce with edges-bridge Connecting the glite CE to the wssubmitter(s)

Manual

Tutorial BOINC and 3G-Bridge Virtual glite, BOINC and 3G-Bridge infrastructure (provided by EDGI project)

Purpose of virtual infrastructure The purpose of these VMs is to provide a base to easily set up local test or development infrastructure to be used for: è getting to know these services or è developing and testing applications and è new middleware components in a local usage scenario.

Overview Virtual machine (VM) images are set up as a test infrastructure for EDGI project. Available http:// www.edgi-grid.eu/downloads/vmimages/ Virtual machines are configured to function as: è a minimal, è self contained, test infrastructure of the SG DG (service grid to desktop grid) infrastructure.

Remarks The components are similar to those used in the EDGeS/EDGI production infrastructure however, these VMs are not meant to be used for setting up a public production infrastructure. The focus while creating these VMs were on: ü easy installation and ü simple local usage as opposed to : û performance and û security which in this setup do not meet the requirements of production usage.

Overview of Virtual machines

Available with documentation http://www.edgi-grid.eu/downloads/vmimages/v1.0/