Novell SUSE Linux Enterprise Server 10 Virtualization Software User Manual
Below you will find brief information for SUSE Linux Enterprise Server 10. This manual details installation, configuration, and management of Xen virtualization on SLES 10, covering use cases, terminology, troubleshooting, and Novell's offerings. It explains VM installation using YaST, managing VMs with the 'xm' command, migrating VMs, and setting up PV drivers.
Advertisement
Advertisement
Xen Expert Days
Virtualization with Xen
SUSE Linux Enterprise Server 10
Ralf Dannert
Technology Specialist [email protected]
Agenda
• Use cases
• Terminology and Architecture
• VM installation
• Using Xen
• Case Studies
• Roadmap
• Novell offerings
• Helpful Links
2 © Novell Inc. All rights reserved
Server Virtualization: Analyst's View
3 © Novell Inc. All rights reserved
4 © Novell Inc. All rights reserved
Executive Summary
●
Novell product portfolio offers choice
–
Customers can choose to deploy virtualization technologies provided by Novell and other VT vendors
●
Novell virtualization strategy is focused on Xen
–
Customer demand for server consolidation and price / performance will foster rapid acceptance
●
Novell supports customers
– Virtual Machine Server Hardware from partners and Virtual
Machine configurations are listed in YES certification bulletins
–
Novell Technical Services supports installation and operation
5 © Novell Inc. All rights reserved
Use Cases
Uses of Virtualization
Virtual
Resources
Sharing
Physical
Resources
Examples: VMs, LPARs, Virtual Disks, VLANs
Virtual
Resources
Extension
Physical
Resources
Examples: iSCSI, Architecture Emulators
Virtual
Resources
Aggregation
Physical
Resources
Examples: Virtual Disks, Virtual Storage Pools
Virtual
Resources
Transparent Change
Physical
Resources
Add or Replace
Examples: Spare CPU Substitution, CUoD
7 © Novell Inc. All rights reserved
Use cases
• Virtualization allows for more flexibility
–
Virtual Machines (VM) isolate hardware differences due to a abstracted resource layer between hardware and OS
– Decouples software stacks from hardware life cycles
– Dynamic provisioning reduces time to operation: preconfigured application stacks are faster to deploy
– Integrated high availability increases reliability
A A A A A A A
OS OS OS OS OS
VM Virtualization Layer
Hardware
8 © Novell Inc. All rights reserved
Terminology and Architecture
SLES 10 VM Server
SLES 9 and Windows XP - Fully Virtualized VMs
10 © Novell Inc. All rights reserved
Xen Technology Background
Originally a research project from University of Cambridge
Open source
Xen 2.0 released November 2004
Xen 3.0.0 released December 2005
Xen 3.0.2 release May 2006 (SLES 10 Target)
Xen 3.0.4 SLES 10 SP1 Target
11 © Novell Inc. All rights reserved
Xen Community Terminology
12
Domain: A container for a running virtual machine. Colloquially, the VM itself.
Domain 0: The first domain. Privileged to manage other domains. a.k.a. “dom0”.
Unprivileged domain: Any domain other than domain 0.
Cannot manage other domains. a.k.a. “domU”.
Driver domain: A domain that contains physical drivers. Usually this is just domain 0.
Physical driver: A device driver (usually in the driver domain) that talks to the hardware.
Virtual driver: A device driver (usually in a domU) that fullfills requests by going to the physical driver.
© Novell Inc. All rights reserved
Full & Paravirtualization Overview
Full Virtualization
Apps Apps
Operating
System
Virtual
Machine
Operating
System
Virtual
Machine
Virtual Machine Monitor
HW Platform
Runtime modification of Guest OS:
VMM manages the conflict, then returns to OS
Paravirtualization
Apps Apps
Operating
System
Virtual
Machine
A
P
I
A
P
I
Operating
System
Virtual
Machine
A
P
I
A
P
I
Virtual Machine Monitor
HW Platform
Static modification of Guest OS prior to runtime: Privileged instruction calls are exchanged with API functions provided by the VMM
– Almost no performance degradation
– Significant scalability
13 © Novell Inc. All rights reserved
Novell Terminology
Fully Virtual: A VM mode that can run a native, unmodified operating system by emulating all hardware devices.
Paravirtual: A VM mode that can run a modified operating system, which cooperates with the VMM.
VT Computer: Computer supporting HVM Intel VT, AMD
Standard Computer: A computer that does not support virtualization technology and therefore can run Xen VMs only in paravirtual mode.
Native Operating System: A typical operating system that is not optimized for the VM environment and must run in fully virtual mode.
14 © Novell Inc. All rights reserved
Privilege Rings
Xen runs at ring 0 (highest privilege)
All domains run at rings 1 - 3.
• Kernel is ring 1
• User-space is ring 3
Applications domain 0
(management)
Linux Kernel
Hypercalls
Kernel
Applications
Kernel ring 3 ring 1 ring 0
Physical Hardware
15 © Novell Inc. All rights reserved
Hardware assisted virtualization
• VT Computer
• run multiple OS concurrently
• protected execution environments
• priviledge ring expansion
• simplify hypervisor
• Intel VT for directed I/O(VT-d) - direct assign I/O
– no emulated drivers necessary
16 © Novell Inc. All rights reserved
Extending Intel Virtualization
Technology
• support for I/O device virtualization
– direct I/O virtualization to the chipset(“VT-d”).
Currently, I/O devices aren’t aware of virtualization and must go through the VMM before being assigned to a virtual machine.
• software emulation slow
–
Performance
>
I/O requests must traverse two I/O stacks (guest and host)
–
Functionality
> Guest OSes “see” only restricted sets of legacy devices
17
–
Reliability
> Drivers are potentially undependable if they run as part of privileged software
© Novell Inc. All rights reserved
Full Virtualization Mode on VT using qemu-dm
● using “device model”
● hypervisor intercepts mmio regions
● forwards request to qemu
● i.e.: read request to harddisk
●
VM emulates the following devices
● requires the VM's operating system to install, load, and run its native device drivers
●
●
●
●
●
Network card: AMD PCnet, NE2000
Disk drive: IDE
Graphics card: Cirrus Logic* GD5446, VESA-compliant VGA
Input: PS/2 mouse and keyboard
Sound: Creative* Sound Blaster 16, Ensoniq* ES1370
18 © Novell Inc. All rights reserved
Intel Pre- and Post-VT
19 © Novell Inc. All rights reserved
AMD IOMMU
• in DomU OS not loaded at address 0
• Xen: direct access to memory difficult-->corruption
• hypervisor intervenes in I/O, apply translation-->overhead
• solutions:
• rewrite graphics driver ?
• HW to support IOMMU
• AMD IOMMU -provides isolation and memory protection
• IOMMU: device remap address accessed by HW,
20 © Novell Inc. All rights reserved
Ring Buffers
Network, disk I/O is done via shared memory, asynchronous ring buffers.
One ring per VM reduces cross-talk.
Events replace hardware interrupts for notifications.
Page-for-page swap between VM and Xen.
request producer request consumer response producer
21 © Novell Inc. All rights reserved response consumer
Xen Architecture – Simple View
Dom0 Dom1 Dom2
Pd
Linux Linux Netware
Vd
Hypervisor
Vd
Hardware
Pd = Physical Device Driver
Vd = Virtual Device Driver
Xen Architecture – Simple View
Dom0 is the management domain for Xen guests
• controls compute resources dynamically
(e.g. memory, CPU, I/O)
• provides interfaces to the physical server.
• provides administration tools and interfaces
Dom0
Linux
Dom1
Linux
Dom2
Netware
Pd Vd
Hypervisor
Vd
Hardware
Pd = Physical Device Driver
Vd = Virtual Device Driver
Xen Architecture – Simple View
Dom0 is the management domain for Xen guests
• controls compute resources dynamically
(e.g. memory, CPU, I/O)
• provides interfaces to the physical server.
• provides administration tools and interfaces
Dom0
Linux
Dom1
Linux
Dom2
Netware
Pd Vd
Hypervisor
Vd
Hypervisor
• is the virtual interface to the hardware – virtualizes the hardware
• manages conflicts caused by
OS access to privileged machine instructions
Hardware
Pd = Physical Device Driver
Vd = Virtual Device Driver
Xen Architecture – Simple View
Dom0 is the management domain for Xen guests
• controls compute resources dynamically
(e.g. memory, CPU, I/O)
• provides interfaces to the physical server.
• provides administration tools and interfaces
Dom0
Linux
Dom1
Linux
Dom2
Netware
Hypervisor
• is the virtual interface to the hardware – virtualizes the hardware
• manages conflicts caused by
OS access to privileged machine instructions
Pd Vd
Hypervisor
Vd
Hardware
DomU is the guest OS
• hosts the application workloads
• typically uses virtual device drivers to connect to the physical drivers in Dom0 by the hypervisor.
• can also use physical device drivers directly
• can be stored in a file-image
Pd = Physical Device Driver
Vd = Virtual Device Driver
Distribution
• pDistro
–
Tuned thin, platform distribution specialized for specific physical hardware
• vDistro
–
Tailored for application stacks, able to run on any pDistro management agents kernel system drivers hypervisor
(vmm)
26 © Novell Inc. All rights reserved application(s) libraries operating system configuration kernel virtual drivers
Xen Technology – Architecture
(cont)
27 © Novell Inc. All rights reserved
Emerging Virtual Architectures
28 vDistros
Are used to deploy virtual machines on any physical server and to move application stacks between them in 'real-time' vDistros
Application stack distribution containers w/ fault containment and intrusion protection
Novell Customer
Center
Virtual Machines
(XEN/VMW) pDistros
Are used to deploy physical machine specific hypervisors with those drivers and agents needed by specific hardware vendors.
Typically Hardware Vendors would create pDistros or build templates for their hardware.
Virtual Storage
(EVMS & CFS or segmented storage)
Physical
Servers pDistro pDistro
Data Center Servers
VM Management
• Incubator & Warehouse
• Central (CIM-based) Model
• Distributed p/v Monitoring
• Workload Orchestration
Physical
Storage
Arrays ZENworks Linux
Management
• p/v-Distro Provisioning
• Patching Agent
• Application Deployment
• Registration & Licensing
Data Center Storage
Monitor / Manage / Analyze / Respond
© Novell Inc. All rights reserved
VM Installation
VM Installation using YaST
Novell makes VM installation simple with YaST
VM Installation using YaST on SLES 10
• Support for para-virtualized guests
• Support for fully virtualized guests
• Support for new installation or use of existing disk
• Install over network (SUSE) or from CD/DVD (SUSE & others)
Support for simple lifecycle management:
• Start
• Stop
• View
• Shutdown
30 © Novell Inc. All rights reserved
SLES 10
VM Installation Using YaST
31 © Novell Inc. All rights reserved
VM Disks – Supported Storage
32
• mapping “virtual” disk (within the VM) and a
“physical” disk (within a driver domain).
• Generic Block Devices (SCSI, SATA, IDE, LVM, ...)
• iSCSI Target (Server), iSCSI Initiator (Client)
• FibreChannel Protocol, SAN
• Native Multipath IO (Kernel Devicemapper - DM-
MPIO)
• Multidisk (MD)
• Oracle Cluster Filesystem (OCFS2), Heartbeat2
• Enterprise Volume Manager (EVMS2)
–
Novell
®
iSCSI, OCFS2 and Heartbeat2 Plugins
© Novell Inc. All rights reserved
How Does Xen Compare?
• Performance: 1-20% actual overhead (older claim: 1-5%)
• Scalability: 10s of Vms
• Memory overhead: Negligible for para. ~12MB per VM for full.
• Hardware-enforced fault isolation between VMs: Yes
• Ability to dynamically grow/shrink hardware resources: Yes
• Open source
• Commodity hardware
• Ease of deployment: Use YaST
• Support: From Novell
33 © Novell Inc. All rights reserved
Using Xen
Booting VM Server (Xen)
If you selected the Xen pattern during installation, Grub should be correct
Installing kernel-xen or kernel-xenpae later should update Grub, also
Select “XEN” boot option from Grub
Grub loads Xen, Linux kernel, and initrd. Xen initializes, then hands control to Linux kernel
35 © Novell Inc. All rights reserved
Troubleshooting Boot Loader
Copy/modify the normal entry in /boot/grub/menu.lst: title Xen
root (hd0,0)
kernel /boot/xen.gz dom0_mem=65536
module /boot/vmlinuzxen root=/dev/hda1 vga=0x31a selinux=0 splash=silent resume=/dev/hda2 elevator=as showopts
module /boot/initrdxen
Note:
• dom0_mem is in KB. (Optional. Defaults to taking nearly all memory.)
• Copy kernel args verbatim
• Specify “module” not “initrd”
36 © Novell Inc. All rights reserved
Daemons
xend:
• Required
• Runs in VM Server
• Must be running to access management commands
• Manages VM configuration xendomains:
• Optional
• Starts (or restores) VMs when VM Server starts
• Stops (or saves or migrates) VMs when VM Server stops
37 © Novell Inc. All rights reserved
VM Configuration Files
38
Use an example file as a template: cp /etc/xen/examples/xmexample1 /etc/xen/vm/MyVm
Fields to change: if manual kernel:
kernel: The location of the kernel, as visible from dom0.
initrd: (*nix-centric) Extra module for kernel, as per Multiboot specificiation.
if domUloader:
bootloader: /usr/lib/xen/boot/domUloader.py
bootentry: paths of kernel and initrd to extract from VM's disk.
memory: Memory to give the guest, in megabytes.
name: The name must be unique among running VMs.
vif: List of virtual network interfaces.
disk: This maps the disk device (visible in domain 0) to the device in the guest.
root: (*nix-centric) Device containing root filesystem.
extra: (*nix-centric) Extra kernel arguments, e.g., runlevel.
© Novell Inc. All rights reserved
i.e.: /etc/xen/vm/sles10pv
disk = [ 'file:/var/lib/xen/images/sles10pv/hda,hda,w', 'phy:/dev/hdc,hdb,r' ] memory = 256 vcpus = 1 builder = 'linux' name = 'sles10pv' vif = [ 'mac=00:16:3e:41:09:60' ] localtime = 0 on_poweroff = 'destroy' on_reboot = 'restart' on_crash = 'restart' extra = ' TERM=xterm' bootloader = '/usr/lib/xen/boot/domUloader.py' bootentry = 'hda2:/boot/vmlinuz-xen,/boot/initrd-xen'
39 © Novell Inc. All rights reserved
/etc/xen/examples/xmexample.iscsi
kernel = "/boot/vmlinuz-xen" ramdisk = "/boot/initrd-xen" memory = 128 name = "nbd"
# Please change MAC vif = [ 'mac=00:16:e3:10:00:a0, bridge=xenbr0' ]
# Replaced the ':' in the iname with '@' disk = [ 'iscsi:iqn.2006-09.de.suse@0ac47ee2-216e-452a-a341a12624cd0225,hda,w'] dhcp = "dhcp" hostname= "nbd" root = "/dev/hda1" extra = "3"
40 © Novell Inc. All rights reserved
VM Migration
Migration
• Moving a VM from one physical machine to another, without interrupting the VM's state.
• IP address follows the VM, so networking is not interrupted
Live Migration
• Migration with minimal down-time (10's of ms)
• Streams VM's pages over network while VM is still running
Disk must still be visible on destination! (e.g., use iSCSI)
41 © Novell Inc. All rights reserved
Managing VMs with the xm Command
Must be root.
Use “xm” command (Xen Management)
Querying: xm list xm list -l xm console id (disconnect from VM's console with Ctrl-])
Managing: xm create -c configfile xm shutdown id xm destroy id xm migrate id destination-host xm migrate -l id destination-host
42 © Novell Inc. All rights reserved
More xm Commands
Hot-plugging: xm mem-set xm block-attach xm block-detach
Debugging: xm info xm top xm dmesg
For more information: man xm xm help --long
43 © Novell Inc. All rights reserved
Files & Directories
/etc/xen/xend-config.sxp
/etc/xen/vm/
/etc/xen/auto/
/etc/xen/examples/
/etc/xen/scripts/
/var/lib/xen/images/
Machine-wide configuration
VM definition files
VMs to auto-start
Example VM definition files
Scripts (see xend-config.sxp)
VM disk images
/var/log/ Log files, when things go wrong
/usr/share/doc/packages/xen/README.SuSE
Tips & late-breaking information
44 © Novell Inc. All rights reserved
45
Convert VMware image to Xen image
dd if=/dev/zero of=disk.img bs=32k count=32k
#Virtual Hard Disk to Network Block Device mapper vmware-loop -p SLES9-0.vmdk
modprobe nbd vmware-loop SLES9-0.vmdk 2 1
#Extract VMware partition from the device to the image file SLES9.img: dd if=/dev/nbd1 of=/tmp/SLES9.img bs=32k
#inject the root FS into the Qemu image.
file disk.img
disk.img: x86 boot sector, FREE-DOS Beta 0.9 MBR fdisk disk.img
..
Units = cylinders of 16065 * 512 = 8225280 bytes
..
Device Boot Start End Blocks Id System disk.img1 1 15 120456 82 Linux swap / Solaris disk.img2 16 130 923737+ 83 Linux fdisk disk.img
#need to skip swap space, swap space ends at 16065*(16-1) bytes
16065*15=240975 dd of=disk.img seek=240975 if=/tmp/SLES9.img
#fdisk: make partition active, to boot from it
© Novell Inc. All rights reserved
Case Studies
Case Study: HA Web Server
• Small office solution
–
High available web server for non-disruptive online business
>
Redundant setup using 2 machines with SLES 10, LAMP stack and heartbeat2: Xen based apaches, remote storage access via iSCSI and
OCFS2, web shop application
>
Automated load balancing and high availability, easy extension of compute and storage resources
Shared Storage
47 © Novell Inc. All rights reserved
Case Study: HA mail, file and print
• Small office solution
–
Small scale consolidation with increased throughput and improved fault tolerance
>
Past: 4 dedicated servers for mail, file, print and an Internet gateway
>
Today: 2 state-of-the-art servers running mail, file, print and Internet gateway in dedicated and thus isolated VMs, DMZ realized with firewall VM, all VMs instrumented with Heartbeat v2 to fail-over services on standby virtual machines.
> More reliability, fault tolerance and thus high level of availability for business critical IT services. Improved performance by using latest, but still cost effective hardware, flexibility to do 'rolling' upgrade if performance requirements increase over time (services stay online)
48 © Novell Inc. All rights reserved
Novell Xen Roadmap
Novell Virtual Server Architecture
Overview
●
SUSE Linux Enterprise Server 10 includes Xen 3.0.2
●
Supported hardware architectures: x86 (32bit) / x86 PAE (32bit) / x86-64 (64bit) including features to run unmodified OS
●
Unmodified OS operation (full virtualization) requires Intel VT and AMD
Virtualization (AMD-V) hardware
●
One IO and system management VM, many application VMs
●
Tight cooperation with virtualization technology providers to maintain stable interfaces between VM Server and VMs
●
Virtual Machine Server and Virtual Machine are verified layers by
Novell YES certification
●
Certified systems, supported solution stacks and their combinations will be listed in YES certification bulletins
50 © Novell Inc. All rights reserved
SUSE Linux Enterprise Server 10
Xen 3.0.2 support status
Overview
●
Runs both SLES 10 VM Server / SLES 10 VM (32/32bit and 64/64bit)
●
VM server RAM support: x86 4GB, x86 PAE 16GB, x86-64 32GB
●
Multiple vCPUs, NICs and disks for VM Server
●
Multiple vCPUs, vNICs and vDisks for VM
●
Technical preview allows to run different unmodified OS if hardware support is present (full virtualization)
Maintenance update Oct 2006
• Updated hypervisor to credit scheduler of Xen 3.0.3 for increased performance and scalability
• Several fixes to improve full virtualized OS installation and support
• more minor fixes (see changelog)
51 © Novell Inc. All rights reserved
Xen 3.0.2 support status (2)
Overview – Xen unsupported features
• F: Save & Restore (plan: get to supported status with a maintenance update)
• F: Live Migration (plan: get to supported status with a maintenance update)
• F: Use of asynchronous IO with sparse file mounted loopback in Virtual
Machine Server (dom0) (plan: get to supported status with a maintenance update)
•
F: Direct physical device access from Virtual Machines
• Support: technical preview full virtualization support: track bugs based on best effort
52 © Novell Inc. All rights reserved
Roadmap - Xen
2006
Virtual Machine Server
• SLES10 Xen VM server
• SLES10 paravirtualized VM
Tech Preview unmodified OS with Intel VT / AMD Virtualization
●
●
●
●
SLES 9, 10 x86
RHEL 4 x86
Microsoft Windows Server
Solaris 10 x86
Technical Preview PV OS
• SLES9 SP3 paravirtualized VM
2007
Virtual Machine Server
• SLES10 Xen VM server
• SLES10 PV VM
• OES2 VM server
• Netware PV VM
Unmodified OS using
Intel VT and AMD-V
●
SLES 9 / 10
●
MS Windows Server x86
●
MS Windows XP x86
●
RHEL 4 x86
Technical Preview
• SLES9 SP3 PV VM
• Solaris 10 x86
OCT
JUL
Xen 3.0.2
Scheduler
Update
53 © Novell Inc. All rights reserved
Q2
SLES 10 SP1
Xen update
Xen 3.0.4+
SUSE Linux Enterprise Server 10 SP1
Xen 3.0.4+ planned support Q2/2007
Overview
●
CIM provider for VM lifecycle mananagement, monitoring and resource management
●
CIM client for VM lifecycle mananagement, monitoring and resource management
●
Update from Xen 3.0.2 to 3.0.4+ (due to system management)
●
SLES 9 PV installation support (preview / documented)
●
OES2 using Netware 6.5 SP7 PV
●
VM server RAM support: x86 4GB, x86 PAE 64GB, x86-64 256GB
●
Basic NUMA support
54 © Novell Inc. All rights reserved
Xen 3.0.4+ support status (1)
Overview – planned Xen supported features
• x86 PAE max VM server physical memory:
• x86 PAE max VM memory:
• x86-64 max VM server physical memory:
• x86-64 max VM memory: 126GB
• 32 logical hardware threads per VM Server, 256 VMs per VM Server
• 8 vCPUs per VM, 8 VMs per physical CPU core
• 8 vNIC per VM
64GB
62GB
128GB
55 © Novell Inc. All rights reserved
Xen 3.0.4+ support status (2)
Overview – planned Xen supported features
• Save & Restore of Virtual Machines
• Live Migration of paravirtualized VMs
• use of asynchronous IO with sparse file mounted loopback in Virtual
Machine Server (dom0)
• paravirtualized device drivers for IO and network loads for Linux and
MS Windows to boost fullvirtualized OS performance
56 © Novell Inc. All rights reserved
OES2 virtualization support
• OES2 shares same common code base of SLE 10 SP1
• NetWare runs as paravirtualized OS 32-bit mode on 32bit and
64bit processor architectures that support the x86/x86-64 instruction set.
– This includes x86-64 (AMD64 / Intel EM64T)
– In this mode NetWare will be fully functional as a 32bit VM while allowing other virtual machines to fully benefit from the additional address space available on such architectures
• Workgroup servers, NetWare migration to recent hardware, High
Availability
57 © Novell Inc. All rights reserved
Virtualization Pilot Program
• Intel-VT or AMD-V hardware assisted
• Full Virtualization with PV Device Drivers:
–
SLES 9 and RHEL 4
–
MSFT WinXP/2000/2003
• increase in performance
58 © Novell Inc. All rights reserved
cluster aware logical volumes for hosting Xen domUs
cluster aware hosting of Xen domains
• Howto use Heartbeat and EVMS (in dom0) to create cluster aware logical volumes for hosting Xen domUs
–
Heartbeat 2.0.4 or later
–
EVMS 2.5.5 or later
– hb2-1.0.0.so is the EVMS plugin for Heartbeat2
•
• Add these lines to your /etc/ha.d/ha.cf
– respawn root /sbin/evmsd
– apiauth evms uid=hacluster,root
60 © Novell Inc. All rights reserved
cluster aware hosting of Xen domains
cont
• Start Heartbeat2 and it'll start the EVMS daemon on each node
–
Renewal time frames are not well communicated or defined
• verify the cluster aware behavior of EVMS
– evmsgui->Settings->Node Administered...
– all cluster nodes listed
–
EVMS and Heartbeat interact properly
61 © Novell Inc. All rights reserved
cluster aware hosting of Xen domains
Summary
• use EVMS to create a logical volume per each Xen domU OS image
– e.g.10G image of hda
–
/dev/evms/MyVirtualMachineHda
– copy guest OS image into that logical volume
– logical volume will have same (persistent) device name across all cluster nodes
– corresponding Xen control file will be location transparent too
– reference /dev/evms/MyVirtualMachineHda as path for domU's hda on all nodes
> http://sourceforge.net/mailarchive/message.php?msg_id=15485661
62 © Novell Inc. All rights reserved
PV drivers
PV Driver for Windows
•
– Novell PV Xenbus Driver for Windows
– PCI Device --> Update Driver
>
Xen Virtual Block Device
–
Add a New Hardware Device
–
Network Drivers
–
Xen Virtual Nic --> Update Driver
64 © Novell Inc. All rights reserved
setting up PV drivers for SLES9
• create new SLES9 VM
– edit /boot/grub/menu.lst
> kernel vmlinuz-kernel_ver append hda=noprobe
– shutdown VM
– xm delete vm_name (reference in xen store)
– edit /etc/xen/vm/vm_cfgfile
> remove parameter from vif line EXCEPT mac=
– xm new xm_cfgfile, restart VM --> new HW found
– /sys/class/net/ethx/drivers/vif-x
– verify PV drivers in use:
– storage device drivers: /sys/block/hdx/device/nodename
– network card driver: /sys/class/net/ethx/driver/vif-x
65 © Novell Inc. All rights reserved
Novell Xen based offerings
Infos on Pricing & Policies
Easy pricing and policy is in place
• Today we are charging for first instance (physical or virtual)
– first SLES 10 on physical machine or VMware etc
– http://www.novell.com/products/server/virtualization.html
• Outlook
– SLES 10 / SLED 10 or vice versa -> pay first server (like current policy)
– OES2 / Netware PV is planned to pay per user
– SLES 10 / OES2 PV o. FV / Netware PV – pay first server plus per user
– OES2 / Netware / SLES 10 – pay first server plus per user
67 © Novell Inc. All rights reserved
Microsoft and Novell Collaborating on
Virtualization and Interoperability
´
Collaboration on software to enable SUSE Linux
Enterprise Server 10 to run as a fully virtualized guest on SP1 of Virtual Server 2005 R2
SUSE Linux Enterprise Server 10 add-ins will be available in 2007
Collaboration on software that translates between virtualization technologies
Windows Server “Longhorn” supporting paravirtualized SUSE Linux Enterprise
Server 10 guest
SUSE Linux Enterprise Server 10 supporting enlightened Windows Server
“Longhorn” guest
68 © Novell Inc. All rights reserved
Where Do I find Information ?
External Resources
Where do customers get more information
• Novell Virtualization home page
– http://www.novell.com/linux/virtualization/
– Virtualization Technical Library, Whitepapers
• Novell's pricing for virtualization and available support offerings
– http://www.novell.com/products/server/virtualization.html
– http://support.novell.com/linux/
• Novell online documentation on Xen http://www.novell.com/documentation/vmserver/
• Supported hardware and technical limits
– http://developer.novell.com/yessearch/Search.jsp
search in category “Novell Product: SUSE Linux Enterprise 10 x86 with Xen”
– http://support.novell.com/products/server/supported_packages/ search for
SLES10 and Virtualization (Xen Support Matrix)
70 © Novell Inc. All rights reserved
Other Resources
Recommended links
• Xen project home http://www.xensource.com/xen/ wiki
– Xen summit presentations
– Xen architecture docs, developer discussions, future roadmap
– Recent changes, indexes, doc, FAQs
– Deployment examples, third party projects related to Xen
• Latest Novell's Xen externally available technical preview http://forge.novell.com/modules/xfmod/project/?xenpreview
– Latest code for test (SLES 10, SLES9, ...), not production
71 © Novell Inc. All rights reserved
Outlook: Data Center Automation
The Solution – Management Blueprint
73 © Novell Inc. All rights reserved
ZENworks
®
Orchestration Server
Resource Discovery
Workload Management
Dynamic Scheduling
VM Lifecycle Mgmt
Policy Management
Auditing/Accounting
Autonomic Availability
74 © Novell Inc. All rights reserved
ZENworks Orchestrator
75 © Novell Inc. All rights reserved
ZENworks Orchestrator
Features
• Agenten basiertes Entdecken
• Paralleles Ausführen
• Abschätzung der Workloads
• Planen
• Überwachung
– Nutzdaten, Abrechnung
–
76 © Novell Inc. All rights reserved
ZENworks Orchestrator
Features - Continued
• Erweiterbare Job Definition
– Sprache: Python
– Regeln: XML Format
– Voreinstellungen historischer Daten
– Ressourcen Optimierung
• Regelbasiert
–
Reservieren der Ressourcen
–
Vorrang kritischer Aufgaben
– ereignisorientiert
Orchestration Server
77 © Novell Inc. All rights reserved
ZENworks Virtual Machine Management
Features
• Heterogenes Virtual Machine Management
–
VMware, Xen, Microsoft
– Entdecken der Server für VM Kommissionierung
– Off/On-line Vm's & Templates
– Deployment, re-deployment/rollback
– Assoziieren physischer, virtueller und Storage Compute
Nodes
78 © Novell Inc. All rights reserved
ZENworks Virtual Machine
Management
Features
• Cluster-aware Virtualisierung
– Redundanz, Hochverfügbarkeit, Disaster Recovery
• Regel-basiertes, dynamisches Workload Deployment
– Job Zuweisung & Regelausführung
–
Verteilen und Bewegen der Workloads dynamisch
79 © Novell Inc. All rights reserved
Novell Portfolio Integration
VS VM
Applications
RM IDM Backup
SUSE Enterprise Linux
Virtual Machines
•
•
Consolidation
Migration
•
Effective hardware utilization
Virtual Storage
•
•
•
•
Volume manager
High availability software
Cluster file system
Business Continuance
Resource Management
•
•
•
•
Scheduling
Patch management
Deployment
Grid
Identity Management
•
•
•
Users, groups, resource association
Pervasive infrastructure that relates these services together
Utility Computing
80 © Novell Inc. All rights reserved
Virtual Machine Lifecycle
Discover
On-box incubator
Check in
Version control
Create
On-box tool (find)
Incubation job (make)
Edit
Config: Change
(using Sandbox)
Runtime: Facts
(temporary)
Config (static)
Developer
Actions
Operator
Actions
Runtime (Dynamic)
Destroy
81
Manage
Lifecycle, Cloning
Location, Runtime
© Novell Inc. All rights reserved
Deploy
Test (provision)
Production (Sandbox)
Monitor
Status (location state)
Performance (realtime, trends))
Availability
Virtual Machine Lifecycle Control
• System maintains library of VMs and images, hosts
–
Like physical resources VMs have ‘facts’ describing attributes
–
VMs can be grouped
• Actions can be performed on VMs:
–
Provision, Shutdown, Suspend, Create Template, Create VM,
Create Template From Physical, Create VM From Physical,
Clone VM, Clone Online VM, Clone Template, Destroy,
Restart, Migrate, Check Status, Template to Instance,
Instance to Template, Affiliate With Host, Make Standalone,
Checkpoint, Restore, Delete, Cancel Action
82 © Novell Inc. All rights reserved
Virtual Machine Lifecycle Control
(cont.)
83
•
•
•
VM lifecycle controlled by:
–
–
Programmatically (Job / JDL)
Manually (through mgmt. console)
–
Automatically on demand
>
A job makes request for unavailable resource… Suitable VM image is located, host is located, image is provisioned, instance is initially reserved for calling job, logic is invoked to make use of new resource
VM host/instance selection/placement is similar to resource selection:
– Governed by policies, priorities, queues and ranking
Provisioning Adapters provide VM abstraction:
–
–
Special ‘provisioning’ jobs perform operations for each integration with different VM technologies
The provisioning adapter is a JOB!
© Novell Inc. All rights reserved
Virtual Provisioning and Life Cycle Management
• Discovery- provisioning adapter job
• Two types of VM; Instance & Template
• Provisioner requests a VM host
• Reservations, Constraints
84 © Novell Inc. All rights reserved
Architektur
ZENworks Orchestration
Server
• Orchestration
- Rules engine
- Policy
- Scheduling
- Grid services
• - Utilization & billing
Management Server
• Physical inventory
• Bare metal provisioning
• Patch & Update
• Configuration
• Remote Control
UMF
• Visualization
• Reporting
Data Model
Reconciliation
Federation
Managed Nodes
• CIMOM
• CCM Agent
• Orchestration Agent
Storage Resource
Manager
• Discovery
• Logical unit naming
• Quality of service
• ACL control
Monitoring Server
• Monitoring
• Associates physical w/ virtual
VM Repository
VM Creator
- Auto YaST
- Sysprep
- Kickstart
- NetWare Resp. File
85 © Novell Inc, Confidential & Proprietary
86 © Novell Inc. All rights reserved
87 © Novell Inc. All rights reserved
88 © Novell Inc. All rights reserved
89 © Novell Inc. All rights reserved
90 © Novell Inc. All rights reserved
Unpublished Work of Novell, Inc. All Rights Reserved.
This work is an unpublished work and contains confidential, proprietary, and trade secret information of Novell,
Inc. Access to this work is restricted to Novell employees who have a need to know to perform tasks within the scope of their assignments. No part of this work may be practiced, performed, copied, distributed, revised, modified, translated, abridged, condensed, expanded, collected, or adapted without the prior written consent of
Novell, Inc. Any use or exploitation of this work without authorization could subject the perpetrator to criminal and civil liability.
General Disclaimer
This document is not to be construed as a promise by any participating company to develop, deliver, or market a product. Novell, Inc., makes no representations or warranties with respect to the contents of this document, and specifically disclaims any express or implied warranties of merchantability or fitness for any particular purpose.
Further, Novell, Inc., reserves the right to revise this document and to make changes to its content, at any time, without obligation to notify any person or entity of such revisions or changes. All Novell marks referenced in this presentation are trademarks or registered trademarks of Novell, Inc. in the United States and other countries. All third-party trademarks are the property of their respective owners.
Download
Advertisement
Key features
Xen virtualization support
YaST-based VM management
Full and paravirtualization modes
VM migration capabilities
High availability features (Heartbeat2, OCFS2)
Integration with Novell's product portfolio
Frequently asked questions
YaST in SLES 10 supports para-virtualized and fully virtualized guests, allowing installation from network or CD/DVD.
Use the 'xm' command (Xen Management) for tasks like creating, shutting down, destroying, migrating, and hot-plugging VMs.
The supported storage options include generic block devices (SCSI, SATA, IDE, LVM, etc.), iSCSI, FibreChannel, SAN, and more.
The actual overhead is claimed to be between 1-20% (previously 1-5%).
Full virtualization emulates all hardware, while paravirtualization uses a modified OS that cooperates with the VMM for better performance.