Configuring and Managing a Private Cloud with Enterprise ... · PDF fileKai Yu Oracle...

Post on 11-Feb-2018

231 views 1 download

Transcript of Configuring and Managing a Private Cloud with Enterprise ... · PDF fileKai Yu Oracle...

Kai Yu Oracle Solutions Engineering Lab Dell Inc.

Configuring and Managing a Private Cloud with

Enterprise Manager 12c

IOUG Collaborate 12, Session #312, Tuesday April 24, 4:30-5:30pm

• Kai Yu, kai_yu@dell.com

– 17 years with Oracle Technology: DBA, Apps DBA, Architect

– Hands-on experience on IT solution stack: hardware to software

– Focus on Oracle RAC, Oracle VM and Cloud

– Oracle ACE Director, author and frequent presenter

– IOUG Oracle RAC SIG President (2009-2010)

– IOUG Virtualization SIG Webinar Chair

– 2011 OAUG Innovator of Year Award Winner

– Oracle Blog: http://kyuoracleblog.wordpress.com/

• Dell Oracle Solutions Engineering: www.dell.com/oracle

– Oracle Technology Solutions on Dell systems/storages

– Dell | Oracle Solutions Components

– Solutions stack: servers, storage, network, OS, Oracle VM, Oracle RAC, Oracle Applications

About Author

2

• Introduction to Oracle VM and Cloud Management Solution

• Dell Oracle Private Cloud POC Project

• Cloud Infrastructure Deployment and Configuration

• Self Service Application in the Cloud

• Managing Cloud with Oracle Enterprise Manager 12c

• QA

Agenda

3

Introduction to Cloud

Management

4

5

• Oracle Cloud Service Models: Infrastructure as a service: Storage, Servers, Operating systems: Oracle Linux, Oracle VM for x86/Sparc, Oracle Solaris Database as a Service: create database on VM or on shared

cluster; Create a database schema on a shared Database Platform as a Service: combines database service with middle tier

such as Fusion Middleware, SOA, BPM, Identify Mgmt, Webcenter Applications as a Service: 3rd party apps, Oracle Applications, etc

• Cloud Management Performance management Life Cycle Management of all layers of cloud services Configuration Management Support for both physical and virtual environments Management of completed software stack (VM, OS, Tech stack

and Applications)

6

• Oracle Enterprise Manager 12c : Total Cloud Control solution Integrate and automate the management of the entire cloud stack Applications and Business Services Platform as a Service Database as a Service Infrastructure as a service Complete Life Cycle Management: manage all phrases: Plan->Setup-> Build ->Test ->Deploy->Monitor->Manage -> Meter charge -> Optimize Business Driven Application Management

• This presentation will focus on the Infrastructure Cloud Management The infrastructure cloud is based on Oracle Virtualized

environment.

7

• Oracle VM Virtualization Solution. – Software based server Virtualization solutions for X86 – Server partitions and consolidation – High availability and scalability – Fast deployment and standardization – Provide the virtualization support for Grid /Cloud

• Oracle VM Architecture – Oracle VM server: Xen Hypervisor, management Linux kernel with support of devices, IO, networking, etc. – VM: guest OS with applications running on domU

8

• Running Applications on Oracle VM environment

– Applications running on Oracle Virtual Machines (VM)

– Multiple Oracle VMs on a single physical servers.

– Multiple physical servers form a server pool for high availability

• Fast Application deployment on

Oracle VM environment

– Oracle VM Templates

– Application Assemblies

• Application Service Provision in Cloud

– Provisioning trough VM Templates

– Provisioning through Application Assemblies

9

10

Roles and Responsibilities of the Cloud Management: • Cloud Administrator’s Cloud Setup Tasks

Hypervisor/VM Server provisioning Configure Storage and network Create server pool, zone Centralize Software Library

• Self Service Administrator’s Cloud Setup Tasks: Define VM seize Assign Quota to users/roles, define access boundary Setup chargeback plan Make software available self service users

• Self Service Users: Deploy Applications through templates/assembly Operator tasks – start and stop and monitoring Scale up and down Save/clone snapshot

11

Private Cloud Management in virtual environment

Oracle | Dell Joint Private Cloud POC

Project

12

13

• Project Goal: Reference configuration of Cloud Infrastructure on Dell platforms Deployment solution for private cloud based on Oracle VM 3.0 Cloud Management Solutions based on Oracle EM12c Developing solutions to achieve PaaS and IaaS

• Project Task Overview Private Cloud Infrastructure Design Cloud Infrastructure Deployment and Configuration Setup Self Service Applications in Cloud

• Private Cloud Architecture Design Cloud Hardware Environment :

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

14

Fiber Channel Storage for Cloud storage: Virtualization and Management Environment: Virtual Server: Oracle VM server 3 Virtual Environment Manager: Oracle VM Manager 3 Cloud Management: Enterprise Manager 12C Cloud Control

Cloud Infrastructure

Deployment and Configuration

15

16

• Hardware Infrastructure Layout

17

• Software Installation Oracle VM server 3.0 installation on bare metal hardware Need to specify the management port

VM Manager Installation: (VM Manager 3.0.2 and up) text based installer: ./runInstaller.sh requires Oracle DB SE/EE for the repository for production Simple installation installs DB XE Standard install use the pre-installed DB Install Java, the Oracle VM Manager application, and Oracle

WebLogic Server

18

• Enterprise Manager 12g Installation installs middleware home: JDK, OMSWeblogic server, OMS, Plug-ins

11.2 Oracle DB home: repository database software agent12 home: 12g agent

19

So far you have installed VM servers, VM Manager, EM12c,. We start to link them together.

20

Establishing Enterprise Manager’s Cloud Management . Install Virtualization plugs and Cloud Plug-in

21

Setup the software library:

22

Setting up the Cloud Infrastructure Register the Oracle VM Manager in Enterprise Manager EM Cloud control ->Enterprise Menu > Infrastructure Cloud->Register OVM Manager

23

Sync EM and OVM Manager

24

Discover VM servers to connect VM Manager with VM servers

25

Cloud’s Network and Storage Connections Design (Refer to Session #328, Virtualizing Oracle 11gR2/RAC Database on

Oracle VM3.0 Methods/Tip, Monday, 3:45-4:45PM, Palm D)

27

Mapping from public network to physical NIC card ports:

Logical network and physical network mapping:

Over all networks setup

28

Storage Configuration: Allocated storage volumes for the cloud. Storage Volume creations: ,

Make these volumes accessible to the VM servers. After VM Manager discovered the VM server, the storage Connect plug in VM server connect the Storage with the VM Manager. And we can manage the storage on the EM 12c VM Manager Page

29

Configure the Storage array and volumes. ,

The volumes shown as the physical disks: :

30

Create VM server pool and zone ,

Create the Storage Repository with the OCFS cluster file system

:

31

Storage Repository Structure

Create VMs by cloning VM templates ,

:

Load the VM template to Storage Repository:

32

Create VMs with VM templates Load the VM template to Storage Repository: Create Virtual Network Interface (VNIC) ,

:

33

Create Virtual Network Interface Create VMs with VM templates ,

Assign VNICs to VM:

:

34

Add the shared physical disks and local disk to VM

,

:

Self Service Application in

the Cloud

35

36

• Self Service Admin handles provisioning and management through Service portal: Define and publish service templates Set resource quota to users/roles. Monitoring and Manage the requests and resources

• Service self users can request the services • Setup Self Service Portal: SetupCloud Self Services Define Machine Size Define Requst Settings

37

• Define Roles:

• Define Software Components

38

• Monitoring and Administering Resources and Requests Use Self Service Portal: Infrastructure Self Service Portal

Request additional resources by clicking ‘Request Servers’ to request a new VM (server pool, memory, VCPUs, network, storage, deployment options

Managing Cloud with Enterprise

Manager

39

40

Manages the infrastructure cloud and Database cloud:

,

:

41

Manage the Entire Stack

,

:

42

Detailed status of a RAC Database

,

:

43

Monitor the Infrastructure Cloud (Pre-Recorded Demo Video)

,

:

44

Summary: • Cloud Configuration and Management with Oracle EM 12c • Cloud Reference Configuration based on Dell Hardware/Storage • Cluster Infrastructure Components and Step by Step Deployment • Self Service Application to provide PaaS and IaaS • Managing Cloud with Oracle Enterprise Manager

Acknowledgement: This presentation was co-presented with Madhup Gulati, Senior Product

Manager of EM12c Cloud Management at Oracle I would like to acknowledge the help and support of Roger Lopez and other

team members in Dell Oracle Solutions Engineering Lab References: 1. Oracle® Enterprise Manager Cloud Control Cloud Administration Guide

12c, Release 1, 12.1.0.1, E25179-01 2. Oracle® Enterprise Manager Cloud Control Basic Installation Guild 12c Release 12.1.0.1.0 3. Oracle® VM Installation Guide Release 3.0 for x86 E18548-01 4. Oracle® VM User’s Guide Release 3.0.3 for x86 E18549-04

45

Thank You and QA Visit my Oracle Blog at http://kyuoracleblog.wordpress.com

IOUG Virtualization SIG: www.ioug.org/virtualization

My Collaborate 12 Sessions and Panel

#920, Enterprise Manager 12c Deep Dive Sunday 9:am-3pm

Mandalay K

#840, Alternative Options to Enhance the High Availability of your Oracle Database

Monday, 12:15pm Palm C

#328, Virtualization Boot Camp: Virtualizing Oracle 11g/R2 RAC Database on Oracle VM 3.0 Monday, 3:45pm Palm D #312,Configuring and Managing a Private Cloud with Oracle Enterprise Manager 12c Tuesday,4:30pm Mandalay K Oracle on Oracle VM - Expert Panel, Oracle VM Expert Panel Wed, 9:30am Mandalay L