Simplifying Application Deployment in Cloud using Virtual assemblies and EM 12c IOUG Virtualization SIG - Online Symposium Kai Yu Oracle Solutions Engineering, Dell Inc.
About Author Kai Yu, Senior Architect, Dell Oracle Solutions Lab 17 years Oracle DBA and Solutions Engineering Specializing in Oracle RAC, Oracle VM, Oracle EBS Oracle ACE Director, Oracle papers author/presenter IOUG VSIG Co-founder and Web Event Chair Winner of 2011 OAUG Innovator of Year Award Winner of 2012 Oracle Excellence Award: Technologist of the Year: Cloud Architect Oracle Blog: http://kyuoracleblog.wordpress.com/ 2 Oracle OpenWorld 2012
Dell Global Solutions Engineering Lab 3 Oracle OpenWorld 2012
Dell Global Solutions Engineering Lab Dell Oracle Solutions Engineering : www.dell.com/oracle Dell Oracle Partnership offers customers complete a solution Solutions Deliverables: Tested and Validated Configuration Deployment Guild Oracle Advisor Detailed Oracle Solutions Deliverables List(SDL) Dell Oracle Solutions Reference Configuration Oracle Virtualization Technology Oracle Enterprise Manager & Cloud Oracle Applications Proof of Concepts 4 Oracle OpenWorld 2012
Agenda Application Deployment with Oracle Virtual Assembly Infrastructure Cloud Management with Oracle EM12c Dell Oracle Infrastructure Cloud Project Cloud Architecture Design and Configuration Creating Application Assemblies with OVAB Deploying Assembly in a Virtual Environment Deploying Assembly in a Self Service Cloud Q&A 5 Oracle OpenWorld 2012
Deployment with Oracle Virtual Assembly 6 Oracle OpenWorld 2012
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. 7 Oracle OpenWorld 2012
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 application: 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. Introspect 8 Oracle OpenWorld 2012
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 to the Repository Deployed in an infrastructure cloud through Enterprise Manager 12c Self Service Portal (will be discussed in next session) 9 Oracle OpenWorld 2012
Infrastructure Cloud and Oracle EM12c Oracle Infrastructure Cloud based on Virtualization Enterprise Manager 12c provides full life cycle management of Cloud Infrastructure cloud and its management architecture 10 Oracle OpenWorld 2012
Infrastructure Cloud and Oracle EM12c Deploying Applications on demand in Infrastructure cloud Deploy Applications with assembly through Self service Portal Self Service Users request the deployment of applications Automated deployment using pre-created assemblies and templates 11 Oracle OpenWorld 2012
Oracle Dell Joint Private Cloud POC Project 12 Oracle OpenWorld 2012
Oracle Dell Joint Infrastructure Cloud Project 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 Setup Self Service Applications in 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 Oracle OpenWorld 2012
Oracle Dell Joint Infrastructure Cloud Project Fiber Channel Storage for Cloud storage: Cloud Virtualization and Management Software Stack Virtual Server: Oracle Virtual server 3.1.1 Virtual Environment Manager: Oracle VM Manager 3.1.1 Cloud Management: Oracle Enterprise Manager 12.1.0.2 14 Oracle OpenWorld 2012
Cloud Infrastructure Deployment and Configuration 15 Oracle OpenWorld 2012
Cloud Architecture Design and Configuration Hardware Architecture Layout Software Installation: Oracle VM server 3.1.1, Oracle VM Manager, 3.1.1, Oracle Enterprise Manager 12c. 16 Oracle OpenWorld 2012
Cloud Architecture Design and configuration Oracle Enterprise Manager 12c to manage the Infrastructure Cloud 17 Oracle OpenWorld 2012
Cloud Architecture Design and Configuration Deploy the Virtualization and cloud plug-in in EM12c 18 Oracle OpenWorld 2012
Cloud Architecture Design and configuration Register VM Manager on Oracle Enterprise Manager 12c. Configure Secure TCP(TCPS) on VM Manager host (#1456338.1) Use tcps and port 54322 port for VM Manager Registration 19 Oracle OpenWorld 2012
Cloud Architecture Design and configuration 20 Oracle OpenWorld 2012
Cloud Architecture Design and configuration Configure Virtual Environment through VM Manager Configure multiple networks Configure shared storage and storage repository, server pool Refer to Oracle Enterprise Manager Cloud Administration Guild 12c Release 2. E28814-01, March 2012 for details. 21 Oracle OpenWorld 2012
Creating Assembly with Oracle Virtual Assembly Builder(OVAB) 22 Oracle OpenWorld 2012
Creating Assembly with OVAB Tasks Overview Configure Oracle Virtual Assembly Builder (OVAB) Environment Configure an Oracle Linux 5U7 32 bit Virtual Machine Meet the pre-installation requirements Install and configure OVAB on the virtual machine Create virtual assemblies for reference systems Introspect a reference system to create an assembly Capture template and assembly archive Export assembly achieve 23 Oracle OpenWorld 2012
Creating Assembly with OVAB Create a virtual machine for Oracle Virtual Assembly Builder(OVAB) Download OVM_OL5U7_x86_PVM.ova and import into Repository Create Oracle Linux 5U7 VM by deploying this assembly 24 Oracle OpenWorld 2012
Creating Assembly with OVAB Meet prerequisites of OVAB installation Configure a Linux server using Oracle Linux 5u7 32 bit Download software JeOS Base x86 and x86_64: ovm-modify-jeos-1.1.0-12.el5.noarch.rpm Oracle Open-OVF : open-ovf-1.1-1.0.47.el5.1.noarch.rpm OL_base_images: ofm_vab_11.1.1.6.0_sample_baseimage_oel_5.7_32bit.zip copied to /u01/app/ovab/ab_instance1/templates/baseimages/ovm/oel ovab software: ofm_vab_linux_11.1.1.6.0_32_disk1_1of1_ovab.zip Install ovab:./runinstaller as oracle user 25 Oracle OpenWorld 2012
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 26 Oracle OpenWorld 2012
Creating Assembly with OVAB Complete file sets capture Add additional appliance Edit an assembly Create templates and archive assembly 27 Oracle OpenWorld 2012
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 28 Oracle OpenWorld 2012
Creating Assembly with OVAB Lessons learned Use -12th version ovm-modify-jeos-1.1.0-12.el5.noarch.rpm Need to shutdown firewall in the OVAB and reference host: [root@ovab Oracle_OVAB1]# service iptables stop Use root or other user with sudo to do interspect Make sure you can connect to the reference system from OVAB host Make sure you start the weblogic server before you do the introspect 29 Oracle OpenWorld 2012
Deploy Assembly in Virtual Environment 30 Oracle OpenWorld 2012
Deploy Assembly in Virtual Environment Deploy Assembly on Virtual Environment Through Oracle VM Manager or Enterprise Manager 12c Load Assembly into Repository Copy the assembly archive to OMS server: /var/www/html/0157 31 Oracle OpenWorld 2012
Deploy Assembly in Virtual Environment Deploy Assembly 32 Oracle OpenWorld 2012
Deploy Assembly in Virtual Environment 33 Oracle OpenWorld 2012
Deploy Assembly in Virtual Environment 34 Oracle OpenWorld 2012
Deploy Assembly in EM12c Self Service Portal 35 Oracle OpenWorld 2012
Deploy Assembly in EM12c Self Service Portal 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 36 Oracle OpenWorld 2012
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 Component s loaded 37 Oracle OpenWorld 2012
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: Setup Cloud 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 38 Oracle OpenWorld 2012
Deploy assemblies in EM12c Self Service Portal 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 39 Oracle OpenWorld 2012
Deploy assemblies in EM12c Self Service Portal Check the assemblies the user can use for the virtual machine request Request server (virtual machine) through Self Service Portal 40 Oracle OpenWorld 2012
Deploy assemblies in EM12c Self Service Portal Monitoring the request server status and the resource usage: 41 Oracle OpenWorld 2012
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: 1. Oracle Enterprise Manager Cloud Administration Guild, 12c Release 2 (12.1.1.0.2), E28814-01, March 2012 2. Oracle Virtual Assembly Builder User s Guild 11g Release 1 (11.1.1.6) E25514-02 February 2012 3. Oracle Virtual Assembly Builder, Installation Guide 11g Release 1 (11.1.1.6) E18705-02, February 2012 4. Oracle Virtual Assembly Builder 11.1.1.6 Overview, Oracle Presentation 5. Configuring and Managing a Private Cloud with Oracle Enterprise Manager, Kai Yu, Oracle OpenWorld 2011 presentation, session#06980 6. Configuring and Managing a Private Cloud with Oracle Enterprise Manager 12c, IOUG Collaborate 12 whitepaper 42 Oracle OpenWorld 2012
Thank you and QA 43
Contact me at kai_yu@dell.com or visit my Oracle Blog at http://kyuoracleblog.wordpress.com/ 44 Oracle OpenWorld 2012