1 / 17

Virtualization and Virtual Machines

Learn about the advantages and disadvantages of using virtual machines, including the ability to take snapshots, run on any computer, and avoid potential damage to your computer. Discover popular virtualization software options and terminology, as well as how to adjust virtual memory and create snapshots.

aclaudia
Télécharger la présentation

Virtualization and Virtual Machines

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Virtualization and Virtual Machines Sarah Diesburg 1/10/2013 COP 5641

  2. Assignment 1A Choice to Make… • Virtual machine or no virtual machine… • Pros • Less potential damage to your computer • Can take snapshots • Can run on any computer with virtualization software • Cons • Parallel port project may or may not work • May not work with your final project

  3. Virtualization

  4. Virtualization Software • Runs operating systems in full emulated environment • VMware • VirtualBox • Virtual PC • Xen

  5. Virtualization Terminology • Host OS – running on physical computer • Only one host OS may run at a time • “Hosts” the other running operating systems • Guest OS – running in emulated environment • Can run multiple guests at the same time • Guest thinks it is running on actual hardware • Virtual machine – set of files that make up a guest OS

  6. Virtual Machine Files

  7. Virtual Machine Advantages • Can distribute a pre-configured OS • Create multiple snapshots • If something goes wrong, roll-back to a previously saved snapshot • Portable • Run on any host OS • Store on portable hard drive or laptop

  8. Virtual Machine Advantages • Sandbox • Does not affect anything on host OS • Networked • Can access over the network

  9. Opened Virtual Machine (VMWare)

  10. Virtual Memory Setting • You should set the amount of memory that is allocated to your guest OS • Cannot be shared between host and guest • Edit Virtual Machine Settings -> Hardware -> Memory • Rule of thumb: Give your host at least 1GB-1.5GB, give guest the rest

  11. Adjust Virtual Memory

  12. Adjust Virtual Memory Slide to blue triangle

  13. Start the Machine • Press green start arrow

  14. Using the Virtual Machine • To type or use the mouse inside the virtual machine • Click inside the virtual machine window • To type or move the mouse back to the host machine • Press CTRL+ALT

  15. Creating Snapshots • Might be a button to automatically create snapshots of system state • If not… • Shut down the virtual machine cleanly • Copy all the files into another, snapshot directory • I call this the “poor man’s snapshot”

  16. Create a Snapshot

  17. Copy & Paste / File Transfer • Copy & paste from host to guest • Will work in default kernel • Will not work in kernel you build • Preferred method • Use ssh / pretend it is a remote machine

More Related