virtualization - northwest state community college

31
Virtualization

Upload: others

Post on 07-Jan-2022

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Virtualization - Northwest State Community College

Virtualization

Page 2: Virtualization - Northwest State Community College

Objectives

• Definitions

• Why

• Problems

• Versions

• Virtualization vs Cloud

• Creating a New Virtual Machine

• Working with a Virtual Machine

• Virtual Machine Settings

• Virtual Machine Snapshots

Page 3: Virtualization - Northwest State Community College

Definitions

• Hardware• Full virtualization

• Para virtualization

• Hosted hypervisor• Type I hypervisor

• Native (bare metal) hypervisor• Type II hypervisor

Page 4: Virtualization - Northwest State Community College

Why

• Servers can be consolidated into virtual machines• A typical company may have dozens of servers, DNS, Web, File, Print, DHCP,

Directory and the list goes on and on

• Companies can save space and money with virtualization• Electricity and cooling

• Flexibility

Page 5: Virtualization - Northwest State Community College

Why

• Multiple applications and operating systems can be supported within a single physical system• Testing – Do not have to have multiple physical machines

• Students – Does not require multiple systems and/or long setup time to learn different subjects

Page 6: Virtualization - Northwest State Community College

Why

• Virtual machines are completely isolated from the host machine and other virtual machines• This means no possibility of undesired interactions

• If one server (service) crashes this does not affect any of the others

• Student Benefit – If Joe Bob Classmate accidentally types delete all he only messes up his own system, not yours

Page 7: Virtualization - Northwest State Community College

Why

• Complete virtual machine environment is saved as a single file• Makes backups simple

• Makes testing easier

• Make it simple to duplicate servers across multiple sites

Page 8: Virtualization - Northwest State Community College

Why

• Standardized virtualized hardware is presented to the application

Page 9: Virtualization - Northwest State Community College

Problems

• Slow

• Conceptualization

• Cost

Page 10: Virtualization - Northwest State Community College

Versions

• VMWare• Free

• Player

• Server 1.x

• Server 2.x

• Server ESXi

• Pay• Workstation

• VSphere

Page 11: Virtualization - Northwest State Community College

Versions

• Microsoft• Free

• Hyper-V

• Virtual PC

• Pay• System Center

• Azure

• Amazon – EC2

• VirtualBox

• Xen

• KVM

Page 12: Virtualization - Northwest State Community College

Virtualization vs Cloud

• IaaS – Infrastructure as a Server• Servers, storage and processing

• PaaS – Platform as a Service• Development environment

• Access to services such as database or web server

• SaaS – Software as a Service• End user applications

• Google Apps

Page 13: Virtualization - Northwest State Community College

Virtualization vs Cloud

• The cloud is:• Elastic

• Shared

• Usage-based

• Supports many devices• So is Virtualization

• Self-provisioning• Virtualization is all self provisioned

Page 14: Virtualization - Northwest State Community College

Creating a New Virtual Machine

• Select name

• Select type of OS

• Select version of OS

• OS settings define some hardware settings • Cannot be changed

while powered on

Page 15: Virtualization - Northwest State Community College

Creating a New Virtual Machine

• Select Memory• Overprovision,

shared RAM and ballooning

Page 16: Virtualization - Northwest State Community College

Creating a New Virtual Machine

• Hard drive creation options

Page 17: Virtualization - Northwest State Community College

Creating a New Virtual Machine

• Hard drive file type

Page 18: Virtualization - Northwest State Community College

Creating a New Virtual Machine

• Storage type• Thick

• Thin

Page 19: Virtualization - Northwest State Community College

Creating a New Virtual Machine

• Name and size

Page 20: Virtualization - Northwest State Community College

Working with a Virtual Machine

• Starting

Page 21: Virtualization - Northwest State Community College

Working with a Virtual Machine

• Mouse trapped in machine

• Ctrl+Alt+Del

Page 22: Virtualization - Northwest State Community College

Working with a Virtual Machine

• Shutdown• Like a real machine you

should shutdown in an orderly fashion

Page 23: Virtualization - Northwest State Community College

Working with a Virtual Machine

• Shutdown• Other options

Page 24: Virtualization - Northwest State Community College

Virtual Machine Snapshots

• General - Basic

Page 25: Virtualization - Northwest State Community College

Virtual Machine Settings

• System – Motherboard

Page 26: Virtualization - Northwest State Community College

Virtual Machine Settings

• Storage• Add hard drives

• Mount ( Connect ) to CD/DVD images ( ISO files )

Page 27: Virtualization - Northwest State Community College

Virtual Machine Settings

• Network• Multiple adapters

• Attached to: ( Virtual Networks )• NAT

• Bridged

• eth0

• tap0

• Internal

• Name

• Host-only

Page 28: Virtualization - Northwest State Community College

Virtual Machine Settings

• Drivers

Page 29: Virtualization - Northwest State Community College

Virtual Machine Snapshots

• Saves a copy of the machines hard drive(s) at a point in time• Can consume large amounts of disk space

• Contains all differences between the snapshot and the current system

• Differencing disk contains all changed data blocks

• Also known as checkpoints

• Can have multiple snapshots

Page 30: Virtualization - Northwest State Community College

Virtual Machine Snapshots

• Choices• Take snapshot

• Restore snapshot• Deletes changes!

• Delete snapshot• Makes changes permanent!

• Clone (Copy)• MAC address

• Full

• Linked

• Can also create

appliance

Page 31: Virtualization - Northwest State Community College

Summary

• Definitions

• Why

• Problems

• Versions

• Virtualization vs Cloud