grid computing

33
Grid Computing A summary of concepts and ideas including the implementation there-of. Robert Stallings Thursday, April 20 th , 2006

Upload: sema

Post on 24-Jan-2016

62 views

Category:

Documents


0 download

DESCRIPTION

Grid Computing. A summary of concepts and ideas including the implementation there-of. Robert Stallings. Thursday, April 20 th , 2006. Grid Computing Definition History Reasoning Critical Tasks Infrastructure Architecture Authentication. Globus Toolkit Radford and Globus Globus - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Grid Computing

Grid ComputingA summary of concepts and ideas including

the implementation there-of.

Robert Stallings Thursday, April 20th, 2006

Page 2: Grid Computing

Contents

• Grid Computing– Definition– History– Reasoning– Critical Tasks– Infrastructure– Architecture– Authentication

• Globus Toolkit– Radford and Globus– Globus– Installing Globus– What’s next– Conclusion– Questions and

Answers

Page 3: Grid Computing

History

• Not a new idea

– 1965 Fernando Corbato• “Like a power company or water company”

– 1968 J.C.R Licklider and Robert W. Taylor

Page 4: Grid Computing

Definition

• Server clusters– Clusters of clusters

• Grids join multiple server clusters

Page 5: Grid Computing

Why Gird Computing?

• Quick Facts– Speed doubles every 12 months– Capacity doubles every 9 months– A computer halves in price every 18

months– Performance of WAN doubles every nine

months

• Capacity and WAN Performance is comparable

Page 6: Grid Computing

Critical Tasks

• Involves using remote resources

• Must– Discover they exist– Negotiate access to them– Configure hardware and software– Not lose security.

Page 7: Grid Computing

Critical Tasks

• Critical Tasks– Creating and managing services– Single Sign-on– Transferring large datasets quickly– Form large communities– Maintain existence, state, and usage

policies

Page 8: Grid Computing

Infrastructure

• Internet handles basic communication• Must

– Be broadly developed– Simple– Same functionality as the Internet but more

• Examples:– Science portals– Distributed Computing– Large scale Data analysis– Computer-in-the-loop instrumentation– Collaborative work

Page 9: Grid Computing

Architecture

Page 10: Grid Computing

Authentication

• More difficult

• Computer can be a server AND a client

• Must be able to have one computer be able to use resources on another on behalf of the user.

Page 11: Grid Computing

Authentication

• Requirements– Single Sign-on

– Mapping to local security• Example: Kerberos

– Delegation

– Community Authorization and Policy

Page 12: Grid Computing

Authentication

Page 13: Grid Computing

Overview Conclusion

• Not a new idea

• Several Critical tasks

• New Infrastructure

• New Architecture

• Unique Authentication Procedure

Page 14: Grid Computing

The Globus Toolkit

Experiences with The Modern Grid

Page 15: Grid Computing

Overview

• Radford and Globus

• Globus

• Installing Globus

• What’s next

• Conclusion

• Questions and Answers

Page 16: Grid Computing

Radford and Globus

• NSRL– Network and Security Laboratory

• CREU– Collaborative Research Environment for

Undergraduates

• Current Network– 2 Fedora machines– 1 Windows Machine

Page 17: Grid Computing

Globus

• The Globus Toolkit– The Globus Alliance

• Middleware– GRAM– MDS– GSI– GASS / GridFTP

Page 18: Grid Computing

Setting Up Globus

• Several Basic Steps– Security– GridFTP– Webservices– Reliable File Transfer– WS GRAM

Page 19: Grid Computing

Installation

• Installation– Fedora Core 4

• Easy with RPM

– Windows• Standard EXE

• Linux > Windows– Security– Options– Compatibility

Page 20: Grid Computing

Security

• Create user “Globus”

• Set up full hostname

• Set up dns server

• Create a Simple Certificate Authority– Certificates– Certificate Authority– Single Sign-in

• Add to Mapfile

Page 21: Grid Computing

Security

• 1st machine as Primary Certificate Authority– Secure– Sign certificates– Distribute

• Signing:– Grid-ca-sign –in cert –out signed

Page 22: Grid Computing

GridFTP

• Start Globus Service– Install xinetd.d

• Service Maintainer

– Create GridFTP Service• Gridftp file• Services file

Page 23: Grid Computing

GridFTP

• gridftp file

service gsiftp{ instances = 100 socket_type = stream wait = no user = root env += GLOBUS_LOCATION=/usr/local/globus-4.0.1 env += LD_LIBRARY_PATH=/usr/local/globus-4.0.1/lib 2

server = /usr/local/globus-4.0.1/sbin/globus-gridftp-server server_args = -i log_on_success += DURATION nice = 10 disable = no}

Page 24: Grid Computing

GridFTP

• Services File

• Add to tail end:

# Local services

gsiftp 2811/tcp

Page 25: Grid Computing

Webservices

• Auto-start container– stop-start script

• To start and stop the container easy

– Init.d script• To start the stop-start script on bootup

• Errors– No Reliable File Transfer (RFT).

Page 26: Grid Computing

Reliable File Transfer

• Install Postgres– Database

• Create User Postgres

• Allow Globus User Admin Privilege

Page 27: Grid Computing

Reliable File Transfer

• Create Database– rft_schema.sql

• Edit config file with password and user

• Restart container

Page 28: Grid Computing

WS GRAM

• Use visudo to edit sudoers file– Sudoers

• Who can do what (all one line)globus ALL=(fedoralee1) NOPASSWD: /usr/local/globus-4.0.1/libexec/globus-gridmap-and-execute-g /etc/grid-security/grid-mapfile /usr/local/globus-4.0.1/libexec/globus-job-manager-script.pl *globus ALL=(fedoralee1) NOPASSWD: /usr/local/globus-4.0.1/libexec/globus-gridmap-and-execute-g /etc/grid-security/grid-mapfile /usr/local/globus-4.0.1/libexec/globus-gram-local-proxy-tool *

DONE!(with the first machine)

Page 29: Grid Computing

Second Machine

• Same procedure except..– Trusting 1st machine CA– Certificate Timing– DNS configuration

• Copy second machine for duplication

Page 30: Grid Computing

Common Installation Problems

• No fully Qualified Domain– Create a full Domain Name Service server

• No Mapfile Entry for name

• Invalid Timestamps for certificates

Page 31: Grid Computing

Still to Be Done..

• NTP between computers

• Testing Security

• Porting Globus to First Windows Machines

• Better Troubleshooting Guide

Page 32: Grid Computing

Conclusion

• A lot of time

• Huge learning curve

• Globus is powerful

Page 33: Grid Computing

Questions

?