Access Grid Workshop – APAC ‘05 Introduction to Access Grid Development.

Slides:



Advertisements
Similar presentations
TeraGrid Deployment Test of Grid Software JP Navarro TeraGrid Software Integration University of Chicago OGF 21 October 19, 2007.
Advertisements

1 Configuring Internet- related services (April 22, 2015) © Abdou Illia, Spring 2015.
13/05/2004Janusz Martyniak Imperial College London 1 Using Ganga to Submit BaBar Jobs Development Status.
Access Grid Workshop – APAC ‘05 Network Services Susanne Lefvert University of Chicago.
D EPT. OF I NFO. & C OMM., KJIST Hands on experience with AG setup Dr. JongWon Kim 2003/ 8/ 26 Networked Media Laboratory.
Chapter Nine NetWare-Based Networking. Objectives Identify the advantages of using the NetWare network operating system Describe NetWare’s server hardware.
Massimo Cafaro GridLab Review GridLab WP10 Information Services Massimo Cafaro CACT/ISUFI University of Lecce, Italy.
Exploring Office Grauer and Barber 1 Creating More Powerful Applications: Introduction to VBA(Wk9)
Report Distribution Report Distribution in PeopleTools 8.4 Doug Ostler & Eric Knapp 7264.
The Online Activities Module OAM Describing the F-7 & F-7A.
Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Building Secure Applications.
DIRAC API DIRAC Project. Overview  DIRAC API  Why APIs are important?  Why advanced users prefer APIs?  How it is done?  What is local mode what.
Using Ant to build J2EE Applications Kumar
Managing Client Access
Module 4 Managing Client Access. Module Overview Configuring the Client Access Server Role Configuring Client Access Services for Outlook Clients Configuring.
ECE355 Project SIP Applications Tiuley Alguindigue
Customized cloud platform for computing on your terms !
TERMINALFOUR SiteManager Introduction January, 2014.
London April 2005 London April 2005 Creating Eyeblaster Ads The Rich Media Platform The Rich Media Platform Eyeblaster.
London April 2005 London April 2005 Creating Eyeblaster Ads The Rich Media Platform The Rich Media Platform Eyeblaster.
Developing WIA Drivers Byron Changuion Developer Windows Imaging Group Microsoft Corporation.
Business Unit or Product Name © 2007 IBM Corporation Introduction of Autotest Qing Lin.
Key Management with the Voltage Data Protection Server Luther Martin IEEE P May 7, 2007.
SUSE Linux Enterprise Desktop Administration Chapter 12 Administer Printing.
SUSE Linux Enterprise Desktop Administration Chapter 2 Use the Linux Desktop.
FTP Server and FTP Commands By Nanda Ganesan, Ph.D. © Nanda Ganesan, All Rights Reserved.
1 Installation When this module is complete, you will be able to:  Set a static IP address for your laptop  Install the snom ONE software  Navigate.
DIT314 ~ Client Operating System & Administration CHAPTER 5 MANAGING USER ACCOUNTS AND GROUPS Prepared By : Suraya Alias.
| nectar.org.au NECTAR TRAINING Module 10 Beyond the Dashboard.
Activating Clarity  Activating Clarity  Activation  Online Activation  Fax Activation  Review and Verify Activation and License Terms  Updating.
AG Retreat 2006 – Hands-On Session Developing Shared Applications Susanne Lefvert University of Chicago.
TWSd - Security Workshop Part I of III T302 Tuesday, 4/20/2010 TWS Distributed & Mainframe User Education April 18-21, 2010  Carefree Resort  Carefree,
Job Options and Printing 1 LHCb software tutorial - September 2011.
LMS Integrations Agenda The Past: LAMS 1.0 Integrations Now: Integration Architecture LAMS 2.0 / Moodle 1.7 Integration The Future:
NoteSearch - Find what you’re looking for. Prototype Team B.
Access Grid and the Mbone media tools Sumover Workshop November 28, 2005 Thomas D. Uram
Grid Chemistry System Architecture Overview Akylbek Zhumabayev.
10/25/20151 Single Sign-On Web Service Supervisors: Viktor Kulikov Alexander Sherman Liana Lipstov Pavel Bilenko.
Module 5: Configuring Internet Explorer and Supporting Applications.
Access Grid Workshop – APAC ‘05 Access Grid Overview Access Grid Workshop APAC 05
Module 6: Managing Client Access. Overview Implementing Client Access Servers Implementing Client Access Features Implementing Outlook Web Access Introduction.
Wrapping Scientific Applications As Web Services Using The Opal Toolkit Wrapping Scientific Applications As Web Services Using The Opal Toolkit Sriram.
Cole David Ronnie Julio. Introduction Globus is A community of users and developers who collaborate on the use and development of open source software,
SAN DIEGO SUPERCOMPUTER CENTER Administering Inca with incat Jim Hayes Inca Workshop September 4-5, 2008.
INFSO-RI Enabling Grids for E-sciencE Ganga 4 – The Ganga Evolution Andrew Maier.
| nectar.org.au NECTAR TRAINING Module 10 Beyond the Dashboard.
Module 11: Designing an Active Directory Federation Services Implementation in Windows Server 2008.
Configuring and Running the OPC.NET Generic Clients 1.
Don’t Duck Metadata March 2005 Introducing Setting Up a Clearinghouse Node Topic: Introduction to Setting Up a Clearinghouse Node Objective: By.
Mantid Manipulation and Analysis Toolkit for Instrument data.
Hyperion Artifact Life Cycle Management Agenda  Overview  Demo  Tips & Tricks  Takeaways  Queries.
Module 14: Advanced Topics and Troubleshooting. Microsoft ® Windows ® Small Business Server (SBS) 2008 Management Console (Advanced Mode) Managing Windows.
IBM Express Runtime Quick Start Workshop © 2007 IBM Corporation Deploying a Solution.
Access Grid Authorization Thomas Uram Argonne National Laboratory.
DDM Central Catalogs and Central Database Pedro Salgado.
INFSO-RI Enabling Grids for E-sciencE Ganga 4 Technical Overview Jakub T. Moscicki, CERN.
Access Grid Workshop – APAC ‘05 Node Services Development Thomas D. Uram Argonne National Laboratory.
LAB302 Image Enabling Host Applications. Introduction What is the purpose of this class? What will we learn? What will you walk away with?
Microsoft dynamics Axapta training institute Contact US: Magnific training
Development Environment
JRA2: Acceptance Testing senarious
Business Objects Overview
Building Regression Tests With PeopleSoft Test Framework
NIGHTLY BUILD SCRIPT FOR THE LEVEL-1 TRIGGER ONLINE SOFTWARE
Configuring Internet-related services
Chapter 42 Web Services.
a middleware implementation
Hitachi Storage Service Manager GUI Navigation Overview
Selenium IDE Installation and Use.
Presentation transcript:

Access Grid Workshop – APAC ‘05 Introduction to Access Grid Development

Access Grid Workshop – APAC ‘05 Agenda Architecture AG Application Basics AccessGrid module overview Example application Exercises

Access Grid Workshop – APAC ‘05 Architecture

Access Grid Workshop – APAC ‘05 Technologies Python wxPython pyGlobus SOAP (SOAPpy) pyOpenSSL

Access Grid Workshop – APAC ‘05 AG Application Basics An Access Grid client application will perform (at least) these steps: Create an application instance Initialize application Create an interface wrapper Call methods on the interface wrapper

Access Grid Workshop – APAC ‘05 AG Application Basics The core of an AG application is an instance of AccessGrid.Toolkit.Application AppBase Application CmdlineApplicationWXGUIApplication Service

Access Grid Workshop – APAC ‘05 AG Application Basics Distinguished between GUI and non-GUI applications to generalize user interactions (for example, prompt for passphrase, error reporting) –CmdlineApplication Examples: BridgeServer, VenueServer, AGNodeService –WXGUIApplication Examples: VenueClient, VenueManagement, NodeManagement

Access Grid Workshop – APAC ‘05 Application Initialization Create AG application instance Initialize application –Verify certificate repository –Load default certificate –Create proxy certificate –Configure Globus environment app = CmdlineApplication.instance() app.Initialize(appName) appName is used in logfile name

Access Grid Workshop – APAC ‘05 Argument Processing Standard Python module optparse is integrated into toolkit Add option to application before initialization Access options post-initialization app.AddCmdLineOption( optparse.Option( ‘ -u ’, ’— url ’, dest= ‘ url ’ )) app.Initialize( ‘ SampleApp ’ ) url = app.GetOption( ‘ url ’ )

Access Grid Workshop – APAC ‘05 Standard Toolkit Arguments The toolkit adds some options to all applications Available options can be viewed with ‘-h’ or – help Examples -d (turn on debug) -l --logfilesize --numlogfiles (rollover log files)

Access Grid Workshop – APAC ‘05 Logging Standard Python module logging is integrated into AccessGrid toolkit Multiple logging levels are defined (see logging module documentation) –CRITICAL, ERROR, WARNING, INFO, DEBUG Logging levels can be controlled for individual components in an application Application will create appName.log (appName is from app.Initialize) in Log directory: –Windows: %APPDATA%\AccessGrid\Logs –Linux/OSX: $HOME/.AccessGrid/Logs Logging calls in code will appear in logfile, according to call and current logging level –log.debug(‘this is debug logging text’)

Access Grid Workshop – APAC ‘05 AccessGrid Module Overview AccessGrid –Core toolkit code AccessGrid.Security –CertificateManager, CertificateRepository, etc. –AuthorizationManager, Role, Action, etc. AccessGrid.Platform –Platform-specific code Config.{SystemConfig,UserConfig,etc.} ProcessManager AccessGrid.hosting –SOAP implementation adapters

Access Grid Workshop – APAC ‘05 AccessGrid Module API Documentation

Access Grid Workshop – APAC ‘05 Interfaces and InterfaceWrappers Described in online API documentation Interface wrappers are defined in individual modules –For example, AccessGrid.Venue.VenueIW IW (and I) class methods handle serialization/deserialization of data types from SOAP implementation domain to AG application domain

Access Grid Workshop – APAC ‘05 Available InterfaceWrappers VenueIW VenueServerIW VenueClientIW AGNodeServiceIW AGServiceManagerIW AGServiceIW AuthorizationManagerIW SharedApplicationIW NetworkServiceIW

Access Grid Workshop – APAC ‘05 VenueIW

Access Grid Workshop – APAC ‘05 Types Many types are found in Descriptions.py –StreamDescription –ApplicationDescription Others are found in their own modules –ClientProfile –AGParameter –Capability

Access Grid Workshop – APAC ‘05 AG Applications An Access Grid client application will perform (at least) these steps: Create an application instance Initialize application Create an interface wrapper Call methods on the interface wrapper

Access Grid Workshop – APAC ‘05 Example: GetClients.py #!/usr/bin/python2 import sys from AccessGrid.Toolkit import CmdlineApplication from AccessGrid.Venue import VenueIW url = sys.argv[1] # Create and initialize application app = CmdlineApplication() app.Initialize('qwe') # Create venue interface wrapper venue = VenueIW(url) # Get clients from venue and process clientList = venue.GetClients() for client in clientList: print client

Access Grid Workshop – APAC ‘05 Example: GetClients.py python GetClients.py Profile Type: user Name: Tom Uram Phone Number: Location: Chicago, IL Venue Client URL: Public ID: e c00dd d Home Venue:

Access Grid Workshop – APAC ‘05 Example: GetClients.py Check logfile GetClients.log

Access Grid Workshop – APAC ‘05 Notes Online workshop materials: Online developer documentation (including API reference): OSX users will need to source an environment file to run code in a terminal –/Applications/AccessGridToolkit.app/Contents/Resources/ setupenv.sh

Access Grid Workshop – APAC ‘05 Exercise: GetStreams.py Modify GetClients.py to call GetStreams instead of GetClients Return value is a list of Descriptions.StreamDescription

Access Grid Workshop – APAC ‘05 Exercise: GetUsers.py Modify GetClients.py to call VenueClientIW.GetUsers Return value is a list of ClientProfile

Access Grid Workshop – APAC ‘05