Kittiphan Techakittiroj (19/09/58 09:28 น. 19/09/58 09:28 น. 19/09/58 09:28 น.) Operating Systems: OS for Client and Server Kittiphan Techakittiroj
Kittiphan Techakittiroj (19/09/58 09:28 น. 19/09/58 09:28 น. 19/09/58 09:28 น.) Server –Job of Server –What do servers need from OS? Client –Job of Client –What do clients need from OS? Examples Agenda
Kittiphan Techakittiroj (19/09/58 09:28 น. 19/09/58 09:28 น. 19/09/58 09:28 น.) Waits for Client-Initiated Requests: polling or dedicated session Executes many requests at the same time: multi-threaded or multi-process, sharing resource (e.g. network connections, files) Service Priority: VIP clients Server Characteristics
Kittiphan Techakittiroj (19/09/58 09:28 น. 19/09/58 09:28 น. 19/09/58 09:28 น.) Initiates and runs background-task activity: scheduling (corn in UNIX) Reliability: stable, reliable Expanable: bigger, fatter, faster Server Characteristics cont.
Kittiphan Techakittiroj (19/09/58 09:28 น. 19/09/58 09:28 น. 19/09/58 09:28 น.) Base Services –standard for most OS –built-in Extended Services –add-on modular software no definite line between these two change with time What do servers need from OS?
Kittiphan Techakittiroj (19/09/58 09:28 น. 19/09/58 09:28 น. 19/09/58 09:28 น.) Multi-tasking Environment Task Management Resource Management Process Communication Base Services What do servers need from OS?
Kittiphan Techakittiroj (19/09/58 09:28 น. 19/09/58 09:28 น. 19/09/58 09:28 น.) Standard Requirement Two main categories: –Process: different programs communicate to each other. –Thread: same program run many tasks. Faster to Create Faster to Context Switch Easier to access shared information Concurrent Programming What do servers need from OS?: Base Services
Kittiphan Techakittiroj (19/09/58 09:28 น. 19/09/58 09:28 น. 19/09/58 09:28 น.) Task Preemption: allow switch between tasks Task Priority Intertask Protection: protect tasks from interfering with each other Task Management What do servers need from OS?: Base Services
Kittiphan Techakittiroj (19/09/58 09:28 น. 19/09/58 09:28 น. 19/09/58 09:28 น.) File System –lock mechanism to protect the integrity –large number of file handle Memory management –swap mechanism Resource Management What do servers need from OS?: Base Services
Kittiphan Techakittiroj (19/09/58 09:28 น. 19/09/58 09:28 น. 19/09/58 09:28 น.) Interprocess Communications (IPC): allow processes to talk to each other Local/Remote Interprocess Communications: transparent between local and remote Process Communication What do servers need from OS?: Base Services
Kittiphan Techakittiroj (19/09/58 09:28 น. 19/09/58 09:28 น. 19/09/58 09:28 น.) Easier to Implement Reliable Portable Expandable Extended Services What do servers need from OS?
Kittiphan Techakittiroj (19/09/58 09:28 น. 19/09/58 09:28 น. 19/09/58 09:28 น.) Ubiquitous Communications: provide variety of communications protocol Network Operating System Extensions: file and print services over the network Internet Services: web servers, ftp servers Global Directories and Network Yellow Pages Networking What do servers need from OS?: Extended Services
Kittiphan Techakittiroj (19/09/58 09:28 น. 19/09/58 09:28 น. 19/09/58 09:28 น.) Binary Large Objects (BLOBs): keeping large object as one single object Network Time: allow time synchronization Data and Transaction Services: SQL, Transaction Processing Monitor Authentication and Authorization Services: mainly for security System Management Supporting What do servers need from OS?: Extended Services
Kittiphan Techakittiroj (19/09/58 09:28 น. 19/09/58 09:28 น. 19/09/58 09:28 น.) Object-Oriented Services Support of Multi-processor: –Asymmetric Multiprocessing –Symmetric Multiprocessing Supporting cont. What do servers need from OS?: Extended Services
Kittiphan Techakittiroj (19/09/58 09:28 น. 19/09/58 09:28 น. 19/09/58 09:28 น.) Non-GUI: no UI or Text-based UI simple GUI-Client (Graphical UI) OOUI Client (Object-Oriented UI) no definite line between them Client Characteristics
Kittiphan Techakittiroj (19/09/58 09:28 น. 19/09/58 09:28 น. 19/09/58 09:28 น.) Do NOT Need Multi-tasking: automatic teller machines (ATMs), barcode readers, cellular phone Need Multi-tasking: robots, computer numerical control (CNCs) Non-GUI Client Client Characteristics
Kittiphan Techakittiroj (19/09/58 09:28 น. 19/09/58 09:28 น. 19/09/58 09:28 น.) What do clients need from OS?
Kittiphan Techakittiroj (19/09/58 09:28 น. 19/09/58 09:28 น. 19/09/58 09:28 น.) Client-OS: Windows98, MacOS Server-OS: WindowsNT Server, AIX Both: Linux OS Examples
Kittiphan Techakittiroj (19/09/58 09:28 น. 19/09/58 09:28 น. 19/09/58 09:28 น.) Windows 3.1 Windows 95 & 98 WindowsNT Client WindowsNT Server Advantage –User Interface –Support (Hardware, Technical) Microsoft OS OS Examples
Kittiphan Techakittiroj (19/09/58 09:28 น. 19/09/58 09:28 น. 19/09/58 09:28 น.) Designed mainly to be workstation MacOS OS Examples
Kittiphan Techakittiroj (19/09/58 09:28 น. 19/09/58 09:28 น. 19/09/58 09:28 น.) Old system: VAX/VMS Usually not support the connectivity between computer Proprietary Systems Legacy System OS Examples
Kittiphan Techakittiroj (19/09/58 09:28 น. 19/09/58 09:28 น. 19/09/58 09:28 น.) Specific Vendors: HP (HP/UX), Sun (Solaris), SGI (IRIX), IBM (AIX) Customized for Specific Machine Advantage –Connectivity –Stability –Scalability –Multi-user –Multi-tasking Proprietary UNIX OS Examples
Kittiphan Techakittiroj (19/09/58 09:28 น. 19/09/58 09:28 น. 19/09/58 09:28 น.) Freeware Advantage –Low Cost –Multi-platform: 386-based system, SPARC, PowerPC, Digital Alpha, etc. –Advantage of normal UNIX Linux OS Examples
Kittiphan Techakittiroj (19/09/58 09:28 น. 19/09/58 09:28 น. 19/09/58 09:28 น.) OS Comparision
Kittiphan Techakittiroj (19/09/58 09:28 น. 19/09/58 09:28 น. 19/09/58 09:28 น.) OS Comparision cont.
Kittiphan Techakittiroj (19/09/58 09:28 น. 19/09/58 09:28 น. 19/09/58 09:28 น.) Guide to Choose OS Addresses your current needs Interoperability Support for different hardware platforms Maintainability
Kittiphan Techakittiroj (19/09/58 09:28 น. 19/09/58 09:28 น. 19/09/58 09:28 น.) Reference Books Client/server survival guide 3 rd edition by Robert Orfali, Dan Harkey, Jeri Edwards (John Wiley & Sons: 1999) Operating Systems Comparision by Phil Hughes ( Jan 1999)