Upload
others
View
7
Download
0
Embed Size (px)
Citation preview
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
OVM Templates on Oracle SuperCluster Simple, Reliable, and Secure Application Provisioning On Oracle SuperCluster Stefan Hinker Oracle S-Team
2
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
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.
Oracle Confidential – Internal/Restricted/Highly Restricted 3
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 4
Solutions designed to work together
Engineered System
End to End security
Highly Available
Converged Infrastructure
High Performance Virtualization
Resource Isolation
Provision complete application environments
+
One integrated approach to Application and Resource provisioning
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 5
Solutions designed to work together
On-demand application environments
Complete automation
Intelligent deployments
+
One integrated approach to Application and Resource provisioning
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Program Agenda
1
2
3
Oracle Confidential – Internal/Restricted/Highly Restricted 6
Template Overview
Automating deployments with Templates
Leveraging best practices templates
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 7
Oracle Virtual Machine(OVM) Template Overview
What is a Template?
VM layout OVM Configuration
Describe virtual machine topology
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 8
Oracle Virtual Machine(OVM) Template Overview
What is a Template?
Solaris 11
Pre-installed, pre-configured Operating System
Ready for final configuration for end deployment
Operating
System
VM layout OVM Configuration
Describe virtual machine topology
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 9
Oracle Virtual Machine(OVM) Template Overview
Application
Oracle, 3rd party, or Custom Application
Ready for final configuration for end deployment
Solaris 11
Pre-installed, pre-configured Operating System
Ready for final configuration for end deployment
Operating
System
VM layout
Application
& Data
OVM Configuration
Describe virtual machine topology
What is a Template?
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 10
Oracle Virtual Machine(OVM) Template Overview
Application
Oracle, 3rd party, or Custom Application
Ready for final configuration for end deployment
Solaris 11
Pre-installed, pre-configured Operating System
Ready for final configuration for end deployment
Configuration
methods
Operating
System
VM layout
Application
& Data
System Configuration
Oracle, 3rd party, or Custom first-boot configuration
Methods to configure O/S and applications to suit end use
OVM Configuration
Describe virtual machine topology
What is a Template?
Captures Complete Environment
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 11
Oracle Virtual Machine(OVM) Template Overview
OVF
Open Virtualization Format
Single file, industry standard format Application
Oracle, 3rd party, or Custom Application
Ready for final configuration for end deployment
Solaris 11
Pre-installed, pre-configured Operating System
Ready for final configuration for end deployment
Configuration
methods
Operating
System
VM layout
Application
& Data
What is a Template?
Captures Complete Environment
Single File
Rapid “direct transfer” Deployment
System Configuration
Oracle, 3rd party, or Custom first-boot configuration
Methods to configure O/S and applications to suit end use
OVM Configuration
Describe virtual machine topology
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Program Agenda
Template Overview
Automating deployments with Templates
Leveraging best practices templates
1
2
3
Oracle Confidential – Internal/Restricted/Highly Restricted 12
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 13
Tools provided to create Templates
• Powerful functionality to reduce complexity • Manage entire lifecycle of a Template • Properties driven design approach • Single Command deployment capability
OVM Template Utilities A suite of command line utility applications
Manage the lifecycle of templates
Oracle VM creation utility
Oracle VM library utility
Oracle VM deployment utility
Oracle VM configuration utility
Oracle VM property utility Authoring
Create Deploy
Configure Store
Automating the provisioning process
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Oracle Confidential – Internal/Restricted/Highly Restricted 14
Pre-Install and configure O/S and Applications
• Create a guest domain with virtual devices • Create configuration properties • Install O/S • Install application • Configure application and environment • Roll back environment (O/S, app & workload) to desired
point • Create template including metadata describing config
properties
Template: Authoring A discrete topic and out of scope for this presentation
Requires application-specific expertise
Operating System
• Install Solaris packages • Install 3rd party utility apps • Install app prerequisites pkgs • Patches • Security setting • Configure O/S parameters • more
Application
• Application prerequisites • Installation methodology • Configuration methodology • Properties for final deployment • First boot configuration, including methods to start required services
Configure Authoring
Create Deploy
Store
Automating the provisioning process
Configure
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 15
Create a complete environment
• Single command line action • Source domain is inspected and … • Virtual device topologies captured • Configuration properties can be added to provide a
single source of deployment with descriptions of deployment properties (no need for separate readme files)
• Takes advantage of multithreaded compression for fast creation times
Template: Create OVM SPARC Domain
vCPU vCPU vCPU vCPU
Memory Memory
Memory Memory
O/S vdisk 0
App vdisk 1
vnet 0 vnet 1
vsw 0
vsw 1
.OVA
OVF Template: Disk image file(s) Meta data : VM properties Checksum files calculated at creation to protect payload
Authoring
Create Deploy
Configure Store
Automating the provisioning process
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Organize, manage, integrate Templates
Oracle Confidential – Internal/Restricted/Highly Restricted 16
• Provides a simple way to store templates and versions • File system based storage with database provides flexibility • Template is automatically unpacked and metadata parsed • Allows for meta data to be queried
• Template information • Configuration properties – values, types, defaults, descriptions • Storage size requirements • Pointers to template archive for deployment
• Creates a powerful repository to integrate into existing process
Template: Store
Authoring
Create Deploy
Configure Store
Automating the provisioning process
.OVA
OVF Template:
Metadata
SuperCluster IO Domain Creation Tool
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 17
Template Library in Oracle SuperCluster
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 18
Flexible deployment and customization of VM environment
• One Template can be deployed on any SPARC System • Powerful deployment command can customize environment
• Modify basic compute resource quantities, including core allocation and memory locality optimizations
• Deploy to physical devices – disks, slices, iSCSI, LUNs • Create custom sized file databsae vdisks • Supports multi-path virtual disks • Assigns vnets to new or existing vswitches • Create new vnets and/or vswitches
• Can extend virtual topology to create new vnets, vswitches or assign vnets to vswitches
Template: Deploy OVM SPARC Domain
vCPU vCPU
vCPU vCPU
Memory Memory
Memory Memory
O/S vdisk 0
App vdisk 1
vnet 0 vnet 1
.OVA
vsw 0
vsw 1 Authoring
Create Deploy
Configure Store
Automating the provisioning process
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 19
Domain Creation with Template in Oracle SuperCluster
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 20
Configure and customize environment during deployment
• Ovmtconfig passes properties to virtual environment • VMAPI support for Solaris configuration • Domain variables for application configuration • Utility ovmtprop allow custom 1st boot scripts to read properties as
needed
• Capability to back-mount domain root file system if required • Provides a powerful facility to gain access to domain environment • automatically install packages, • Ensure specific patches are installed at deploy time automatically • Perform direct modifications (such as security settings that may have
changed since template was built)
• Best of both worlds: template speed with the flexibility to extend and customize
Template: Configure OVM SPARC Control Domain
Properties & Commands scripts
Properties & Commands scripts
Properties & Commands scripts
OVMTConfig
Set OVM Properties
OVM Properties Retrievable by Guest
OVM SPARC Guest Domain
Get OVM Properties
1st Boot & Configuration Scripts 1st Boot &
Configuration Scripts 1st Boot &
Configuration Scripts
vdisk
Hypervisor
Perform Direct
Actions
on vDisks
Authoring
Create Deploy
Configure Store
Automating the provisioning process
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 21
Template Configuration in Oracle SuperCluster
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 22
Template Deployment in Oracle SuperCluster
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 23
Solutions designed to work together One integrated approach to Application and Resource provisioning
IO Domain Creation Tool Customize and Extends
• Integrated w/ OVM Utilities
• Stores Templates
• Reads Template Metadata
• Interface with Users
• Provisions Templates
• Prerequisite packages added
• 1st boot package
• IB interfaces added
• vDisks automatically multi-pathed
• IPMP automatically configured
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Program Agenda
1
2
3
Oracle Confidential – Internal/Restricted/Highly Restricted 24
Template Overview
Automating deployments with Templates
Leveraging best practices templates
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 25
Oracle provided best practices Templates
OVM SPARC Source Domain
vCPU vCPU vCPU
vCPU
Memory Memory
Memory Memory
O/S vdisk 0
App vdisk 1
vnet 0 vnet 1
Create
.OVA
Solaris 11.3 + Weblogic Template
.OVA Solaris 11.3 +
Weblogic Template
E-Delivery Using OVM utilities, administrator modifies selected properties, Creates new Template
Customer modified Template!!!!
Leverage Oracle domain expertise Reduce time to author Templates
All Oracle set properties viewable via OVM Utilities
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 26
Building on best practices Templates
OVM SPARC Source Domain
vCPU vCPU vCPU
vCPU
Memory Memory
Memory Memory
O/S vdisk 0
App vdisk 1
vnet 0 vnet 1
Create
.OVA
Solaris 11.3 Template
.OVA Solaris 11.3 +
Weblogic Template
OVM SPARC Source Domain
vCPU vCPU vCPU
vCPU
Memory Memory
Memory Memory
O/S vdisk 0
App vdisk 1
vnet 0 vnet 1
.OVA Solaris 11.3 + EBS
Template
Create Best Practices O/S Template: • Patch levels • Security settings • ……….
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Secure Cloud Infrastructure for Application and Database Consolidation
Oracle Confidential 27 4/11/2016
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Additional Resources
• Weblogic 12.1.3 Template for SPARC Solaris https://www.oracle.com/technetwork/server-storage/solaris11/downloads/solaris-vm-2621499.html
• OTN Pages with OVM Templates for Solaris: – https://www.oracle.com/technetwork/server-storage/solaris11/vmtemplates-sparc-x86-1949722.html
– https://www.oracle.com/technetwork/server-storage/vm/solaris-098101.html
• Tom Daly’s Blog about the Weblogic Template http://tomdalytechstuff.blogspot.com.au/2015/09/using-openstack-for-solaris-project.html
• Blog about OVM Templates for SuperCluster (3 parts) – https://blogs.oracle.com/cmt/entry/getting_started_with_ovm_templates
– https://blogs.oracle.com/cmt/entry/getting_started_with_ovm_templates1
– https://blogs.oracle.com/cmt/entry/getting_started_with_ovm_templates2
Oracle Confidential – Internal/Restricted/Highly Restricted 28
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 29
Q & A
[email protected] https://blogs.oracle.com/cmt
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 30