configuring and managing a private cloud with enterprise ... · pdf filekai yu oracle...

44
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

Upload: dinhthuy

Post on 11-Feb-2018

229 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Configuring and Managing a Private Cloud with Enterprise ... · PDF fileKai Yu Oracle Solutions Engineering Lab Dell Inc. Configuring and Managing a Private Cloud with Enterprise Manager

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

Page 2: Configuring and Managing a Private Cloud with Enterprise ... · PDF fileKai Yu Oracle Solutions Engineering Lab Dell Inc. Configuring and Managing a Private Cloud with Enterprise Manager

• Kai Yu, [email protected]

– 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

Page 3: Configuring and Managing a Private Cloud with Enterprise ... · PDF fileKai Yu Oracle Solutions Engineering Lab Dell Inc. Configuring and Managing a Private Cloud with Enterprise Manager

• 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

Page 4: Configuring and Managing a Private Cloud with Enterprise ... · PDF fileKai Yu Oracle Solutions Engineering Lab Dell Inc. Configuring and Managing a Private Cloud with Enterprise Manager

Introduction to Cloud

Management

4

Page 5: Configuring and Managing a Private Cloud with Enterprise ... · PDF fileKai Yu Oracle Solutions Engineering Lab Dell Inc. Configuring and Managing a Private Cloud with Enterprise Manager

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)

Page 6: Configuring and Managing a Private Cloud with Enterprise ... · PDF fileKai Yu Oracle Solutions Engineering Lab Dell Inc. Configuring and Managing a Private Cloud with Enterprise Manager

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.

Page 7: Configuring and Managing a Private Cloud with Enterprise ... · PDF fileKai Yu Oracle Solutions Engineering Lab Dell Inc. Configuring and Managing a Private Cloud with Enterprise Manager

7

Page 8: Configuring and Managing a Private Cloud with Enterprise ... · PDF fileKai Yu Oracle Solutions Engineering Lab Dell Inc. Configuring and Managing a Private Cloud with Enterprise Manager

• 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

Page 9: Configuring and Managing a Private Cloud with Enterprise ... · PDF fileKai Yu Oracle Solutions Engineering Lab Dell Inc. Configuring and Managing a Private Cloud with Enterprise Manager

• 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

Page 10: Configuring and Managing a Private Cloud with Enterprise ... · PDF fileKai Yu Oracle Solutions Engineering Lab Dell Inc. Configuring and Managing a Private Cloud with Enterprise Manager

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

Page 11: Configuring and Managing a Private Cloud with Enterprise ... · PDF fileKai Yu Oracle Solutions Engineering Lab Dell Inc. Configuring and Managing a Private Cloud with Enterprise Manager

11

Private Cloud Management in virtual environment

Page 12: Configuring and Managing a Private Cloud with Enterprise ... · PDF fileKai Yu Oracle Solutions Engineering Lab Dell Inc. Configuring and Managing a Private Cloud with Enterprise Manager

Oracle | Dell Joint Private Cloud POC

Project

12

Page 13: Configuring and Managing a Private Cloud with Enterprise ... · PDF fileKai Yu Oracle Solutions Engineering Lab Dell Inc. Configuring and Managing a Private Cloud with Enterprise Manager

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

Page 14: Configuring and Managing a Private Cloud with Enterprise ... · PDF fileKai Yu Oracle Solutions Engineering Lab Dell Inc. Configuring and Managing a Private Cloud with Enterprise Manager

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

Page 15: Configuring and Managing a Private Cloud with Enterprise ... · PDF fileKai Yu Oracle Solutions Engineering Lab Dell Inc. Configuring and Managing a Private Cloud with Enterprise Manager

Cloud Infrastructure

Deployment and Configuration

15

Page 16: Configuring and Managing a Private Cloud with Enterprise ... · PDF fileKai Yu Oracle Solutions Engineering Lab Dell Inc. Configuring and Managing a Private Cloud with Enterprise Manager

16

• Hardware Infrastructure Layout

Page 17: Configuring and Managing a Private Cloud with Enterprise ... · PDF fileKai Yu Oracle Solutions Engineering Lab Dell Inc. Configuring and Managing a Private Cloud with Enterprise Manager

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

Page 18: Configuring and Managing a Private Cloud with Enterprise ... · PDF fileKai Yu Oracle Solutions Engineering Lab Dell Inc. Configuring and Managing a Private Cloud with Enterprise Manager

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

Page 19: Configuring and Managing a Private Cloud with Enterprise ... · PDF fileKai Yu Oracle Solutions Engineering Lab Dell Inc. Configuring and Managing a Private Cloud with Enterprise Manager

19

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

Page 20: Configuring and Managing a Private Cloud with Enterprise ... · PDF fileKai Yu Oracle Solutions Engineering Lab Dell Inc. Configuring and Managing a Private Cloud with Enterprise Manager

20

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

Page 21: Configuring and Managing a Private Cloud with Enterprise ... · PDF fileKai Yu Oracle Solutions Engineering Lab Dell Inc. Configuring and Managing a Private Cloud with Enterprise Manager

21

Setup the software library:

Page 22: Configuring and Managing a Private Cloud with Enterprise ... · PDF fileKai Yu Oracle Solutions Engineering Lab Dell Inc. Configuring and Managing a Private Cloud with Enterprise Manager

22

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

Page 23: Configuring and Managing a Private Cloud with Enterprise ... · PDF fileKai Yu Oracle Solutions Engineering Lab Dell Inc. Configuring and Managing a Private Cloud with Enterprise Manager

23

Sync EM and OVM Manager

Page 24: Configuring and Managing a Private Cloud with Enterprise ... · PDF fileKai Yu Oracle Solutions Engineering Lab Dell Inc. Configuring and Managing a Private Cloud with Enterprise Manager

24

Discover VM servers to connect VM Manager with VM servers

Page 25: Configuring and Managing a Private Cloud with Enterprise ... · PDF fileKai Yu Oracle Solutions Engineering Lab Dell Inc. Configuring and Managing a Private Cloud with Enterprise Manager

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)

Page 26: Configuring and Managing a Private Cloud with Enterprise ... · PDF fileKai Yu Oracle Solutions Engineering Lab Dell Inc. Configuring and Managing a Private Cloud with Enterprise Manager

27

Mapping from public network to physical NIC card ports:

Logical network and physical network mapping:

Over all networks setup

Page 27: Configuring and Managing a Private Cloud with Enterprise ... · PDF fileKai Yu Oracle Solutions Engineering Lab Dell Inc. Configuring and Managing a Private Cloud with Enterprise Manager

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

Page 28: Configuring and Managing a Private Cloud with Enterprise ... · PDF fileKai Yu Oracle Solutions Engineering Lab Dell Inc. Configuring and Managing a Private Cloud with Enterprise Manager

29

Configure the Storage array and volumes. ,

The volumes shown as the physical disks: :

Page 29: Configuring and Managing a Private Cloud with Enterprise ... · PDF fileKai Yu Oracle Solutions Engineering Lab Dell Inc. Configuring and Managing a Private Cloud with Enterprise Manager

30

Create VM server pool and zone ,

Create the Storage Repository with the OCFS cluster file system

:

Page 30: Configuring and Managing a Private Cloud with Enterprise ... · PDF fileKai Yu Oracle Solutions Engineering Lab Dell Inc. Configuring and Managing a Private Cloud with Enterprise Manager

31

Storage Repository Structure

Create VMs by cloning VM templates ,

:

Load the VM template to Storage Repository:

Page 31: Configuring and Managing a Private Cloud with Enterprise ... · PDF fileKai Yu Oracle Solutions Engineering Lab Dell Inc. Configuring and Managing a Private Cloud with Enterprise Manager

32

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

:

Page 32: Configuring and Managing a Private Cloud with Enterprise ... · PDF fileKai Yu Oracle Solutions Engineering Lab Dell Inc. Configuring and Managing a Private Cloud with Enterprise Manager

33

Create Virtual Network Interface Create VMs with VM templates ,

Assign VNICs to VM:

:

Page 33: Configuring and Managing a Private Cloud with Enterprise ... · PDF fileKai Yu Oracle Solutions Engineering Lab Dell Inc. Configuring and Managing a Private Cloud with Enterprise Manager

34

Add the shared physical disks and local disk to VM

,

:

Page 34: Configuring and Managing a Private Cloud with Enterprise ... · PDF fileKai Yu Oracle Solutions Engineering Lab Dell Inc. Configuring and Managing a Private Cloud with Enterprise Manager

Self Service Application in

the Cloud

35

Page 35: Configuring and Managing a Private Cloud with Enterprise ... · PDF fileKai Yu Oracle Solutions Engineering Lab Dell Inc. Configuring and Managing a Private Cloud with Enterprise Manager

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

Page 36: Configuring and Managing a Private Cloud with Enterprise ... · PDF fileKai Yu Oracle Solutions Engineering Lab Dell Inc. Configuring and Managing a Private Cloud with Enterprise Manager

37

• Define Roles:

• Define Software Components

Page 37: Configuring and Managing a Private Cloud with Enterprise ... · PDF fileKai Yu Oracle Solutions Engineering Lab Dell Inc. Configuring and Managing a Private Cloud with Enterprise Manager

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

Page 38: Configuring and Managing a Private Cloud with Enterprise ... · PDF fileKai Yu Oracle Solutions Engineering Lab Dell Inc. Configuring and Managing a Private Cloud with Enterprise Manager

Managing Cloud with Enterprise

Manager

39

Page 39: Configuring and Managing a Private Cloud with Enterprise ... · PDF fileKai Yu Oracle Solutions Engineering Lab Dell Inc. Configuring and Managing a Private Cloud with Enterprise Manager

40

Manages the infrastructure cloud and Database cloud:

,

:

Page 40: Configuring and Managing a Private Cloud with Enterprise ... · PDF fileKai Yu Oracle Solutions Engineering Lab Dell Inc. Configuring and Managing a Private Cloud with Enterprise Manager

41

Manage the Entire Stack

,

:

Page 41: Configuring and Managing a Private Cloud with Enterprise ... · PDF fileKai Yu Oracle Solutions Engineering Lab Dell Inc. Configuring and Managing a Private Cloud with Enterprise Manager

42

Detailed status of a RAC Database

,

:

Page 42: Configuring and Managing a Private Cloud with Enterprise ... · PDF fileKai Yu Oracle Solutions Engineering Lab Dell Inc. Configuring and Managing a Private Cloud with Enterprise Manager

43

Monitor the Infrastructure Cloud (Pre-Recorded Demo Video)

,

:

Page 43: Configuring and Managing a Private Cloud with Enterprise ... · PDF fileKai Yu Oracle Solutions Engineering Lab Dell Inc. Configuring and Managing a Private Cloud with Enterprise Manager

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

Page 44: Configuring and Managing a Private Cloud with Enterprise ... · PDF fileKai Yu Oracle Solutions Engineering Lab Dell Inc. Configuring and Managing a Private Cloud with Enterprise Manager

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