Experiences with OracleVM 3.3 Hans Forbrich Oracle ACE Director Forbrich Consulting Ltd
Based in Alberta, Canada
Why I use Oracle VM Oracle shop Oracle product licensing Hard Partitioning Fixed servers 5x Dell Precision 490 w/ 36GB RAM each 2x Dell Precision T5500 w/ 48GB RAM each All machines: 3x GB Ethernet NIC Replace 22 smaller servers Test, Dev, Prod, Education
My Architecture 2x Dell Optiplex 760 DNS, DHCP, NTP 1x Dell Optiplex 760 Cloud Control & OracleVM Manager 3x GB switches Public, Storage, Interconnect 1x custom NAS 5TB, iscsi and NFS 7x Dual CPU, Quad Core machines for VM 2 Prod, 2 Test, 3 Dev
Part 1 Overview of Oracle VM
What is Oracle VM Two VM solutions Oracle VM for X86 Oracle VM for Sparc Two management solutions Oracle VM Manager Oracle Enterprise Manager PlugIn for OVM
Oracle VM Architecture From Oracle VM User Guide, Ch 2
Oracle VM for x86 Based on XEN 4.x Enhanced for Multi-Server 'pools' Not latest version of XEN Stability Central repository UUID for all resources Uses own CLI, not xm
Raw Iron Virtualization Thin layer called Hypervisor Responsible for drivers Primary Domain (Dom0) Management utilities, start/stop VMs ODA has a Dom1 called ODA_BASE Extra privileges, such as Disk access VMs go into User Domains (DomU) Resources that can host OS and App
Oracle VM Server 3.3 Only 64 bit Based on XEN Project 4.3 Oracle Linux 6 core with UEK 6 Dom0 is Oracle Linux 6 Huge Pages support Interoperable with OpenStack OVM Manager is WS enabled OVM Agent to talk back to Manager Uses Berkeley DB for local configuration
Experiences OVM-Server Install Very simple install Get from http://edelivery.oracle.com/linux Free FOSS license ISO (DVD) is 547MB Small enough to fit in a Desktop VM VMWare Fusion has HVM support VirtualBox 4.3 does not Can not use for demo Windows raw
Experiences OVM-S Install Prepare with the information Host name, IP address, DNS, Gateway
Plus some more (boring) screens over the next 5 minutes To get
Oracle VM Server 3.3 Install complete (about 15 minutes) After that, access is via ssh OVM Manager Console through OVM Manager
Oracle VM Server 3.3 Post Install What kind of disk NFS iscsi (perhaps ZFS Appliance) Need to set up mounts Perhaps iscsi initiator Probably the trickiest part of all
Oracle VM Manager Centralized management tool All resources are identified by UUID Use repository to 'translate' name UUID Both Graphical and CLI front ends Manage Server, Server Pool Storage Network Domains, Virtual Machines Start, Stop, Create, Destroy, Kill, move
Oracle VM Manager 3.3 Application installed in a Linux machine Repository is based on MySQL EE UI based on WebLogic 12c and ADF 12c Supports WebServices API Both SOAP and REST SOA compatible
Oracle VM Manager Install Requires a host Install a plain Oracle Linux 6 (u5) Wants 8GB RAM 2-4GB RAM seems OK for small configuration 40GB disk seem adequate Extra space can be given to NFS Get the Oracle VM Manager software from http://edelivery.oracle.com/linux Install into the prepared host
Oracle VM Manager Install A pre-install script prepares host
Oracle VM Manager Install Pre-install using createoracle.sh Same concept as oracle-validated.rpm Creates user, sets up kernel and permissions
Oracle VM Manager 3.3 Install runinstaller.sh MUCH faster than previous versions Shell script, not GUI Install, upgrade, remove Goes through 9 steps
Oracle VM Console
Getting Going Oracle VM Manager is easy to use
Important Concept Oracle VM Server has multiple domains At least Dom0 and potentially many DomU A domain is a named set of resources that can hold a Virtual Machine A Virtual Machine runs inside of a Domain
The console The console has not changed much
Using OVM Manager GUI Simple workflow Create Server Pools Discover OracleVM Servers Assign to Server Pools Set up networking that is visible to servers Several Network Pools needs thought Discover storage that is visible to servers Several Storage Pools needs thought Create repositories and fill with templates Create VMs
Discover Servers
Assign to Pools
Networking
Storage and Repositories
Oracle VM CLI Command line client Accessed using ssh Commands Discover Create, Add, Import, Edit, Remove Set, Show, List Start, Restart, Stop, Kill, Suspend, Restart, Move Scripts using expect Supplement/replace Oracle VM Utilities I m still learning it!
Jobs, Jobs everywhere Create and Manage Jobs Jobs will be scheduled Jobs are executed by Agents Console used to display status
Jobs Check the Console!
Explore OVM Manager Docs Users Guide CLI Manual Utilities Guide
Oracle Enterprise Manager Ops Center Central management GUI Data Center View of Oracle HW Self-service opportunity Alternate to OVM Manager Console Higher level Allocate, move resources between VM Managers www.youtube.com/user/oraclelearning Oracle Ops Center 12c and Oracle VM
Oracle Enterprise Manager Cloud Control Centralized monitoring and management Central Console Dashboard Job Scheduler Distributed Agents For Oracle VM, Agent is deployed on VM Manager host
OEM Cloud Control 12c Workflow Discover OVM Manager host Ensure Self-Service updates enabled Setup, Extensibility Ensure VM PlugIns are deployed On EM Oracle Management Server and On OVM Manager Ensure OVM Manager keystore is shared with OM Agent Discover OVM Manager (Add Targets) Register OVM Manager (Infrastructure)
Add PlugIns (OEM Downtime)
Create and Share OVMM Keystore
Register OVM Manager
Register OVM Manager
Use OVM Manager
How it works for me OVM Manager GUI to manage VMs Not used often I don t have any scripts yet OEM Cloud Control to monitor Part of larger OEM monitor strategy Allows remote monitoring Plans to incorporate sctipts
Conclusion Many tools involved VM Manager is required Cloud Control for monitoring Scripting, Command Line Learning curve It takes time But it s worth it!
Questions?
Thank You Hans Forbrich mailto:yathra@forbrichcomputing.ca http://www.forbrichcomputing.com