Docsity

Introduction to Heterogeneous Computing Environments, Lecture notes of Computer Networks

Partial preview of the text

Download Introduction to Heterogeneous Computing Environments and more Lecture notes Computer Networks in PDF only on Docsity!

NIST Special Publication 500-

NAT I. INST OF STAND 4 ItCM U\C

A111D3 3SfiDba

Computer Systems

Technology

U.S. DEPARTMENT OF

COMMERCE jSjJST

National Institute of

Standards and PUBLICATIONS

Technology

Nisr

iiltroduction (^) to

Heterogeneous

Environments

John F. Barkley

Karen Olsen

NATIONAL INSTITUTE OF STANDARDS (^) & TECHNOLOGY Research Information Center Gaithersburg, (^) MD 20899

Reports on Computer Systems Technology

The National Institute of Standards and Technology (NIST) (formerly the National Bureau of Standards) has a unique responsibility for computer systems technology within the Federal government. NIST's National Computer Systems Laboratory (NCSL) develops standards and guidelines, provides technical assistance, and conducts research for computers and related telecommunications systems to achieve more effective utilization of Federal information technology resources. NCSL's responsibilities include development of technical, management, physical, and administrative standards and guidelines for the cost-effective security and privacy of sensitive unclassified information processed in Federal computers. NCSL assists agencies in developing security plans and in improving computer security awareness train- ing. This Special Publication 500 series reports NCSL research and guidelines to Federal agencies as well as to organizations in industry, government, and academia.

Library of Congress Catalog Card Number: 89- National Institute of Standards and Teclinology Special Publication 500- Natl. Inst. Stand. Techinol. Spec. Publ. 500-176,^37 pages (Nov.^ 1989) CODEN: NSPUE

U.S. GOVERNMENT PRINTING OFFICE

WASHINGTON: 1989

For sale by the Superintendent of Documents, U.S. Government Printing Office, Washington, DC 20402

ABSTRACT

Computer networks are (^) becoming larger not only in the number of nodes connected but also in the geographic area spanned. In addition, networks are becoming more diverse

in the variety of equipment from which the network is implemented. This report provides

an introduction to the concept of a heterogeneous computing environment. It character-

izes heterogeneous computing environments from the point of view of the generic services

provided. Standards^ are^ necessary^ in order^ to implement heterogeneous^ computing^ en-

vironments. The report provides an introduction by example to the types of technical

standards that are necessary in a heterogeneous computing environment and illustrates

how such standards can be used to provide services.

iii

Contents

  • 1 Introduction
  • 2 Heterogeneous Computing Environments
    • 2.1 Distributed File System
      • 2.1.1 File System/Device Models
      • 2.1.2 Types of Clients
    • 2.2 Distributed Computing
      • 2.2.1 Login
      • 2.2.2 Remote Execution
      • 2.2.3 Transaction Processing
      • 2.2.4 Cooperative Processing
    • 2.3 Messaging
    • 2.4 Standards
  • 3 Examples of Standards for Heterogeneous Computing Environments
    • 3.1 Network File System
    • 3.2 External Data Representation
    • 3.3 Remote Procedure Call
      • 3.3.1 Model
      • 3.3.2 Implementation
    • 3.4 Advanced Program to Program Communication
      • 3.4.1 Example
      • 3.4.2 Conversation Verbs
    • 3.5 X Window System
  • 4 Conclusions
  • A References and Related Reading

List of Tables

1 Location of example protocols in ISO Beisic Reference Model 14

List of Figures

1 Client/Server^ Model^4

2 Client access to remote mass storage on server 5

3 Single-Tree File System/Device^ Model 7 4 Device^ Based^ File^ System/Device^ Model^8 5 Login (Client A) vs. Remote Execution (Client B) (^9)

6 RFC model 18

7 Example of query /response conversation in APPC 22

8 X Window System connectivity (^26)

vi

There are many standards which are necessary in order for a heterogeneous computing

environment to be able to function. For example, the^ Government^ Open Systems Inter-

connection Profile (GOSIP, FIPS^ (^) 146) and the Applications Portability Profile (^) (POSIX, FIPS 151-1, Appendix A) are available to assist Federal Agencies and other organizations in acquiring^ and^ using^ equipment^ within^ heterogeneous^ computing^ environments.^ It is not the goal of this report to list all of the formal and defacto standards which can apply (^) to a heterogeneous computing environment, nor to recommend or imply that the standards presented here as examples are the best choices. The standards used as examples in this

report are among those currently in widespread use. In the future, this may not be the

case. Section 3 provides an introduction by example to the kinds of standards that are

necessary in a heterogeneous computing environment and illustrates how such standards

can be used to provide^ services.

Heterogeneous computing environments have evolved in response to the ever increasing

need for applications to be able to communicate more easily and effectively. (^) For example,

consider how two applications, spreadsheet and electronic publishing, are becoming more

sophisticated in their use of communications.

When spreadsheets first appeared as an application, they ran exclusively on personal computers. Spreadsheet data was shared by exchanging floppies. As personal computers became nodes on networks, spreadsheet (^) data was shared by transferring files between personal computers and then integrating them into the local copy. Sharing spreadsheet

data required much hands-on operation by the user.

The spreadsheet applications now being developed permit this data sharing to occur

without the user being forced to leave the keyboard. In many cases, sharing spreadsheet

data can happen without the user being aware that sharing is taking place. Users inter- acting with spreadsheet applications often need not know whether the data resides locally or remotely. The spreadsheet application fills in cells with data automatically obtained remotely from other (^) text, spreadsheet, and (^) database information.

Electronic publishing has emerged as an application much more recently than spread-

sheets. Electronic publishing currently is used in the following manner. Small personal

computers are used to create parts of large documents. These parts are transferred to

sophisticated graphics workstations which assemble and finish the document in both draft and final versions. Since the personal computers and workstations are usually on a net- work, the transfer of text and graphics can be done on the network. However, this^ often

involves several operational steps on the part of users in order^ to^ coordinate^ their^ efforts.

Electronic publishing applications now being developed allow for a less labor intensive

effort in the cooperative development of large documents.^ In a^ manner^ similar^ to^ new spreadsheet applications, the finishing^ workstations^ can^ automatically^ access^ the^ text^ and

graphics pieces of large documents^ over^ the^ network.^ Moreover,^ users of^ the^ small^ personal

computers can generate draft^ copies^ of^ the^ completed^ document^ from^ their^ keyboards^ so

^Federal Information Processing Standard.

they can see how^ their parts fit into the whole. These draft copies can be automatically

assembled and^ printed^ remotely. In order^ to^ support^ the^ demand^ for^ more flexible and transparent communications in

applications such as spreadsheet and electronic publishing, large communication systems

of diverse^ hardware^ and^ software^ components^ have emerged.^ In^ the^ peist,^ sophisticated computer communication systems and the applications which ran on them came from

a single producer, i.e., they were homogeneous computing environments. For better or

worse, this is no^ longer^ the^ case. Complex computer communication systems and their ap-

plications come from^ many different^ producers. Thus, the name heterogeneous computing

environment was^ coined. The emergence^ of^ heterogeneous^ computing^ environments^ results^ in^ organizations^ hav- ing a larger number of communication equipment producers from which network compo-

nents can be^ acquired.^ In^ many^ cases,^ this^ larger^ community^ of^ producers^ results^ in^ both

a lower total network cost and/or a greater network functionality. While many organiza-

tions still choose a homogeneous computing environment, for Federal Agencies, this choice

is rarely available because of the requirements for full and open competition in acquisitions.

To describe a heterogeneous computing environment^ as a collection of systems and components from different producers is not very informative. It is useful to know what a

heterogeneous computing environment can do for a user, whether that user is an application

developer or an end user. In the next section, heterogeneous computing environments are

characterized from the point of view of the generic services they provide.

Client Server

root SysDisk^ UserDisk

/
/users (^) /etc /bin (^) UserDisk: [NetUsers] UserDisk: [LocUsers]

Figure 2. Client access to remote mass storage on server.

tual terminal or remote login), file transfer, and mail. Each node of the (^) network was a

client/server for these three services. Users were provided with an interactive terminal

session with any node on the network. They were able to transfer files between any two nodes. Finally, they were able to send mail to any node and receive mail from any node. With the advent of the personal computer, networks were implemented whose nodes

were exclusively small computers. Such a personal computer network provided file service

and mail. Each node of a personal computer network was usually either a client or a server and typically, there were no client/server nodes. There was no login service provided since

each personal computer ran applications locally. Although applications may be downloaded

from a server, their primary function was to provide file service for data (i.e., transparent

access to data on mass storage). File transfer between clients was accomplished by copying files to and from a server. Additionally, servers sometimes acted as a post office for electronic mail. Clients accessed the mail server to send and receive mail. This distinction between large computer networks^ and^ personal^ computer^ networks has somewhat disappeared. In a heterogeneous^ computing^ environment,^ the^ services of the large computer network and^ the^ personal^ computer^ network^ are^ integrated^ into

three basic types of services which are available to all sizes of clients from all sizes of

servers or client /servers. In a heterogeneous computing environment, clients, servers,^ and

client /servers may be, for example, mainframes, minicomputers, workstations,^ or^ personal

computers. Most services can be grouped into three major categories:^ distributed^ file system, distributed computing, and messaging.

2.1 Distributed File System

The concept of a distributed (^) file system is the generalization of the concept of file service. File service provides a client with transparent access to part of the mass storage of a remote server. Transparent access means that, to the user on a client,^ the remote mass storage of the server is available on the client as though it were mass storage locally connected to the client. Figure 2 illustrates the concept of^ transparent^ access.^ The notation is used to indicate the location of a file within the directory tree of the client. The ":"^ and "." notation is used to indicate the location of a file on the server (see sec. 2.1.1). The client

has, as^ part^ of^ its^ file^ system,^ a^ part^ of^ the^ file^ system^ of^ a^ remote system^ which^ is providing

file service. The directory tree which begins at /users/Jane on the clients directory (^) tree

physically resides on the server's directory tree at the point UserDisk:[NetUsers.JaneJ

which is part of the server's mass storage device UserDisk. Note that, in this example,

although the syntcix of file reference diff^ers between the client and the server, the client

uses its file reference syntax (i.e., the "/"^ notation) for all file references including those

which physically reside on the server. The fact that the client and server use different

file reference syntax notations implies that the client and server have different operating

systems. In a heterogeneous computing environment, a client may have access to several

servers simultaneously. In addition, on some servers, a client may have transparent access

to peripheral devices on servers other than mass storage, such as, printers and (^) modems.

Since a client and server may be from different producers, a user on a client is provided

with transparent access to remote peripherals in the user interface paradigm of the client,

not the server. This means that, once remote mass storage is attached, users issue the same

commands (e.g., copy, rename, delete) to access remote mass storage as they do to access

local mass storage. Similarly, once a remote printer is attached, the commands to print

on the remote printer are the same as the commands to print on the local printer. The

file system/device model (i.e., how file or device references are supported in the command

language) used by each client is the access provided by servers to clients in a heterogeneous

computing environment.

2.1.1 File System/Device^ Models

Most clients have one of two types of file system/device models: single-tree and device- based. The single-tree model is one in which all physical devices are part of a single directory tree (see fig. (^) 3). The directory trees of each mass storage device axe attached to

a node in the system's single directory tree. A file reference in the command language is

a path in the single directory tree, such as, /users/jane/file2. Physical devices^ other^ than

mass storage are also attached to the single directory tree. Thus, a printer is simply^ a file reference in the single directory tree. In figure (^) 3, /dev/xd,^ /dev/ttyl,^ and^ /dev/printer represent a disk, a terminal, and a printer.^ The^ directories^ /bin^ and^ /etc^ respectively

contain system executable files^ and^ system^ configuration^ files.

SysDisk Ttyl Printer UserDisk

/\

SysDisk: [Execs]^ SysDisk:^ [Configs]^ UserDiskl:[jane]^ UserDisk^ 1:^ [joe]

UserDisk: [jane.filel] UserDisk: [jane.filel]

Figure 4. Device Based File System/Device Model.

Although the distributed file system in a heterogeneous computing environment is avail-

able over a large geographic 3«F6di^^ cLS a practical matter, clients typically attach to servers

which are close geographically, such as, within the same building or building (^) complex.

This is because most long distance network links operate at much slower speeds (e.g., 1.

Megabits) than short distance links (e.g., 10 Megabits). The convenience of a distributed

file system is diminished by slow speed communication.

A common solution to this problem is first to perform a file transfer over low speed links

to local (i.e., geographically close) servers where clients have higher speed access. Then,

clients may have transparent access at suitable speeds. For the purpose of file transfer,

files are referenced in the file system/device model of the server rather than the client. A

file reference is usually of the form: [network-node-name,^ file-reference).

2.2 Distributed Computing

The second^ major category of service^ in a heterogeneous^ computing^ environment^ is^ dis-

tributed computing. Distributed computing refers to the concept of running an application

or applications on remote node(s). Distributed computing is not the downloading of an

application to be run locally. Such downloading is a service^ of^ the^ distributed^ file^ system.

Distributed computing is^ the^ execution^ of^ an^ application^ on^ a^ remote^ server^ or^ servers

with the results transmitted over the network to the client.^ Distributed^ computing^ takes

four forms: login, remote execution,^ transaction^ processing,^ and^ cooperative^ processing.

2.2.1 Login

Login is the service which provides a user on a client with an interactive^ session^ on^ a

server. By means of the login service, the client behaves^ as^ though^ it^ were^ a^ terminal

directly connected to a host where the host is a login server on the network.^ Typically,

the login session is conducted using the user interface of the login^ server.^ Some^ clients

client> rlogin server password: Logged into server server> (^1) s filel file server> (^) logout Connection Closed client>

1 1

Client A

client> rsh filel file client>

server Is

Client B

Figure 5. Login (Client A) vs. Remote Execution (Client B).

are able to have several login sessions to multiple servers active simultaneously. Normally,

each login session requires a dedicated process on the client^ and^ a dedicated^ process^ on^ the

server. For those clients with mouse/window user interfaces, each login session is usually

a separate window.^ If the^ client^ is^ also^ a^ server,^ then^ remote^ interaxrtive^ applications^ can

access local mass storage for data by means of the distributed file system. K not, then file

transfer to a server may be used to allow access to data. Login permits access to remote

applications which are highly interactive in nature.

Figure 5 shows the interaction between a user on client A and a login server^ in the typical login session. The purpose of the session is to obtain a directory listing of a directory on the login server. The bold indicates what the user enters.

In the future, the need for a login service^ will^ diminish.^ Users^ will^ interact^ with

applications as though the application were resident locally,^ whereas,^ in^ fact,^ the^ processing

of the application may be taking plax:e^ on^ several^ different^ nodes^ (see^ sec.^ 2.2.4).

2.2.2 Remote Execution

Remote execution is the service^ which^ provides^ a^ user^ on^ a^ client^ access^ to^ remote^ applica- tions which are not highly interactive^ in^ nature.^ Remote^ execution^ is^ diff"erentiated^ from login in several ways. With^ login,^ the^ user^ on^ the^ client^ interacts^ with^ each^ server^ in^ the

command language (i.e., user interface paradigm) of the^ server.^ With^ remote^ execution,

the user issues commands to the server using the^ user^ interface of^ the^ client,^ i.e.,^ commands

2.2.4 Cooperative Processing

The availability^ of^ remote^ execution services and transaction processing services ha^ given rise to^ the^ concept^ of^ a^ distributed^ application.^ A distributed application is an application in which the interaction between the user and the application appears as though all of the

processing is taking place locally, but, in fact, the processing may be distributed across

several nodes of the network. The most common example of a distributed application can

be found in a distributed database application. The user on a client initiates queries to a database whose data is distributed among several nodes of the network. To the user, the data appears to be local. A server (or servers) accepts the queries, generates the information, and sends the results back to the client. Implementations of spreadsheet and electronic publishing^ applications^ now becoming available^ (as described in sec. (^) 1) are also

examples of^ distributed^ applications.

Distributed applications make use of cooperative processing services. The application programmer uses cooperative processing services for processing required by the application and, in some cases, need not be aware of the location where the processing is taking place.

The cooperative processing service may be able to determine automatically where process-

ing is to take place.^ Cooperative^ processing services include the functionality provided by

both remote execution and transaction processing services. In the future, the concepts of

cooperative processing and distributed applications should replace the concepts of login, remote execution, and transaction processing. Users will only interact with distributed

applications that are implemented using cooperative processing services.

2.3 Messaging

Messaging services are associated with mail and conferencing applications. Electronic

mail has been available on computer^ networks^ from^ their^ beginning.^ Mail^ servers^ in^ a

heterogeneous computing environment^ act^ like^ local^ post^ offices.^ Users^ on^ a^ client^ must

normally obtain their mail remotely from^ the^ server^ to^ which^ it^ was^ sent,^ but^ may^ send

mail directly. Only client/servers^ can^ both^ send^ and^ receive^ mail^ locally.

Conferencing services^ allow^ messages^ to^ be^ sent^ and^ received^ immediately.^ Conferencing

in a heterogeneous computing^ environment^ is^ similar^ in^ concept^ to^ using^ a^ telephone.

While mail messages can be transferred^ and^ stored^ without^ the^ active^ participation^ of^ the

users, conferencing messages^ are^ lost^ if^ the^ receiver^ does^ not^ take^ immediate^ action.^ A

notification that a message^ was^ received^ is^ displayed^ on^ a^ user's^ screen^ and^ if^ the^ response

is not forthcoming, the message^ is^ lost.^ This^ form^ of^ message^ passing^ can^ be^ just^ between

two users (like a telephone call)^ or^ among^ several^ users^ (like^ a^ telephone^ conference^ call).

In most cases, users on clients^ can^ use^ conferencing^ directly^ without^ the^ support^ of^ any servers.

2.4 Standards

The heterogeneous computing environment is supported by standards. Three major kinds

of standards are necessary in a heterogeneous computing^ environment:^ conmiunication pro-

tocols, application programming interfaces, and user^ interfaces.^ Standard communication protocols are necessary so that systems from different producers can connect to a commu- nication network^ and^ understand^ the^ information^ being^ transmitted.^ Standard^ commu-

nication protocols result in interoperability between diverse computer systems. Standard

application programming interfaces are necessary so that software^ developers can imple- ment applications whose source code^ runs^ almost^ unchanged^ on^ systems^ from^ different producers. Standard application programming interfaces result in portable applications.

Standard user interfaces are necessary so that users are able to interact with remote ap-

plications on^ systems^ from^ different^ producers^ in^ the^ same^ manner^ as^ they^ interact^ with

applications locally. Standard user interfaces result in portable users, i.e., users who can

easily access applications regardless of the hardware platform on which the applications

are run. In section (^) 3, several standards which axe currently used as a means of implementing some of the services described in this section are presented. The standards discussed in section 3 are communication protocols and/or application programming interfaces.