AMGA tutorial. Enabling Grids for E-sciencE

Similar documents
The AMGA Metadata Service

AMGA metadata catalogue system

AMGA metadata catalogue and high level API

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

Data Management. Enabling Grids for E-sciencE. Vladimir Slavnic Scientific Computing Laboratory Institute of Physics Belgrade, Serbia

Consorzio COMETA - Progetto PI2S2. DMS API glite. Salvatore Scifo Consorzio Cometa (PI2S2) - Catania. Corso introduttivo al Grid Computing

AMGA Metadata catalogue service for managing mass data of high-energy physics

Outline. File Systems. File System Structure. CSCI 4061 Introduction to Operating Systems

Unix Filesystem. January 26 th, 2004 Class Meeting 2

AN INTRODUCTION TO UNIX

Comparative evaluation of software tools accessing relational databases from a (real) grid environments

glite Grid Services Overview

glite Middleware Usage

CENG 334 Computer Networks. Laboratory I Linux Tutorial

ALICE Grid/Analysis Tutorial Exercise-Solutions

Understanding StoRM: from introduction to internals

MyProxy Server Installation

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

LCG-2 and glite Architecture and components

Unix File System. Class Meeting 2. * Notes adapted by Joy Mukherjee from previous work by other members of the CS faculty at Virginia Tech

Introduction to The Storage Resource Broker

Introduction to the Linux Command Line

Troubleshooting Grid authentication from the client side

Utilizing Databases in Grid Engine 6.0

Welcome to getting started with Ubuntu Server. This System Administrator Manual. guide to be simple to follow, with step by step instructions

: the User (owner) for this file (your cruzid, when you do it) Position: directory flag. read Group.

Outline. Structure of a UNIX command

CSCI 2132 Software Development. Lecture 5: File Permissions

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

Metadaten Workshop 26./27. März 2007 Göttingen. Chimera. a new grid enabled name-space service. Martin Radicke. Tigran Mkrtchyan

Improving Grid User's Privacy with glite Pseudonymity Service

GROWL Scripts and Web Services

A Simple Mass Storage System for the SRB Data Grid

DiGS (Version 3.1) Setup Guide

Kepler and Grid Systems -- Early Efforts --

Introduction to the UNIX command line

Hardware. Ahmet Burak Can Hacettepe University. Operating system. Applications programs. Users

SECTION -C. Getting Started with UNIX

Operating System Security

CMSC421: Principles of Operating Systems

Unix. 1 tblgrant projects 0 Jun 17 15:40 doc1.txt. documents]$ touch doc2.txt documents]$ ls -l total 0

Beob Kyun KIM, Christophe BONNAUD {kyun, NSDC / KISTI

Bookkeeping and submission tools prototype. L. Tomassetti on behalf of distributed computing group

User Guide Version 2.0

CMSC421: Principles of Operating Systems

Working with Basic Linux. Daniel Balagué

Chapter Two. Lesson A. Objectives. Exploring the UNIX File System and File Security. Understanding Files and Directories

an Object-Based File System for Large-Scale Federated IT Infrastructures

You will automatically be in your user (home) directory when you login.

Introduction to Linux Workshop 1

Distributed Data Management with Storage Resource Broker in the UK

AOS Linux Tutorial. Introduction to Linux. Michael Havas Dept. of Atmospheric and Oceanic Sciences McGill University. September 15, 2011

The UNIX Operating System. HORT Lecture 2 Instructor: Kranthi Varala

Scientific Computing with UNICORE

Permission and Ownership

Introduction to Linux

MTU Computer Structure

IBM IBM Tivoli Access Manager for e-business V6.1 Implementation. Download Full Version :

CS4350 Unix Programming. Outline

Architecture Proposal

CS60021: Scalable Data Mining. Sourangshu Bhattacharya

5/8/2012. Encryption-based Protection. Protection based on Access Permission (Contd) File Security, Setting and Using Permissions Chapter 9

DIRAC File Replica and Metadata Catalog

Chapter 10: File-System Interface

Chapter 10: File-System Interface. Operating System Concepts with Java 8 th Edition

commandname flags arguments

X-WAVE Canonical Use Case 3 Remote File Access Level 3 Version 0.92

Basic UNIX commands. HORT Lab 2 Instructor: Kranthi Varala

RDO container registry Documentation

Chapter 10: File-System Interface

Overview of Web Services API

GRID COMPANION GUIDE

Advanced Job Submission on the Grid

Unix Basics. Benjamin S. Skrainka University College London. July 17, 2010

CHAPTER 1 UNIX FOR NONPROGRAMMERS

Linux Kung-Fu. James Droste UBNetDef Fall 2016

Unix Introduction to UNIX

Chapter 11: File-System Interface

Failover procedure for Grid core services

Module 4: Access Control

Security in distributed metadata catalogues

CSCI 2132 Software Development. Lecture 4: Files and Directories

Mills HPC Tutorial Series. Linux Basics I

Perl and R Scripting for Biologists

Layered Architecture

Today: Distributed File Systems. File System Basics

ArcGIS for Server: Administration and Security. Amr Wahba

Oracle Directory Services 11g: Administration

Today: Distributed File Systems

FREE SCIENTIFIC COMPUTING

EUROPEAN MIDDLEWARE INITIATIVE

Basic Unix Commands. CGS 3460, Lecture 6 Jan 23, 2006 Zhen Yang

glite Data Management System Hands-on

SIEMENS UserAdmin Workshop TELEPERM XP Version 4 Chapter 1

Users, Groups and Permission in Linux

TIBCO ActiveMatrix BusinessWorks Plug-in for sftp User's Guide

Overview of WMS/LB API

Real Application Security Administration

Metasploit. Installation Guide Release 4.4

ARCHER Data Services Service Layer

Transcription:

AMGA tutorial Vladimir Slavnić slavnic@phy.bg.ac.yu Scientific Computing Laboratory Institute of Physics Belgrade, Serbia Sep. 19, 2008 www.eu-egee.org

Arda Metadata Catalogue Project Data about data Simple generic structure Advantages Part of GRID ( access GRID security ( VOMS Concealing variety of databases

Client-server approach AMGA server AMGA clients ( UI C++ binaries : mdclient, mdcli (standard part of Java applications API way c++, java, python, perl, php Web frontend: AMGA WI mdclient Configuration file needed

.mdclient.config example Host = grid16.rcub.bg.ac.yu Port = 8822 # User settings Login = NULL PermissionMask = rwx GroupMask = rwx Home = / # Security options UseSSL = require # options: require, try, no AuthenticateWithCertificate = 1 # Use certificate to authenticate UseGridProxy = 1 IgnoreCertificateNameMismatch = 1 # If server certificates are verified, CA certificates need to be loaded: TrustedCertDir = /etc/grid-security/certificates

Proxy creation $ voms-proxy-init --voms seegrid Connecting to AMGA server $ mdclient Connecting to grid16.rcub.bg.ac.yu:8822... ARDA Metadata Server 1.3.0 Query>

Structure Based on file-system scheme directories (collections) abstraction of standard database tables entry file in file-system, but also a row in table attribute can be observed as a column of table in standard database Directories have different attributes and so the entries that reside in those directories Subdirectories exist Users and groups Unix like access rights to directories and entries - rwx

Help Query> help >> help [topic] Enabling Grids for E-sciencE >> Displays help on a command or a topic. >> Valid topics are: help metadata metadata-optional directory replication constraints entry group acl index schema sequence user view site replicas ticket capabilities commands Query> help user

Some standard commands dir pwd cd createdir rmdir chown chmod link ls stat

Attribute handling Every attribute added to some directory is defined by couple: attribute name attribute type

Example Enabling Grids for E-sciencE Query> cd /grid/seegrid/ Query> createdir movies Query> cd movies Attribute adding addattr [path] <attribute_name> <type_name> ( varchar(128 Query> addattr. MovieTitle Query> addattr. Runtime int Query> addattr. Type text

Attribute listing Query> listattr /grid/seegrid/movies/ >> MovieTitle ( varchar(128 << >> Runtime >> int >> Type >> text Attribute removing Query> removeattr <dir> <attribute >

Adding entries to directory and setting attribute values Query> addentry hair.mov MovieTitle 'Hair' Query> setattr hair.mov Runtime 121 Query> setattr hair.mov Runtime 121 Type 'musical' Query> addentry vertigo.mov MovieTitle 'Vertigo' Query> setattr vertigo.mov Runtime 128 Type 'thriller'

creation Data reviewing and query getattr : getattr <pattern> <attribute1><attribute2>... selectattr : selectattr <attr>... <condition> find : find <pattern> 'query' Query> getattr * MovieTitle Runtime Type >> hair.mov >> Hair >> 121 >> musical >> vertigo.mov >> Vertigo >> 128 >> thriller

Query> selectattr.:movietitle.:runtime.:type '.:Runtime > 125' >> Vertigo >> 128 >> thriller Query> selectattr.:movietitle 'like(.:file,"%r.mov%")' >> Hair Query> find *.mov 'Runtime < 123' >> hair.mov

Attribute updating Query> updateattr * Runtime Runtime+10 'Runtime>123' Query> getattr * Runtime >> hair.mov >> 121 >> vertigo.mov >> 138 Complex queries can be created Using different functions in query conditions Using of table joins

Access right control ACL (access control ( list User Group Examples Query> whoami >> seegrid Query> grp_member >> seegrid:nova_grupa >> seegrid:users

Query> acl_show /grid/seegrid/movies/ >> seegrid rwx >> root:seegrid-user rwx >> seegrid:nova_grupa rw >> seegrid:users rwx >> system:anyuser rx Query> acl_add /grid/seegrid/movies/ nova_grupa rwx Query> acl_remove /grid/seegrid/movies/ nova_grupa

Advanced features Replication Index creation constraints Table creation Sequence Managing user capabilities

Application LFC interaction Efficient team coordination Grid jobs implementation...

Useful links http://wiki.egee-see.org/index.php/amga_metadata_catalogue_tutorial http://project-arda-dev.web.cern.ch/project-arda-dev/metadata/index.html https://grid.ct.infn.it/twiki/bin/view/gilda/amgahandson

The end