44
Enterprise Manager 13c – let’s connect to the Oracle Cloud Martin Berger Senior Consultant

Enterprise manager 13c -let's connect to the Oracle Cloud

Embed Size (px)

Citation preview

Enterprise Manager 13c – let’s connect to the Oracle CloudMartin BergerSenior Consultant

Agenda

Enterprise Manager 13c – let’s connect to the Oracle Cloud

1. Oracle Cloud2. Hello Cloud, can you hear me ?3. Configuration4. Cloud Management5. Trivadis Cloud Offerings

About Me

Enterprise Manager 13c – let’s connect to the Oracle Cloud

Martin Berger – 4703 Kestenholz / JurasüdfussSenior Consultant, seit 2007 @ Trivadis AGHauptreferent O-AI / Referent NF-12C-DBA Oracle Consulting HA, Dataguard, CloudWeblogic 11g Certified Professional2 Junior DBAs, Feuerwehr

www.martinberger.com#martinberger_ch

Enterprise Manager 13c – let’s connect to the Oracle Cloud

Oracle Cloud

The Oracle Cloud Stack

Enterprise Manager 13c – let’s connect to the Oracle Cloud

Database

Database Backup

Compute

Storage

Network

Java

IaaS

PaaS

Database

Enterprise Manager 13c – let’s connect to the Oracle Cloud

Choose between a single schema or a virtual pre-configured Oracle database, ready-to-use.

Database as a Service

– Dedicated virtual machine

– Also available as virtual image with Oracle software only

– Full root / Oracle Net access

– Oracle cloud tools

Database Schema Service

– 1 11g Schema 5,20, 50 GB storage

– APEX 5 pre-confiugured

Exadata Service

Database as a Service

Enterprise Manager 13c – let’s connect to the Oracle Cloud

12.1.0.2 Multitenant

Oracle Linux 6.4

Database Backup

Enterprise Manager 13c – let’s connect to the Oracle Cloud

Transparent backup management using RMAN for seamless backup and restore operations.

Backup has to be encrypted locally

Licences for advanced compression and advanced security included

Compute vs. Dedicated Compute

Enterprise Manager 13c – let’s connect to the Oracle Cloud

Compute– Shared Compute Zone

– Dedicated Core Capacity: 50 and 100 Cores

– Some Isolation via Resource Management across Tenants but noisy neighbors can impact others

Dedicated Compute– Completely Dedicated Compute Zone

per tenant

– Predictable Performance

– Complete Network Isolation

– Site to Site VPN

– 500, 1000, 1500, 2000 Cores

On-Premise to Oracle Cloud Communication

Enterprise Manager 13c – let’s connect to the Oracle Cloud

On-Premise Data Center Oracle Cloud

Dedicate Compute

Compute

Site-to-Site VPNIP Restriction

SSH

IP RestrictionSSH

Service Commitment

Enterprise Manager 13c – let’s connect to the Oracle Cloud

Oracle will use commercially reasonable efforts to make Oracle Database Cloud Service available with a Monthly Uptime Percentage of at least

99.95% during any month of the Services Period. SLA level of 99.95 % uptime/availability gives following periods of potential downtime/unavailability:

Daily: 43.2sWeekly: 5m 2.4sMonthly: 21m 54.9sYearly: 4h 22m 58.5s

Like Amazon AWS & Azure

My Cloud DSaaS Instance is up and running

Enterprise Manager 13c – let’s connect to the Oracle Cloud

Screenshot from instance cloud01.compute-trivadis4703.oraclecloud.internal

Enterprise Manager 13c – let’s connect to the Oracle Cloud

Hello Cloud, can you hear me ?

Oracle Cloud Communication (1)

Enterprise Manager 13c – let’s connect to the Oracle Cloud

Enterprise ManagerOMS

Hybrid Cloud Gateway(On-Premise Agent)

Hybrid Cloud Gateway(On-Premise Agent)

Hybrid Cloud Agent

Hybrid Cloud Agent

Oracle Cloud Communication (2)

Enterprise Manager 13c – let’s connect to the Oracle Cloud

The on-premise OMS communicates with a Hybrid Cloud Agent over SSH

On the Oracle Cloud machine an EMCTL dispatcher is running (Agent Process)

The EMCTL dispatcher forwards communication from the on-premise OMS to the Hybrid Cloud Agent

The EMCTL dispatcher streams the responses from the Hybrid Cloud Agent back to the on-premise OMS via Hybrid Cloud Gateway Proxy

Enterprise Manager 13c – let’s connect to the Oracle Cloud

Configuration

Prerequisites

Enterprise Manager 13c – let’s connect to the Oracle Cloud

Oracle Enterprise Manager 12.1.0.5 or higher

A Management Agent for the Hybrid Cloud Gateway Agent configuration

Port 22 open on the Oracle Cloud virtual host

Cloud SSH keys for user oracle to create a Named Credential

Hybrid Cloud Gateway Agent

Enterprise Manager 13c – let’s connect to the Oracle Cloud

$ emcli register_hybridgateway_agent -hybridgateway_agent_list='solothurn.trivadistraining.com:3872'

Successfully registered list of agents as hybridgateways.

Used as SSH Daemon / Port Forwarding

You have to define at least one local Agent as Hybrid Cloud Gateway Agent

The Hybrid Cloud Gateway Agent is failover ready

The Agent on the OMS host is a perfect candidate

Use emcli from $OMS_HOME/bin

Enterprise Manager Named Credential

Enterprise Manager 13c – let’s connect to the Oracle Cloud

A Named Credential has to be created with Public and Private Keys

Agents do not communicate directly with username/password to the cloud

Vorführender
Präsentationsnotizen
Create new ssh Key as user oracle on cloud host: oracle@CLOUD01:/u01/app/oracle/product/ [CLOUD01] cd $HOME/.ssh oracle@CLOUD01:~/.ssh/ [CLOUD01] ll total 12 drwx------ 2 oracle oinstall 4096 Dec 29 21:14 . drwx------. 8 oracle oinstall 4096 Jan 9 00:14 .. -rw-r--r-- 1 oracle oinstall 996 Dec 29 21:14 authorized_keys oracle@CLOUD01:~/.ssh/ [CLOUD01] ssh-keygen -N "" -b 2048 -t rsa -f id_rsa -C "hybrid login" Generating public/private rsa key pair. Your identification has been saved in id_rsa. Your public key has been saved in id_rsa.pub. The key fingerprint is: fd:0f:28:87:1b:57:b0:26:a6:ac:f5:79:07:33:4a:9e hybrid login The key's randomart image is: +--[ RSA 2048]----+ | | | | | . | | . o | | S + . | | . o.+++ | | +o+o++o | | o .EB. .o | | . +. . . | +-----------------+

Installing a Hybrid Cloud Agent

Enterprise Manager 13c – let’s connect to the Oracle Cloud

Installing a Hybrid Cloud Agent

Enterprise Manager 13c – let’s connect to the Oracle Cloud

Installing a Hybrid Cloud Agent

Enterprise Manager 13c – let’s connect to the Oracle Cloud

Installing a Hybrid Cloud Agent

Enterprise Manager 13c – let’s connect to the Oracle Cloud

Installing a Hybrid Cloud Agent

Enterprise Manager 13c – let’s connect to the Oracle Cloud

Installing a Hybrid Cloud Agent

Enterprise Manager 13c – let’s connect to the Oracle Cloud

Root.sh

Enterprise Manager 13c – let’s connect to the Oracle Cloud

[opc@CLOUD01 ~]$ sudo /u01/app/oracle/product/agent13c/agent_13.1.0.0.0/root.sh

Finished product-specific root actions.

/etc exist

Oracle cloud pre-configured user OPC has sudo permissions to execute the root.sh

Server Situation

Enterprise Manager 13c – let’s connect to the Oracle Cloud

[opc@CLOUD01 ~]$ sudo su - oracle

TYPE (Cluster|DG) : SID/PROCESS STATUS HOME---------------------------------------------------------------------------

Dummy emagent : emagent13c n/a /u01/app/oracle/product/agent13c/agent_instDummy rdbms : rdbms12102 n/a /u01/app/oracle/product/12.1.0/dbhome_1

DB-instance (N|N) : CLOUD01 open /u01/app/oracle/product/12.1.0/dbhome_1

Listener : LISTENER up /u01/app/oracle/product/12.1.0/dbhome_1

Agent : emagent13c up /u01/app/oracle/product/agent13c/agent_inst

[opc@CLOUD01 ~]$

The Agent ist up and running – example Output from TVD-Basenv Framework

EM13c - Ready

Enterprise Manager 13c – let’s connect to the Oracle Cloud

EM13c – Target Discovery

Enterprise Manager 13c – let’s connect to the Oracle Cloud

EM13c – Target Discovery

Enterprise Manager 13c – let’s connect to the Oracle Cloud

EM13c – Target Discovery

Enterprise Manager 13c – let’s connect to the Oracle Cloud

EM13c – the Database is ready to use now

Enterprise Manager 13c – let’s connect to the Oracle Cloud

Enterprise Manager 13c – let’s connect to the Oracle Cloud

Cloud Management

Deploying a PDB to the Oracle Cloud

Enterprise Manager 13c – let’s connect to the Oracle Cloud

CDB$ROOT

CLOUDCRM01

CLOUDFA01

CDB$ROOT

CRM01 FA01 Clone

Enterprise Manager

Clone Oracle Cloud PDB to on-premise CDB

Oracle Cloud Portfolio in the Context of Infrastructure Optimization

Clone on-premise PDB to Oracle Cloud CDB

Oracle Cloud Portfolio in the Context of Infrastructure Optimization

Oracle Cloud Portfolio in the Context of Infrastructure Optimization

Trivadis Cloud Offerings

Oracle Cloud Portfolio in the Context of Infrastructure Optimization

http://www.trivadis.com/en/disaster-recovery-high-availability

The Trivadis Offering

Oracle Cloud Portfolio in the Context of Infrastructure Optimization

Optimization Assessment of DR/HA in the Cloud: analysing of your requirements and infrastructure, highlighting the potential for improvements and the ideal measures in the field of cloud services

Database Backup into the Cloud: secure second or third location for your backup data

Restore/Recover Database in the Cloud: restore/recover environment that is ready for use

Cold Standby Cloud Database: standby environment with a stopped instance

Hot Standby Cloud Database: standby environment that has been started with all transactions applied

Active Cloud Standby Database: read-only database service with all transactions applied

Optimization Assessment of DR/HA in the Cloud

Oracle Cloud Portfolio in the Context of Infrastructure Optimization

Analysis of your requirements

Analysis of your infrastructure

Identifying the potential for improvements

Highlighting the ideal measures for the use of (Oracle) Cloud services

Example 1 - Database Backup in the Cloud

Oracle Cloud Portfolio in the Context of Infrastructure Optimization

Secure second or third location for your backup data

Developing a usage conceptConfiguring on-premises backups with the Trivadis TVD-BackupTM toolInstalling and configuring Oracle Database Backup ServicesBackup and restore tests on the databaseSystem documentation and quick reference

On-Premise Data Center

Oracle DatabaseBackup Service

Example 2 - Standard Edition Standby Cloud Databases

Oracle Cloud Portfolio in the Context of Infrastructure Optimization

Oracle software installation Creating a listener and network configuration for the serverCreating the primary and standby databasesCreating the standby configurationusing TVD-Standby™Inclusion in start/stop proceduresFunction check, short demo, system documentation and quick referenceA TVD-Standby™ licence is part of the all-inclusive package

Local Standard Edition Database

Standby StandardEdition Cloud Database

TVD-Standby

Core Message - Oracle Cloud Services

Oracle Cloud Portfolio in the Context of Infrastructure Optimization

Trivadis takes a methodological approach which covers all the relevant areas and highlights the potential for improvement

The gradual implementation of cloud services is possible (and helpful)

Efficient disaster protection with different RTOs is possible without new data center locations

Reduced costs as a result of pay-as-you-use services

Oracle Cloud Services are ready to use for infrastructure optimization

Trivadis has tested them and created effective packages

Trivadis can be your cloud consultant and partner !

Martin Berger Konrad HäfeliSenior Consultant Senior Solution Manager

[email protected]

Enterprise Manager 13c – let’s connect to the Oracle Cloud

[email protected]