ovm templates on oracle supercluster

31

Upload: others

Post on 16-Jan-2022

13 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: OVM Templates on Oracle SuperCluster
Page 2: OVM Templates on Oracle SuperCluster

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

Page 3: OVM Templates on Oracle SuperCluster

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

Page 4: OVM Templates on Oracle SuperCluster

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

Page 5: OVM Templates on Oracle SuperCluster

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

Page 6: OVM Templates on Oracle SuperCluster

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

Page 7: OVM Templates on Oracle SuperCluster

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

Page 8: OVM Templates on Oracle SuperCluster

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

Page 9: OVM Templates on Oracle SuperCluster

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?

Page 10: OVM Templates on Oracle SuperCluster

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

Page 11: OVM Templates on Oracle SuperCluster

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

Page 12: OVM Templates on Oracle SuperCluster

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

Page 13: OVM Templates on Oracle SuperCluster

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

Page 14: OVM Templates on Oracle SuperCluster

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

Page 15: OVM Templates on Oracle SuperCluster

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

Page 16: OVM Templates on Oracle SuperCluster

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

Page 17: OVM Templates on Oracle SuperCluster

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 17

Template Library in Oracle SuperCluster

Page 18: OVM Templates on 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

Page 19: OVM Templates on Oracle SuperCluster

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 19

Domain Creation with Template in Oracle SuperCluster

Page 20: OVM Templates on 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

Page 21: OVM Templates on Oracle SuperCluster

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 21

Template Configuration in Oracle SuperCluster

Page 22: OVM Templates on Oracle SuperCluster

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 22

Template Deployment in Oracle SuperCluster

Page 23: OVM Templates on 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

Page 24: OVM Templates on Oracle SuperCluster

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

Page 25: OVM Templates on Oracle SuperCluster

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

Page 26: OVM Templates on Oracle SuperCluster

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 • ……….

Page 27: OVM Templates on Oracle SuperCluster

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Secure Cloud Infrastructure for Application and Database Consolidation

Oracle Confidential 27 4/11/2016

Page 28: OVM Templates on Oracle SuperCluster

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

Page 29: OVM Templates on Oracle SuperCluster

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 29

Q & A

[email protected] https://blogs.oracle.com/cmt

Page 30: OVM Templates on Oracle SuperCluster

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 30

Page 31: OVM Templates on Oracle SuperCluster