INFSO-RI-508833 Service Oriented Architectures - Introduction. Managing Grid Resources with Condor Web Services Corina.

Slides:



Advertisements
Similar presentations
Community Grids Lab1 CICC Project Meeting VOTable Developed VotableToSpreadsheet Service which accepts VOTable file location as an input, converts to Excel.
Advertisements

Overview of Web Services
TSpaces Services Suite: Automating the Development and Management of Web Services Presenter: Kevin McCurley IBM Almaden Research Center Contact: Marcus.
Web Service Ahmed Gamal Ahmed Nile University Bioinformatics Group
1 Understanding Web Services Presented By: Woodas Lai.
1 Concepts of Condor and Condor-G Guy Warner. 2 Harvesting CPU time Teaching labs. + Researchers Often-idle processors!! Analyses constrained by CPU time!
Setting up of condor scheduler on computing cluster Raman Sehgal NPD-BARC.
Condor and GridShell How to Execute 1 Million Jobs on the Teragrid Jeffrey P. Gardner - PSC Edward Walker - TACC Miron Livney - U. Wisconsin Todd Tannenbaum.
Dr. David Wallom Use of Condor in our Campus Grid and the University September 2004.
Transparent Robustness in Service Aggregates Onyeka Ezenwoye School of Computing and Information Sciences Florida International University May 2006.
Distributed Heterogeneous Data Warehouse For Grid Analysis
Latest techniques and Applications in Interprocess Communication and Coordination Xiaoou Zhang.
Workload Management Workpackage Massimo Sgaravatto INFN Padova.
1 Workshop 20: Teaching a Hands-on Undergraduate Grid Computing Course SIGCSE The 41st ACM Technical Symposium on Computer Science Education Friday.
2006 IEEE International Conference on Web Services ICWS 2006 Overview.
Workload Management Massimo Sgaravatto INFN Padova.
First steps implementing a High Throughput workload management system Massimo Sgaravatto INFN Padova
Evaluation of the Globus GRAM Service Massimo Sgaravatto INFN Padova.
Web Service What exactly are Web Services? To put it quite simply, they are yet another distributed computing technology (like CORBA, RMI, EJB, etc.).
Web Service Implementation Maitreya, Kishore, Jeff.
Introduction to Condor DMD/DFS J.Knudstrup December 2005.
Alain Roy Computer Sciences Department University of Wisconsin-Madison An Introduction To Condor International.
National Alliance for Medical Image Computing Grid Computing with BatchMake Julien Jomier Kitware Inc.
Track 1: Cluster and Grid Computing NBCR Summer Institute Session 2.2: Cluster and Grid Computing: Case studies Condor introduction August 9, 2006 Nadya.
1 Web Services Distributed Systems. 2 Service Oriented Architecture Service-Oriented Architecture (SOA) expresses a software architectural concept that.
An Introduction to High-Throughput Computing Monday morning, 9:15am Alain Roy OSG Software Coordinator University of Wisconsin-Madison.
The Glidein Service Gideon Juve What are glideins? A technique for creating temporary, user- controlled Condor pools using resources from.
Workload Management WP Status and next steps Massimo Sgaravatto INFN Padova.
Condor Tugba Taskaya-Temizel 6 March What is Condor Technology? Condor is a high-throughput distributed batch computing system that provides facilities.
DISTRIBUTED COMPUTING
WP9 Resource Management Current status and plans for future Juliusz Pukacki Krzysztof Kurowski Poznan Supercomputing.
Architecting Web Services Unit – II – PART - III.
Web Services Kanda Runapongsa Dept. of Computer Engineering Khon Kaen University.
Grid Computing I CONDOR.
COMP3019 Coursework: Introduction to GridSAM Steve Crouch School of Electronics and Computer Science.
Condor Birdbath Web Service interface to Condor
GridShell + Condor How to Execute 1 Million Jobs on the Teragrid Jeffrey P. Gardner Edward Walker Miron Livney Todd Tannenbaum The Condor Development Team.
Hunter of Idle Workstations Miron Livny Marvin Solomon University of Wisconsin-Madison URL:
Rochester Institute of Technology Job Submission Andrew Pangborn & Myles Maxfield 10/19/2015Service Oriented Cyberinfrastructure Lab,
Grid job submission using HTCondor Andrew Lahiff.
Web Services Based on SOA: Concepts, Technology, Design by Thomas Erl MIS 181.9: Service Oriented Architecture 2 nd Semester,
Condor: High-throughput Computing From Clusters to Grid Computing P. Kacsuk – M. Livny MTA SYTAKI – Univ. of Wisconsin-Madison
The Roadmap to New Releases Derek Wright Computer Sciences Department University of Wisconsin-Madison
WebService. Outline Overview of Web Services SOAP (messaging) WSDL (service description) UDDI (registry)
1 Getting popular Figure 1: Condor downloads by platform Figure 2: Known # of Condor hosts.
1 Condor BirdBath SOAP Interface to Condor Charaka Goonatilake Department of Computer Science University College London
Grid Security: Authentication Most Grids rely on a Public Key Infrastructure system for issuing credentials. Users are issued long term public and private.
July 11-15, 2005Lecture3: Grid Job Management1 Grid Compute Resources and Job Management.
Review of Condor,SGE,LSF,PBS
Intro to Web Services Dr. John P. Abraham UTPA. What are Web Services? Applications execute across multiple computers on a network.  The machine on which.
Condor Services for the Global Grid: Interoperability between OGSA and Condor Clovis Chapman 1, Paul Wilson 2, Todd Tannenbaum 3, Matthew Farrellee 3,
Tool Integration with Data and Computation Grid “Grid Wizard 2”
Grid Compute Resources and Job Management. 2 Grid middleware - “glues” all pieces together Offers services that couple users with remote resources through.
Introduction to Web Services Presented by Sarath Chandra Dorbala.
Matthew Farrellee Computer Sciences Department University of Wisconsin-Madison Condor and Web Services.
Copyright 2007, Information Builders. Slide 1 iWay Web Services and WebFOCUS Consumption Michael Florkowski Information Builders.
HTCondor’s Grid Universe Jaime Frey Center for High Throughput Computing Department of Computer Sciences University of Wisconsin-Madison.
Net-centric Computing Web Services. Lecture Outline  What is Web Service  Web Service Architecture  Creating and using Java Web Services  Apache Axis.
Service Oriented Architecture (SOA) Prof. Wenwen Li School of Geographical Sciences and Urban Planning 5644 Coor Hall
Workload Management Workpackage
Architecting Web Services
Architecting Web Services
University of Technology
Basic Grid Projects – Condor (Part I)
WEB SERVICES DAVIDE ZERBINO.
HTCondor Training Florentia Protopsalti IT-CM-IS 1/16/2019.
Wide Area Workload Management Work Package DATAGRID project
Introduction to Web Services
Condor-G Making Condor Grid Enabled
#01 Client/Server Computing
Presentation transcript:

INFSO-RI Service Oriented Architectures - Introduction. Managing Grid Resources with Condor Web Services Corina Stratan

Enabling Grids for E-sciencE INFSO-RI GridInitiative, University “Politehnica” of Bucharest July Outline Service Oriented Architecture – Introduction Web Services – Standards and protocols Condor Condor BirdBath – Web Service interface for Condor

Enabling Grids for E-sciencE INFSO-RI GridInitiative, University “Politehnica” of Bucharest July SOA – Service Oriented Architectures Current requirements in the IT industry: –Collaboration –Sharing of data and resources –Structuring large applications in small blocks that can be re-used (services) SOA definition from OASIS: A paradigm for organizing and utilizing distributed capabilities that may be under the control of different ownership domains. It provides a uniform means to offer, discover, interact with and use capabilities to produce desired effects consistent with measurable preconditions and expectations. Service Oriented Architecture - components: –Service Providers –Service Requestors –Service Brokers

Enabling Grids for E-sciencE INFSO-RI GridInitiative, University “Politehnica” of Bucharest July SOA Characteristics Interoperability among different platforms and programming languages The functional blocks are encapsulated in components that function as services Separation of the interface from the implementation For complex applications, the control of the execution flow (workflow) is separated from the services The services can be added/removed dynamically The correspondence between interfaces and implementation is done through configuration files and can be adapted

Enabling Grids for E-sciencE INFSO-RI GridInitiative, University “Politehnica” of Bucharest July Outline Service Oriented Architecture – Introduction Web Services – Standards and protocols Condor Condor BirdBath – Web Service interface for Condor

Enabling Grids for E-sciencE INFSO-RI GridInitiative, University “Politehnica” of Bucharest July Web Services – Brief Overview Provide an implementation for the service oriented architecture Software components that provide services over the Internet and communicate through standardized XML messages A newer form of Remote Procedure Call, with the advantage of standardization Designed to be used by applications, not by humans Self-describing (public interfaces specified with the aid of WSDL) Can be published in “Yellow Pages”–like registries

Enabling Grids for E-sciencE INFSO-RI GridInitiative, University “Politehnica” of Bucharest July Web Services Protocol Stack Service Transport (HTTP, FTP, …) XML Messanging (XML- RPC, SOAP) Service Description (WSDL) Service Discovery (UDDI) Transports messages between applications Encodes messages in the XML format Describes the public interface of the service Common registry for web services

Enabling Grids for E-sciencE INFSO-RI GridInitiative, University “Politehnica” of Bucharest July Web Services Scenario Web Services Registry Service Provider Service Requestor WSDL SOAP Service published to the registry 2 – The requestor obtains the public interface of the service 3 – The requestor invokes the service and receives the result

Enabling Grids for E-sciencE INFSO-RI GridInitiative, University “Politehnica” of Bucharest July Software Platforms for Web Services 1998 – 1999: Microsoft starts developing the SOAP standard 2000: IBM extends the SOAP specifications (SOAP 1.1) 2001: the development of the SOAP and WSDL standards is coordinated by W3C Software platforms: –Microsoft: web services support included in the.NET platform –IBM: developed the IBM-SOAP platform, which was subsequently acquired by Apache and became Apache SOAP –Apache SOAP was followed by Apache Axis –IBM WebSphere contains a web services engine

Enabling Grids for E-sciencE INFSO-RI GridInitiative, University “Politehnica” of Bucharest July Axis – Apache Extensible Integration System Open-source framework for web services programming Based on the JAX-RPC/JAX-WS APIs Includes a simple stand-alone web services server Can be integrated in application servers like Apache Tomcat Provides tools for generating WSDL descriptions from Java classes, and for generating Java classes from WSDL descriptions (java2wsdl, wsdl2java)

Enabling Grids for E-sciencE INFSO-RI GridInitiative, University “Politehnica” of Bucharest July Why Web Services? Standardization Interoperability Open standards and protocols Based on HTTP: no problems with the firewalls Loosely-coupled components – approach specific to distributed computing

Enabling Grids for E-sciencE INFSO-RI GridInitiative, University “Politehnica” of Bucharest July Outline Service Oriented Architecture – Introduction Web Services – Standards and protocols Condor Condor BirdBath – Web Service interface for Condor

Enabling Grids for E-sciencE INFSO-RI GridInitiative, University “Politehnica” of Bucharest July Condor - Introduction CONDOR: workload management system for computational intensive jobs (High Throughput Computing) Availabe since 1984 Functionality is similar with the classical batch queuing systems (PBS, LSF,...) + New concepts: opportunistic computing, resource classification

Enabling Grids for E-sciencE INFSO-RI GridInitiative, University “Politehnica” of Bucharest July Resource Management in Condor Opportunistic computing: Condor can utilize non- dedicated machines, taking advantage of the time when the owner does not work on them The owner of each machine can establish the policy for running jobs on the machine, e.g.: –If the keyboard/mouse have not been used for 15min –During the nights or the week-ends –Only jobs that require less than x MB of RAM Condor motto: Leave the owner in control, regardless of the cost.

Enabling Grids for E-sciencE INFSO-RI GridInitiative, University “Politehnica” of Bucharest July Checkpoints The jobs’ memory images can be saved periodically in checkpoint files Better fault tolerance Checkpoints can be used to move a job on another machine without restarting it from the beginning The checkpoint files may be stored on the execution machine or on a dedicated server

Enabling Grids for E-sciencE INFSO-RI GridInitiative, University “Politehnica” of Bucharest July Resource classification - ClassAds Classified Ads = mechanism that allows a machine to publish the available resources and a job submitter to publish the requirements for execution Typical attributes for a machine: no. of CPUs, CPU types and benchmark results, the amount of available memory/disk space, the restrictions for running jobs Typical attributes for a job: the needed architecture and operating system, the minimum/maximum amount of memory, the estimated execution time

Enabling Grids for E-sciencE INFSO-RI GridInitiative, University “Politehnica” of Bucharest July Machine ClassAd - Example Name = "wn1.rogrid.pub.ro" Machine = "wn1.rogrid.pub.ro" CpuBusy = ((LoadAvg - CondorLoadAvg) >= ) COLLECTOR_HOST_STRING = "lcfg.rogrid.pub.ro" CondorVersion = "$CondorVersion: Jun $" VirtualMachineID = 1 Disk = LoadAvg = Memory = 496 Cpus = 1 StartdIpAddr = " " Arch = "INTEL" OpSys = "LINUX" KFlops = TotalLoadAvg = TotalCondorLoadAvg = State = "Unclaimed" Start = TRUE Requirements = START …

Enabling Grids for E-sciencE INFSO-RI GridInitiative, University “Politehnica” of Bucharest July Job ClassAd - Example MyType = "Job" ClusterId = 1511 Owner = "cmssoft" ExitBySignal = FALSE Cmd = "/home/cmssoft/.globus/.gass_cache/local/md5/b7/5f0d6443e430b2e8b 56324a66524aa/md5/8d/d25385ef07f36cf8cb05e2290bbcc1/data" WantCheckpoint = FALSE Out = "/home/cmssoft/.globus/job/tier2b.cacr.caltech.edu/ /stdout" Err = "/home/cmssoft/.globus/job/tier2b.cacr.caltech.edu/ /stderr" ShouldTransferFiles = "NO" DiskUsage = 8 Requirements = (OpSys == "LINUX" && Arch == "INTEL") && (Disk >= DiskUsage) && ((Memory * 1024) >= ImageSize) && (TARGET.FileSystemDomain == MY.FileSystemDomain) Args = "/raid1/OSG-app/cmssoft /raid1/OSG-app/cmssoft/cms /raid1/OSG-app/cmssoft/cmsi OSCAR_3_9_5 CIT_CMS_PG slc3_ia32_gcc323 install_cms_project_1" …

Enabling Grids for E-sciencE INFSO-RI GridInitiative, University “Politehnica” of Bucharest July Matchmaking Matchmaker AgentResource 1. Job ClassAd 1. Machine ClassAd 2. Matchmaking algorithm 3. Notification 4. Resource request

Enabling Grids for E-sciencE INFSO-RI GridInitiative, University “Politehnica” of Bucharest July The Condor Pool Condor Pool = cluster of machines + the jobs executing on them Machines in a Condor pool: –central manager - unique –execute machine –submit machine A machine can have multiple roles

Enabling Grids for E-sciencE INFSO-RI GridInitiative, University “Politehnica” of Bucharest July Condor Components Condor Master: manages all the Condor daemons that are running on a machine Condor Startd: runs on the execute machines; starts the jobs and ensures that the owner’s policy is respected Condor Schedd: runs on submit machines; keeps a queue with the submitted jobs and publishes their ClassAds Condor Collector: collects information about all the resources from the pool Condor Negotiator: executes the matchmaking algorithm, taking into account the users’ priorities

Enabling Grids for E-sciencE INFSO-RI GridInitiative, University “Politehnica” of Bucharest July Condor Universes Specify the execution environment for jobs Possible universes: –Standard –Vanilla –MPI –PVM –Globus –Java

Enabling Grids for E-sciencE INFSO-RI GridInitiative, University “Politehnica” of Bucharest July Standard & Vanilla Standard – typical universe, Vanilla - “minimal” universe Standard: jobs running in Standard universe can be checkpointed and migrated, but the programs must be link-edited with a Condor library Vanilla: any executable program can be run in Vanilla universe, but checkpointing and migration are not possible

Enabling Grids for E-sciencE INFSO-RI GridInitiative, University “Politehnica” of Bucharest July Condor Shadow Process that is started on the submit machine, in parallel with the actual execution of the job on the execute machine Used to access the environment variables and the local files Each system call is redirected to the shadow Note: because of the shadow processes, even a submit machine may become heavily loaded

Enabling Grids for E-sciencE INFSO-RI GridInitiative, University “Politehnica” of Bucharest July Job execution (command line) Create a job description file Use the condor_submit command: condor_submit calcule.cmd Submitting job(s). Logging submit event(s). 1 job(s) submitted to cluster 14.

Enabling Grids for E-sciencE INFSO-RI GridInitiative, University “Politehnica” of Bucharest July Job Description File - Example executable = calcule.condor universe = standard output = calcule.out error = calcule.err log = calcule.log arguments = should_transfer_files = NO queue 1

Enabling Grids for E-sciencE INFSO-RI GridInitiative, University “Politehnica” of Bucharest July The condor_status command condor_status Name OpSys Arch State Activity LoadAv Mem ActvtyTime lcfg.rogrid.p LINUX INTEL Unclaimed Idle :36:31 wn1.rogrid.pu LINUX INTEL Unclaimed Idle :18:30 Machines Owner Claimed Unclaimed Matched Preempting INTEL/LINUX Total monalisa]$ condor_status -direct tier2b.cacr.caltech.edu Name OpSys Arch State Activity LoadAv Mem ActvtyTime LINUX INTEL Owner Idle :29:00 LINUX INTEL Owner Idle :29:00 LINUX INTEL Owner Idle :29:00 LINUX INTEL Owner Idle :29:00 Machines Owner Claimed Unclaimed Matched Preempting INTEL/LINUX Total

Enabling Grids for E-sciencE INFSO-RI GridInitiative, University “Politehnica” of Bucharest July The condor_q command monalisa]$ condor_q -- Submitter: tier2b.cacr.caltech.edu : : tier2b.cacr.caltech.edu ID OWNER SUBMITTED RUN_TIME ST PRI SIZE CMD uscms01 7/8 16: :22:07 I sleep uscms01 7/11 14: :29:20 I tcsh -c id cmssoft 7/15 08: :02:38 R data /raid1/OSG-ap sdss 7/18 12: :52:48 R runRemoteJob.sh sdss 7/18 15: :18:50 R runRemoteJob.sh 04 5 jobs; 2 idle, 3 running, 0 held

Enabling Grids for E-sciencE INFSO-RI GridInitiative, University “Politehnica” of Bucharest July Other Condor Features Condor DAGMan: support for executing multiple jobs with dependencies (workflows) Condor Quill: builds and supports a mirror database of a Condor queue Condor-G: task broker that can be used as a front- end to a grid A C D E B

Enabling Grids for E-sciencE INFSO-RI GridInitiative, University “Politehnica” of Bucharest July Outline Service Oriented Architecture – Introduction Web Services – Standards and protocols Condor Condor BirdBath – Web Service interface for Condor

Enabling Grids for E-sciencE INFSO-RI GridInitiative, University “Politehnica” of Bucharest July Condor & Web Services Condor BirdBath: adds web service interfaces to the Condor daemons Web services allow external applications to interact with Condor – job delegation model Implementation based on Apache Axis To use BirdBath for a Condor server: –Modify the Condor configuration file To create a BirdBath client: –Set the environment variables –Use the wsdl2java tool to generate helper classes –Write the client code

Enabling Grids for E-sciencE INFSO-RI GridInitiative, University “Politehnica” of Bucharest July Services provided by BirdBath For the Condor scheduler (schedd daemon): –Job submission –Data transfer and management –Job Monitoring –Queue management operations –Transactions For the Condor collector: –Querying the available classAds

Enabling Grids for E-sciencE INFSO-RI GridInitiative, University “Politehnica” of Bucharest July Resources - Condor web sitehttp://cs.wisc.edu/condor - Condor BirdBath pagehttp://cs.wisc.edu/condor/birdbath wscondor.html?S_TACT=105AGX07&S_CMP=HP - Condor Web Services tutorialhttp://www-128.ibm.com/developerworks/edu/gr-dw-gr- wscondor.html?S_TACT=105AGX07&S_CMP=HP /webservicefaqs.html - Top Ten FAQs for Web Serviceshttp:// /webservicefaqs.html – collection of publicly available web serviceshttp://

Enabling Grids for E-sciencE INFSO-RI GridInitiative, University “Politehnica” of Bucharest July Proposal for GridInitiative Activities Install Condor Enable the Condor WebServices interface Create and test a client for Condor WebServices Model job workflows with Condor DAGMan