Sie sind auf Seite 1von 11

Xen:AGentleIntroduction

PresentationtoLinuxUsersVictoria, TuesdayJuly3,2007

Xen:AGentleIntroduction

Xen:AGentleIntroduction
EfficientAllocationofScarceResources Threegoodreasonsforvirtualisation: 1)ServerConsolidation 2)HardwareIndependence 3)MultipleOSConfigurations

Xen:AGentleIntroduction
VirtualisationandEmulation 1)Technologydatesfromthe1960s 2)PCode,JavaVM,MAME 3)Nativevirtualisation,Hardwareenabled virtualisation,Partialvirtualisation, paravirtualisation,operatingsystemvirtualisation, applicationvirtualisation

Xen:AGentleIntroduction
XenandItsFriends
Project Bochs QEMU VMware z/VM Xen UML LinuxVServer OpenVZ Type Emulation Emulation Fullvirtualization Fullvirtualization Paravirtualization Paravirtualization Operatingsystem Operatingsystem License LGPL LGPL/GPL Proprietary Proprietary GPL GPL GPL GPL

Xen:AGentleIntroduction
Xen'sStructure
1)Xenisanopensourceparavirtualizingvirtualmachinemonitor(VMM) 2)AXensystemhasmultiplelayers,thelowestandmostprivilegedof whichisXenitself. 3)Xenmayhostmultipleguestoperatingsystems,eachofwhichisexecuted withinasecurevirtualmachine. 4)Thefirstdomain,domain0hasspecialmanagementprivileges.Domain0 buildsandadministersotherdomainsandtheirvirtualdevices.

Xen:AGentleIntroduction
Installation
1)StartwithminimalO.S.install 2)ExtractandInstallXenbinary,orcompileandbuildfrom source (http://www.xensource.com/downloads/) 3)CheckGRUB;thereshouldbeabootable,normalOSkernel tobootandaXenkernel 4)Detailedinstructions

https://help.ubuntu.com/community/XenVirtualMachine/XenOnUbuntuEd gy

Xen:AGentleIntroduction
CreateVirtualMachines 1)Adoptconfigurationfilesforadditionaldomains (/etc/xen/xmexample1,/etc/xen/xmexample2) 2)Usethecreatecommand,tostartadomainwith virtualmachineID1youshouldtype: #xmcreatecmyvmconfvmid=1

Xen:AGentleIntroduction
CreateVirtualMachines 1)Adoptconfigurationfilesforadditionaldomains (/etc/xen/xmexample1,/etc/xen/xmexample2) 2)Usethecreatecommand,tostartadomainwith virtualmachineID1youshouldtype: #xmcreatecmyvmconfvmid=1

Xen:AGentleIntroduction
ExamplesofXen'sKoans
Xenwilltypicallyrunonlaptops,but.... Xencurrentlyrunsonlyonthex86architecture,requiringa"P6"or newerprocessor... YoumustdisablehyperthreadinginyouBIOSelseyourXenKernel willrebootindefinitively WithanIntelVTenabledsystemensurethattheIntelVTcapabilities areenabledviatheBIOSandpowercyclethesystem

Xen:AGentleIntroduction
Acknowledgements
SpecialthankstoJonathonOxerandJeffreyFernandezofInternet VisionTechnologiesfortheirsupportandassistance. XenWikiSource:http://wiki.xensource.com/ XenUsersMailingList: Subscriptions;http://lists.xensource.com/cgi bin/mailman/listinfo/xenusers Archives;http://lists.xensource.com/archives/html/xenusers/

Das könnte Ihnen auch gefallen