Www.ischool.drexel.edu INFO 320 Server Technology I Week 1 Server operating system and hardware concepts 1INFO 320 week 1.

Slides:



Advertisements
Similar presentations
Interactive lesson about operating system
Advertisements

OS Components and Structure
OPERATING SYSTEM An operating system is a group of computer programs that coordinates all the activities among computer hardware devices. It is the first.
Operating System Structures
Computer Hardware & Systems
Computers Software. Computer Layers Hardware BIOS Operating System Applications.
Operating-System Structures
What You Will Learn Components of a computer’s system software The importance of an operating system Functions of an operating system Types of user interfaces.
CMPT 300: Final Review Chapters 8 – Memory Management: Ch. 8, 9 Address spaces Logical (virtual): generated by the CPU Physical: seen by the memory.
INTRODUCTION OS/2 was initially designed to extend the capabilities of DOS by IBM and Microsoft Corporations. To create a single industry-standard operating.
Operating Systems. What is an Operating System? A layer of software between users/applications and the hardware. The first program loaded onto a computer.
Operating Systems BTEC IT Practitioners.
OS Spring’03 Introduction Operating Systems Spring 2003.
Computer Forensics Principles and Practices by Volonino, Anzaldua, and Godwin Chapter 6: Operating Systems and Data Transmission Basics for Digital Investigations.
1 Operating Systems Ch An Overview. Architecture of Computer Hardware and Systems Software Irv Englander, John Wiley, Bare Bones Computer.
Lecture 1: Introduction CS170 Spring 2015 Chapter 1, the text book. T. Yang.
Xuan Guo Chapter 1 What is UNIX? Graham Glass and King Ables, UNIX for Programmers and Users, Third Edition, Pearson Prentice Hall, 2003 Original Notes.
Operating Systems.
Operating Systems Concepts 1. A Computer Model An operating system has to deal with the fact that a computer is made up of a CPU, random access memory.
What do operating systems do? manage processes manage memory and computer resources provide security features execute user programs make solving user.
The University of Akron Summit College Business Technology Department Computer Information Systems 2440: 145 Operating Systems Introduction to UNIX/Linux.
Operating System.
SOFTWARE.
Chapter 3  Manage the computer’s resources ◦ CPU ◦ Memory ◦ Disk drives ◦ Printers  Establish a user interface  Execute and provide services for applications.
Week 6 Operating Systems.
Section 6.1 Explain the development of operating systems Differentiate between operating systems Section 6.2 Demonstrate knowledge of basic GUI components.
Chapter 3 Operating Systems Concepts 1. A Computer Model An operating system has to deal with the fact that a computer is made up of a CPU, random access.
Chapter 3.1:Operating Systems Concepts 1. A Computer Model An operating system has to deal with the fact that a computer is made up of a CPU, random access.
Chapter 3 Operating Systems Introduction to CS 1 st Semester, 2015 Sanghyun Park.
Fundamentals of Networking Discovery 1, Chapter 2 Operating Systems.
Ceng Operating Systems
Operating System. Architecture of Computer System Hardware Operating System (OS) Programming Language (e.g. PASCAL) Application Programs (e.g. WORD, EXCEL)
Operating Systems  A collection of programs that  Coordinates computer usage among users  Manages computer resources  Handle Common Tasks.
Silberschatz, Galvin and Gagne  2002 Modified for CSCI 399, Royden, Operating System Concepts Operating Systems Lecture 1 Introduction Read:
Chapter 2: Operating-System Structures. 2.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Jan 14, 2005 Operating System.
Computing and the Web Operating Systems. Overview n What is an Operating System n Booting the Computer n User Interfaces n Files and File Management n.
Section 3.1: Operating Systems Concepts 1. A Computer Model An operating system has to deal with the fact that a computer is made up of a CPU, random.
Operating Systems Sara Mullan Johns Hopkins University Fall 2010
Chapter 4 Storage Management (Memory Management).
Operating System (OS) Basics. Operating System Basics Software (applications) Operating System (OS) Hardware.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
Operating Systems. Overview What is an Operating System (OS) What is an Operating System (OS) What Operating Systems do. What Operating Systems do. Operating.
1 Threads, SMP, and Microkernels Chapter Multithreading Operating system supports multiple threads of execution within a single process MS-DOS.
Topic 5a Operating System Fundamentals. What is an operating system? a computer is comprised of various types of software device drivers (storage, I/O,
Application Software System Software.
Lecture 1: Network Operating Systems (NOS) An Introduction.
Operating Systems: Summary INF1060: Introduction to Operating Systems and Data Communication.
Introduction to Operating System. 1.1 What is Operating System? An operating system is a program that manages the computer hardware. It also provides.
Computer Operating Systems And Software applications.
Operating System (Reference : OS[Silberschatz] + Norton 6e book slides)
Threads, SMP, and Microkernels Chapter 4. Processes and Threads Operating systems use processes for two purposes - Resource allocation and resource ownership.
Operating Systems (Credit to: Rick Graziani of Cabrillo College)
1 Chapter 2: Operating-System Structures Services Interface provided to users & programmers –System calls (programmer access) –User level access to system.
Software.
Operating System & Application Software
Operating Systems & System Software
Lecture 1-Part 2: Operating-System Structures
2. OPERATING SYSTEM 2.1 Operating System Function
Chapter 1: Introduction
Operating System Structure
What is an Operating System?
Chapter 4 The Power behind the Power
Operating Systems : Overview
Chapter 2: System Structures
Operating Systems : Overview
Lecture 1-Part 2: Operating-System Structures
Chapter 4 The Power behind the Power
Operating Systems : Overview
Operating Systems : Overview
OS Components and Structure
Presentation transcript:

INFO 320 Server Technology I Week 1 Server operating system and hardware concepts 1INFO 320 week 1

Overview This course covers basic operating system (OS), server, and architecture concepts Here we’ll mainly focus on server operating systems, though much of their functionality is done by any OS 2INFO 320 week 1

Linux and UNIX Much of our emphasis will be on Linux and UNIX, since that’s the OS in most servers –The labs will use the Ubuntu distribution of LinuxUbuntu Linux –What other kinds of server operating system are there? –What kind of operating systems are there, other than server OS’s? 3INFO 320 week 1

What does an OS do? An OS lets applications use server hardware User Application OS Hardware CLI or GUI API or system calls Interrupts or device drivers 4INFO 320 week 1

Server hardware So the point of an operating system is to be able to access hardware What hardware does a server have? –What hardware characteristics do we care about from the selection or management perspective? 5INFO 320 week 1

Possible traits of an OS What are these terms? –Multi-user OS –Multiprocessing OS –Multitasking OS Which of these can a server OS perform? 6INFO 320 week 1

7 Resources and Sharing One way to look at a computer is as a set of resources –The CPU of a computer is a resource –The memory of a computer is a resource –The keyboard of a computer is a resource –The hard disk drive of a computer is a resource INFO 320 week 1

8 Why consider this way of looking at computers? Since the CPU of a computer operates at extremely high speeds, and since there is a speed differential between the CPU and other resources When the CPU is waiting for another resource, it is essentially wasting time – if the only thing that it is doing is waiting INFO 320 week 1

9 Resources and sharing On the other hand if we can have the CPU do something else while it is waiting for a resource we can make better use of the CPU resource – we won’t waste as much of the capability of the resource If we were to do this then we would be able to share the CPU resource among more than a single task The term multitasking derives from this approach Multitasking allows us to share computer resources The sharing of one or more computer resources is controlled by scheduling INFO 320 week 1

What does an OS do? Process management Interrupts Memory management Storage management and disk access Device drivers Networking Security 10INFO 320 week 1

Process management Executing a process means creation of a process by the OS A task is a collection of processes The OS kernel creates a process by assigning it memory, and defining its priority Then the program is loaded into memory, and executed by the (a?) CPU 11INFO 320 week 1

12 Process management In order to multitask, we need a mechanism to share all of the computer resources among the tasks that require it The sharing requires a manager, called the kernel of the operating system INFO 320 week 1

Process management A process can be in three possible states ready waiting executing Needs data Gets data Needs data Gets data and CPU Gets CPU Is preempted 13INFO 320 week 1

Process management Having multiple processes leads to the need for scheduling Processes are assigned priorities CPU time goes to highest-priority process that is ready 14INFO 320 week 1

Interrupts An interrupt is a signal informing a program that an event has occurred –Interrupts are handled by the OS kernel, and may come from software or hardware When an interrupt is received, the hardware suspends whatever program is running, and might take other actions 15INFO 320 week 1

Interrupts Hardware interrupts might include –Keystrokes –Inputs from other devices (mouse, printer, etc.) Software interrupts include –A program needs to get to hardware (save a file) –Program needs more memory 16INFO 320 week 1

Memory management The OS kernel includes a memory management unit (MMU) –This makes it possible for several processes to share main memory –An application deals with logical memory addresses –The MMU deals with physical addresses 17INFO 320 week 1

Memory management The kernel protects memory usage via swapping, paging, and segmentation Swapping is when a process is temporarily moved to a backing storage location –The process is swapped out to storage, then back in 18INFO 320 week 1

Memory management Paging manages physical memory space –Physical memory is divided into frames –Logical memory is divided into pages –Frames and pages have the same size, defined by the hardware involved 19INFO 320 week 1

Memory management Segmentation is the mapping of logical address space for each process into segments –A segment table keeps track of each segment’s name, length, and the offset to find its physical memory location Attempts to address other memory locations results in a segmentation fault interrupt 20INFO 320 week 1

Storage management All OS’s need a way to access stored data Data is stored on devices using files and directories Files are structured to allow fast access, improve reliability, and make efficient use of space A file system is a method for storing and organizing data 21INFO 320 week 1

Storage management OS activities include –Create and delete files and directories –Manipulate files and directories –Back up files onto storage media UNIX and Linux support Virtual File Systems (VFS) –Allows interoperability with Mac and Windows, transparent to the user 22INFO 320 week 1

Storage management File system examples –Solaris uses Unix file system –Linux uses extended file system (ext4) –MS-DOS used File Allocation Tables (FAT) –Mac OS used Hierarchical File System (HFS), and now supports Unix file systems –Windows NT/XP/Vista/7 use NT File System (NTFS) 23INFO 320 week 1

Device drivers Device drivers allow software to communicate with specific kinds of hardwareDevice drivers Each OS has drivers for each device Hardware manufacturers develop drivers 24INFO 320 week 1

Networking Most OS’s support various networking protocols, both open source and proprietary formats –What networking protocols might you expect to be supported? Various network architectures are also supported –Client/server, peer to peer, hybrid 25INFO 320 week 1

Security Within a network, the server OS is a critical security component –Controls access to processes, and data Networking aspect also affects external security threats –Denial of service, worms, Trojan horses, etc. 26INFO 320 week 1

Security Within a network, security is controlled by user and group identification –User has a user ID –Belongs to a group which has a group ID –Anyone else is considered ‘other’ = outside your group 27INFO 320 week 1

Security Each file and directory can be controlled to have different privileges for user, group, and other (u-g-o) The allowed privileges are –read –write (includes create, modify, or delete) –execute (application or script) 28INFO 320 week 1

OS Examples Microsoft Windows –Huge worldwide market share –Windows NT is the basis for Windows 2000, XP, Vista, and 7, plus Windows Server 2003 and INFO 320 week 1

OS Examples Unix –Now over 40 years old, the longest lived family of operating systems –Mainly used in business and academia Sun  Solaris (was SunOS)Solaris HP  HP/UXHP/UX IBM  AIXAIX SGI  IRIX (obsolete) NeXT (obsolete, but basis for Mac OS X) 30INFO 320 week 1

OS Examples Unix-like variants –Linux –FreeBSDFreeBSD –openSolarisopenSolaris 31INFO 320 week 1

OS Examples Macintosh –System 1-9 –OS X and OS X Server (based on BSD Unix)OS X OS X Server Mainframe OS’s –OS/400 (IBM AS/400) –DEC VMS and openVMSopenVMS –OS/360 (IBM mainframes e.g. RS/6000) 32INFO 320 week 1

OS Examples Google Chrome –Based on Linux –All apps other than the OS kernel will be delivered in a web browser –Apps and data are in the cloud, not locally 33INFO 320 week 1

OS Examples Real time OS’s –Typically used when time-predictable response to many inputs are needed Video or audio processing, system control software, many complex hardware/software systems –There are real time versions of Linux, and many other custom OS’s 34INFO 320 week 1