Safe Harbor Statement
以下内容旨在概述产品的总体发展方向。该内容仅供参考,不可纳入任何合同。该内容不构成提供任何材料、代码或功能的承诺,并且不应该作为制定购买决策的依据。
此处所述有关 Oracle 产品的任何特性或
功能的开发、发布以及相应的日程安排均由Oracle 自行决定。
Oracle Enterprise Architecture
Oracle Enterprise Architecture
Oracle VM 3 Architecture & Installation 郭峰
资深技术顾问
Oracle VM: 系统架构
dom0
Oracle VM 架构图
Xen Hypervisor Host Hardware
(CPU, RAM, Network, Disk)
Oracle VM Agent
domu domu
Java-based Mgmt Server
Oracle Linux Server Pool 1
Server Pool 2
External Storage
Oracle VM Manager Database
Oracle VM Manager
Oracle VM Server
?硬件需求
?1.83Ghz 64-bit Processor
?Memory
? 4 GB for Simple Install (with XE)
? 1.5 GB for Standard Install (DB on another server) ?1+ Network Interface
?Disk Space
? 2.1 GB of free swap
? 5 GB in /u01
? 2 GB in /tmp
?软件配置
?Oracle Linux 5/6 64bit (preinstalled)
?libaio, unzip
?硬件配置(minimum)
?64-bit Processor
?Single CPU
?1 GB RAM
?1+ Network Interface
?推荐配置
?Dual-core or Multiple CPUs ?2+ GB RAM
?2-8 Network Interfaces
Oracle VM 共享存储
?File Servers
?NFS/NAS
?Storage Arrays
?iSCSI
?Direct-attached Fibre Channel
?Vendor Storage Plug-ins
?Available directly from many storage vendors
?Allows storage management from Oracle VM Manager
?Server Pool:
?A server pool is logically an autonomous region that contains one or more physical servers.
?Can be clustered to provide high availability
?Servers share the responsibility of maintaining a group of VMs ?Unassigned Servers
?One or more physical servers not belonging to a server pool
?Newly discovered Oracle VM Servers start here
?File Servers
?One or more NAS devices registered in Oracle VM Manager ?Provides NFS-based storage to VM Servers and/or VMs
?Can use any file system
?Only type of storage that can be shared by multiple server pools ?Storage Arrays
?iSCSI or SAN/Fibre-based storage
?OCFS2 filesystem
?Added benefits of thin-provisioning, hot cloning, etc.
虚拟机服务器: Oracle VM Servers
X64 Bare-Metal Server
Hypercall API
https://www.doczj.com/doc/024255479.html,-based Hypervisor
Guest OS PV Guest VM
Workload Apps, etc.
Guest OS
HV Guest VM
Workload Apps, etc.
domU
domU
Oracle OL-based Mgmt & Control
Domain
Native Device Drivers (for PVM)
dom0
Oracle VM Agent
Device Emulation (for HVM) ?Dom0
?Xen-aware kernel ?Discovers/manages
physical devices and domU access to them (privileged) ?Designated one or more roles in the VM environment
X64 Bare-Metal Server
Hypercall API
https://www.doczj.com/doc/024255479.html,-based Hypervisor
Guest OS PV Guest VM
Workload Apps, etc.
Guest OS
HV Guest VM
Workload Apps, etc.
domU
domU
Oracle OL-based Mgmt & Control
Domain
Native Device Drivers (for PVM)
dom0
Oracle VM Agent
Device Emulation (for HVM) ?Oracle VM Agent
?Communicates with Oracle VM Manager to manage and control domU guest machines ?Monitors environment and
forwards events to VM Manager
?Xen
?4.0.3
?Open-source
?OCFS2
?Oracle’s open -source cluster filesystem
?For PV guests, driver abstraction:
?Replaces hardware-specific drivers ?One network driver ?One block driver
?Very stable / rarely changes ?Excellent guest stability
?Front-end drivers (net & block)
?Inside the virtual machine / domU OS ?Back-end drivers (net & block) ?In dom0 / shared
?Open, native hardware vendor drivers ?Uses open Linux drivers
Key Concepts: Driver Architecture - PVM
Hypercall API
Hypervisor
Guest OS
PV Guest VM Workload Apps, etc.
domU
netfront driver blockfront driver
X86/64 Bare-Metal Server
Oracle Linux-based Mgmt & Control Domain
Native Device Drivers (for PVM)
dom0
netback
driver
blockback driver
?HVM guests driver choices:
?Choice 1:
?Unmodified native driver(s)
?OS typically installs basic native network and block drivers that come with the OS (not with the virtualization server) ?Device support provided via device
emulation / translation in the virtualization server on top of net- & block-back drivers in dom0
?Slower than PV due to emulation overhead
Key Concepts: Driver Architecture - HVM
Hypercall API
Hypervisor
Guest OS
HV Guest VM
Workload Apps, etc. domU
X86/64 Bare-Metal Server
OL-based Mgmt & Control Domain Native Device Drivers (for PVM)
dom0 netback driver blockback driver
Device Emulation (for HVM)
?HVM guests driver choices:
?Choice 2:
?PV drivers (front & back)
?HVM (unmodified) kernels can use PV drivers
?Leverages the PV driver stack same as previously described ?Excellent performance
Key Concepts: Driver Architecture - HVM
Hypercall API
Hypervisor
Guest OS
HV Guest VM
Workload Apps, etc. domU
X86/64 Bare-Metal Server
OL-based Mgmt & Control Domain
Native Device Drivers (for PVM)
dom0
netback driver blockback driver
Device Emulation (for HVM)
服务器的角色
Server Roles
?Server Pool Master (one in pool) ?Virtual IP
?Communication point with VM Manager ?Utility Server (one or more in pool) ?Performs intensive I/O related operations ?Instrumental in template management and cloning
?Virtual Machine Server
?The primary function of the virtual
machine server is to run virtual machines
Oracle VM Server 安装?Information needed before installing: ?Passwords
?Root password
?Oracle VM Agent password
?Host Information
?IP address
?Netmask
?Gateway
?DNS
?Timezone
?Fast Install
管理控制台:
Oracle VM Manager
Oracle VM Manager 概念架构
Server Pool
VM VM VM VM
Oracle VM Servers
NAS, SAN, iSCSI
Server Pool
VM VM VM VM
Oracle VM Servers
NAS, SAN, iSCSI
Oracle VM Manager
Browser
XE, SE, EE or RAC
Database
Oracle VM Servers: ?Virtual Machines ?Enterprise Linux ?Windows
Server Pools: ?Pool resources ?Load balance ?Migrate
?Auto failover
Oracle VM Manager: ?Browser-based ?WebLogic server ?Scalable & Available