Presentation is loading. Please wait.

Presentation is loading. Please wait.

Grid Computing, B. Wilkinson, 20046c.1 Globus III - Information Services.

Similar presentations


Presentation on theme: "Grid Computing, B. Wilkinson, 20046c.1 Globus III - Information Services."— Presentation transcript:

1 Grid Computing, B. Wilkinson, 20046c.1 Globus III - Information Services

2 Grid Computing, B. Wilkinson, 20046c.2 Resource Discovery Critical in a grid to be able to discovery what resources are available and what are the options. For compute resources, information can be hardware details and software details, and dynamically changing information such as load.

3 Grid Computing, B. Wilkinson, 20046c.3 Typical Details Compute resources: –CPU vendor, type, speed, cache sizes,... –Memory type, size, speed,... –Disk space … Network resources –Network bandwidth –Latency –Topology –Protocols,...

4 Grid Computing, B. Wilkinson, 20046c.4 Compute Resource Software Details IP address Software available Operating System version number Resource manager,...

5 Grid Computing, B. Wilkinson, 20046c.5 Static and Dynamic data Information is always subject to change and old. Some information changes naturally, such as load information.

6 Grid Computing, B. Wilkinson, 20046c.6 Centralized Information System Clients Resources Periodically update LDAP server information Clients query for current information LDAP Server “push” LDAP Lightweight Directory Access Protocol

7 Grid Computing, B. Wilkinson, 20046c.7 Disadvantages Does not scale well as number of resources grows Commercial LDAP services optimized for read operations, not good with frequent writes. System fails if LDAP server down

8 Grid Computing, B. Wilkinson, 20046c.8 Globus Grid Information Service Monitoring and Directory Service (MDS) Based upon LDAP. Originally called “Metacomputing Directory Service” - renamed MDS-2 uses a distributed organization.

9 Grid Computing, B. Wilkinson, 20046c.9 MDS-2 Consisting of two types of service: Grid Resource Information Service (GRIS) Grid Index Information Service (GIIS)

10 Grid Computing, B. Wilkinson, 20046c.10 Grid Resource Information Service (GRIS) Associated with each resource. Answers queries from client/user about the particular resource. Accesses an “information provider” deployed on that resource for requested information.

11 Grid Computing, B. Wilkinson, 20046c.11 Queries “White pages” –Resource information e.g. How much memory does machine have “Yellow” pages –Resource options e.g. Which queues allow large jobs.

12 Grid Computing, B. Wilkinson, 20046c.12 Grid Index Information Service (GIIS) A directory service that collects (‘pulls”) information for GRIS’s. A “caching” service. Provides indexing and searching functions.

13 Grid Computing, B. Wilkinson, 20046c.13 Overall Structure Clients Resources GIIS information as needed Clients query resource GRIS directly for current information GIIS “pull” GRIS Clients makes indirect query to GIIS

14 Grid Computing, B. Wilkinson, 20046c.14 Scaling Can have multiple GIIS’s in various configurations Configuration can take into account virtual organizations

15 Grid Computing, B. Wilkinson, 20046c.15 Accessing Information GT3 command: grid-info-search with various flags to specify host, port, etc.: -h MDS server -p MDS port -b Search start point -T LDAP query time out

16 Grid Computing, B. Wilkinson, 20046c.16 Example grid-info-search -x -h hot.mcs.anl.gov -p 2135 -b “Mds-Vo-name=local, o=Grid” Produces: dn: Mdss-Host-hn=hot.mcs.gove, Mds-Vo- name=local, o=grid Mds-CPU-speedMhz: 866 Mds-Memory-Ram-Total-freeMB: 304 Mds-CPU-Free-5minX100: 134. From “Grid Computing” by A. Abbas, page 204.

17 Grid Computing, B. Wilkinson, 20046c.17 LDAP Browser/Editor Java Commodity Grid (CoG) Kit has a LDAP Browser/Editor

18 Grid Computing, B. Wilkinson, 20046c.18 From “Grid Computing” by A. Abbas, page 202. LDAP Browser/Editor

19 Grid Computing, B. Wilkinson, 20046c.19 Security MDS 2.1 has PKI security for GSI mutual authentication

20 Grid Computing, B. Wilkinson, 20046c.20 LDAP Exercise Go to Globus subdirectory called ldap Follow instructions in README file

21 Grid Computing, B. Wilkinson, 20046c.21 Discovering Grid Services MDS, as described, is only for discovery hardware resources, not the actual grid services one might want. In a service oriented architecture, services are “published” in a registry so that they can be found.

22 Grid Computing, B. Wilkinson, 20046c.22 2. Find 3. Bind 1. Publish Service-Oriented Architecture Service requester Service registry Service provider

23 Grid Computing, B. Wilkinson, 20046c.23 UDDI (Universal Description, Discovery, and Integration) Web services often use UDDI registries. UDDI designed to support business services. Information can be classified as: –White pages -- company contact information,... –Yellow pages -- Web service description –Green pages -- Technical information about Web Service

24 Grid Computing, B. Wilkinson, 20046c.24 Web Services From http://www.globus.org

25 Grid Computing, B. Wilkinson, 20046c.25 Accessing Grid Services GT 3 provides an “index service” (as a higher level service) to access service data provided with grid service. Service data can includes both hardware and software details of service.

26 Grid Computing, B. Wilkinson, 20046c.26 GT3 Index Service From “Grid Computing” by J. Joseph and C. Fellenstein, page 340.

27 Grid Computing, B. Wilkinson, 20046c.27 Service Data Information about service provided in service data elements (SDEs) as part of the GWSDL file. The GWSDL file defines service interface (see assignment 2), and SDEs are added to this.

28 Grid Computing, B. Wilkinson, 20046c.28 Types of Service Data Elements State Information -- results, previous results, run time information, … Service Metadata -- system data, supported interfaces, cost of using service,...

29 Grid Computing, B. Wilkinson, 20046c.29 Client Accessing Service Data Done through grid service methods.

30 Grid Computing, B. Wilkinson, 20046c.30 Changes to Grid service Done through “notification” mechanism whereby client subscribes to mechanism and is notified of changes.

31 Grid Computing, B. Wilkinson, 20046c.31 Derived from The Globus Toolkit 3 Programmer’s Tutorial” by Borja Sotomayor, 2004, page 65. addListener to subscribe notifyChange when change occurs deliverNotification to notify subscribers

32 Grid Computing, B. Wilkinson, 20046c.32 More Information “The Globus Toolkit 3 Programmer’s Tutorial” by Borja Sotomayor, 2004, Chapter 5 and Chapter 6. http://www-unix.globus.org/toolkit/ Gives sample code.


Download ppt "Grid Computing, B. Wilkinson, 20046c.1 Globus III - Information Services."

Similar presentations


Ads by Google