Simplifying Application Deployment in Cloud using …...Infrastructure Cloud and Oracle EM12c IaaS:...
Transcript of Simplifying Application Deployment in Cloud using …...Infrastructure Cloud and Oracle EM12c IaaS:...
Global Marketing
Simplifying Application Deployment in Cloud using Virtual Assemblies and EM 12c
Kai Yu Oracle Solutions Engineering Dell Inc
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”
Global Marketing
My Work :Architect and Lead Dell Integrated Systems for Oracle -Ready Infrastructure Solution
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
Global Marketing
Oracle Cloud Models for Enterprise IT
This is a subtitle or bulleted list
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
Global Marketing
Infrastructure Cloud (IaaS) Architecture
This is a subtitle or bulleted list
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
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
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
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
Global Marketing
POC: An Example of Implementation of Oracle Infrastructure Cloud
This is a subtitle or bulleted list
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
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
Global Marketing
Cloud Architecture Design and Configuration Oracle Enterprise Manager 12c to manage the Infrastructure
Cloud
15
Global Marketing
Cloud Architecture Design and Configuration • Deploy the Virtualization and cloud plug-in in EM12c
16
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
Global Marketing
Cloud Architecture Design and Configuration
18
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
Global Marketing
Creating Assembly with Oracle Virtual Assembly Builder(OVAB)
This is a subtitle or bulleted list
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
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
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
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
Global Marketing
Creating Assembly with OVAB – Complete file sets capture
– Add additional appliance – Edit an assembly
• Create templates and archive assembly
25
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
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
Global Marketing
Test Virtual Assemblies in Virtual Environment
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
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
Global Marketing
Deploy Assembly in Virtual Environment Deploy Assembly
31
Global Marketing
Deploy Assembly in Virtual Environment
32
Global Marketing
Setup Application Self Service with Virtual Assemblies
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
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
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
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
Global Marketing
Deploy Assembly in EM12c Self Service Portal
38
■ Monitoring the request server status and the resource usage:
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
Global Marketing
Thank You and QA Contact me at [email protected] or visit my Oracle Blog at http://kyuoracleblog.wordpress.com/
40