• No results found

Redhat Virtualization

N/A
N/A
Protected

Academic year: 2021

Share "Redhat Virtualization"

Copied!
54
0
0

Loading.... (view fulltext now)

Full text

(1)

Redhat Virtualization By: Ankur Verma C.S.E- VI Sem 0902710018 A.K.G.E.C,Ghaziabad

(2)

Agenda

• Physical Vs Logical(Demo)

• Virtualization: The What?

• Virtualization: The How?

• Virtualization: The Why?

• Redhat Virtualization(Demo)

• Virtualization Vs. Virtualization

(3)

Physical Vs Logical

A demonstration for Logical Volume Manager

(L.V.M) is suffice enough to give an insight of how great the things are if scaled ahead the physical boundaries…

(4)

• Commands required for configuration:

Create the required partitions.

#fdisk /dev/sda

Create the physical volumes

#pvcreate /dev/sda{5,6,7}

Watch the pvsize and also the non usable size of the partition

#pvdisplay

Create volume group of the three partitions thus formed

#vgcreate vg0 /dev/hda{5,6,7} #vgdisplay

create the logical volume of the volume group thus formed using command:

#lvcreate -L +50M /dev/vg0 -n lv0 #lvdisplay

(5)

We can even extend this logical volume thus formed using the following command depending upon our use:

#lvextend -L +25M /dev/vg0/lv0

Display the logical partition which actually exists for use:

#ls /dev/vg*

Finally after the partition is created:

mount a file system to it using command:

mkfs.ext3 -L /lvm_data /dev/vg0/lv0

Mounting it on a directory to use.

mount /dev/vg0/ /mnt

(6)

Virtualization :

(7)

In Past

One operating system on one machine , so ,the OS had complete control of the resources in that

machine. Various applications would run on that machine, but these applications could affect each other.

Machine utilisation was very low, most times it was below 20%.

Even Now!!

(8)

Low server utilization, and

(9)

then came the era of

(10)

Virtualization :

(11)

Virtualization, in computing, is the creation of a virtual (rather

than actual) version of something, such as a hardware platform, operating system, a storage device or network resources.

The usual goal of virtualization is to centralize administrative tasks while improving scalability and overall hardware-resource utilization.

(12)

Virtual Machine Monitor(or Hypervisor)

Each virtual machine interfaces with its host system via the virtual machine

monitor (VMM). Being the primary link between a VM and the host OS and

hardware, the VMM provides a crucial role.

(13)
(14)
(15)

OS and Apps in a VM don't know that the VMM exists or that they share CPU

resources with other VMs

VMM should run protected from all Guest software

VMM should isolate Guest SW stacks from one another

VMM should present a virtual platform interface to Guest SW

(16)

x86 modes: Privilege Levels

• x86 processor’s segment-protection mechanism recognizes 4 privilege levels (0-high, 3-low level)

• The center (reserved for the most privileged code) is used for the segments containing the critical software, usually the kernel of an operating system.

• Outer rings are used for less critical software.

• The processor uses privilege levels to prevent a program or task operating at a lesser privilege level from accessing a segment with a greater privilege, except under controlled situations.

(17)

Full Virtualization

Para Virtualization

Virtualization Types:

(18)

Full Virtualization

Complete simulation of the underlying

hardware.

Every salient feature of the hardware is

reflected into one of several virtual machines –

including the full instruction set, input/output

operations, interrupts, memory access, and

whatever other elements are used by the

software that runs on the bare machine, and

that is intended to run in a virtual machine.

(19)

Para Virtualization

presents a software interface to virtual

machines that is similar but not identical to

that of the underlying hardware.

The intent of the modified interface is to

reduce the portion of the guest's execution

time spent performing operations which are

substantially more difficult to run in a virtual

environment compared to a non-virtualized

environment.

(20)

Virtualization :

(21)

Major Hypervisors

Xen : University of Cambridge Computer Laboratory Fully open sourced

Set of patches against the Linux kernel

VMware ESX : Closed source

Proprietary drivers

VirtualBox: a free hypervisor from SUN Systems. Limited functionality

(22)

Xen

Hypervisor that supports x86, x86_64, Itanium,

and ARM architectures.

can run Linux, Windows, Solaris, and some of the

BSDs as guests on their supported CPU

architectures.

can do full virtualization on systems that support

virtualization extensions, but can also work as a

hypervisor on machines that don't have the

virtualization extensions.

(23)

• If you want to run a Xen host, you need to have a supported kernel.

• Though after kernel 2.6.23 ,linux has started to

(24)

KVM

Hypervisor that is in the mainline Linux kernel.

runs on x86 and x86-64 systems with hardware

supporting virtualization extensions.

KVM isn't an option on older CPUs made before

the virtualization extensions were developed, and

it rules out newer CPUs (like Intel's Atom CPUs)

that don't include virtualization extensions.

If you're getting a recent Linux kernel, you've

already got KVM built in.

(25)

System Requirements

Xen para-virtualization requirements

• Para-virtualized guests require a Red Hat Enterprise Linux 5 installation tree available over the network using the NFS, FTP or HTTP protocols.

Xen full virtualization requirements

Full virtualization with the Xen Hypervisor requires:

• an Intel processor with the Intel VT extensions, or

(26)

KVM requirements

The KVM hypervisor requires:

• an Intel processor with the Intel VT and the Intel

64 extensions, or

• an AMD processor with the AMD-V and the

(27)

Red Hat

(28)

Virtualization with Red Hat

Red Hat Virtualization provides a complete package of almost all types of virtualizations

1. Server/operating system virtualization

 integrated into kernel and OS platform(as KVM)

2. Storage virtualization: Global data

 Red Hat Global File System/CLVM

3. System management, resource management, provisioning

 Red Hat Network

4. Application environment consistency with non-virtualized environments

(29)

Red Hat Enterprise Linux Advanced

Platform

Shared Storage

• Server and storage virtualization extends across multiple systems

(30)

Red Hat Enterprise Linux

Advanced Platform

A fully integrated server and storage virtualization environment Multi Host/Instance Logical Volume Management

Multi Host/Instance Global File System Multi Host/Instance Application Migration

Provides a complete virtualization platform Server : Storage : Management

Simplifies deployment & manageability Increases flexibility & scalability

Integrates server & storage virtualization no special hardware

(31)

Installing an Operating System

Options Available:

1)GUI(Graphical User Interface) 2)CLI(Command Line Interface)

(32)

Basic packages Installation

# yum groupinstall Virtualization Libvirt

qemu-kvm

python-virtinst vir-manager

virt-viewer

The dependencies are configured automatically during the installation process.

(33)
(34)

Open the Virtual Machine Manager window. Select Applications System

(35)

Add a connection. Select File Add

Connection. The Add Connection pop-up appears.

(36)

Add a new Virtual Machine: Select

(37)
(38)
(39)
(40)
(41)
(42)
(43)
(44)
(45)

Open Source Virtualization

(46)

Virtualization – It's gonna be

even better!

• Multiple Hypervisor Support

(Xen, KVM, ....)

• Even better deployment

Cobbler – next gen. Installation server

• More manageble

oVirt (free platform virtualization management web application software developed by Red Hat)

(47)

VMware Vs. VirtualBox Vs. KVM

Domains for comparison:

• Device Support

• Ease of use

• Installation

• Administration

• Look & Feel

• Performance

(48)
(49)
(50)
(51)

Target

• The Enthusiasts

• The Architects

• The Executives

(52)

References

Websites: • http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Virtualization/ • http://en.wikipedia.org/wiki/Xen • http://xen.org/ • http://www.server-world.info/en/note?os=Ubuntu_10.04&p=kvm • http://www.linuxforu.com/2011/09/vmware-player-virtualbox-kvm-virtualization- comparative-review/http://www.linuxforu.com/2011/09/vmware-player-virtualbox-kvm-virtualization-comparative-review/ • https://www.linux.com/news/enterprise/systems-management/327628-kvm-or-xen-choosing-a-virtualization-platform Persons

• Mr. Abhay Verma, IT (VIII Sem), AKGEC

• Mr. Saurabh Singh

SENIOR ASSOCIATE , Headstrong Corporation Ltd

(53)

Contd..

Documents and Books:

Xen and the Art of Virtualization

Paper by:

Paul Barham, University of Cambridge Computer Laboratory

Fedora Bible: 2010 Edition By: Wiley Publication

Virtualization Guide: Red Hat Virtualization

(54)

References

Related documents

* Red Hat Enterprise Linux OpenStack Platform 4 * Red Hat Enterprise Linux OpenStack Platform 3 * RedHat Certified Virtualization Administrator (RHCVA) *

Critical Timeframe Now Hardware Virtualization Network Virtualization Server Virtualization Storage Virtualization Applications Infrastructure Dimensions of Virtualization

Red Hat Enterprise Linux 6 27 Operating system Multi-path I/O High availability Systems management Volume/storage Management High Performance Networking Server virtualization.

Networked Storage and Storage Virtualization Server Virtualization VM 1 VM 2 Desktop Virtualization Desktop VM Virtual App Virtual App Networking Storage Servers

EMC Rainfinity Global File Virtualization (GFV) optimizes heterogeneous NAS and file server environments making them simpler to manage while dynamically moving information

NetApp offers intelligent virtualized storage, data protection, and business continuance solutions that complement Microsoft Hyper-V server virtualization technology and

During the last decades, the technology of Radio Frequency Identification (hereafter RFID) has been widely used for practical functions in different disciples including; air

He argued that language is neither an adequate expression of thought, nor an accurate representation of “reality.” The lecture was itself a polemical response to a brief