virtualization

23
Virtualization PRESENTED BY:- Yansi Keim B.Tech (Information Technology) VII Semester 01120703111 MENTOR:- Mr. Mahesh Saini Asst. Professor Department of Information Technology Copyright @ CBPGECJ

Upload: yansi-keim

Post on 06-Aug-2015

133 views

Category:

Engineering


0 download

TRANSCRIPT

Virtualization

PRESENTED BY:-Yansi KeimB.Tech (Information Technology) VII Semester01120703111

MENTOR:-Mr. Mahesh Saini

Asst. ProfessorDepartment of Information Technology

Copyright @ CBPGECJ

Contents

1. Aim: Operating System Virtualization

2. Steps Involved

3. 2.1 Virtualize the Base Machine1. 2.1.1 Using Virtual Box

2.2 Install OpenStack2. 2.2.1 Why DevStack?

3. References

Copyright @ CBPGECJ

Operating System Virtualization Operating system–level virtualization is where

the kernel of an operating system allows for multiple isolated user space instances, instead of just one.

Such instances (often called containers virtualization engines (VE), virtual private servers (VPS) or jails) may look and feel like a real server from the point of view of its owners and users.

Hardware

Virtualization Platform

OS 3OS 1 OS 2 OS 4

ApplicationsApplications Applications Applications

Copyright @ CBPGECJ

Fig. Operating System Virtualization

Copyright @ CBPGECJ

Implementing Details

Part 1Virtualize the base machine

Part 2Devstack for

Cloud Environment

Copyright @ CBPGECJ

Oracle VM VirtualBox

• It was created by innotek GmbH, purchased in 2008 by Sun Microsystems, and now developed by Oracle.

• Supported host operating systems include Linux, Mac OS X, Windows XP, Windows Vista, Windows 7, Windows 8, Solaris, and OpenSolaris; there are also ports to FreeBSD and Genode.

Oracle VM VirtualBox is a virtualization software package or x86 and AMD64/Intel64-based computers from Oracle Corporation as part of its family of virtualization products.

Copyright @ CBPGECJ

Part I Virtualize the Host OS

How to Install VirtualBox

VirtualBox allows you to create virtual computers within your physical computer, enabling you to run multiple operating systems without dealing with dual booting or hardware configurations. Setting up VirtualBox is very straightforward, and most of your time will be spent performing the standard operating system installation.

Will first install VirtualBox

Base OS is Windows 7

Guest OS will be Ubuntu 14.04

Copyright @ CBPGECJ

Step 1: Download VirtualBox

Copyright @ CBPGECJ

Step 2: Installing VirtualBox

Copyright @ CBPGECJ

Step 3: Creating a Virtual Machine

When creating a virtual machine, you will need to install the operating system just like you would on a regular computer. This means that you will need the installation discs for the operating system you want to install on the virtual machine. If you download the ISO file for the installation disc, you can burn it to a blank DVD, or install it directly from the ISO file.

Copyright @ CBPGECJ

Click the "New" button. This will open the wizard that will guide you through the process to create your first virtual machine.

Copyright @ CBPGECJ

Start the operating system installation. Once the virtual machine has been configured, the wizard will close and you will be taken back to the VirtualBox main window. Double-click your new machine in the left menu to start it up for the first time.

Copyright @ CBPGECJ

Set the amount of RAM. You will need to designate how much of your computer's RAM will be allocated to your virtual machine. VirtualBox will automatically choose the recommended minimum amount for the operating system you selected, but you can increase or decrease this if you'd like.

Copyright @ CBPGECJ

Create a virtual hard drive. Your virtual machine will need a virtual hard drive in order to install the operating system and any programs. This virtual hard drive is carved out of the free space available on your computer. VirtualBox will set a recommended size based on the operating system, but you can set it to whatever you'd like.

Copyright @ CBPGECJ

Install the operating system. After selecting the installation media, the operating system installation will begin. Installation proceeds the same way it would as if you were installing the operating system on a regular computer.  Copyright @ CBPGECJ

Part I Completed Successfully

After Virtualization (Step I)

Copyright @ CBPGECJ

Copyright @ CBPGECJ

Part II Deploy OpenStack

I. Select a Linux DistributionOnly Ubuntu 14.04 (Trusty), Fedora 20 and CentOS/RHEL 6.5 are documented here. OpenStack also runs and is packaged on other flavors of Linux such as OpenSUSE and Debian.II. Install Selected OSIn order to correctly install all the dependencies, we assume a specific minimal version of the supported distributions to make it as easy as possible. We recommend using a minimal install of Ubuntu or Fedora server in a VM if this is your first time.III. Download DevStackgit clone https://github.com/openstack-dev/devstack.gitThe devstack repo contains a script that installs OpenStack and templates for configuration filesIV. ConfigureWe recommend at least a minimal configuration be set up.V. Start the installcd devstack; ./stack.sh

Copyright @ CBPGECJ

Node Configurations

Single Node- Only one server runs all nova-services and also drives all the virtual machine instances

Multiple Nodes-Adding compute nodes to the two node installation by simply installing Nova-compute on an additional server and copying nova.conf file to the added node

Copyright @ CBPGECJ

Horizon (‘Dashboard’)

Provides a browser based ‘control panel’ application for administrators and users

Copyright @ CBPGECJ

After OpenStack (Step II)

References

• http://en.wikipedia.org/wiki/Virtualization• (Sep 07th, 14 || 23:11:02)• https://www.virtualbox.org/wiki/Linux_Downloads (Sep 06th, 14 || 01:01:10)• http://www.ehow.com/about_6712642_dual-boot-vs_-virtual.html (Aug 04th,

14 || 11:41:02)• http://devstack.org/overview.html (October 01st, 14|| 01.05:02)• http://www.slideshare.net/khinnu4u/developing-withdevstack?related=1

(October 02nd, 14|| 03.15:02)• http://opencontrail.org/opencontrail-and-devstack/ (October 03rd, 14||

15.07:02)• http://

wordeology.com/computer/complete-guide-to-setting-up-an-openstack-development-environment-devstack-in-kvm-with-kvm-in-kvm-for-guests.html (October 04th, 14|| 14.15:02)

Copyright @ CBPGECJ