Oracle Enterprise Manager 13C and Hybrid Cloud

59
A Happy Marriage ? Job Oprel, June 2nd 2016 Oracle Enterprise Manager 13C and Hybrid Cloud Management

Transcript of Oracle Enterprise Manager 13C and Hybrid Cloud

Page 1: Oracle Enterprise Manager 13C and Hybrid Cloud

A Happy Marriage ?

Job Oprel, June 2nd 2016

Oracle Enterprise Manager 13C and

Hybrid Cloud Management

Page 2: Oracle Enterprise Manager 13C and Hybrid Cloud

Logging in

A Happy Marriage?

Page 4: Oracle Enterprise Manager 13C and Hybrid Cloud

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

Page 5: Oracle Enterprise Manager 13C and Hybrid Cloud

Hybrid Cloud

Page 6: Oracle Enterprise Manager 13C and Hybrid Cloud

Interoperability Oracle - 1

Page 7: Oracle Enterprise Manager 13C and Hybrid Cloud

Interoperability Oracle - 2

Page 8: Oracle Enterprise Manager 13C and Hybrid Cloud

Private cloud / on premises the same?

Distinction by management

Page 9: Oracle Enterprise Manager 13C and Hybrid Cloud

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

Page 10: Oracle Enterprise Manager 13C and Hybrid Cloud

Business reasons

…as long as costs, reliability, security,

performance etc. meets the demands.

Page 11: Oracle Enterprise Manager 13C and Hybrid Cloud

12

OEM

Page 12: Oracle Enterprise Manager 13C and Hybrid Cloud

OEM 13C a single pane of glass

Page 13: Oracle Enterprise Manager 13C and Hybrid Cloud

OEM 13C simplified

Page 14: Oracle Enterprise Manager 13C and Hybrid Cloud

OEM13C Public Cloud Vendors

Page 15: Oracle Enterprise Manager 13C and Hybrid Cloud

OEM13C agents will it fly ?

10.110.100.3

82.5.88.4

Page 16: Oracle Enterprise Manager 13C and Hybrid Cloud

18

Solution: fake it

Page 17: Oracle Enterprise Manager 13C and Hybrid Cloud

OEM13C – cloud solution

Page 18: Oracle Enterprise Manager 13C and Hybrid Cloud

Proof of Concept Connections Public Cloud

Page 19: Oracle Enterprise Manager 13C and Hybrid Cloud

Oracle Cloud – the start

Page 20: Oracle Enterprise Manager 13C and Hybrid Cloud

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)

Page 21: Oracle Enterprise Manager 13C and Hybrid Cloud

Oracle DBaaS services

Page 22: Oracle Enterprise Manager 13C and Hybrid Cloud

Cloud access DBaaS

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

consoles

Page 23: Oracle Enterprise Manager 13C and Hybrid Cloud

DBaaS access: Enterprise Manager 12c Express

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

Page 25: Oracle Enterprise Manager 13C and Hybrid Cloud

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.

Page 26: Oracle Enterprise Manager 13C and Hybrid Cloud

Oracle Cloud: status

Page 27: Oracle Enterprise Manager 13C and Hybrid Cloud

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

Page 28: Oracle Enterprise Manager 13C and Hybrid Cloud

Oracle Cloud deploying agent - 1

Page 29: Oracle Enterprise Manager 13C and Hybrid Cloud

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)

Page 30: Oracle Enterprise Manager 13C and Hybrid Cloud

Oracle Cloud Deploying agent - 2

Page 31: Oracle Enterprise Manager 13C and Hybrid Cloud

Oracle Cloud Deploying agent - 3

Page 32: Oracle Enterprise Manager 13C and Hybrid Cloud

Oracle cloud Hybrid Cloud !

Page 33: Oracle Enterprise Manager 13C and Hybrid Cloud

35

Target discovery

Promotion is the only chance for naming !!

Page 34: Oracle Enterprise Manager 13C and Hybrid Cloud

Oracle Cloud Create tablespace

Page 35: Oracle Enterprise Manager 13C and Hybrid Cloud

Oracle Cloud Create tablespace

- Encrypted

- Default

Page 36: Oracle Enterprise Manager 13C and Hybrid Cloud

Oracle Cloud Tablespaces

Page 37: Oracle Enterprise Manager 13C and Hybrid Cloud

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.

Page 38: Oracle Enterprise Manager 13C and Hybrid Cloud

Cloning databases to on premises / private database !

Page 39: Oracle Enterprise Manager 13C and Hybrid Cloud

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

Page 40: Oracle Enterprise Manager 13C and Hybrid 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

Page 41: Oracle Enterprise Manager 13C and Hybrid Cloud

Proof of Concept Connections Public Cloud

Page 42: Oracle Enterprise Manager 13C and Hybrid Cloud

Microsoft Azure

Page 43: Oracle Enterprise Manager 13C and Hybrid Cloud

Microsoft Azure

Page 44: Oracle Enterprise Manager 13C and Hybrid Cloud

Azure: Pushing hybrid cloud agent

/bin/hostname -d

Azure: NLAMISJOB2.j7.internal.cloudapp.net

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

Page 45: Oracle Enterprise Manager 13C and Hybrid Cloud

- 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

Page 46: Oracle Enterprise Manager 13C and Hybrid Cloud

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!

Page 47: Oracle Enterprise Manager 13C and Hybrid Cloud

Azure – side-effects

Page 48: Oracle Enterprise Manager 13C and Hybrid Cloud

Proof of Concept Connections Public Cloud

Page 49: Oracle Enterprise Manager 13C and Hybrid Cloud

Amazon AWS

Page 50: Oracle Enterprise Manager 13C and Hybrid Cloud

Amazon AWS RDS

• RDS has no SSH – access !!

Page 51: Oracle Enterprise Manager 13C and Hybrid Cloud

Amazon CloudWatch

Page 52: Oracle Enterprise Manager 13C and Hybrid Cloud

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

Page 53: Oracle Enterprise Manager 13C and Hybrid Cloud

AWS CloudWatch

Page 54: Oracle Enterprise Manager 13C and Hybrid Cloud

AWS: Activate Plugin

Page 55: Oracle Enterprise Manager 13C and Hybrid Cloud

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" \ ………………..

Page 56: Oracle Enterprise Manager 13C and Hybrid Cloud

Amazon RDS in OEM13c

Page 57: Oracle Enterprise Manager 13C and Hybrid Cloud

60

Final

Page 58: Oracle Enterprise Manager 13C and Hybrid Cloud

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.

Page 59: Oracle Enterprise Manager 13C and Hybrid Cloud

62