Solaris containers (Zones) Server virtualization What zones are and how they are used in ECE/CIS at the University of Delaware Ben Miller.

Slides:



Advertisements
Similar presentations
PlanetLab: An Overlay Testbed for Broad-Coverage Services Bavier, Bowman, Chun, Culler, Peterson, Roscoe, Wawrzoniak Presented by Jason Waddle.
Advertisements

Virtual Machine Technology Dr. Gregor von Laszewski Dr. Lizhe Wang.
MCTS Guide to Configuring Microsoft Windows Server 2008 Active Directory Chapter 2: Installing Windows Server 2008.
Chapter 9: Understanding System Initialization The Complete Guide To Linux System Administration.
Linux can be generally divided into four major components: 1. KERNEL – OS, ultimate boss The kernel is the core program that runs programs and manages.
What to expect.  Linux  Windows Server (2008 or 2012)
VSphere vs. Hyper-V Metron Performance Showdown. Objectives Architecture Available metrics Challenges in virtual environments Test environment and methods.
VIRTUALIZATION WITH SOLARIS A.V.Bogdanov, PyaeSoneKoKo State Marine Technical University, St.petersburg.
MCITP Guide to Microsoft Windows Server 2008 Server Administration (Exam #70-646) Chapter 11 Windows Server 2008 Virtualization.
Linux+ Guide to Linux Certification, Second Edition Chapter 3 Linux Installation and Usage.
1 Web Server Administration Chapter 3 Installing the Server.
CCNA 2 v3.1 Module 2.
Cambodia-India Entrepreneurship Development Centre - : :.... :-:-
Virtual Desktop Infrastructure Solution Stack Cam Merrett – Demonstrator User device Connection Bandwidth Virtualisation Hardware Centralised desktops.
Methodologies, strategies and experiences Virtualization.
Tanenbaum 8.3 See references
Linux+ Guide to Linux Certification, Third Edition
CompTIA Linux+ Certification
Linux+ Guide to Linux Certification Chapter Three Linux Installation and Usage.
Fundamentals of Networking Discovery 1, Chapter 2 Operating Systems.
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
Booting and boot levels
Guide to Linux Installation and Administration, 2e1 Chapter 3 Installing Linux.
Microkernels, virtualization, exokernels Tutorial 1 – CSC469.
UNIX System Administration OS Kernal Copyright 2002, Dr. Ken Hoganson All rights reserved. OS Kernel Concept Kernel or MicroKernel Concept: An OS architecture-design.
1 Guide to Novell NetWare 6.0 Network Administration Chapter 13.
Virtualization. Virtualization  In computing, virtualization is a broad term that refers to the abstraction of computer resources  It is "a technique.
Setting Up a Local WordPress Development Environment By Gregory Young Alternative Hosting
Benefits: Increased server utilization Reduced IT TCO Improved IT agility.
Virtualization: Not Just For Servers Hollis Blanchard PowerPC kernel hacker.
A study of introduction of the virtualization technology into operator consoles T.Ohata, M.Ishii / SPring-8 ICALEPCS 2005, October 10-14, 2005 Geneva,
Guide to Linux Installation and Administration, 2e1 Chapter 10 Managing System Resources.
1 Interface Two most common types of interfaces –SCSI: Small Computer Systems Interface (servers and high-performance desktops) –IDE/ATA: Integrated Drive.
UNIX (Linux) Introduction Module-1. OS Kernel In computing, the kernel is the central component of OS. It is a bridge between applications and the actual.
Processes Introduction to Operating Systems: Module 3.
Server Performance, Scaling, Reliability and Configuration Norman White.
VApp Product Support Engineering Rev E VMware Confidential.
Full and Para Virtualization
Docker and Container Technology
Portable, Virtualized Oracle Environments on Solaris Sam Brunacini, ServerWare Session #127.
Hands-On Virtual Computing
Cloud Computing – UNIT - II. VIRTUALIZATION Virtualization Hiding the reality The mantra of smart computing is to intelligently hide the reality Binary->
2: Operating Systems Networking for Home & Small Business.
Solaris 가상화 기술 이강산. What is a zone? A zone is a virtual operating system abstraction that provides a protected environment in which applications run.
Operating Environment. Installation and Upgrade Options Solaris suninstall program Solaris Web Start Installation Custom Jumpstart procedure Standard.
UNIX U.Y: 1435/1436 H Operating System Concept. What is an Operating System?  The operating system (OS) is the program which starts up when you turn.
Thousands of Linux Installations (and only one administrator) A Linux cluster client for the University of Manchester A V Le Blanc I T Services University.
 Each interface card that was detected correctly will be listed under the Network Devices section. Ethernet devices in Linux are named eth0, eth1, eth2,
Linux Introduction Linux was developed in the early 1990’s by Linus Torvald computer science student at the University of Helsinki Linux is distributed.
UDel CISC361 Study Operating System principles - processes, threads - scheduling - mutual exclusion - synchronization - deadlocks - memory management -
Open Source Virtualization Andrey Meganov RHCA, RHCX Consultant / VDEL
Operating System Basics
Installing VMware ESX and ESXi
Apache web server Quick overview.
File System Implementation
Network Operating System Lab
What is Virtualization Last Update
Container-based Operating System Virtualization: A scalable, High-performance Alternative to Hypervisors Stephen Soltesz, Herbert Potzl, Marc E. Fiuczynski,
Operating System Structure
Installing Windows Server 2008
Welcome! Thank you for joining us. We’ll get started in a few minutes.
Active Directory Administration
Virtualization overview
Oracle Solaris Zones Study Purpose Only
1. 2 VIRTUAL MACHINES By: Satya Prasanna Mallick Reg.No
Virtualization Layer Virtual Hardware Virtual Networking
HC Hyper-V Module GUI Portal VPS Templates Web Console
Cloud computing mechanisms
Lecture Topics: 11/1 General Operating System Concepts Processes
Presentation transcript:

Solaris containers (Zones) Server virtualization What zones are and how they are used in ECE/CIS at the University of Delaware Ben Miller

Zones - Containers Server Consolidation Run multiple workloads on system Improve utilization of resources Reduce costs Run workloads in isolation Cannot observe others Security Isolation Running apps as different user not enough - privilege escalation bugs

Solaris Zones Part of Solaris 10 and beyond Available on sparc and x86/x64 Applications run with no changes Virtual machine No significant impact on performance Little overhead

Must solve consolidation problems Name space isolation - own hostname, IP, name services Security isolation resource allocation management Must support commercial applications

A virtual machine SW in zone should work without change Admins should not need special scripts System should look and feel like normal host Work on single cpu systems and multi cpu systems. Support several zones on one system.

Address design principles State model describes life cycle Configuration engine to describe a zone Installation support in zone path Application environment Virtual platform

Zone States Configured: configuration done, not installed yet. Installed: installed according to the configuration. Ready: zsched process created, initialize network and devices. No user processes yet. Running: init is created and rest of env can run for apps. Shutting down: remains in this state until all user processes are destroyed. Down: remains in this state until virt. Platform completely destroyed. Then go to installed.

Global zone The global zone is the default zone traditional single zone system Global zone has access to and controls non-global zones

Zone commands zonecfg - to configure zone info stored in xml file zoneadm – used to admin zone subcommands include install, boot, reboot, halt, shutdown zlogin – to log into zone -C option gives access to zone console -z or -Z options added to commands like ps, prstat and others for use in global.

Resource controls Can limit amount of cpu used - limit # of processors used - use fair share scheduling to limit % used Can also limit amount of RAM and swap Placing limits on network usage also planned for the future.

Non-Global zones A system can have several non-global zones Each can be running different set of services non-global zones are isolated – cannot effect other zones (or even observe them) All zones in a system share resources.

Zone disk usage Full and sparse zones zonecfg is given a dir for zone root read-only lofs mounts used a lot zones can take very little disk space By leveraging ZFS more things are possible

Security considered As part of the design devices are limited only root in global zone can access a zone root filesystem. A zones hacking contest was held.

Operating systems supported Solaris 10 and beyond BrandZ – Currently lx (Linux ) is supported. (32bit) - experimental Linux 2.6 kernel (lacking needed features) Also Solaris 8 and 9 zones

First use in ECE/CIS Shortly after Solaris 10 3/05 released 3 old servers upgraded to one - advstudies, ntp, cgi - old servers wouldn't run Solaris 10 - used an Ultra 5 as first system - eventually merged onto new system with several more zones.

More ECE/CIS Examples Current web hardware is running 26 zones - eecis, ece, cis web servers - several research groups - other web servers for classes, etc - development zone - used to host LUG web server - College of Engineering web servers Load balance zones - use zones to create aliases users can use to log into a group.

More ECE/CIS Examples Samba zones (most on X4540) - ECE/CIS research - ECE/CIS academic (classes) - ECE office - CIS office Name services (NIS, DNS, LDAP) - redundant servers - separate LDAP zones for samba

More ECE/CIS Examples Application server/compute servers - divide up for research/acad - offer Solaris and Linux* (w/ xen now) - use another zone to load balance... - amd64 and sparc hardware used Linux brandz zones for Matlab, Opnet - Limited to 2.4 kernel kernel support lacking - transitioned to xVM (xen) for 2.6

More ECE/CIS Examples An X zone for general research use - zone where researcher has root - Solaris and Linux (moved to xen) Resource controls used - Fair-Share scheduling (FSS) - limit memory and swap - limit processors