Using Virtualization in the Classroom

Embed Size (px)

Citation preview

  • 7/28/2019 Using Virtualization in the Classroom

    1/34

    Using Virtualization in the

    Classroom

    WELLCOME TO EVERYBODY

  • 7/28/2019 Using Virtualization in the Classroom

    2/34

    Using Virtualization in the Classroom

    Session Objectives

    Define virtualization

    Compare major virtualization programs

    Define virtualization terminology

    Discuss virtualization benefits

    List requirements of virtualization Demonstrate the use of virtualization

  • 7/28/2019 Using Virtualization in the Classroom

    3/34

    What is Virtualization?

    Not physically existing as such but made bysoftware (virtual)

    Allows multiple operating systems to run onthe same physical computer at the same time

    A software environment that emulates orattempt to match a computers hardware and

    BIOS

    Virtual machine software creates thisenvironment

  • 7/28/2019 Using Virtualization in the Classroom

    4/34

    Virtual Machine Software

    In this presentation, I will discuss:

    VMWare Workstation

    Microsoft Virtual PC

    Microsoft Hyper-V (briefly)

    Other products not discussed

    Parallels (Mac) and VMWare Fusion (Mac),VirtualBox (open source)

  • 7/28/2019 Using Virtualization in the Classroom

    5/34

    Virtualization Look Like VMWare

    Running Windows server 2008 in

    VMWare on a Windows xp Host

    Running Windows vista in VMWare

    on a Windows xp Host

  • 7/28/2019 Using Virtualization in the Classroom

    6/34

    Virtualization Look Like?

    Live presentation

  • 7/28/2019 Using Virtualization in the Classroom

    7/34

    Running Windows 2003 in Microsoft

    Virtual PC on a windows xp Host

    Running Windows 2003 in Microsoft

    Virtual PC on a windows xp Host

  • 7/28/2019 Using Virtualization in the Classroom

    8/34

    Running Windows 2000 in Microsoft

    Virtual PC on a Vista Host

    Live presentation

  • 7/28/2019 Using Virtualization in the Classroom

    9/34

    Virtualization Terminology

    Host machine or host computer

    The computer on which the virtual machine

    software is installed (Virtual PC orVMWare, e.g.)

    Virtual machine (VM) or Guest OS

    The operating system that runs in virtual

    machine software on the host computer Comprised primarily of a configuration file

    and one or more virtual hard drive files

  • 7/28/2019 Using Virtualization in the Classroom

    10/34

    Virtualization Terminology (contd)

    Virtual disk

    One or more files that reside on the host

    computer that make up the VMs hard disk Virtual network

    The network configuration used by the VM

    Options include: bridged, host only, NATand none

    VMs behave like just another computer onthe network

  • 7/28/2019 Using Virtualization in the Classroom

    11/34

    Virtualization Terminology (contd)

    Snapshot A partial copy of a VM at a particular

    moment in time. Allows you to go back tothe VM at that particular state. Someprograms allow saving multiple snapshots.

  • 7/28/2019 Using Virtualization in the Classroom

    12/34

    Virtualization Benefits

    Teach multiple operating systems

    with a single host computer

    Students can own their VM while havingminimal access to the host computer

    Multiple VMs can run simultaneously onone host, networked and all (for example, a

    client and a server or two servers)

  • 7/28/2019 Using Virtualization in the Classroom

    13/34

    Virtualization Benefits (contd)

    Easy maintenance and testing

    VM wont boot or got deleted or corrupted?

    Copy another one. Snapshots allow unlimited try this

    scenarios with a quick return to the systemstate before you tried it.

  • 7/28/2019 Using Virtualization in the Classroom

    14/34

    Virtualization Benefits (contd)

    Run multiple versions of software

    Teach Office 2007 while previewing Office

    20xx by using two different VMs. For programming and database; write an

    application in one version and easily teston another version

  • 7/28/2019 Using Virtualization in the Classroom

    15/34

    Virtualization Benefits (contd)

    Isolate your OS from the campus

    network and host computer

    For programming and networking, runservices and write software which mightnormally interfere with the host computeror the campus network

  • 7/28/2019 Using Virtualization in the Classroom

    16/34

    Virtualization Requirements

    Supported host operating system(Windows XP Pro, Vista, Server

    2003/2008, Linux) Sufficient RAM on your host computer toaccommodate the host OS and the guestOSs you wish to run

    Sufficient CPU power Sufficient hard drive space to

    accommodate the stored VMs

  • 7/28/2019 Using Virtualization in the Classroom

    17/34

    Virtualization Recommendations

    Minimum 1 GB RAM, 2+ GBrecommended for Vista and Server

    2008 virtual machines Minimum 3.0 GHz P4, recommended

    2.4+ GHz dual-core CPU

    Separate hard drive (80 GB+) for theVMs

  • 7/28/2019 Using Virtualization in the Classroom

    18/34

    VMWare

    VMWare was the first seriousvirtualization software

    Around since mid-90s

    The leader in server and desktopvirtualization

  • 7/28/2019 Using Virtualization in the Classroom

    19/34

    VMWare (contd)

    Free products VMWare Player runs existing virtual

    machines but cannot create a new VM VMWare Server can create and run VMs;

    better suited for low-end server

    applications

  • 7/28/2019 Using Virtualization in the Classroom

    20/34

    VMWare (contd)

    VMWare Workstation

    Flagship desktop product

    Create and run VMs

    Import VMs (including physical to virtual)

    Has all of the bells and whistles including

    unlimited snapshots, screen capture tocreate movies, jpgs

    Costs: $189 retail

  • 7/28/2019 Using Virtualization in the Classroom

    21/34

    VMWare (contd)

    VMWare Academic Alliance

    Free to join fill out an application online

    Unlimited VMWare Workstation licensesfor classroom use

  • 7/28/2019 Using Virtualization in the Classroom

    22/34

    VMWare Demonstration

    Live presentation

  • 7/28/2019 Using Virtualization in the Classroom

    23/34

    VMWare VM on the Host Hard Drive

  • 7/28/2019 Using Virtualization in the Classroom

    24/34

    Microsoft Virtual PC

    Virtual PC purchased by Microsoft around2005.

    A basic desktop virtualization program No bells and whistles compared to

    VMWare

    Works well but not as flexible as VMWare

    Current version is Virtual PC 2007

    Free to download

  • 7/28/2019 Using Virtualization in the Classroom

    25/34

    Microsoft Virtual PC

    Demonstration

    Live presentation

  • 7/28/2019 Using Virtualization in the Classroom

    26/34

    Windows Server 2008 Hyper-V

    Hyper-V is Microsofts newestvirtualization product

    Meant to compete with VMWaresserver virtualization products

    Excellent performance and reliability

    Comes with Windows Server 2008 Server 2008 may become my next

    desktop OS

  • 7/28/2019 Using Virtualization in the Classroom

    27/34

    Networking with Virtual Machines

    Virtual Machine Networking Each VM has its own virtual network

    adapter (NIC) Multiple network adapters are possible

    Several modes for the virtual network

    Bridged

    NAT/Shared

    Local/host only

  • 7/28/2019 Using Virtualization in the Classroom

    28/34

    Networking Modes

    Bridged networking

    The VM acts like any other computer on

    the network Each VM network adapter gets its own IP

    address and physical address

    VMs can communicate with other VMs and

    other physical computers on the networkincluding the Internet

    Most flexible configuration

  • 7/28/2019 Using Virtualization in the Classroom

    29/34

    Networking Modes (contd)

    Network Address Translation(NAT)/Shared Networking VM shares IP address with host computer

    Host computer acts like router/firewall VM can access other computers on the

    network including the Internet Other computers cannot access the VM

    directly More secure configuration than bridged Wont work if the VM is to be a server

  • 7/28/2019 Using Virtualization in the Classroom

    30/34

    Networking Modes (contd)

    Local/Host only networking

    VMs can communicate with only other VMs(Virtual PC) or other VMs and the host PC(VMWare)

    No communication with other physicalcomputers or the Internet

    Ideal for doing activities that might interferewith the classroom network

  • 7/28/2019 Using Virtualization in the Classroom

    31/34

    VMWare/Virtual PC Comparison

    VMWare Workstation Pros Better Linux support USB device support Multi-CPU support VM Teams Snapshots Better guest OS documentation

    VMWare Workstation Cons $189 license without membership More features mean more complex user

    interface

  • 7/28/2019 Using Virtualization in the Classroom

    32/34

    VMWare/Virtual PC Comparison (contd)

    Virtual PC Pros

    Free to download no membershiprequired

    Simple user interface

    Virtual PC Cons Skimpy (short) documentation

    No USB device support

    Fewer advanced features

  • 7/28/2019 Using Virtualization in the Classroom

    33/34

    Web Links

    VMWare www.vmware.com Academic program

    http://www.vmware.com/partners/academic

    Virtual PC

    http://www.microsoft.com/windows/products/winfamily/virtualpc/

    Comparison VMWare/Virtual PC http://www.petri.co.il/virtual_vmware_virtualpc_compared.ht

    m

    Comparison VMWare/Virtual PC/Parallels/VirtualBox http://www.wilderssecurity.com/archive/index.php/t-

    168825.html

    http://www.vmware.com/http://www.vmware.com/partners/academichttp://www.microsoft.com/windows/products/winfamily/virtualpc/http://www.microsoft.com/windows/products/winfamily/virtualpc/http://www.petri.co.il/virtual_vmware_virtualpc_compared.htmhttp://www.petri.co.il/virtual_vmware_virtualpc_compared.htmhttp://www.wilderssecurity.com/archive/index.php/t-168825.htmlhttp://www.wilderssecurity.com/archive/index.php/t-168825.htmlhttp://www.wilderssecurity.com/archive/index.php/t-168825.htmlhttp://www.wilderssecurity.com/archive/index.php/t-168825.htmlhttp://www.wilderssecurity.com/archive/index.php/t-168825.htmlhttp://www.petri.co.il/virtual_vmware_virtualpc_compared.htmhttp://www.petri.co.il/virtual_vmware_virtualpc_compared.htmhttp://www.microsoft.com/windows/products/winfamily/virtualpc/http://www.microsoft.com/windows/products/winfamily/virtualpc/http://www.vmware.com/partners/academichttp://www.vmware.com/
  • 7/28/2019 Using Virtualization in the Classroom

    34/34

    Thanks for coming!