oracle enterprise manager 13c and hybrid cloud

Post on 16-Apr-2017

711 Views

Category:

Presentations & Public Speaking

4 Downloads

Preview:

Click to see full reader

TRANSCRIPT

A Happy Marriage ?

Job Oprel, June 2nd 2016

Oracle Enterprise Manager 13C and

Hybrid Cloud Management

Logging in

A Happy Marriage?

The Menu

• Hybrid Cloud, context – Private

– Public

– On Premises

• Enterprise Manager 13C

• Proof Of Concept – Oracle Cloud

– Amazon

– Azure

• Hybrid Cloud, context – Private

– Public

– On Premises

• Enterprise Manager 13C

• Proof Of Concept – Oracle Cloud

– Amazon

– Azure

Hybrid Cloud

Interoperability Oracle - 1

Interoperability Oracle - 2

Private cloud / on premises the same?

Distinction by management

Evolution to DB as a Service

Distinction by evolution

Private / Public Cloud:

• Standardized

• Catalog of Services

• Licenses vs metering

• Automated cost allocation

• Shared resources

• Rapid service elasticity

Business reasons

…as long as costs, reliability, security,

performance etc. meets the demands.

12

OEM

OEM 13C a single pane of glass

OEM 13C simplified

OEM13C Public Cloud Vendors

OEM13C agents will it fly ?

10.110.100.3

82.5.88.4

18

Solution: fake it

OEM13C – cloud solution

Proof of Concept Connections Public Cloud

Oracle Cloud – the start

OEM13c – Create DBaaS

• Generate SSH keys - needed for creating cloud services

• Get a [Trial] Subscription to the Oracle Database

Cloud

• Complete a wizard to request provisioning of a Database Cloud

Service Instance (2)

Oracle DBaaS services

Cloud access DBaaS

• Access the newly created database instance – through cloud based web

consoles

DBaaS access: Enterprise Manager 12c Express

https://<ip-number>:5500/em

27

EM13C Oracle Cloud - Preparations

• Convert existing agent into Hybrid Cloud Gateway Agent:

# emcli register_hybridgateway_agent -hybridgateway_agent=‘<agent>:<port>’

• Upload ssh-keys to Enterprise Manager (Named Credentials)

• Enable network access security rules in the Compute Cloud Service

Console to allow access. E.g. sqlnet, ssh, ping.

Oracle Cloud: status

Oracle Cloud prerequisites deployment agent

Hybrid Cloud Agent:

• You can deploy a Hybrid Cloud Agent only on an Oracle Linux x86-64

operating system

• The Hybrid Cloud Gateway Agent is supported on all operating systems

Oracle Cloud deploying agent - 1

Oracle Cloud: Deploying agent - Root.sh

• Deployed as user Oracle. User OPC has sudo privilege.

• Either set the "oracle.sysman.prov.agentpush.enablePty" property to true in property-file on OMS

• or

• Disable the "requiretty" flag in the sudoers file.

• Or ignore the warning and run root.sh manually (OPC)

Oracle Cloud Deploying agent - 2

Oracle Cloud Deploying agent - 3

Oracle cloud Hybrid Cloud !

35

Target discovery

Promotion is the only chance for naming !!

Oracle Cloud Create tablespace

Oracle Cloud Create tablespace

- Encrypted

- Default

Oracle Cloud Tablespaces

Oracle Cloud encryption rule

Quote documentation:

“In Oracle Database Cloud - Database as a Service databases, user-

created tablespaces are encrypted by default. “

“All new tablespaces you create in a Database as a

Service database are encrypted by default”. However, the

tablespaces that were created when you created the database

deployment are not encrypted.

Cloning databases to on premises / private database !

Hybrid mgmt Oracle Cloud: unsupported -1

• Hybrid Cloud Agent is supported only on Oracle Linux x86-64 operating system.

• Cloning of on-premise Weblogic-domains to Oracle Cloud

• Database: Active Data Guard support for Database Cloud Service instances, management of standby databases on Oracle Cloud

42

Hybrid mgmt Oracle Cloud: unsupported -2

• Database Provisioning - except pluggable database (PDB) operations (create, plug, unplug, drop)

• Database Cloning between hosts on Oracle Cloud

• Manual deployment of Enterprise Manager Agent

Proof of Concept Connections Public Cloud

Microsoft Azure

Microsoft Azure

Azure: Pushing hybrid cloud agent

/bin/hostname -d

Azure: NLAMISJOB2.j7.internal.cloudapp.net

Oracle cloud: trialpaas2.compute-nlamisholdjob.oraclecloud.internal

- UNSUPPORTED -

• /u01/app/oracle/product/oms/sysman/prov/agentpush/ agentpush.properties:

oracle.sysman.prov.agentpush.jschValidations= [OPCHostNameCheck:false]

Not enough.

Local deployment:

/u01/app/oracle/product/agent/ADATMP_2016-05-26_15-43-42-

PM/agentDeploy.sh AGENT_BASE_DIR=/u01/app/oracle/product/agent -

softwareOnly -force -ignorePrereqs AGENT_MODE=PAAS

Unsupported: pushing agent on Azure

• Result ‘normal’ or hybrid cloud agent on Virtual Image Azure:

But: with some hacking you can push an agent on Azure!

Azure – side-effects

Proof of Concept Connections Public Cloud

Amazon AWS

Amazon AWS RDS

• RDS has no SSH – access !!

Amazon CloudWatch

AWS Plugin for OEM13c

“ Have questions about this plugin? Oracle does not support this Plug-in, but

community support is provided via the Oracle Enterprise Manager OTN Forum “

• Monitor EBS, EC2 and RDS instances on Amazon Web Services

• Gather performance metrics and configuration details for AWS instances

• Raise alerts and violations based on thresholds set on monitoring

• Generate reports based on the gathered data

AWS CloudWatch

AWS: Activate Plugin

GUI didn’t work - EMCLI

Add Amazon RDS target:

emcli add_target \ -name="" \ -

type="AmazonRDSService" ………..

emcli set_monitoring_credential \ -

set_name="AWSKeyCredentialSet" …………………

emcli set_monitoring_credential \ -

set_name="SSLTrustStoreCredentialSet" \ ………………..

Amazon RDS in OEM13c

60

Final

Conclusion

• Hybrid Cloud Management only on Oracle Cloud - for now

– Easy to deploy Hybrid Cloud Agents

– DBaaS and JCS Cloud monitoring and management acts as on-premises

– Be aware of licenses versus metered/unmetered

– Configuration management including Search and Inventory, comparison between on-premise and cloud instances, configuration history, and compliance

– Cloning between on-premise / private cloud and Oracle Cloud

• No focus yet on Amazon and Azure.

• A Happy Marriage with one partner only.

62

top related