1 / 8

Xen Basics

Xen Basics. A Primer for the CPS 110 Programming Assignments Angela Dalton. Objective. To prepare you for the course programming assignments. What is Xen?. A virtual machine monitor (VMM) for x86-compatible computers Run multiple instances of OSes simultaneously

ojohn
Télécharger la présentation

Xen Basics

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. Xen Basics A Primer for the CPS 110 Programming Assignments Angela Dalton

  2. Objective • To prepare you for the course programming assignments

  3. What is Xen? • A virtual machine monitor (VMM) for x86-compatible computers • Run multiple instances of OSes simultaneously • These are called Guest OSes • Provides isolation between Guest OSes • Uses Paravirtualization • Does not hide virtualization from the Guest OSes • OS must be ported to work with Xen

  4. Using Xen in CPS 110 • Xen machine: cps210.cod.cs.duke.edu • Each team will have an account on cps210 • Watch your email for info • Part of Assignment 1: Get your team’s Linux Guest OS up and running on cps210

  5. The xm Utility • Command line utility to control guests • Commands to know: • xm create • xm console • xm list • xm help • xm help <command>

  6. Xen system structure • Xen is lowest, most privileged system level • Xen hosts multiple Guest OSes (called domains in Xen) running in secure VMs • Domain 0 – special privileged management domain • Builds other domains and manages their virtual devices • The domain you are logging in to when you ssh to cps210.cod.cs.duke.edu

  7. Launching your VM • xm create -c configfilename • -c flag causes console to attach once VM is created • Useful because you’ll see bootup messages • Each team has its own config file • Edit config file to specify location of linux kernel to boot in your VM

  8. The Xen Commandments • Thou shalt not kill another team’s VM • If there is a rogue VM causing some problem get in touch with that team and/or Angela and/or a UTA to deal with it • Thou shalt not hog memory • Config file specifies memory allotted for VM • You don’t need much for these projects

More Related