Download presentation
Presentation is loading. Please wait.
Published byEmmeline Adams Modified over 8 years ago
1
Matthew Farrellee Computer Sciences Department University of Wisconsin-Madison matt@cs.wisc.edu http://www.cs.wisc.edu/condor Condor and Web Services
2
www.cs.wisc.edu/condor 2 Outline › Current “API” › What are Web Services and SOAP? › Benefits of a Condor SOAP API › Functionality and examples › State of the implementation › Future features
3
www.cs.wisc.edu/condor 3 Current “API” › Use command-line tools directly › Applications use command-line tools via system calls
4
www.cs.wisc.edu/condor 4 What are web services? › Applications accessible typically over HTTP using SOAP and XML › Standards exist for discovery of services description of application interfaces (WSDL) communication mechanisms (RPC) and many other things
5
www.cs.wisc.edu/condor 5 What is SOAP? › Simple Object Access Protocol › Mechanism for doing RPC using XML typically over HTTP › A World Wide Web Consortium (W3C) standard
6
www.cs.wisc.edu/condor 6 Benefits of a Condor SOAP API › Condor becomes a service Can be accessed with standard web service tools › Condor accessible from platforms where its command-line tools are not supported › Talk to Condor with your favorite language and SOAP toolkit
7
www.cs.wisc.edu/condor 7 Condor SOAP API in the wild › Condor called from Business Process Execution Language (BPEL) workflows (LBL) › Portal providing web interface to Condor pools (Indiana University)
8
www.cs.wisc.edu/condor 8 Condor SOAP API functionality › Submit jobs › Retrieve job output › Remove/hold/release jobs › Query machine status › Query job status
9
www.cs.wisc.edu/condor 9 Getting machine status via SOAP Your program SOAP library queryStartdAds() condor_collector Machine List SOAP over HTTP
10
www.cs.wisc.edu/condor 10 Getting machine status via SOAP (in Java with Axis) locator = new CondorCollectorLocator(); collector = locator.getcondorCollector(new URL(“http://machine:port”)); ads = collector. queryStartdAds (“Memory>512“); Because we give you WSDL information you don’t have to write any of these functions.
11
www.cs.wisc.edu/condor 11 Submitting jobs 1.Begin transaction 2.Create cluster 3.Create job 4.Send files 5.Describe job 6.Commit transaction Two phase commit for reliability } Wash, rinse, repeat
12
www.cs.wisc.edu/condor 12 Current implementation › Working prototype exists › Expected release in 6.7 series
13
www.cs.wisc.edu/condor 13 Future features › Support for authenticated access › Support for notification › Becoming a grid service
14
www.cs.wisc.edu/condor 14 Questions?
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.