Top Banner
Distributed Operating Systems Overview Ye Olde Operating Systems OpenMOSIX OpenSSI Kerrighed
24

Distributed Operating Systems€¦ ·  · 2011-03-11Distributed Operating Systems vs Grid Computing OS OS OS OS OS OS US US US US US US Grid System Nodes Operating System Nodes User

May 25, 2018

Download

Documents

duongkhuong
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: Distributed Operating Systems€¦ ·  · 2011-03-11Distributed Operating Systems vs Grid Computing OS OS OS OS OS OS US US US US US US Grid System Nodes Operating System Nodes User

Distributed Operating Systems

OverviewYe Olde Operating SystemsOpenMOSIXOpenSSIKerrighed

Page 2: Distributed Operating Systems€¦ ·  · 2011-03-11Distributed Operating Systems vs Grid Computing OS OS OS OS OS OS US US US US US US Grid System Nodes Operating System Nodes User

Quick Preview

Front Back

Page 3: Distributed Operating Systems€¦ ·  · 2011-03-11Distributed Operating Systems vs Grid Computing OS OS OS OS OS OS US US US US US US Grid System Nodes Operating System Nodes User

Distributed Operating Systems vs Grid Computing

OS OS OS OS OS OS

US US US US US US

Grid System

Nodes

Operating System

Nodes

User Space

Xgrid, SGE, Condor, Distcc,Boinc, GpuGrid.

Amoeba, Plan9, OpenMosix,OpenSSI, Kerrighed.

Page 4: Distributed Operating Systems€¦ ·  · 2011-03-11Distributed Operating Systems vs Grid Computing OS OS OS OS OS OS US US US US US US Grid System Nodes Operating System Nodes User

Distributed Operating Systems vs Grid ComputingProblems with the grid.

Programs must utilize that library system. Usually requiring seperate programming.

OS updates take place N times.Problems with dist OS

Security issues – no SSL.Considered more complicated to setup.

Page 5: Distributed Operating Systems€¦ ·  · 2011-03-11Distributed Operating Systems vs Grid Computing OS OS OS OS OS OS US US US US US US Grid System Nodes Operating System Nodes User

Important Note

Operating System

Nodes

User Space

OS OS OSOS OSOS

Each node, even with distributed operating systems, boots a kernel.

This kernel can vary depending on the role of the node and overall architecture of the system.

Page 6: Distributed Operating Systems€¦ ·  · 2011-03-11Distributed Operating Systems vs Grid Computing OS OS OS OS OS OS US US US US US US Grid System Nodes Operating System Nodes User

AmoebaAndrew S. TanenbaumEarliest documentation: 1986What modern language was originally

developed for use in Amoeba?Anyone heard of Orca?Sun4c, Sun4m, 386/486, 68030, Sun 3/50,

Sun 3/60.

Page 7: Distributed Operating Systems€¦ ·  · 2011-03-11Distributed Operating Systems vs Grid Computing OS OS OS OS OS OS US US US US US US Grid System Nodes Operating System Nodes User

Amoeba

Page 8: Distributed Operating Systems€¦ ·  · 2011-03-11Distributed Operating Systems vs Grid Computing OS OS OS OS OS OS US US US US US US Grid System Nodes Operating System Nodes User

Plan9Started development in the 1980'sReleased in 1992 (universities) and 1995

(general public).All devices are part of the filesystem.X86, MIPS, DEC Alpha, SPARC,

PowerPC, ARM.Union Directories, basis of UnionFS./proc first implemented here.

Page 9: Distributed Operating Systems€¦ ·  · 2011-03-11Distributed Operating Systems vs Grid Computing OS OS OS OS OS OS US US US US US US Grid System Nodes Operating System Nodes User

Plan9

Rio , the Plan9 window manager showing ”faces(1), stats(8), acme(1)” and many more things.

Page 10: Distributed Operating Systems€¦ ·  · 2011-03-11Distributed Operating Systems vs Grid Computing OS OS OS OS OS OS US US US US US US Grid System Nodes Operating System Nodes User

Plan9Split nodes into 3 distinct groupings.

TerminalsFile serversComputational servers

Uses the ”9P” protocol.Low level, byte protocol, not block.Used from filesystems, to printer

communication.Author: Ken Thompson

Page 11: Distributed Operating Systems€¦ ·  · 2011-03-11Distributed Operating Systems vs Grid Computing OS OS OS OS OS OS US US US US US US Grid System Nodes Operating System Nodes User

Plan9 / Amoeba

Term Term FS FS Com Com

Operating System

User SpaceBoth Plan9 and Amoeba make groupings of nodes, into specificcategories. This can mainly be attributed to the time period.

Operating System

Nodes

User SpaceStarting with OpenMOSIX, there was a push to make the nodes identical, or atleast breakout from the ”grouping” model.

Page 12: Distributed Operating Systems€¦ ·  · 2011-03-11Distributed Operating Systems vs Grid Computing OS OS OS OS OS OS US US US US US US Grid System Nodes Operating System Nodes User

OpenMOSIXSSI System. (Single System Image).Automatic load leveling. ( Procs not

threads ).Patch for Linux 2.4.xEOL March 1 2008.Linux PMI - Linux 2.6.x branch.LiveCD autoconfiguration available.

Page 13: Distributed Operating Systems€¦ ·  · 2011-03-11Distributed Operating Systems vs Grid Computing OS OS OS OS OS OS US US US US US US Grid System Nodes Operating System Nodes User

OpenMOSIX

An OpenMOSIX cluster, running John The Ripper.

Page 14: Distributed Operating Systems€¦ ·  · 2011-03-11Distributed Operating Systems vs Grid Computing OS OS OS OS OS OS US US US US US US Grid System Nodes Operating System Nodes User

OpenMOSIXUnique /mfs filesystem.

/mfs/here → / filesystem, current node.

/mfs/home → / filesystem, home node.

/mfs/selected → / filesystem on selected node, done by ”echo # > /proc/self/selected”

Added /proc support./proc/hpc/nodes/[mosix ID]/(load|mem|speed) , specific node

statistics from remote /proc.

/proc/hpc/nodes/[mosix ID]/ is not a remote /proc ( only peices).

Page 15: Distributed Operating Systems€¦ ·  · 2011-03-11Distributed Operating Systems vs Grid Computing OS OS OS OS OS OS US US US US US US Grid System Nodes Operating System Nodes User

OpenMOSIXEnable migration of sub processes:

”echo 0 > /proc/self/lock”

Useful for a shell.

Perl and Python modules available to ease programming specific applications.

Libmosix for CCommonly used for large scale LTSP/POVRay.

Page 16: Distributed Operating Systems€¦ ·  · 2011-03-11Distributed Operating Systems vs Grid Computing OS OS OS OS OS OS US US US US US US Grid System Nodes Operating System Nodes User

OpenSSILast updated a year ago.Kernel 2.6.12http://openssi.org/cgi-bin/view?page=docs2/1.9/Introduction-to-SSISingle process space.

Global PID's, local information.Single root.No specific programming required.

libcluster.so and cluster.h available. (rexec(), rfork(), etc. )

x86_64, x86 architecturesLenny, Etch, Sarge, FC3, FC2, RH9Access to remote /dev

Page 17: Distributed Operating Systems€¦ ·  · 2011-03-11Distributed Operating Systems vs Grid Computing OS OS OS OS OS OS US US US US US US Grid System Nodes Operating System Nodes User

OpenSSIStable release is FC2

Good example on how much activity.

Outdated timeline

Page 18: Distributed Operating Systems€¦ ·  · 2011-03-11Distributed Operating Systems vs Grid Computing OS OS OS OS OS OS US US US US US US Grid System Nodes Operating System Nodes User

OpenSSI'localview' command

Prefix like nice.Restricts that process to local devices,

processes, and scope of ipcs.'loadlevel' command

Algorithms borrowed from openMOSIX.Turned off by default.Can be turned on globally, or on individual

nodes.

Page 19: Distributed Operating Systems€¦ ·  · 2011-03-11Distributed Operating Systems vs Grid Computing OS OS OS OS OS OS US US US US US US Grid System Nodes Operating System Nodes User

OpenSSIExtensive guides and tutorials

Out of date OS support.Contrib contains xen kernel's. Possible to run

massive paravirtualized guests.Cluster virtual IP support

Similar to LVS ( Linux virtual Server )

Page 20: Distributed Operating Systems€¦ ·  · 2011-03-11Distributed Operating Systems vs Grid Computing OS OS OS OS OS OS US US US US US US Grid System Nodes Operating System Nodes User

KerrighedModification to the linux kernel.

2.6 branchCurrent release of 2.6.30x86, x86_64.

Single System ImageSingle process space.Checkpoint / RestartDistributed memory.

Page 21: Distributed Operating Systems€¦ ·  · 2011-03-11Distributed Operating Systems vs Grid Computing OS OS OS OS OS OS US US US US US US Grid System Nodes Operating System Nodes User

KerrighedSingle Process Space.

Global PID'sMashup of statistics.

Page 22: Distributed Operating Systems€¦ ·  · 2011-03-11Distributed Operating Systems vs Grid Computing OS OS OS OS OS OS US US US US US US Grid System Nodes Operating System Nodes User

Kerrighed

Small Kerrighed cluster running on commodity hardware.

Page 23: Distributed Operating Systems€¦ ·  · 2011-03-11Distributed Operating Systems vs Grid Computing OS OS OS OS OS OS US US US US US US Grid System Nodes Operating System Nodes User

KerrighedUbuntu 8.04Mandrivia 2008.0-Debian Lenny-

Support for x86 in <=2.3.0Support for x86_64 >= 2.4.0

Page 24: Distributed Operating Systems€¦ ·  · 2011-03-11Distributed Operating Systems vs Grid Computing OS OS OS OS OS OS US US US US US US Grid System Nodes Operating System Nodes User

KerrighedKernel arguments

session_idThe cluster identifier. Currently 256 clusters can

be on the same network.node_id

Individual node id. Used in internal workings.Autonodeid

If set makes node_id=x in 192.168.0.x