Top Banner
Grid Computing, B. Wilkinson, 2004 2.1 Reading Assignments Since there is no assigned textbook, there will be a few reading assignments. Purpose is to consolidate your understanding. Materials posted on home page from link “reading/on-line materials” at end of section on lecture materials.
37

Grid Computing, B. Wilkinson, 20042.1 Reading Assignments Since there is no assigned textbook, there will be a few reading assignments. Purpose is to.

Dec 29, 2015

Download

Documents

Mark Henderson
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Grid Computing, B. Wilkinson, 20042.1 Reading Assignments Since there is no assigned textbook, there will be a few reading assignments. Purpose is to.

Grid Computing, B. Wilkinson, 2004 2.1

Reading Assignments

Since there is no assigned textbook, there will be a few reading assignments.

Purpose is to consolidate your understanding.

Materials posted on home page from link “reading/on-line materials” at end of section on lecture materials.

Page 2: Grid Computing, B. Wilkinson, 20042.1 Reading Assignments Since there is no assigned textbook, there will be a few reading assignments. Purpose is to.

Grid Computing, B. Wilkinson, 2004 2.2

First Reading Assignment

"The Anatomy of the Grid: Enabling Scalable Virtual Organizations"

by

I. Foster, C. Kesselman, and S. Tuecke

Int. J. Supercomputer Applications, 2001.

Page 3: Grid Computing, B. Wilkinson, 20042.1 Reading Assignments Since there is no assigned textbook, there will be a few reading assignments. Purpose is to.

Grid Computing, B. Wilkinson, 2004 2.3

• We said that grid computing is now based upon Internet protocols and interconnections.

• So let’s first review some well-known Internet technologies.

Page 4: Grid Computing, B. Wilkinson, 20042.1 Reading Assignments Since there is no assigned textbook, there will be a few reading assignments. Purpose is to.

Grid Computing, B. Wilkinson, 2004 2.4

Networked Computers, Internet and World Wide Web

Technology - Basics

Some really basic stuff!

Page 5: Grid Computing, B. Wilkinson, 20042.1 Reading Assignments Since there is no assigned textbook, there will be a few reading assignments. Purpose is to.

Grid Computing, B. Wilkinson, 2004 2.5

Network Protocol

• TCP/IP (Transmission Control Protocol/Internet Protocol) - standard that establishes basic low level rules for networked computers to communicate and pass data.

• Higher level protocols build on top of TCP/IP.

Page 6: Grid Computing, B. Wilkinson, 20042.1 Reading Assignments Since there is no assigned textbook, there will be a few reading assignments. Purpose is to.

Grid Computing, B. Wilkinson, 2004 2.6

Network InterfacesComputers connect to the Internet through a network interface (mostly Ethernet).

Each network interface has a unique 48-bit address called a MAC (Media Access Controller) address, which is assigned during manufacture of the interface.

Allocation of addresses controlled by IEEE Registration Authority.

Page 7: Grid Computing, B. Wilkinson, 20042.1 Reading Assignments Since there is no assigned textbook, there will be a few reading assignments. Purpose is to.

Grid Computing, B. Wilkinson, 2004 2.7

Internet Protocol (IP) AddressSlightly higher level - assigned to interfaces and hence computers.

Example

129.49.82.1

(IP version 4). Divided into fields to allow various network decoding arrangements.

IP address can be static or dynamically changing. Mapped to MAC address with a software table.

Page 8: Grid Computing, B. Wilkinson, 20042.1 Reading Assignments Since there is no assigned textbook, there will be a few reading assignments. Purpose is to.

Grid Computing, B. Wilkinson, 2004 2.8

Some Network Protocols(on top of TCP/IP)

TelnetAn insecure Internet protocol that allows you to connect to another computer on the Internet.

FTP(File Transmission Protocol)

Standard insecure Internet protocol to exchange files.

Page 9: Grid Computing, B. Wilkinson, 20042.1 Reading Assignments Since there is no assigned textbook, there will be a few reading assignments. Purpose is to.

Grid Computing, B. Wilkinson, 2004 2.9

FTPtelnet HTTP

TCP

IP

Ethernet driver

Network interface

Network

20/21

23 80

“port” numbers 06

0800

Page 10: Grid Computing, B. Wilkinson, 20042.1 Reading Assignments Since there is no assigned textbook, there will be a few reading assignments. Purpose is to.

Grid Computing, B. Wilkinson, 2004 2.10

Network services(servers)

Implementation of a protocol with a set of capabilities.

Example - FTP server

FTP protocol Telnet protocol

TCP protocolIP protocol

FTP server

Page 11: Grid Computing, B. Wilkinson, 20042.1 Reading Assignments Since there is no assigned textbook, there will be a few reading assignments. Purpose is to.

Grid Computing, B. Wilkinson, 2004 2.11

Secure Connections

• Secure connections needed in many computer related activities, including e-business and grid computing.

• Telnet and FTP are very insecure - information is transmitted in clear text.

Page 12: Grid Computing, B. Wilkinson, 20042.1 Reading Assignments Since there is no assigned textbook, there will be a few reading assignments. Purpose is to.

Grid Computing, B. Wilkinson, 2004 2.12

SSL Protocol(Secure Socket Layer)

• Proposed by Netscape Communications and adopted widely - Latest version SSL 3.0.

• Uses Public Key Cryptography - see later in course.

• Can be used with FTP (SFTP) and other protocols (e.g. HTTTPS).

• Transport Layer Security protocol (TLS) subsequently proposed to SSL - no major differences.

Page 13: Grid Computing, B. Wilkinson, 20042.1 Reading Assignments Since there is no assigned textbook, there will be a few reading assignments. Purpose is to.

Grid Computing, B. Wilkinson, 2004 2.13

World Wide Web

• Started in earnest in early1990’s when HTTP developed at CERN and Mosaic browser at NCSA.

• HTTP (Hypertext Transfer Protocol) - basic way of accessing web pages.

• World wide web expanded at an amazing rate (1 million hosts in 1993 to 200 million+ hosts in 2004.

Page 14: Grid Computing, B. Wilkinson, 20042.1 Reading Assignments Since there is no assigned textbook, there will be a few reading assignments. Purpose is to.

Grid Computing, B. Wilkinson, 2004 2.14

Domain Name

• For ease of use by humans, names are used rather than IP addresses.

Example

cs.wcu.edu

• Conversion between IP address and name done by a domain name service, a distributed name database.

Page 15: Grid Computing, B. Wilkinson, 20042.1 Reading Assignments Since there is no assigned textbook, there will be a few reading assignments. Purpose is to.

Grid Computing, B. Wilkinson, 2004 2.15

URL(Uniform Resource Locator)

• Way of identifying and accessing a web page:

Example

http://www.cs.wcu.edu/~abw/index.html

“how”Type of transaction

(protocol)

“where”Address or name of server

“what”Resource requested

Page 16: Grid Computing, B. Wilkinson, 20042.1 Reading Assignments Since there is no assigned textbook, there will be a few reading assignments. Purpose is to.

Grid Computing, B. Wilkinson, 2004 2.16

Mark-up Languages

• A way of describing information in a document.• Standard Generalized Mark-Up Language (SGML)

- a specification for a mark-up language ratified in 1986.

• Key aspect - using pairs of tags that surround information - a begin tag <tag_name> and a matching end tag </tag_name> .

Example

<title> CS 493 home page </title>

Page 17: Grid Computing, B. Wilkinson, 20042.1 Reading Assignments Since there is no assigned textbook, there will be a few reading assignments. Purpose is to.

Grid Computing, B. Wilkinson, 2004 2.17

HyperText Markup Language (HTML)

A mark-up language used in web pages.

“Hypertext” refers to the text’s ability to link to other documents.

“Markup” refers to providing information to tell browser how to display page and other things.

Page 18: Grid Computing, B. Wilkinson, 20042.1 Reading Assignments Since there is no assigned textbook, there will be a few reading assignments. Purpose is to.

Grid Computing, B. Wilkinson, 2004 2.18

HTML page format

<HTML>

<HEAD>

</HEAD>

<BODY>

</BODY>

</HTML>

Signifies an HTML document

Head section includes information about document - “metadata”

Body section contains text and references to images to be displayed

End of document

Page 19: Grid Computing, B. Wilkinson, 20042.1 Reading Assignments Since there is no assigned textbook, there will be a few reading assignments. Purpose is to.

Grid Computing, B. Wilkinson, 2004 2.19

HTML Tags

• Tags specify details such as type of text.

Example

<B> to start bold text

</B> to end bold text

<I> to start italic text

</I> to end italic text

Page 20: Grid Computing, B. Wilkinson, 20042.1 Reading Assignments Since there is no assigned textbook, there will be a few reading assignments. Purpose is to.

Grid Computing, B. Wilkinson, 2004 2.20

HTML page<HTML>

<HEAD>

</HEAD>

<BODY>

Hello world

<I> My name is <B>Barry</B> </I>

</BODY>

</HTML>

Page 21: Grid Computing, B. Wilkinson, 20042.1 Reading Assignments Since there is no assigned textbook, there will be a few reading assignments. Purpose is to.

Grid Computing, B. Wilkinson, 2004 2.21

QuestionWhat does the previous HTML page display?

Answer

Hello World My name is Barry

Page 22: Grid Computing, B. Wilkinson, 20042.1 Reading Assignments Since there is no assigned textbook, there will be a few reading assignments. Purpose is to.

Grid Computing, B. Wilkinson, 2004 2.22

HTML page<HTML>

<HEAD>

</HEAD>

<BODY>

<BR>

Hello world <P>

<I> My name is <B>Barry</B> </I>

</BODY>

</HTML>

Line break tag - some tags in HTML are not in pairs

Page 23: Grid Computing, B. Wilkinson, 20042.1 Reading Assignments Since there is no assigned textbook, there will be a few reading assignments. Purpose is to.

Grid Computing, B. Wilkinson, 2004 2.23

Attributes

Many tags can have attributes which specify something about the body between tag pair.

Example

<FONT COLOR=red SIZE=3 FACE=Times>This text is displayed in red in Times font, about 12 pt.</FONT>

Attributes

Page 24: Grid Computing, B. Wilkinson, 20042.1 Reading Assignments Since there is no assigned textbook, there will be a few reading assignments. Purpose is to.

Grid Computing, B. Wilkinson, 2004 2.24

More information about HTML

See WCU course CS 130 (also includes JavaScript).

http://www.cs.wcu.edu/~abw/CS130F04/

Page 25: Grid Computing, B. Wilkinson, 20042.1 Reading Assignments Since there is no assigned textbook, there will be a few reading assignments. Purpose is to.

Grid Computing, B. Wilkinson, 2004 2.25

Extensible Mark-up LanguageXML

• Ratified in 1998 - very important standard mark-up language - a “simplified” SGML.

• Developed to represent textual information in a structured manner that could be read and interpreted by a computer.

• A foundation for web services and grid services.

Page 26: Grid Computing, B. Wilkinson, 20042.1 Reading Assignments Since there is no assigned textbook, there will be a few reading assignments. Purpose is to.

Grid Computing, B. Wilkinson, 2004 2.26

Some key aspects of XML

• Tags always used in pairs delineate information to make it easy to process. (There is an exception, when the body between the tags holds nothing.)

• Tags can be nested. They can have attributes.

• Names of tags can be defined broadly at will. (In HTML, tags are predefined.)

Page 27: Grid Computing, B. Wilkinson, 20042.1 Reading Assignments Since there is no assigned textbook, there will be a few reading assignments. Purpose is to.

Grid Computing, B. Wilkinson, 2004 2.27

XML Application Areas

• Used for two applications areas:

– Document-centric XML

– Data-centric XML

Page 28: Grid Computing, B. Wilkinson, 20042.1 Reading Assignments Since there is no assigned textbook, there will be a few reading assignments. Purpose is to.

Grid Computing, B. Wilkinson, 2004 2.28

Document-Centric XML

• Documents usually meant for humans, although could be processing by computers.

• Semi-structured - some tags can be placed more-or-less anywhere, similar to HTML tags.

Page 29: Grid Computing, B. Wilkinson, 20042.1 Reading Assignments Since there is no assigned textbook, there will be a few reading assignments. Purpose is to.

Grid Computing, B. Wilkinson, 2004 2.29

Sample document-centric XML

<H1>Prerequisites for grid computing course</H1>

<P><B>Fall 2004</B></P>

<LIST>

<ITEM>CS 150 Programming I or equivalent</ITEM>

<ITEM>CS 151 Programming II or equivalent desirable</ITEM>

<ITEM>Able to program in Java or learn quickly.</ITEM>

<ITEM>Able to program in C/C++ or learn quickly.</ITEM>

<ITEM>Able to use Linux system or learn quickly.</ITEM>

</LIST>

<P> For more information look at <LINK HREF=“outline.xml”>Outline</LINK>.</P>

Page 30: Grid Computing, B. Wilkinson, 20042.1 Reading Assignments Since there is no assigned textbook, there will be a few reading assignments. Purpose is to.

Grid Computing, B. Wilkinson, 2004 2.30

Data-Centric XML

• Usually generated and meant to be read by computer programs.

• Structured.

• Nesting useful to create a clearly structured and computer-readable document.

Page 31: Grid Computing, B. Wilkinson, 20042.1 Reading Assignments Since there is no assigned textbook, there will be a few reading assignments. Purpose is to.

Grid Computing, B. Wilkinson, 2004 2.31

Sample data-centric XML<po id=“53912” submitted=“2004-08-05”>

<billTo>

<name>Department of Mathematics and Computer Science</name>

<company>Western Carolina University</company>

<street></street>

<city>Cullowhee</city>

<state>NC</state>

<postalCode>28723</postalCode>

</billTo>

<shipTo>

<name>Department of Mathematics and Computer Science</name>

<company>Western Carolina University</company>

<street></street>

<city>Cullowhee</city>

<state>NC</state>

<postalCode>28723</postalCode>

</shipTo>

<order>

<item sku=“456-CS” quantity=“7”>

<description>computer system type 1234 </description>

</item>

<item sku=“135-GS” quantity=“12”>

<description>Unmanaged 16 port GigE switch.</description>

</item>

</order>

</po>

Page 32: Grid Computing, B. Wilkinson, 20042.1 Reading Assignments Since there is no assigned textbook, there will be a few reading assignments. Purpose is to.

Grid Computing, B. Wilkinson, 2004 2.32

Sample data-centric XML

<po id=“53912” submitted=“2004-08-05”>

<billTo>

<name>Department of Mathematics and Computer Science</name>

<company>Western Carolina University</company>

<street></street>

<city>Cullowhee</city>

<state>NC</state>

<postalCode>28723</postalCode>

</billTo>

Page 33: Grid Computing, B. Wilkinson, 20042.1 Reading Assignments Since there is no assigned textbook, there will be a few reading assignments. Purpose is to.

Grid Computing, B. Wilkinson, 2004 2.33

Quiz

1. (Test of any prior knowledge - answer not in slides.) Where exactly is the file stored with the URL given as

www.cs.wcu.edu/~abw/CS493F04and what is its name (be careful) ?

Answer

Page 34: Grid Computing, B. Wilkinson, 20042.1 Reading Assignments Since there is no assigned textbook, there will be a few reading assignments. Purpose is to.

Grid Computing, B. Wilkinson, 2004 2.34

Quiz

2. Why are the FTP and telnet protocols insecure?

Answer

Page 35: Grid Computing, B. Wilkinson, 20042.1 Reading Assignments Since there is no assigned textbook, there will be a few reading assignments. Purpose is to.

Grid Computing, B. Wilkinson, 2004 2.35

Quiz

3. How are tags defined in HTML?

Answer

Page 36: Grid Computing, B. Wilkinson, 20042.1 Reading Assignments Since there is no assigned textbook, there will be a few reading assignments. Purpose is to.

Grid Computing, B. Wilkinson, 2004 2.36

Quiz

4. How are tags defined in XML?

Answer

Page 37: Grid Computing, B. Wilkinson, 20042.1 Reading Assignments Since there is no assigned textbook, there will be a few reading assignments. Purpose is to.

Grid Computing, B. Wilkinson, 2004 2.37

Quiz

5. A pair of XML tags with empty contents:

<tag_name></tag_name>can be written as

<tag_name/>

Under what circumstances would such a construction make sense?

Answer