Sei sulla pagina 1di 35

Unit 2

Introduction to Virtualization

PUBLIC Copyright @ 2018, Infosys Limited


Copyright Guideline
© 2017-2018 Infosys Limited, Bangalore, India. All Rights Reserved.

Infosys believes the information in this document is accurate as of its publication date;
such information is subject to change without notice. Infosys acknowledges the
proprietary rights of other companies to the trademarks, product names and such other
intellectual property rights mentioned in this document. Except as expressly permitted,
neither this documentation nor any part of it may be reproduced, stored in a retrieval
system, or transmitted in any form or by any means, electronic, mechanical, printing,
photocopying, recording or otherwise, without the prior permission of Infosys Limited
and/ or any named intellectual property rights holders under this document.

PUBLIC Copyright @ 2018, Infosys Limited 2


• Virtualization
• Server Virtualization
- Full Virtualization
Introduction to Virtualization - Para Virtualization
- OS Level Virtualization
• Virtual Machine Migration
• Virtualization v/s Cloud Computing

PUBLIC Copyright @ 2018, Infosys Limited 3


Virtualization

PUBLIC Copyright @ 2018, Infosys Limited


Virtualization
• Is the creation of a virtual(not actual) version
• It can be a virtual server, storage, operating system, or virtual network resources
• Is a technique which abstracts the underlying physical resources to provide a simulated
environment
• This simulated environment is called a virtual machine (VM)
• The abstraction also allows a single machine to be showcased as multiple virtual
machines

PUBLIC Copyright @ 2018, Infosys Limited 5


History of Virtualization

Data Center is a secured facility to house IT equipment.


• It provides redundancy on power supply, environmental controls (e.g. AC, fire
suppression, data communication connections and security devices)
Conventional Data Centers have
• Multiple applications
• Multiple servers
• Multiple OS
• The server are underutilized

PUBLIC Copyright @ 2018, Infosys Limited 6


Data Center Transformation

Consolidated :
Consolidating multiple
Dedicated : Running
one application on one applications within the Virtualized : Running
scope of a single OS multiple
physical server
to reduce number of
physical servers

PUBLIC Copyright @ 2018, Infosys Limited 7


Virtualized Data Centers

¾ Multiple applications
¾ Single physical server supporting multiple virtual servers
¾ Single OS supporting multiple OS
¾ Optimal utilization of servers

PUBLIC Copyright @ 2018, Infosys Limited 8


Benefits of Virtualization

• Optimal utilization of resources


• Virtualization allows resource sharing
• By creating virtual machines, fewer servers are required for same number of
applications

• Reduces data center space


• Virtual machines helps in reducing the physical hardware and thus allows to
reclaim data center space

• Reduction in operation cost


• Less hardware leads to less power consumption
• Less maintenance overhead of IT staff

PUBLIC Copyright @ 2018, Infosys Limited 9


Server Virtualization

PUBLIC Copyright @ 2018, Infosys Limited


Server Virtualization

• Is the masking of server resources


- Processor
- Memory
- HDD
- NIC
• Create multiple VM on a single server
• Each VM has its own OS and applications like a real computer

PUBLIC Copyright @ 2018, Infosys Limited 11


Server Virtualization - How it works?
• Two main building blocks:
– Host machine is the actual hardware of the underlying machine
– Guest Virtual machine is a separate and independent instance that has a full copy of OS and
application software

• Virtual machines are managed by another layer


– Hypervisor/Virtual Machine Manager (VMM)

PUBLIC Copyright @ 2018, Infosys Limited 12


Hypervisor
• Is the software that creates and manages the guest VM
• Can be of two different types
– Type 1 : Native or bare-metal hypervisor
– Type 2 : Hosted hypervisor

PUBLIC Copyright @ 2018, Infosys Limited 13


Hypervisor Types
Type - 1(Bare Metal)

• Runs directly on host hardware. It controls the host hardware and manages guest OS

• Known as hardware virtualization

• Examples: VMware ESX, Microsoft Hyper-V, Citrix XenServer, Oracle VM

Type - 2
• Runs on host OS like other programs, abstracting guest OS from host OS

• Known as software virtualization

• Less efficient than Type-1 hypervisors

• Examples: VMware Workstation, Microsoft Virtual PC, Oracle VM Virtualbox

PUBLIC Copyright @ 2018, Infosys Limited 14


Hypervisor Types
Type - 1 Type - 2

Apps Apps Apps Apps Apps Apps

Guest Guest Guest Guest Guest Guest


OS OS OS OS OS OS

Type 1 Hypervisor Type 2 Hypervisor

Hardware Host OS

Hardware

PUBLIC Copyright @ 2018, Infosys Limited


Ways of Server Virtualization
Server Virtualization techniques:
– Full Virtualization
– Para Virtualization
– OS level Virtualization

PUBLIC Copyright @ 2018, Infosys Limited 16


Full Virtualization
• Technique used to provide complete simulation of underlying hardware
• Each guest runs its own version of OS. No modifications needed in the guest OS
• One VM is unaware of the other VMs running on same host
• Hypervisor co-ordinates instructions from VMs to the host
• Can be achieved using both Type 1 and Type 2 hypervisor

PUBLIC Copyright @ 2018, Infosys Limited 17


Para Virtualization
• Each guest runs its own version of OS, but modify the guest OS to improve performance
• Guest VMs are aware of one another
• Guest OS to have hypervisor specific code, so hypervisor does not need much processing
resources
• All VMs work together as one unit
• Can be achieved using Type 1 hypervisor

PUBLIC Copyright @ 2018, Infosys Limited 18


OS level Virtualization
• Host runs a single OS, Guest must have same OS as the host
• Hypervisor is not needed at all, Virtualization capability must be embedded into host OS
• VMs are independent of each other
• VMs cannot host a different guest OS

PUBLIC Copyright @ 2018, Infosys Limited 19


Benefits of Server Virtualization
• Reduced scheduled downtime
– Live migration allows to move VMs from one physical host to another without much
downtime
• Load balancing
– Due to enhanced portability, the VMs can now be moved from one host to another
quickly, providing additional nodes for balancing load of the applications as well
• Easier backup and restore
• There is a provision for Incremental backups in server virtualization . This has been
possible due to hypervisor’s ability to track the blocks that have been changed
• Snapshot functionality has made the process of VM backups easier

PUBLIC Copyright @ 2018, Infosys Limited 20


Benefits of Server Virtualization
• High availability
– If VMs current host fails, the VM can be automatically restarted on another host
• Fast provisioning
– Virtual machines can be easily and quickly cloned to create new

PUBLIC Copyright @ 2018, Infosys Limited 21


Virtual Machine Migration

PUBLIC Copyright @ 2018, Infosys Limited


VM Migration

• Virtual Machine(VM) Migration is movement of a VM from one physical host to another

• Transfers VM state from source host to destination


– Processor state (CPU registers)
– Device state (Hardware registers)
– Memory content

PUBLIC Copyright @ 2018, Infosys Limited 23


VM Live Migration
VM Live Migration is movement of a VM from one host to another while continuously
powered-up

– Users are not subjected to downtime


– Offers load balancing
– Facilitates proactive maintenance, where a faulty host can be identified and VM shifted
before disruption of service occurs
Support Tools

– Vmware VMotion
– Citrix XenMotion
– Live migration in Microsoft Hyper-v

PUBLIC Copyright @ 2018, Infosys Limited 24


Migration Techniques
• Physical systems into Virtual machines (P2V)
• Virtual to Virtual(V2V)
• Virtual machines into Physical systems (V2P)

PUBLIC Copyright @ 2018, Infosys Limited 25


Physical systems into Virtual machines(P2V)
• Copy all data (OS, application) from physical systems hard disk to virtual disk on virtual
machine
• P2V is actually conversion

Apps Apps Apps VM1 VM2 VM3


and OS and OS and OS

Hypervisor

server1 server2 server3 Hardware

Data Center Virtual Server

PUBLIC Copyright @ 2018, Infosys Limited 26


Virtual to Virtual (V2V)
• Migration of all data( OS and applications) from one Virtual machine to another
• Might require up gradation of underlying virtual services

Apps Apps
Apps Apps

VM1 VM2 VM3 VM4

Hypervisor Hypervisor

Hardware Hardware

Server 1 Server 2
PUBLIC Copyright @ 2018, Infosys Limited 27
Virtual machines into Physical systems(V2P)
• Virtual image is transferred into Physical system. It can be transferred to single or
multiple systems
• It’s a reverse P2V and is a conversion

Apps Apps Apps


and OS and OS and OS

VM1 VM2 VM3

Hypervisor

Hardware server1 server2

Virtual Server Data Center


PUBLIC Copyright @ 2018, Infosys Limited 28
Role of Virtualization in Cloud

PUBLIC Copyright @ 2018, Infosys Limited


Role of Virtualization in Cloud
• Cloud computing is a model for enabling convenient, on-demand network access to a
shared pool of configurable computing resources (eg. Server, storage, application) that can
be rapidly provisioned and released with minimal management effort

Source: NIST Definition of Cloud Computing

• Virtualization is the key to unlock the door to cloud computing

PUBLIC Copyright @ 2018, Infosys Limited 30


Role of Virtualization in Cloud - How?
• On demand provisioning and decommissioning
– Virtualization enables faster provisioning and decommissioning of resources
– This helps enterprise to optimize the resources and reduce the cost on Pay as you go
model

• Shared pool and elasticity of resources


– Virtualization provides resource pooling

• Enables economies of scale


– Virtualization enables efficient datacenter consolidation thereby cutting capital and
operating costs

PUBLIC Copyright @ 2018, Infosys Limited 31


Virtualization v/s Cloud Computing

PUBLIC Copyright @ 2018, Infosys Limited


Virtualization v/s Cloud Computing

Factor Virtualization Cloud Computing

User needs to interact with All admin activities have been


Hypervisor to create, manage VMs outsourced by API
User Interaction
and their properties Human factor of management
have been automated
Virtualization is the foundational Cloud computing is the
element of cloud computing which delivery of shared computing
Presence
is mainly a part of the physical resources, software or data as
infrastructure. a service via the Internet

PUBLIC Copyright @ 2018, Infosys Limited 33


Learning Outcomes
After going through this unit, you have understood:
• The underlying technology of Cloud Virtual Machines creation
• Different techniques used by cloud vendors to create virtual machines

PUBLIC Copyright @ 2018, Infosys Limited 34


Thank You

PUBLIC Copyright @ 2018, Infosys Limited

Potrebbero piacerti anche