Novell SUSE Linux Enterprise Server 10 User manual

Category
System management software
Type
User manual
Xen Expert Days
Virtualization with Xen
SUSE Linux Enterprise Server 10
Ralf Dannert
Technology Specialist
rdannert@novell.com
© Novell Inc. All rights reserved
2
Agenda
Use cases
Terminology and Architecture
VM installation
Using Xen
Case Studies
Roadmap
Novell offerings
Helpful Links
© Novell Inc. All rights reserved
3
Server Virtualization: Analyst's View
© Novell Inc. All rights reserved
4
© Novell Inc. All rights reserved
5
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
Executive Summary
Use Cases
© Novell Inc. All rights reserved
7
Uses of Virtualization
Sharing
Aggregation
Examples: VMs, LPARs, Virtual Disks, VLANs
Physical
Resources
Virtual
Resources
Examples: Virtual Disks, Virtual Storage Pools
Physical
Resources
Virtual
Resources
Transparent Change
Examples: Spare CPU Substitution, CUoD
Physical
Resources
Virtual
Resources
Add or Replace
Extension
Examples: iSCSI, Architecture Emulators
Physical
Resources
Virtual
Resources
© Novell Inc. All rights reserved
8
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: pre-
configured application stacks are faster to deploy
Integrated high availability increases reliability
OS OS OS OS OS
VM Virtualization Layer
Hardware
A A A A A A A
Terminology and Architecture
© Novell Inc. All rights reserved
10
SLES 10 VM Server
SLES 9 and Windows XP - Fully Virtualized VMs
© Novell Inc. All rights reserved
11
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
© Novell Inc. All rights reserved
12
Xen Community Terminology
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
13
Full & Paravirtualization Overview
Virtual Machine Monitor
HW Platform
Virtual
Machine
Operating
System
Apps
Virtual
Machine
Operating
System
Apps
Full Virtualization
Runtime modification of Guest OS:
VMM manages the conflict, then
returns to OS
Virtual Machine Monitor
HW Platform
Virtual
Machine
Operating
System
Apps
A
P
I
A
P
I
Virtual
Machine
Operating
System
Apps
A
P
I
A
P
I
Paravirtualization
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
© Novell Inc. All rights reserved
14
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.
© Novell Inc. All rights reserved
15
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 Applications
Kernel Kernel
Linux Kernel
domain 0
(management)
Hypervisor (XEN)
Physical Hardware
ring 3
ring 1
ring 0
Events
Hypercalls
© Novell Inc. All rights reserved
16
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
© Novell Inc. All rights reserved
17
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
Reliability
>
Drivers are potentially undependable if they run as part of privileged
software
© Novell Inc. All rights reserved
18
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
© Novell Inc. All rights reserved
19
Intel Pre- and Post-VT
© Novell Inc. All rights reserved
20
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,
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92

Novell SUSE Linux Enterprise Server 10 User manual

Category
System management software
Type
User manual

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI