Design and Implement a Self-
Service Enabled Private Cloud with
Oracle Enterprise Manager 12c
Prepared By:
Kai Yu
Senior Principal Engineer
Dell Inc.
About Author
Kai Yu, Senior Principal Architect, Dell Database Engineering
20 years Oracle DBA/Apps DBAS and Solutions Engineering
Specializing in Oracle RAC, Oracle Cloud and Oracle VM
Oracle ACE Director, Oracle papers author/presenter
Co-founder and Vice President of IOUG Cloud Computing SIG
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”
My Work: Dell Oracle Solutions Engineering
Dell Acceleration Appliance for Database(DAAD)
Flash SSD based high performance storage solution for database
•Remove storage bottlenecks for Oracle Databases.
•Shared storage for Oracle RAC database
My Work: Dell Oracle Solutions Engineering
Dell Integrated System for Oracle Databases
• Preconfigured Ready Infrastructure with all flash storage for Oracle Database and DBaaS
Agenda
• Oracle Cloud Models and Solutions
• IaaS Architecture
• IaaS based on Oracle VM
• Cloud Management with Oracle EM12c
• Self Service Model
• 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
Oracle Cloud Models and
Solutions
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: provide infrastructure
• Platform a Service (PaaS): provide platform
• Users can request service through self service portal
• Cloud Service is automatically deployed.
• Oracle Enterprise Manager 12c Cloud Control provide life cycle of cloud management: plan, setup, build, test, deploy, monitor, manager, meter & charge
Oracle Cloud Solutions
Infrastructure as a Service (IaaS) Service Model:
• Users request infrastructure servers and will be provided guest virtual machines)
• Users to request services in self-service manner (Self Service Portal)
• Users specify the VM assembly or template for VM deployment.
• Guest VMs are created through the template and assembly through EM12c Self Service portal
Platform as a Service (IaaS) Service Model:
• Allow users to request platforms on which they can run applications
• Database as a Service (DBaaS)
VM based
RAC based shared by multiple databases
Pluggable Database
Shared Database with multiple schema
• Test as a Service(TaasS)
8
Oracle Cloud Solutions
Cloud Anatomy:
Infrastructure Cloud (IaaS)
Architecture
Deploying Cloud Service based on Oracle VM
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.
Deploying Cloud Service based on Oracle VM
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.
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
Software Library
Metadata
Assembly Oracle Enterprise Manager 12c
Cloud Plug-in Virtualization
Plug-in VM Manager
Virtual Server Pool
Virtual Server Pool
Storage
VM VM VM VM VM
Deployment
Infrastructure Cloud
Infrastructure Cloud and Oracle EM12c
IaaS Cloud Configuration and its Architecture
• Cloud Administrator configures the cloud infrastructure
• Manages cloud infrastructure through VM manager
• Software library and self service portal provide the self service cloud service provisioning using VM templates and VM assemblies.
POC: an example of Oracle
IaaS Cloud implementation
An Example of IaaS Cloud
Project Goal:
• Reference configuration of Infrastructure Cloud on Dell platforms
• Create virtual assemblies by capturing installed applications
• Establish infrastructure cloud solution to achieve IaaS based on the Self Service requests.
Project Task Overview
• IaaS 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
Cloud Technology Stack
Cloud Hardware Environment :
3 physical severs for VM servers:
1 physical sever for VM Manager
1 physical server for Enterprise Manager
An Example of Infrastructure Cloud Configuration
Fiber Channel Storage for Cloud storage:
Cloud Virtualization and Management Software
Stack
Virtual Server: Oracle VM Server 3.3 for x86
Virtual Environment Manager: Oracle VM Manager 3.3
Cloud Management: Oracle Enterprise Manager 12c
Cloud Architecture Design and Configuration
Enterprise Manager 12c for Cloud management
• Em12c: Enterprise Menu Cloud
Setting up the cloud Infrastructure
• Register Oracle VM Manager/Synchronizing the VM manager targets
• Discover Oracle VM Server
• Setup storage Infrastructure
• Configure network
• Create a virtual server pool and create zone
An Example of Infrastructure Cloud Configuration
Deploy the Virtualization and cloud plug-in in EM12c
An Example of Infrastructure Cloud 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
• Oracle VM Manager
Connection URLs: Oracle VM Manager URL
Oracle VM Manager Console URL
•EM12.1.0.5: slight different GUI:
An Example of Infrastructure Cloud Configuration
An Example of Infrastructure Cloud Configuration
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
Creating Assembly with
Oracle Virtual Assembly
Builder (OVAB))
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
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
Creating Assembly with OVAB
Virtual Assembly Builder Studio
• abctl command-line tool
• Oracle Virtual Assembly Builder studio GUI : Start OVAB studio GUI: ./abstudio.sh
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
Creating Assembly with OVAB
• Complete file sets capture
• Add additional appliance
• Edit an assembly
Create templates and archive assembly
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
29
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
Test Virtual Assemblies
Test 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)
Test Oracle Virtual Assembly
• Through Oracle VM Manager Load Assembly into Repository
Copy the assembly archive to OMS server: /var/www/html/0157
Test Oracle Virtual Assembly
Deploy Assembly
Test Oracle Virtual Assembly
Specify Virtual machine configuration
Setup Application Self Service
With Virtual Assemblies
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:
o Load the assembly into software library
o Publish the assembly and make it available for self service users o Define VM seize, assign Quota to users/roles, define access
boundary
37
Software Library Metadata
Assembly Oracle Enterprise Manager 12c
Cloud Plug-in Virtualization
Plug-in VM Manager
Virtual Server Pool
Virtual Server Pool
Storage
VM VM VM VM VM
Deployment
Infrastructure Cloud
Setup Application Self Service with Assemblies
• Self Service Users to use Self Service Portal to request service
o Deploy Applications through templates/assembly by requesting the application virtual machines
o Managing and monitoring of virtual machines and resource usages
Load assembly into software library
• Setup software library with EM12c:
Setup-> Provisioning and Patching-> Software Library:
Setup Application Self Service with Assemblies
• Create assembly component
39
Setup Application Self Service with Assemblies
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
40
Setup Application Self Service with Assemblies
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
Setup Application Self Service with Assemblies
Define software Components: publish assembly to Self Service users
• 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
Setup Application Self Service with Assemblies
Monitoring the request server status and the resource usage:
Summary and References
■ 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 5 (12.1.0.5 E28814-18
▪ Oracle® Fusion Middleware Using Oracle Virtual Assembly Builder 12c (12.1.2) E29476-02
▪ Delivering Self-Service Cloud Application Services Based Using Enterprise Manager 12c, IOUG Collaborate 15 Whitepaper.
Thank You and QA
Contact me at kai_yu@dell.com or visit my Oracle Blog at http://kyuoracleblog.wordpress.com/