Under the Hood of Oracle Database Cloud Service for Oracle ...2 Dell - Internal Use - Confidential...

Preview:

Citation preview

Under the Hood of

Oracle Database Cloud

Service for Oracle DBAs

2017 ANZ Webinar Tour by

Kai Yu

Oracle Solutions Engineering

Dell EMC

2 Dell - Internal Use - Confidential

Technical Staff, Dell EMC Database Engineering

25+ years working with IT Industry

Specializing in Oracle Database, Cloud, Virtualization

Author(30 articles+book) and Speaker(130+ sessions)

Oracle ACE Director

2011 OAUG Innovator of Year

2012 Oracle Excellence Award- Technologist of the

Year: Cloud Architect by Oracle Magazine

My Blog: http://kyuoracleblog.wordpress.com/

Kai Yu

Agenda

• Overview of Oracle Cloud Offerings

• Oracle Database Cloud-DBaaS Quick start

• Oracle DBA tasks on Database Cloud Service

• Leveraging Oracle Database Backup Cloud Services

4 Dell - Internal Use - Confidential

My Work: Dell EMC Oracle Solutions Engineering

• Dell EMC Oracle Database Solutions Stack

5 Dell - Internal Use - Confidential

5

6 Dell - Internal Use - Confidential

Overview of Oracle Cloud Offerings

7 Dell - Internal Use - Confidential

Oracle Cloud Service Offerings

• Software as a Service(SaaS)

Delivers modern cloud applications that connect business processes

across the enterprise. Integrated with social, mobile and analytic

capabilities to deliver customer experiences, enterprise resource

planning, human capital management, etc.

• Platform as a Service(PaaS)

Helps developers rapidly build and deploy rich applications to Oracle

Cloud SaaS applications. Including the Oracle database and Oracle

WebLogic application Server

• Infrastructure as a Service(IaaS)

Providing a comprehensive set of core infrastructure services like

elastic compute, dynamic messaging and storage to let run any

workload in the cloud

8 Dell - Internal Use - Confidential

Software as a Service(SaaS)

Providing various application service in the Cloud:

– Customer Experience Applications

– Enterprise Performance Management

– Human Capital Management

– Supply Chain Management

– Data

– Enterprise Resource Planning:

– Internet of Things

9 Dell - Internal Use - Confidential

PaaS (Platform as a Service)

• Application Development

API Catalog , Application Builder, Application Container

Developer, Java, Java - SaaS Extension, Mobile

• Content and Experience

Content and Experience, Process, WebCenter Portal

• Business Analytics

Big Data Discovery, Big Data Preparation, Business Intelligence

Data Visualization, Internet of Things

• Data Management

Big Data, Big Data-Compute Edition,Database, Database Backup

Database Schema, Event Hub, Exadata, Exadata Express, MySQL

• Integration

API Manager, GoldenGate, Integration, Managed File Transfer,SOA

• Management

Applications performance managing, Infrastructure .

• Monitoring

Log Analytics, IT Analytics

10 Dell - Internal Use - Confidential

IaaS (Infrastructure as a Service)

• Compute Service:

Generate purpose Computing

Dedicated Compute – high performance x86 servers reserved

Dedicate Compute – SPAC Model 360

• Storage Service:

Object storage:

Archive storage:

Oracle Database Backup Service:

Cloud Software Appliance

• Network Services : securely connect data center to Oracle cloud

VPN for Compute

VPN for DCompute

FastConnect: dedicated environment :

Standard edition and Partner edition

11 Dell - Internal Use - Confidential

Oracle Database Cloud Service

12 Dell - Internal Use - Confidential

Oracle Database Cloud Services

Several Deployment Choices

• Oracle Database Cloud Service

Oracle 11g,12.1,12.2 database services, based on virtual machines

• Cloud Database Service on Bare metal

Dedicated hardware and local NVMe storage, on a low latency, highly

configurable and secure Virtual Cloud Network

• Oracle Database Exadata Cloud Service

It brings the full power of Exadata to the Oracle Cloud

• Oracle Exadata Machines in the Oracle Cloud

Oracle Exadata Cloud machine runs on customer on-premise

• Oracle Database Exadata Express Cloud Service – Managed

For small and medium sized databases, low entry price , provisioned

within minutes

• Oracle Database Schema Cloud Service - Managed

Entry level price, prospective customers should consider Exadata

Express as an alternative.

13 Dell - Internal Use - Confidential

Oracle Database Cloud Services

• Oracle Database cloud service to create the database deployment.

It creates the compute nodes (virtual machine or physical hosts) to

host the database.

• Oracle Compute cloud service(IaaS) provides the computing power,

physical storage, networks and software.

• Your databases are running in the infrastructure owned by Oracle.

• Oracle database cloud services provides the interface and network

for you to access the database in the cloud.

• Oracle Database versions: 11g,12.1, 12.2, 12c including Oracle

Multitenant option for pluggable databases

• Admin access via SSH, SQL Developer,, SQL*plus, etc

• Data Access: SQL*net, JDBC,JSON, Data Pump etc.

• Management: Scaling, security, patching and upgrade, backup

14 Dell - Internal Use - Confidential

Oracle Database Cloud Services

• Service packaging: options to choose

Standard, Enterprise, High performance

Extreme Performance: with RAC, In-Memory, Active Data Guard

• Computing Power: based on Oracle CPU(OCPU)

• Storage: choose up to 2TB during the deployment. You can add up

to 4.6Tb with local backup and up to 12TB (7.8 TB for RAC)without

local backups

15 Dell - Internal Use - Confidential

Oracle Database Cloud-DBaaS Quick start

• Generate SSH Key Pair: for secure connections to Oracle DBaaSdatabase instance

public key used in DB instance creation :rsa-key-20161230.pub.txt file

private key used for secure connection :rsa-key-20161230.ppk file

Putty Key Generator puttygen.exe

16 Dell - Internal Use - Confidential

Oracle Database Cloud-DBaaS Quick start

• Sign in Oracle cloud service : http://cloud.oracle.com,

My services console link,

create service

17 Dell - Internal Use - Confidential

Oracle Database Cloud-DBaaS Quick start

• Create Database instance wizard is invoked:

Specify information and get confirmation

load existing key or create a new key

18 Dell - Internal Use - Confidential

Oracle Database Cloud-DBaaS Quick start

• Create Database instance wizard is invoked:

Confirm the Database Instance Configuration and start instance

creation

19 Dell - Internal Use - Confidential

Oracle Database Cloud-DBaaS Quick startDatabase instance creation completed

20 Dell - Internal Use - Confidential

Oracle Database Cloud-DBaaS Quick start

• Enable Network access to the DB instance

21 Dell - Internal Use - Confidential

Oracle Database Cloud-DBaaS Quick Start

Enable Network access to the DB instance

22 Dell - Internal Use - Confidential

Oracle DBA tasks on the database service

23 Dell - Internal Use - Confidential

Access the Database host and DB Instance

• Details of Database Instance in the Cloud

DB host public IP: 129.152.144.220 SQL* Net port: 1521

Instance SID: ORCLR2 DB Name: PDB1

24 Dell - Internal Use - Confidential

Access the Database host and DB Instance

• Configure the host access to the DB host: add the private

keyprivate_key to putty

25 Dell - Internal Use - Confidential

Access the Database host and DB Instance

• SSH to the host of the db instance using the secure key.

Just like you connect to the database host in your local data center.

26 Dell - Internal Use - Confidential

Oracle DBA/Development tasks on the database service• Root and oracle logins are provided for the database host (virtual

machine)

• Login to the database instance as a sysdba to do the dba tasks

27 Dell - Internal Use - Confidential

Access the Database host and DB Instance• Connect SQL Developer with your cloud database.

with the following information on the cloud database instance

DB host public IP: 129.152.144.220 SQL* Net port: 1521

Instance SID: ORCLR2 PDB Name: PDB1

To access the PDB database, use the service name for the PDB:

service name for pdb: pdb1.usdellinc.oraclecloud.internal

service name for cdb: ORCL2.usdellinc.oraclecloud.internal

28 Dell - Internal Use - Confidential

Access the Database host and DB Instance

• Configure the database connection in SQL Developer.

29 Dell - Internal Use - Confidential

Access the Database host and DB Instance• SQL Developer connects to the cloud database instance

30 Dell - Internal Use - Confidential

Oracle DBA/Development tasks on the database service• Development tasks with Query builder

31 Dell - Internal Use - Confidential

Oracle DBA/Development tasks on the database service• Development tasks with Query builder connecting to the Cloud DB

instance

32 Dell - Internal Use - Confidential

Oracle DBA/Development tasks

• Migrate your on-primes database to the cloud database.

• Set the connect string in your on-premise hostdbaas_12cr2_pdb1 =

(description =

(address = (protocol = tcp)(host = db12cr2.compute-usdellinc.oraclecloud.internal)

(port= 1521)) (connect_data =(server = dedicated)

(service_name = pdb1.usdellinc.oraclecloud.internal)))

• Considerations of migration methods: Use data pump to export/Import the schema to the cloud database

impdp system/passwd@dbaas_12cr2_pdb1dumpfile=dbexport.dmp

Use Data dump transportable tablespace

Use RMAN transportable tablespace with Data pump

unplugging/plugging (CDB)

• Determining factors of choosing of migration methods:

Database versions, character sets, DB platform(OS)

• Refer to Migrating Oracle Databases to Database cloud Service of

Oracle Cloud, Using Oracle Database Cloud Service, E48368-38,

February 2017

33 Dell - Internal Use - Confidential

Leveraging Oracle Database Backup Cloud Services

• Oracle Database backup cloud service provides on-demand storage

for backing up your Oracle Databases to Oracle cloud.

• The service is through subscription, need to install the Oracle

Database Cloud Backup Module, and configure your environment to

send backups to the cloud

• Use RMAN commands to perform backup, restore, recovery,

maintenance operation.

• Support RMAN backup encryption and RMAC backup compressions

algorithms

• Implementation and setup steps:

1) purchase a subscription or request a trial of the service

2) Download/install Oracle Database Cloud Backup Moduleopc_installer.zip

3) Configure RMAN settings

RMAN> run { allocate channel odbs type sbt

PARMS='SBT_LIBRARY=/orclhome/lib/libopc.so,

SBT_PARMS=(OPC_PFILE=/orclhome/dbhome_1/dbs/opct1.ora)';

backup database;}

34 Dell - Internal Use - Confidential

Thank You and QAContact me at kai_yu@dell.com or visit my Oracle Blog at http://kyuoracleblog.wordpress.com/

Recommended