Xen-OSCAR: OSCAR Testing with Xen
Geoffroy Vallee, Stephen L. Scott Oak Ridge National Laboratory
Xen-OSCAR: OSCAR Testing with Xen Geoffroy Vallee, Stephen L. Scott - - PowerPoint PPT Presentation
Xen-OSCAR: OSCAR Testing with Xen Geoffroy Vallee, Stephen L. Scott Oak Ridge National Laboratory Introduction OSCAR testing is difficult (for both OPKG and OSCAR core) need to setup a fresh head-node every time need to access
Geoffroy Vallee, Stephen L. Scott Oak Ridge National Laboratory
– need to setup a “fresh” head-node every time – need to access a “real” cluster even during the
– full virtualization: the guest OS is not modified (not
– para-virtualization: the guest OS is modified to
Virtual NIC
Virtual Compute Node 0 Virtual Compute Node 1 Virtual Compute Node 2 Virtual Compute Node n-1 Virtual Compute Node n
Xen Virtual Machines
Xen Bridge (192.169.0.254)
eth0: 192.169.1.2 MAC @: aa:00:00:00:00:01
...
eth0: 192.169.1.1 MAC @: aa:00:00:00:00:00 eth0: 192.169.0.3 MAC @: aa:00:00:00:00:02 eth0: 192.169.1.(n-1) MAC @: aa:00:00:00:00:0x(n-1) eth0: 192.169.1.(n) MAC @: aa:00:00:00:00:0x(n)
Virtual Headnode
eth0 (192.169.0.1) eth1 (192.169.1.254)
– modification of the kernel (“Xen architecture”) – new INTEL and AMD processors have now an
– images for compute nodes are created on the head-
– an image is used to install a compute node
– OSCAR is currently based on SIS
– Users may want a specific Linux distribution on the
– Users may want to specify the number of compute
– Xen needs configuration files
– No complete sequence boot
– the compute node boots through the network (PXE,
– the compute node contact the head-node – based on the MAC address, an image is copied via
– need a specific Xen image – need to specialize this image to match features
Physical Machine Headnode (Virtual Machine) Virtual Network Boot (Virtual Machine)
xm create headnode Boot sequence
Compute Node (Virtual Machine)
DHCP xm create netboot mkfs (disk formating) mount disk partition rsync Systemconfigurator Halt xm create node Boot sequence Boot sequence Start daemons (rsync, dhcpd, ...)
Set IP Address
Transfer Image
Real Cluster Virtual Cluster Boot of the compute node PXE, floppy, CDROM Virtual Boot (specific VM) Installation method Post-configuration SIS – SystemConfigurator SIS – SystemConfigurator Reboot Physical reboot SIS – SystemInstaller scripts (rsync) Specific scripts (based on SIS scripts) Stop of the VM for the virtual boot and start of the installed VM
– cluster specification – virtual FS initialization – Xen setup – installation of the
– headnode: FS, memory
– compute nodes: FS,
– tar.bz2 image – mount locally the
Logical Partition /dev/{disk_id}1 /dev/{disk_id}2 /dev/{disk_id}5 /dev/{disk_id}6 /dev/{disk_id}7 /dev/{disk_id}8 /dev/hda1 (/) /dev/hda2 (swap) /dev/hda1 (/) /dev/hda2 (swap) /dev/hda1 (/) /dev/hda2 (swap) Virtual Cluster Xen Virtualization Physical Hard Drive (...) (...) Virtual Headnode Virtual Compute Node 1 Virtual Compute Node 2
– automatic Xen configuration – automatic creation of the headnode (thanks to
– do not provide a standard SIS installation process – do not allow to “simulate” another hardware
– support more Linux distributions
– integrate Xen-3 (currently based on Xen-2.0.6) – support more Linux distributions (currently Xen-
– virtual machine monitoring – Virtual node FS: use virtual block devices in