VIRTUALIZATION WITH SOLARIS A.V.Bogdanov, PyaeSoneKoKo State Marine Technical University, St.petersburg.

Slides:



Advertisements
Similar presentations
Operating System Level Virtualization Reza Farivar.
Advertisements

Virtual Machine Technology Dr. Gregor von Laszewski Dr. Lizhe Wang.
VMWare to Hyper-V FOR SERVER What we looked at before migration  Performance – Hyper-V performs at near native speeds.  OS Compatibility – Hyper-V.
NWCLUG 01/05/2010 Jared Moore Xen Open Source Virtualization.
Xen Virtualization Andrew Hamilton
VMware Infrastructure Alex Dementsov Tao Yang Clarkson University Feb 28, 2007.
Chapter 14 Virtual Machines
Overview Basic functions Features Installation: Windows host and Linux host.
Virtualization B. Ramamurthy. References Practical Virtualization Solutions: Virtualization from the Trenches by K. Hess and A. Newman, Prentice-Hall.
Virtualization for Cloud Computing
LINUX Virtualization Running other code under LINUX.
Integrating HADOOP with Eclipse on a Virtual Machine Moheeb Alwarsh January 26, 2012 Kent State University.
Red Hat Installation. Installing Red Hat Linux is the process of copying operating system files from a CD, DVD, or USB flash drive to hard disk(s) on.
Using Virtualization in the Classroom. Using Virtualization in the Classroom Session Objectives Define virtualization Compare major virtualization programs.
Methodologies, strategies and experiences Virtualization.
Tanenbaum 8.3 See references
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
An Introduction to Xen Prof. Chih-Hung Wu
Hosting Virtual Networks on Commodity Hardware VINI Summer Camp.
Guide to Linux Installation and Administration, 2e1 Chapter 3 Installing Linux.
Tutorial 11 Installing, Updating, and Configuring Software
Kernel Development using Virtualization Installing VMWare and using a virtual machine to build and test a Linux Kernel.
DIY: Your First VMware Server. Introduction to ESXi, VMWare's free virtualization Operating System.
Virtualization Lab 3 – Virtualization Fall 2012 CSCI 6303 Principles of I.T.
Hands-On Virtual Computing
SAIGONTECH COPPERATIVE EDUCATION NETWORKING Spring 2010 Seminar #1 VIRTUALIZATION EVERYWHERE.
SAIGONTECH COPPERATIVE EDUCATION NETWORKING Spring 2009 Seminar #1 VIRTUALIZATION EVERYWHERE.
Module 7: Hyper-V. Module Overview List the new features of Hyper-V Configure Hyper-V virtual machines.
Using Virtualization in the Classroom. Using Virtualization in the Classroom Session Objectives Define virtualization Compare major virtualization programs.
V IRTUALIZATION Sayed Ahmed B.Sc. Engineering in Computer Science & Engineering M.Sc. In Computer Science.
Xen Virtualization Last Update Copyright 2011 Kenneth M. Chipps Ph.D.
Linux in a Virtual Environment Nagarajan Prabakar School of Computing and Information Sciences Florida International University.
A RedStack Technology Company Oracle EMEA Database Partner of the Year Oracle Partner of the year 2010 & (0)
A Brief Intro to Virtualiztion. What is Virtualization? An abstraction Usually performed via software Many different types –Hardware –Software –Data –Network.
COMS E Cloud Computing and Data Center Networking Sambit Sahu
4061 Session 27 (4/23). Today Virtual Machines and Emulation.
Containers are the future of Cloud Pavel Odintsov CTO, FastVPS Eesti OU
APC by Schneider Electric– Bill Pasquill SSPCNSV Installation ●Steps needed to install PCNSV on VMware ESX server 3.5 ●Mount CD ●Copy files ●Run Installation.
Cisco Discovery Home and Small Business Networking Chapter 2 – Operating Systems Jeopardy Review Darren Shaver – Kubasaki High School – Okinawa, Japan.
Linux Exercise. Download and Install the latest CentOS version and latest Ubuntu/Fedora OS. Configure a unique Host Name and a permanent IP Address for.
Introduction to virtualization
Portable, Virtualized Oracle Environments on Solaris Sam Brunacini, ServerWare Session #127.
VirtualBox: How to create a Linux Virtual Machine.
Hands-On Virtual Computing
VM vs Container Xen, KVM, VMware, etc. Hardware emulation / paravirtualization Can run different OSs on the same box Dozens of instances OS sprawl problem.
Solaris 가상화 기술 이강산. What is a zone? A zone is a virtual operating system abstraction that provides a protected environment in which applications run.
Virtualization Redefined: Embedded virtualization through CGE7 and Docker. Paul Farmer Technical Solutions Engineering Manager MontaVista Software
Embedded Software Design Week II Linux Intro Linux Kernel.
Intro To Virtualization Mohammed Morsi
Virtualisation Exercise Installing VirtualBox Installing FreeBSD in a virtual machine Chris Wilson Joel Jaeggli AfNOG 2012.
Open Source Virtualization Andrey Meganov RHCA, RHCX Consultant / VDEL
Solaris containers (Zones) Server virtualization What zones are and how they are used in ECE/CIS at the University of Delaware Ben Miller.
Containers vs Others Xen, VMware, etc. ● Emulation/paravirtualization ● Can run different OSs on the same box ● Lower density/scalability ● OS sprawl problem.
Virtualization which isn't LXC (Linux Containers) Dobrica Pavlinušić DORS/CLUC, Zagreb,
VM vs Container Xen, KVM, VMware, etc. ● Hardware emulation / paravirtualization ● Can run different OSs on the same box ● Dozens of instances ● OS sprawl.
Using Virtualization in the Classroom
bitcurator-access-webtools Quick Start Guide
Virtualization for Cloud Computing
Seamless Guest OS's and more!
COP 4343 Unix System Administration
Virtualization Dr. Michael L. Collard
Container-based Operating System Virtualization: A scalable, High-performance Alternative to Hypervisors Stephen Soltesz, Herbert Potzl, Marc E. Fiuczynski,
Chapter 5: Using System Software
Building a Virtual Infrastructure
Virtualization overview
Oracle Solaris Zones Study Purpose Only
Running other code under LINUX
Intro about Contanier and Docker Technology
Different types of Linux installation
bitcurator-access-webtools Quick Start Guide
Presentation transcript:

VIRTUALIZATION WITH SOLARIS A.V.Bogdanov, PyaeSoneKoKo State Marine Technical University, St.petersburg

Network virtualization Storage virtualization Server virtualization

Full virtualization Paravirtualization OS resource virtualization

Better utilization of hardware resources Reduced time to market High availability Disaster recovery Testing new technologies Migrating services to new platforms

Solaris zones Linux branded zones Xen (dom0 and domU) Crossbow (virtualized network stacks) More to come …

 Better isolation as compared to a chroot (chroot jail).  Low overhead. LXC uses minimal resources in terms of RAM and hard drive space without the overhead of installing a guest OS in a virtual machine ( VMWare / VirtualBox / KVM ).  Applications and services (servers) run at native speed.  There is support for Linux containers in libvirt.  Linux containers work well with btrfs.  No special hardware is required, runs on 32 and 64 bit processors.  Linux containers are Open source.  Unlike XEN or OpenVZ, no patch is required to the kernel.

 Create control group filesystem as the root user. # mkdir -p /cgroup # mount none -t cgroup /cgroup Add to fstab so it will be there after a reboot. # vi /etc/fstab and add line below none /cgroup cgroup defaults 0 0  Applications to install. # apt-get install libvirt-bin debootstrap  We need to download and install this pkg. lxc_ _amd64.deb # dpkg -i lxc_ _amd64.deb

 # Create a container # lxc-create -f /path/to/{CONTAINER_NAME}/main/config/file -n {CONTAINER_NAME} # lxc-create -f /etc/lxc/lxc-centos.conf -n centos Create a rootfs directory # mkdir /var/lib/lxc/centos/rootfs  Copy files you worked on earlier. # cp -r /home/yourhomeidirectory/LXC/Centos5-x86_64/* /var/lib/lxc/{CONTAINER_NAME}/rootfs # cp -r /home/yourhomeidirectory/LXC/Centos5- x86_64/* /var/lib/lxc/centos/rootfs  Create this file for creating and setup default devices for your containers. # vi /usr/local/bin/lxc-config and add information below, also only needs to be run once for every new container you create.

 # cd /var/lib/lxc/CONTAINER_NAME}/rootfs/ # cd /var/lib/lxc/centos/rootfs/ # /usr/local/bin/lxc-config # fix /dev  Chrooting into the rootfs file system for centos # chroot /var/lib/lxc/centos/rootfs/ Setup root password for your container. # passwd root  Start or Remove some services from running # chkconfig sshd on # chkconfig httpd on # chkconfig xinetd off # chkconfig sendmail off  When finish type exit to finish chroot session.

 Destroy container and files # lxc-destroy -n {CONTAINER_NAME} # lxc-destroy -n centos Start container # lxc-start -n {CONTAINER_NAME} init # lxc-start -n centos init  Stop container # lxc-stop -n {CONTAINER_NAME} # lxc-stop -n centos  Connect to tty console # lxc-console -n centos -t 1 doesn’t seem to work for me.  Check your configuration # lxc-checkconfig  List containers # lxc-ls If you receive this error lxc-ls warning, got bogus unix line, reinstall uml-utiilities # sudo apt-get –reinstall install uml-utilities  Is it RUNNING or STOPPED # lxc-info -n {CONTAINER_NAME} # lxc-info -n centos

Containers may be used for a number of different reasons. These include:  Resource partitioning with maximum performance.  Multiple secure applications instances (e.g. a walled garden).  Process isolation (e.g. process jails).  GPL insulation.

1. Reduced overhead1. Reduced flexibility 2. Increased density2. Decreased isolation 3. Reduced sprawl

“LXC linux containers are reliable and predictable – and has what we need in an operating system. The Solaris OS also allows multiple applications to be consolidated onto a single system through virtualization, which makes it an ideal solution for standardization. Virtualization features ensure high availability, which is critical to Argonne’s environment.”

THANK YOU FOR LISTENING.