Simplifying Application Deployment in Cloud using …...Infrastructure Cloud and Oracle EM12c IaaS:...

40
Global Marketing Simplifying Application Deployment in Cloud using Virtual Assemblies and EM 12c Kai Yu Oracle Solutions Engineering Dell Inc

Transcript of Simplifying Application Deployment in Cloud using …...Infrastructure Cloud and Oracle EM12c IaaS:...

Page 1: Simplifying Application Deployment in Cloud using …...Infrastructure Cloud and Oracle EM12c IaaS: Oracle Infrastructure Cloud Components • Infrastructure Cloud: a set of storage

Global Marketing

Simplifying Application Deployment in Cloud using Virtual Assemblies and EM 12c

Kai Yu Oracle Solutions Engineering Dell Inc

Presenter
Presentation Notes
Good afternoon, thank OUG Finland for inviting me here to present at the this Conference. It is my great pleasure to share some of RAC experience with friends in Oracle community here. In next 60 minutes, we will have some discussions On Oracle Clusterware and RAC technology. In this presentation I will also discuss the system infrastructure for RAC as network and storage. these are the key to the stability of RAC database. As a DBA, if you plan to use RAC technology for your business, It is very important that you have some good knowledge on these areas.
Page 2: Simplifying Application Deployment in Cloud using …...Infrastructure Cloud and Oracle EM12c IaaS: Oracle Infrastructure Cloud Components • Infrastructure Cloud: a set of storage

Global Marketing

About Author Kai Yu, Senior Principal Architect, Dell Database Engineering

20 years Oracle DBA/Apps DBAS and Solutions Engineering Specializing in Oracle RAC, Oracle VM and Oracle EBS Oracle ACE Director, Oracle papers author/presenter 2011 OAUG Innovator of Year, 2012 Oracle Excellence Award: Technologist of the Year: Cloud Architect by Oracle Magazine My Oracle Blog: http://kyuoracleblog.wordpress.com/ Co-author Apress Book “Expert Oracle RAC 12c”

Page 3: Simplifying Application Deployment in Cloud using …...Infrastructure Cloud and Oracle EM12c IaaS: Oracle Infrastructure Cloud Components • Infrastructure Cloud: a set of storage

Global Marketing

My Work :Architect and Lead Dell Integrated Systems for Oracle -Ready Infrastructure Solution

Page 4: Simplifying Application Deployment in Cloud using …...Infrastructure Cloud and Oracle EM12c IaaS: Oracle Infrastructure Cloud Components • Infrastructure Cloud: a set of storage

Global Marketing

Agenda

• Oracle Cloud Models and Solutions

– Infrastructure Cloud Architecture

– Application Deployment with Oracle Virtual Assembly

– Infrastructure Cloud Management with Oracle EM12c

• Infrastructure Cloud & IaaS POC project example:

– Cloud Architecture Design and Configuration

– Creating Application Assemblies with OVAB

– Test Assemblies in a Virtual Environment

– Implement a Self Service Cloud

• Q&A

4

Page 5: Simplifying Application Deployment in Cloud using …...Infrastructure Cloud and Oracle EM12c IaaS: Oracle Infrastructure Cloud Components • Infrastructure Cloud: a set of storage

Global Marketing

Oracle Cloud Models for Enterprise IT

This is a subtitle or bulleted list

Page 6: Simplifying Application Deployment in Cloud using …...Infrastructure Cloud and Oracle EM12c IaaS: Oracle Infrastructure Cloud Components • Infrastructure Cloud: a set of storage

Global Marketing

Oracle Cloud Solutions Enterprise IT benefits from private Cloud

• Consolidate applications/database on a shared infrastructure • Providing on-demand access to infrastructure resources. • Increasing quality of Service: performance, HA, security, etc. • Providing rapid deployment and service provisioning.

Oracle Cloud Service Models • Infrastructure as a Service: allow users to request infrastructure as a Service

to run application. To meet the service request, IaaS model is based on virtual machines

• Platform as a Service: provide databases and middleware required by applications: DBaaS, MWaaS, TaaS

• Allow users to request services in self-service manner. • Oracle Enterprise Manager 12c Cloud Control provide life cycle of cloud

management: plan, setup, build, test, deploy, monitor, manager, meter & charge

6

Page 7: Simplifying Application Deployment in Cloud using …...Infrastructure Cloud and Oracle EM12c IaaS: Oracle Infrastructure Cloud Components • Infrastructure Cloud: a set of storage

Global Marketing

Infrastructure Cloud (IaaS) Architecture

This is a subtitle or bulleted list

Page 8: Simplifying Application Deployment in Cloud using …...Infrastructure Cloud and Oracle EM12c IaaS: Oracle Infrastructure Cloud Components • Infrastructure Cloud: a set of storage

Global Marketing

Deployment with Oracle Virtual Assembly Traditional Application Deployment process

• Multiple Steps including Hardware, OS, Prerequisites, Application installation/configuration

• Highly skilled manual work, time consuming and error prone • Duplicated efforts and very hard to automate • Hardly adapted for a cloud environment where an automatic

provisioning process is needed Oracle VM: Application-Driven Virtualization

• Applications running on virtual machines • VM template: pre-built, pre-configured virtual machine with OS +software stack • Oracle published VM templates for most Oracle products for download • You can create your own Oracle VM templates for your application • Easy to deploy through VM Manager and Oracle Enterprise Manager 12c.

8

Page 9: Simplifying Application Deployment in Cloud using …...Infrastructure Cloud and Oracle EM12c IaaS: Oracle Infrastructure Cloud Components • Infrastructure Cloud: a set of storage

Global Marketing

Deployment with Oracle Virtual Assembly Oracle Virtual Assembly

• Appliance: a single software component and its local execution : environment, for example, database +OS

• Assembly: a collection of interrelated software appliances that are automatically configured to work together, for example, multiple tier applications: Weblogic server + Database.

Oracle Virtual Assembly Builder Studio creates assemblies • The tool to capture the software configurations and package to

software appliances and connect them to form assemblies.

9

Page 10: Simplifying Application Deployment in Cloud using …...Infrastructure Cloud and Oracle EM12c IaaS: Oracle Infrastructure Cloud Components • Infrastructure Cloud: a set of storage

Global Marketing

Infrastructure Cloud and Oracle EM12c Oracle Infrastructure Cloud as Service with Oracle EM12c

• Infrastructure as a Service (IaaS) Cloud Deployment Model:

Users request IaaS services, pre-packed assemblies are used to deploy guest Virtual Machines with OS + database software or middleware

• Enterprise Manager 12c is used to model Infrastructure as a Service (IaaS)

Pre-created virtual assemblies and templates created with OVAB and

stored in software Library

Users request IaaS services through EM12c Self Service portal

Iaas Service is automatically deployed with the virtual assemblies and

templates

10

Page 11: Simplifying Application Deployment in Cloud using …...Infrastructure Cloud and Oracle EM12c IaaS: Oracle Infrastructure Cloud Components • Infrastructure Cloud: a set of storage

Global Marketing

Infrastructure Cloud and Oracle EM12c IaaS: Oracle Infrastructure Cloud Components

• Infrastructure Cloud: a set of storage pools, server pools, zones • Enterprise Manager 12c provides full life cycle management of Cloud – Infrastructure cloud and its management architecture: Plan, Setup,

Build, – Test, Deploy, Monitor, Manage, Meter & Charge and Optimize

11

Page 12: Simplifying Application Deployment in Cloud using …...Infrastructure Cloud and Oracle EM12c IaaS: Oracle Infrastructure Cloud Components • Infrastructure Cloud: a set of storage

Global Marketing

POC: An Example of Implementation of Oracle Infrastructure Cloud

This is a subtitle or bulleted list

Page 13: Simplifying Application Deployment in Cloud using …...Infrastructure Cloud and Oracle EM12c IaaS: Oracle Infrastructure Cloud Components • Infrastructure Cloud: a set of storage

Global Marketing

An Example of Infrastructure Cloud Project Goal:

• Reference configuration of Infrastructure Cloud on Dell platforms • Create virtual assemblies by capturing installed applications • Establish infrastructure cloud solution to achieve PaaS and IaaS based on the Self Service requests.

Project Task Overview • Infrastructure Cloud Architecture Design • Cloud Infrastructure Deployment and Configuration • Oracle Virtual Assembly Builder to create assemblies • Test Virtual Assemblies in Oracle VM environment • Setup Self Service Applications in Infrastructure Cloud

Infrastructure Cloud Technology Stack Cloud Hardware Environment :

3 physical severs for VM servers: 1 physical sever for VM Manager 1 physical server for Enterprise Manager

13

Page 14: Simplifying Application Deployment in Cloud using …...Infrastructure Cloud and Oracle EM12c IaaS: Oracle Infrastructure Cloud Components • Infrastructure Cloud: a set of storage

Global Marketing

An Example of Infrastructure Cloud Fiber Channel Storage for Cloud storage:

• Cloud Virtualization and Management Software Stack Virtual Server: Oracle VM Server 3.3.1 Virtual Environment Manager: Oracle VM Manager 3.3.1 Cloud Management: Oracle Enterprise Manager 12c

14

Page 15: Simplifying Application Deployment in Cloud using …...Infrastructure Cloud and Oracle EM12c IaaS: Oracle Infrastructure Cloud Components • Infrastructure Cloud: a set of storage

Global Marketing

Cloud Architecture Design and Configuration Oracle Enterprise Manager 12c to manage the Infrastructure

Cloud

15

Page 16: Simplifying Application Deployment in Cloud using …...Infrastructure Cloud and Oracle EM12c IaaS: Oracle Infrastructure Cloud Components • Infrastructure Cloud: a set of storage

Global Marketing

Cloud Architecture Design and Configuration • Deploy the Virtualization and cloud plug-in in EM12c

16

Page 17: Simplifying Application Deployment in Cloud using …...Infrastructure Cloud and Oracle EM12c IaaS: Oracle Infrastructure Cloud Components • Infrastructure Cloud: a set of storage

Global Marketing

Cloud Architecture Design and Configuration Register VM Manager on Oracle Enterprise Manager 12c.

– Configure Secure TCP(TCPS) on VM Manager host (#1490283.1) – Use tcps and port 54322 port for VM Manager 3.1.1 or greater – Use tcps and port 54322 port - Import the OVM Manager certificate

–EM12.1.0.4: slight different GUI: Oracle VM Manager Connection URLs: Oracle VM Manager URL Oracle VM Manager Console URL

17

Page 18: Simplifying Application Deployment in Cloud using …...Infrastructure Cloud and Oracle EM12c IaaS: Oracle Infrastructure Cloud Components • Infrastructure Cloud: a set of storage

Global Marketing

Cloud Architecture Design and Configuration

18

Page 19: Simplifying Application Deployment in Cloud using …...Infrastructure Cloud and Oracle EM12c IaaS: Oracle Infrastructure Cloud Components • Infrastructure Cloud: a set of storage

Global Marketing

Infrastructure Cloud and Oracle EM12c Oracle Infrastructure Cloud Components

• Infrastructure Cloud: a set of storage pools and server pools and zones • Enterprise Manager 12c provides full life cycle management of Cloud – Infrastructure cloud and its management architecture: Plan, Setup, Build, – Test, Deploy, Monitor, Manage, Meter & Charge and Optimize

19

Page 20: Simplifying Application Deployment in Cloud using …...Infrastructure Cloud and Oracle EM12c IaaS: Oracle Infrastructure Cloud Components • Infrastructure Cloud: a set of storage

Global Marketing

Creating Assembly with Oracle Virtual Assembly Builder(OVAB)

This is a subtitle or bulleted list

Page 21: Simplifying Application Deployment in Cloud using …...Infrastructure Cloud and Oracle EM12c IaaS: Oracle Infrastructure Cloud Components • Infrastructure Cloud: a set of storage

Global Marketing

Creating Assembly with OVAB Create virtual assemblies with OVAB Studio

› Introspect a reference system to create appliance and appliances › Edit assemblies and appliance : network, input and output, .. › Capture template and assembly archive › Export assembly achieve

21

Page 22: Simplifying Application Deployment in Cloud using …...Infrastructure Cloud and Oracle EM12c IaaS: Oracle Infrastructure Cloud Components • Infrastructure Cloud: a set of storage

Global Marketing

Creating Assembly with OVAB Configure Oracle Virtual Assembly Builder (OVAB) Environment

› Oracle Linux 5UL6 +or RHEL 5 UL6+ › Meet the pre-installation requirements • JDK 1.5.0_15 or greater ,OADF 12.1.2.0pen-OVF , OL 5.x o late base image, ovab

software (11g or latest 12.1.2.0.0 for Linux 86 • Install and configure OVAB :

11g : ./runinstaller 12.1.2: java -jar ovab_121200.jar

22

Page 23: Simplifying Application Deployment in Cloud using …...Infrastructure Cloud and Oracle EM12c IaaS: Oracle Infrastructure Cloud Components • Infrastructure Cloud: a set of storage

Global Marketing

Creating Assembly with OVAB Virtual Assembly Builder Studio

› abctl command-line tool › Oracle Virtual Assembly Builder studio GUI : Start OVAB studio GUI: ./abstudio.sh

23

Page 24: Simplifying Application Deployment in Cloud using …...Infrastructure Cloud and Oracle EM12c IaaS: Oracle Infrastructure Cloud Components • Infrastructure Cloud: a set of storage

Global Marketing

Creating Assembly with OVAB • Create an assembly by Introspecting a reference system

– Turn off firewall on the reference host: /etc/init.d/iptables stop – Start OVAB studio GUI: ./abstudio.sh – Start “Create Assembly wizard “ for creation of an assembly – Introspect an appliance using the reference system

– Specify file sets to capture

24

Page 25: Simplifying Application Deployment in Cloud using …...Infrastructure Cloud and Oracle EM12c IaaS: Oracle Infrastructure Cloud Components • Infrastructure Cloud: a set of storage

Global Marketing

Creating Assembly with OVAB – Complete file sets capture

– Add additional appliance – Edit an assembly

• Create templates and archive assembly

25

Page 26: Simplifying Application Deployment in Cloud using …...Infrastructure Cloud and Oracle EM12c IaaS: Oracle Infrastructure Cloud Components • Infrastructure Cloud: a set of storage

Global Marketing

Creating Assembly with OVAB – Complete

template creation and Assembly Archiving

Assembly Archive: mywlstest.ova file in OVAB host

Export Assembly archive by copying this file to other locations Copy an Assembly Archive: .ova file

26

Page 27: Simplifying Application Deployment in Cloud using …...Infrastructure Cloud and Oracle EM12c IaaS: Oracle Infrastructure Cloud Components • Infrastructure Cloud: a set of storage

Global Marketing

Creating Assembly with OVAB – Complete

template creation and Assembly Archiving

Assembly Archive: mywlstest.ova file in OVAB host

Export Assembly archive by copying this file to other locations Copy an Assembly Archive: .ova file

27

Page 28: Simplifying Application Deployment in Cloud using …...Infrastructure Cloud and Oracle EM12c IaaS: Oracle Infrastructure Cloud Components • Infrastructure Cloud: a set of storage

Global Marketing

Test Virtual Assemblies in Virtual Environment

Page 29: Simplifying Application Deployment in Cloud using …...Infrastructure Cloud and Oracle EM12c IaaS: Oracle Infrastructure Cloud Components • Infrastructure Cloud: a set of storage

Global Marketing

Deployment with Oracle Virtual Assembly Deploy Assembly on Virtual Environment

• Through Oracle Virtual Assembly Builder Deployer Through Oracle VM Manager/Oracle Enterprise Manager by exporting

the assembly achieve file VM manager.

Deployed in an infrastructure cloud through Enterprise Manager 12c

Self Service Portal (will be discussed in next session)

29

Page 30: Simplifying Application Deployment in Cloud using …...Infrastructure Cloud and Oracle EM12c IaaS: Oracle Infrastructure Cloud Components • Infrastructure Cloud: a set of storage

Global Marketing

Deploy Assembly in Virtual Environment Deploy Assembly on Virtual Environment

– Through Oracle VM Manager or Enterprise Manager 12 Load Assembly into Repository Copy the assembly archive to OMS server: /var/www/html/0157

30

Page 31: Simplifying Application Deployment in Cloud using …...Infrastructure Cloud and Oracle EM12c IaaS: Oracle Infrastructure Cloud Components • Infrastructure Cloud: a set of storage

Global Marketing

Deploy Assembly in Virtual Environment Deploy Assembly

31

Page 32: Simplifying Application Deployment in Cloud using …...Infrastructure Cloud and Oracle EM12c IaaS: Oracle Infrastructure Cloud Components • Infrastructure Cloud: a set of storage

Global Marketing

Deploy Assembly in Virtual Environment

32

Page 33: Simplifying Application Deployment in Cloud using …...Infrastructure Cloud and Oracle EM12c IaaS: Oracle Infrastructure Cloud Components • Infrastructure Cloud: a set of storage

Global Marketing

Setup Application Self Service with Virtual Assemblies

Presenter
Presentation Notes
Now let discuss how we can use the assembly in the Self service cloud environment To automate the deployment of application
Page 34: Simplifying Application Deployment in Cloud using …...Infrastructure Cloud and Oracle EM12c IaaS: Oracle Infrastructure Cloud Components • Infrastructure Cloud: a set of storage

Global Marketing

Setup Application Self Service with Assemblies • Deploy assembly in Infrastructure Cloud

• Workflow

– Cloud Administrator to setup Cloud structure: VM server, storage, Network, server pool, Software library, deployment – Self Service Administrator to setup the Self service portal Setup:

• Load the assembly into software library • Publish the assembly and make it available for self service users • Define VM seize, assign Quota to users/roles, define access boundary

– Self Service Users to use Self Service Portal to request service • Deploy Applications through templates/assembly by requesting the application virtual machines • Managing and monitoring of virtual machines and resource usages

34

Page 35: Simplifying Application Deployment in Cloud using …...Infrastructure Cloud and Oracle EM12c IaaS: Oracle Infrastructure Cloud Components • Infrastructure Cloud: a set of storage

Global Marketing

Deploy Assembly in EM12c Self Service Portal

• Load assembly into software library – Setup software library with EM12c: Setup-> Provisioning and Patching-> Software Library:

– Create assembly component

35

Page 36: Simplifying Application Deployment in Cloud using …...Infrastructure Cloud and Oracle EM12c IaaS: Oracle Infrastructure Cloud Components • Infrastructure Cloud: a set of storage

Global Marketing

Deploy Assembly in EM12c Self Service Portal • Self Service Admin handles provisioning and management

Set resource quota to users/roles Define and publish service assemblies/templates Monitoring and Manage the requests and resources

• Setup Self Service Portal: SetupCloud Self Services: machine size

Assign resource limits to role. Each user will be assigned role(s)) Through the roles, wls_user is assigned the limits of resource this user can request

36

Page 37: Simplifying Application Deployment in Cloud using …...Infrastructure Cloud and Oracle EM12c IaaS: Oracle Infrastructure Cloud Components • Infrastructure Cloud: a set of storage

Global Marketing

Deploy Assembly in EM12c Self Service Portal

37

■ Define software Components: publish Assembly to Self Service user Click Software Component of the Self service portal page Publish Assemblies/templates to roles:

Publish

■ Self Service User wls_user gains the privileges through roles: Wls_user’s roles: EM_user, Public, WLS_SELESERVICE, EM_SSA_user role privilege to access Self Service Portal WLS_SELESERVICE role the resources quota WLS_SELESERVICE role privilege to access the assemblies to

provision virtual machines

Page 38: Simplifying Application Deployment in Cloud using …...Infrastructure Cloud and Oracle EM12c IaaS: Oracle Infrastructure Cloud Components • Infrastructure Cloud: a set of storage

Global Marketing

Deploy Assembly in EM12c Self Service Portal

38

■ Monitoring the request server status and the resource usage:

Page 39: Simplifying Application Deployment in Cloud using …...Infrastructure Cloud and Oracle EM12c IaaS: Oracle Infrastructure Cloud Components • Infrastructure Cloud: a set of storage

Global Marketing

Summary and References

39

■ Summary ▪ Create virtual assemblies with Oracle Virtual Assembly Builder ▪ Establish Oracle infrastructure cloud environment with Oracle VM ▪ Deploy virtual assembly in infrastructure Cloud ▪ Setup Oracle Self Service Portal ▪ Deploy Oracle virtual assembly through Oracle Self Service Portal

References: ▪ Oracle® Fusion Middleware Installing Oracle Virtual Assembly Builder 12c

(12.1.2) E29482-03 ▪ Oracle® Enterprise Manager Cloud Administration Guide 12c Release 4

(12.1.0.4) E28814-1 ▪ Oracle® Fusion Middleware Using Oracle Virtual Assembly Builder 12c

(12.1.2) E29476-02 ▪ Delivering Self-Service Cloud Application Services Using Oracle Enterprise

Manager 12c , IOUG Collaborate 14 Presentation ▪ Delivering Self-Service Cloud Application Services Based Using Enterprise

Manager 12c, IOUG Collaborate 14 Whitepaper. ▪ Implement & manage IaaS and Self Service Portal with Enterprise Manager

12c, Oracle OpenWorld 2014 session ID# UGF3431

Page 40: Simplifying Application Deployment in Cloud using …...Infrastructure Cloud and Oracle EM12c IaaS: Oracle Infrastructure Cloud Components • Infrastructure Cloud: a set of storage

Global Marketing

Thank You and QA Contact me at [email protected] or visit my Oracle Blog at http://kyuoracleblog.wordpress.com/

40

Presenter
Presentation Notes
=