0% found this document useful (0 votes)
16 views41 pages

09 OVM Manager Integration

Uploaded by

Razu Mollah
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views41 pages

09 OVM Manager Integration

Uploaded by

Razu Mollah
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 41

1 | © 2012 Oracle Corporation – Proprietary and Confidential

Safe Harbor Statement


The following is intended to outline our general product
direction. It is intended for information purposes only, and
may not be incorporated into any contract. It is not a
commitment to deliver any material, code, or functionality,
and should not be relied upon in making purchasing
decisions.
The development, release, and timing of any features or
functionality described for Oracle’s products remains at the
sole discretion of Oracle.

2 | © 2012 Oracle Corporation – Proprietary and Confidential


Oracle Training Materials – Usage Agreement
Use of this Site (“Site”) or Materials constitutes agreement with the following terms and conditions:

1. Oracle Corporation (“Oracle”) is pleased to allow its business partner (“Partner”) to download and copy the information,
documents, and the online training courses (collectively, “Materials") found on this Site. The use of the Materials is restricted to
the non-commercial, internal training of the Partner’s employees only. The Materials may not be used for training, promotion, or
sales to customers or other partners or third parties.

2. All the Materials are trademarks of Oracle and are proprietary information of Oracle. Partner or other third party at no time has
any right to resell, redistribute or create derivative works from the Materials.

3. Oracle disclaims any warranties or representations as to the accuracy or completeness of any Materials. Materials are provided
"as is" without warranty of any kind, either express or implied, including without limitation warranties of merchantability, fitness
for a particular purpose, and non-infringement.

4. Under no circumstances shall Oracle or the Oracle Authorized Boot Camp Training Partner be liable for any loss, damage,
liability or expense incurred or suffered which is claimed to have resulted from use of this Site of Materials. As a condition of use
of the Materials, Partner agrees to indemnify Oracle from and against any and all actions, claims, losses, damages, liabilities
and expenses (including reasonable attorneys' fees) arising out of Partner’s use of the Materials.

5. Reference materials including but not limited to those identified in the Boot Camp manifest can not be redistributed in any format
without Oracle written consent.

3 | © 2012 Oracle Corporation – Proprietary and Confidential


OVM for SPARC: Oracle VM Manager
Integration
Instructors Name
4 | © 2012 Oracle Corporation – Proprietary and Confidential
Module Objectives
• Oracle VM Manager Introduction
– What is Oracle VM Manager
– Oracle VM Manager Deployment
– Oracle VM Manager Inside
• Manage OVM SPARC Server with OVM Manager
– Integration with OVM Manager
– Management Capabilities

5 | © 2012 Oracle Corporation – Proprietary and Confidential


OVM Manager Introduction

6 | © 2012 Oracle Corporation – Proprietary and Confidential


What is Oracle VM Manager
• OVM Manager is the management tool for Oracle VM family
– Define common management concept across two hypervisors
• Oracle VM Server for x86
• Oracle VM Server for SPARC
– Provide centralized management services
• Standard-based management interface
– Browser-based UI
– SSH-based CLI
• Implement most hypervisor management functions
– Do not need to leave OVM Manager

7 | © 2012 Oracle Corporation – Proprietary and Confidential


Oracle VM Manager Functions
• Server & Server Pool Management
– Discover OVM Server
– Network & Storage Management
– Group Servers as Server Pool
• Resource Management
– Import Template & Assembly
– Import ISO file
– Create Virtual Disk
• Virtual Machine Management
– Create Virtual Machine
– Configure Virtual Machine
– Clone, Save as Template, Migrate and Delete

8 | © 2012 Oracle Corporation – Proprietary and Confidential


Oracle VM Manager Functions
• Policy-based Service Automation
– Distributed Resource Scheduler (DRS)
• Load Balancing Guest VMs workload in Server Pool
– Distributed Power Management (DPM)
• Power off Idle machines in Server Pool
– Anti-Affinity Group
• Isolated Guest VMs within the Server Pool

9 | © 2012 Oracle Corporation – Proprietary and Confidential


Deployment:

Oracle VM Manager

10 | © 2012 Oracle Corporation – Proprietary and Confidential


Components of OVM Manager
• Management Server
Oracle VM Manager
– Run web accessible interface
• Management BUI
Management Server
• WS-Based Remote Management API
• OVM Manager CLI Oracle VM
Web Interface

– Run server pool management Manager Repository


Server Pool Management
• OVM Server monitoring
• Policy-based service automation engine
– Use Oracle WebLogic 11g Server
• Oracle VM Manager Repository
– Store configuration data for server pools
• Managed Objects
• Server Pool Configuration and Policy
• Event and Job
– Use Oracle DB 11g or MySQL DB 5.5

11 | © 2012 Oracle Corporation – Proprietary and Confidential


Oracle VM Manager Deployment Options
Simple Install Custom Install

• WebLogic 11g • WebLogic 11g


• Oracle VM Manager • Oracle VM
• MySQL DB 5.5 Manager

• Oracle Database SE, EE


• MySQL DB 5.5

12 | © 2012 Oracle Corporation – Proprietary and Confidential


OVM Manager supporting platform
• OVM Manager is an application and require an existing OS
• Current release only supports Linux platform
– Oracle Linux 5/6
– Red Hat Enterprise Linux 5/6
• Future Solaris SPARC will be another supported OS
• The OS can be virtualized

13 | © 2012 Oracle Corporation – Proprietary and Confidential


OVM Manager Inside

14 | © 2012 Oracle Corporation – Proprietary and Confidential


OVM Manager UI

Task Tabs: Perspective Pane:


• Categorized by tasks • Show detailed
‒ Server information of a
‒ Repository managed objects in
‒ Network / Storage the navigation tree
‒ Tools • Organized by
‒ Job perspectives
• Easier to navigate

Navigation Pane: Job Pane:


• Managed Objects • List interactive jobs
list and related of current session
actions toolbar • Ordered by start
• Toolbar are context time
sensitive • Job history can be
seen by clicking
“Jobs” in tasks tab.

15 | © 2012 Oracle Corporation – Proprietary and Confidential


Managed Objects
• Object Types
– Server & Server Pool Related Objects
• Server Pool
• Server
• Physical Network (Port, Bond, VLAN …)
• Physical Storage (NFS Server, SAN Storage …)
– Resource Related Objects
• Repository
• Assembly
• ISO Image
• Virtual Disk
– Guest VM Related Objects
• Virtual Machine
• Virtual NIC & Virtual Disk Mapping

16 | © 2012 Oracle Corporation – Proprietary and Confidential


Managed Objects (Continued)
• Object Identification
– Internal
• Unique UUID
– Display
• Human Readable Display Name
• Duplicate display name is allowed
• Object Storage
– OVM Manager Repository
• Store an entry for each managed object
– Where managed objects should be
• OVM Repository
• OVM Server
– Easy to rediscover managed objects

17 | © 2012 Oracle Corporation – Proprietary and Confidential


Job
• Definition
– Group of operations on
managed objects
• Operations are atomic

• Job can be created by


– Manager UI actions
– Server pool policy
– Scheduling
• Job Status
– Pending
– In Process
– Aborted
– Succeed
– Failed
• Running job sometimes
will lock objects
18 | © 2012 Oracle Corporation – Proprietary and Confidential
Event
• Definition
– Event is the result of
monitoring on specified
objects
• OVM Server
• Guest VM
• Storage Device
• …
• Event Severity
– Critical
– Warning
– Informational
– Minor
• Acknowledge Event
– Check and clear object’s
error status

19 | © 2012 Oracle Corporation – Proprietary and Confidential


Integration with OVM Manager

20 | © 2012 Oracle Corporation – Proprietary and Confidential


Oracle VM Integration Model
• OVM Agent Service enables the
OVM Manager
integration with OVM Manager
– As additional service in control domain
– Contact point for OVM Manager to Control Domain Guest Domain Guest Domain
manage everything on the OVM Server Solaris Solaris Solaris
• Through a XML-RPC interface OVM Agent Agent Agent
Agent
• Management command are common to
both OVM for SPARC and OVM for x86 LDM
– Implement the OVM Agent framework
• Will wrap local management capabilities
– Monitor OVM Server and report result to
the platform Hypervisor

SPARC Server

21 | © 2012 Oracle Corporation – Proprietary and Confidential


Prepare Control Domain for Integration
• Install OVM Agent for SPARC on Control Domain
– Where can get OVM for SPARC
• Release with OVM Manager since 3.2
• Download from http://edelivery.oracle.com/linux
– OVM Agent for SPARC release format
• OVM agent for SPARC is release as IPS package
• Require Control Domain running Solaris 11.1
– During the installation
• Must provide the OVM agent password
• Will check VCC service configuration in the control domain

22 | © 2012 Oracle Corporation – Proprietary and Confidential


Server Discovery
Definition
• Goal
– Discover: Find new OVM Servers
– Rediscover: Find changes on existing OVM Servers
• Manually at anytime when OVM Server is running Oracle VM Oracle VM

Manager Servers
• Automatically when OVM Server is restarted
• Roles in Discovery
– OVM Manager
• Control discovery process
• Send commands to OVM Agent process running on OVM Server
– OVM Server
• Implement OVM Agent Framework
• Execute commands to discover resources or configuration on OVM Server

23 | © 2012 Oracle Corporation – Proprietary and Confidential


Server Discovery
OVM Manager UI
• Use OVM Manager to discover
• Registers servers with the
Manager
• Specify a specific IP address or
a range of IP addresses
• Enter the Oracle VM Agent
Password
– Easier if all servers share the same
password

• OVM Manager will create a job for each server being discovered
24 | © 2012 Oracle Corporation – Proprietary and Confidential
Management Capabilities

25 | © 2012 Oracle Corporation – Proprietary and Confidential


Management Features
• Most of the management operations can be supported
in OVM Manager
• Configuration Limitations
– Control Domain will be the only service domain
• Single VDS component as primary-vds0
– I/O Domain is not supported
• Can not use physical I/O feature
• In favor of live migration in OVM Manager

26 | © 2012 Oracle Corporation – Proprietary and Confidential


What is new in Storage Management
• Storage Connect Framework
– A extensible framework let OVM Manager manage storage
devices directly inside OVM Manager
• Storage Objects
– Repository
• A central place store the virtual resources used by guest domain
– Templates
– ISOs
– Virtual disk files

27 | © 2012 Oracle Corporation – Proprietary and Confidential


Storage Connect Framework
Server
Pool
Create LUN

Storage Connect Plug-In Framework & API


Oracle Plug-In Partner Plug-In
Oracle VM Manager

Sun Storage Partner Storage

CLONE VM Storage Repositories

Storage Connect Plug-Ins … OCFS2 Plug-In


_INSTANT_CLONE
• Any storage is connected through a plug-in
• Open Storage Administrator Capabilities to OVM Manager


– Creation and expanding of LUNs and File Systems OCFS2 File System
– Access Control
JBOD
– Thin provisioning, Cloning…

28 | © 2012 Oracle Corporation – Proprietary and Confidential


Storage Connect Plug-in
• Written in Python
– Interface for two categories of storage devices
• Storage Array - IStorageArrayPlugin
• File System - IFilesystemPlugin
– Methods
• Storage Capabilities
• Storage Operations
– Interface are Open for any storage vendor to implement
• Oracle
– Generic, Oracle-Specific
• Non-Oracle
– Vendor-Specific

• Not only for Oracle VM Manager


– Also used by Oracle Enterprise Manager 12c

29 | © 2012 Oracle Corporation – Proprietary and Confidential


Oracle VM Storage Management Mode
Unmanaged Managed
Storage Connect Not use Storage Connect Plug-in Use Storage Connect Plug-in
Requirement on Configure Storage Stack Configure Storage Stack
OVM Server Install Storage Connect Plug-in
Requirement on Direct Attached Block Device IP-Accessible Management Component on Storage Device
Storage Device • Can be Local Disk, JBOD or SAN • Only for Storage Arrays and File Servers

Storage Separated Storage Management Centralized Storage Management


Management • Storage connection & discovery in OVM Server • Storage connection & discovery in OVM Manager
• Provision Storage Elements through OVM Manager • Provision Storage Elements in OVM Manager
• Future storage requests goes to Storage Administrator • Future storage requests can be submitted via OVM Manager

Managed Objects Only storage elements already presented to OVM Server Real Storage Devices
• Physical Disks • Permissions
– Access Group
• Storage Elements
– Discover
– Create / Destroy
– Resize
• More Storage Management Capabilities
– Snapshot / Clone
– Replication / Backup

Action Result Actions affect only Dom0 of OVM Server Actions affect both Dom0 and devices (Be Careful)

30 | © 2012 Oracle Corporation – Proprietary and Confidential


OVM Repository
• OVM Repository is organized as a file system
– Standard Directory Architecture
• Assemblies - Virtual Assembly Archives
• ISOs - ISO Image Files
• Templates -Template Definitions
• VirtualDisks - Shared / Non-Shared Virtual Disks for VM & Template
• VirtualMachines - Virtual Machine Definitions
• Only NFS Server can be used to create OVM Repository in OVM
SPARC

31 | © 2012 Oracle Corporation – Proprietary and Confidential


Difference when using Storage Repository
• Domain metadata is stored in repository instead of OVM
SPAR C Server
– Domain will be created on the server on the fly when domain is started
• Name of the domain is the identifier (UUID) of the object in the OVM Manager
– Domain will be removed from the server when it is stopped

32 | © 2012 Oracle Corporation – Proprietary and Confidential


Server Pool Concept
• Server Pool
– Logical group of one or more OVM Servers
– Share the responsibility of managing a group of VMs
• Provide pooling resource for guest VMs
• OVM Server must be a member of a server pool before hosting any guest VM

• Benefits of Server Pool


– Best match workload with resource
• Guest VMs can be assigned or migrated to the OVM Server with proper resource
– Business continuity
• Protect guest VMs from possible planned or unplanned events
– Service Automation
• Manage resource usage of OVM Servers automatically by server pool policy

33 | © 2012 Oracle Corporation – Proprietary and Confidential


Server Pool by hypervisor
• Two hypervisors support
– New from Oracle VM 3.2
– Manage following hypervisors through single OVM Manager
• Oracle VM Server for x86
• Oracle VM Server for SPARC

• Server Pool by hypervisor


– Can not mix hypervisor in a Server Pool
– Can not migrate VM cross different hypervisor

34 | © 2012 Oracle Corporation – Proprietary and Confidential


Server Pool Types in Oracle VM
• Clustered Server Pool
– Configured with clustering mechanism among OVM Servers
• Can detect error conditions in different level
• Guest VMs can be restarted automatically when any error occurs
– Server Pool File System is required
• Need underlying OCFS2 Cluster Stack for cluster management
– Only support Oracle VM Server for x86
• OCFS2 is not and will not ported to Solaris

• Non-Clustered Server Pool


– OVM Servers work separately
• No error detection, no VM Auto-Restart
– Server Pool File System is not required
• In fact, OCFS2 File System can not be configured in non-clustered server pool

35 | © 2012 Oracle Corporation – Proprietary and Confidential


Parameters to create a Server Pool
• Server Pool Virtual IP • Hypervisor Type
– Will be used for Master – Choose between Oracle
Server VM Server for x86 (Xen)
and Oracle VM Server for
• VM Console Keymap
SPARC
– Default keyboard type
to access guest VM • Activate Cluster
console – Create a clustered or
non-clustered server pool
• VM Start Policy
– Can not change later
– Control how to assign
OVM Server to run a • Timeout for Cluster
guest VM – Customize OCFS2
– Could be best server or heartbeat timeout
pre-assigned server – Can not change later
• Secure VM Migration • Storage Element for
– Configure to use SSL SPFS
for live migration traffic
– Required for a clustered
or not
server pool

36 | © 2012 Oracle Corporation – Proprietary and Confidential


Master Server in Server Pool
• Master Server will run Virtual IP of the Server Pool
– Create a NIC using management network - “bond0:0”
• Master Server is contact point for OVM Manager after a
server pool is created
– OVM Manager will send command to virtual IP running on the master
server with the parameter of target OVM Server
– Master Server then forwards the command to target OVM Server and
send back result to OVM Manager

• Master Server is required for both clustered and non-


clustered server pool
37 | © 2012 Oracle Corporation – Proprietary and Confidential
Master Server in Server Pool
• Master Server has the responsibility for starting guest VMs
– Find proper OVM Server in the server pool to run the guest VM
• Will enforce anti-affinity policy defined for the server pool
• Will enforce VM start policy of the server pool
• Try load balance guest VMs among the server pool

• Master Server plays significant role in Oracle VM HA


– Monitor running guest VMs and restart failed guest VM
• Use the same algorithm as starting a new guest VM

38 | © 2012 Oracle Corporation – Proprietary and Confidential


39 | © 2012 Oracle Corporation – Proprietary and Confidential
40 | © 2012 Oracle Corporation – Proprietary and Confidential
41 | © 2012 Oracle Corporation – Proprietary and Confidential

You might also like