Trivadis TechEvent 2016 State of the Private Cloud - Oracle Edition by Bernhard Wesely

35
2016 © Trivadis BASEL BERN DÜSSELDORF FRANKFURT A.M FREIBURG I BR. GENEVA HAMBURG COPENHAGEN LAUSANNE MUNICH STUTTGART VIENNA ZURICH State of the Private Cloud Oracle Edition Bernhard Wesely TVD-WI IMS [email protected]

Transcript of Trivadis TechEvent 2016 State of the Private Cloud - Oracle Edition by Bernhard Wesely

Page 1: Trivadis TechEvent 2016 State of the Private Cloud - Oracle Edition by Bernhard Wesely

2016 © Trivadis

BASEL BERN DÜSSELDORF FRANKFURT A.M FREIBURG I BR. GENEVA HAMBURG COPENHAGEN LAUSANNE MUNICH STUTTGART VIENNA ZURICH

State of thePrivate Cloud

Oracle Edition

Bernhard WeselyTVD-WI [email protected]

Page 2: Trivadis TechEvent 2016 State of the Private Cloud - Oracle Edition by Bernhard Wesely

2016 © Trivadis

Infrastructure as a Service

§ IaaS in Enterprise Manager 13c is based on Oracle VM

§ OracleVM 3.4.1 came out in March

§ but...

§ this took me a while to figure out... still, one question remains: why?§ I have an idea...

9. September 2016Tech Event September 2016 - Oracle Private Cloud

Page 3: Trivadis TechEvent 2016 State of the Private Cloud - Oracle Edition by Bernhard Wesely

2016 © Trivadis

OVM Team to EM13c Team:

9. September 2016Tech Event September 2016 - Oracle Private Cloud

Page 4: Trivadis TechEvent 2016 State of the Private Cloud - Oracle Edition by Bernhard Wesely

2016 © Trivadis

Agenda

1. Oracle Database Clouds

2. Demo

3. Conclusion

9. September 2016Tech Event September 2016 - Oracle Private Cloud

Page 5: Trivadis TechEvent 2016 State of the Private Cloud - Oracle Edition by Bernhard Wesely

2016 © Trivadis

Agenda

1. Oracle Database Clouds§ Overview & Recap§ New Features§ Database as a Service§ Pluggable Database as a Service§ Schema as a Service

2. Demo

3. Conclusion

9. September 2016Tech Event September 2016 - Oracle Private Cloud

Page 6: Trivadis TechEvent 2016 State of the Private Cloud - Oracle Edition by Bernhard Wesely

2016 © Trivadis

Overview – Provisioning Methods

9. September 2016Tech Event September 2016 - Oracle Private Cloud

Page 7: Trivadis TechEvent 2016 State of the Private Cloud - Oracle Edition by Bernhard Wesely

2016 © Trivadis

Recap

Data Source

§ Data Profile§ describes the data that should be provided as Service§ Database Template, RMAN Backup, Datapump Export

§ Test Master Database§ Full Clone of a Production Database with masked data

§ Test Master Snapshot§ Snapshot of a Production Database with masked data

(Physical Standby DB)

Service Templates

§ This is the Service Catalog entry in the Self-Service Portal

§ defines what is to be done with the Data Source§ import an Export§ create a Database based on an RMAN Backup

9. September 2016Tech Event September 2016 - Oracle Private Cloud

DataSource

ServiceTemplate

Self-ServicePortal

Service

Page 8: Trivadis TechEvent 2016 State of the Private Cloud - Oracle Edition by Bernhard Wesely

2016 © Trivadis

Agenda

1. Oracle Database Clouds§ Recap§ New Features§ Database as a Service§ Pluggable Database as a Service§ Schema as a Service

2. Demo

3. Conclusion

9. September 2016Tech Event September 2016 - Oracle Private Cloud

Page 9: Trivadis TechEvent 2016 State of the Private Cloud - Oracle Edition by Bernhard Wesely

2016 © Trivadis

New Features

§ New Setup Overview

9. September 2016Tech Event September 2016 - Oracle Private Cloud

Page 10: Trivadis TechEvent 2016 State of the Private Cloud - Oracle Edition by Bernhard Wesely

2016 © Trivadis

New Features

§ New Self-Service Portal

9. September 2016Tech Event September 2016 - Oracle Private Cloud

Page 11: Trivadis TechEvent 2016 State of the Private Cloud - Oracle Edition by Bernhard Wesely

2016 © Trivadis

New Features

§ Service Instance Approval§ an Administrator has

to approve all new requests before EM creates the Services

§ Service Instance Sharing§ allows to share

service instances between users/roles- GUI element is

hard to find in Self-Service Portal

9. September 2016Tech Event September 2016 - Oracle Private Cloud

Page 12: Trivadis TechEvent 2016 State of the Private Cloud - Oracle Edition by Bernhard Wesely

2016 © Trivadis

Agenda

1. Oracle Database Clouds§ Recap§ New Features§ Database as a Service- Snap Clones- Full Clones

§ Pluggable Database as a Service§ Schema as a Service

2. Demo

3. Conclusion

9. September 2016Tech Event September 2016 - Oracle Private Cloud

Page 13: Trivadis TechEvent 2016 State of the Private Cloud - Oracle Edition by Bernhard Wesely

2016 © Trivadis

Snap Clone Basics

§ To create a Snapshot-basedDatabase

§ We need to have either§ Hardware Support

- NetApp, EMC, ZFS Appliance§ or Software Support

- NFS, Solaris ZFS Server

§ Once that is set up, we simplycreate a Data Profile based onRMAN Datafile Images§ and in this case we store it on

NFS

§ Backups can be scheduled to run repeatedly

9. September 2016Tech Event September 2016 - Oracle Private Cloud

Page 14: Trivadis TechEvent 2016 State of the Private Cloud - Oracle Edition by Bernhard Wesely

2016 © Trivadis

Clone – CloneDB

§ When creating the Template we see one interesting option§ Profile Version – Latest or Selected by User at Request Time

- this is relevant if the Data Source has been set to refresh repeatedly

9. September 2016Tech Event September 2016 - Oracle Private Cloud

Page 15: Trivadis TechEvent 2016 State of the Private Cloud - Oracle Edition by Bernhard Wesely

2016 © Trivadis

Clone - CloneDB

§ When requesting a Database in the Self-Service Portal§ we get a new interface§ that lets us select the Version of the

Source Database§ we want to base our cloned DB on

9. September 2016Tech Event September 2016 - Oracle Private Cloud

Page 16: Trivadis TechEvent 2016 State of the Private Cloud - Oracle Edition by Bernhard Wesely

2016 © Trivadis

Clone - CloneDB

§ CloneDB is based on dNFS§ allows to use Snapshots on NFS for provisioning Databases§ uses RMAN Image Copies§ and Filesystems Copy-on-Write functionality

9. September 2016Tech Event September 2016 - Oracle Private Cloud

wholejobranjustunder4min

Page 17: Trivadis TechEvent 2016 State of the Private Cloud - Oracle Edition by Bernhard Wesely

2016 © Trivadis

CloneDB Database in Self-Service Portal

§ If we take a look at our Database in the Self-Service Portal§ we see a new "tile" detailing our Storage Usage

9. September 2016Tech Event September 2016 - Oracle Private Cloud

Page 18: Trivadis TechEvent 2016 State of the Private Cloud - Oracle Edition by Bernhard Wesely

2016 © Trivadis

Refresh CloneDB

§ We specified that the RMAN Image should be created every hour

§ so, how do we make use of that?§ deleting and

recreating the Service is quite some work

§ So we can Refresh it§ which internally

drops and recreates the DB for us...

9. September 2016Tech Event September 2016 - Oracle Private Cloud

Page 19: Trivadis TechEvent 2016 State of the Private Cloud - Oracle Edition by Bernhard Wesely

2016 © Trivadis

Agenda

1. Oracle Database Clouds§ Recap§ New Features§ Database as a Service- Snap Clones- Full Clones

§ Pluggable Database as a Service§ Schema as a Service

2. Demo

3. Conclusion

9. September 2016Tech Event September 2016 - Oracle Private Cloud

Page 20: Trivadis TechEvent 2016 State of the Private Cloud - Oracle Edition by Bernhard Wesely

2016 © Trivadis

Full – RMAN Backup

§ Databases may be cloned based on RMAN Backups§ Backupsets have to be accessible via Filesystem to the Cloud Servers

- unfortunately it's notpossible to use a MML L

9. September 2016Tech Event September 2016 - Oracle Private Cloud

Page 21: Trivadis TechEvent 2016 State of the Private Cloud - Oracle Edition by Bernhard Wesely

2016 © Trivadis

Full – RMAN Backup

§ RMAN Backups may be scheduled to repeat§ Frequency can be selected§ Purge Policy may be based on # of Backups or Days

9. September 2016Tech Event September 2016 - Oracle Private Cloud

Page 22: Trivadis TechEvent 2016 State of the Private Cloud - Oracle Edition by Bernhard Wesely

2016 © Trivadis

Agenda

1. Oracle Database Clouds§ Recap§ New Features§ Database as a Service§ Pluggable Database as a Service§ Schema as a Service

2. Demo

3. Conclusion

9. September 2016Tech Event September 2016 - Oracle Private Cloud

Page 23: Trivadis TechEvent 2016 State of the Private Cloud - Oracle Edition by Bernhard Wesely

2016 © Trivadis

Pluggable Database as a Service

§ For whatever reason you cannot select an existing PDB as source for a Cloud-provisioned PDB...§ so, please do not select the CDB when creating a Data Source§ also please do not select Create

- only Exports are valid for PDBaaS

9. September 2016Tech Event September 2016 - Oracle Private Cloud

CDBselected DBselected

Page 24: Trivadis TechEvent 2016 State of the Private Cloud - Oracle Edition by Bernhard Wesely

2016 © Trivadis

Pluggable Database as a Service

§ Then we have a few options for conducting the Export§ unfortunately it's not possible to create those exports repeatedly L

9. September 2016Tech Event September 2016 - Oracle Private Cloud

Page 25: Trivadis TechEvent 2016 State of the Private Cloud - Oracle Edition by Bernhard Wesely

2016 © Trivadis

PDBaaS Service Template

§ When creating a Service Template for DBaaS we can either:§ create an empty

PDB§ or create a PDB

from Profile

§ What the system does not know is where it put the Export to§ so we help EM a

little here...

9. September 2016Tech Event September 2016 - Oracle Private Cloud

Page 26: Trivadis TechEvent 2016 State of the Private Cloud - Oracle Edition by Bernhard Wesely

2016 © Trivadis

Agenda

1. Oracle Database Clouds§ Recap§ New Features§ Database as a Service§ Pluggable Database as a Service§ Schema as a Service

2. Demo

3. Conclusion

9. September 2016Tech Event September 2016 - Oracle Private Cloud

Page 27: Trivadis TechEvent 2016 State of the Private Cloud - Oracle Edition by Bernhard Wesely

2016 © Trivadis

Schema as a Service – Data Source and Service Template

§ Similar to PDBaaS as it is based on Exports

§ Full Database Exports are of course not possible§ you have to select a number of Schemas for Export/Import§ fortunately Exports are shared between SCHaaS and PDBaaS

§ In our case we specify thatwe want to have just a fewempty Schemas

9. September 2016Tech Event September 2016 - Oracle Private Cloud

Page 28: Trivadis TechEvent 2016 State of the Private Cloud - Oracle Edition by Bernhard Wesely

2016 © Trivadis

Schema as a Service – Create Service Template

§ Workloads§ are way for EM to place

Services based on estimated performance requirements

§ CPU, RAM and Storage are used

§ Tablespace Size can be specified, either:§ Unlimited or§ Based on Workload

- but, doesn't work- Bug opened by BWE

and acknowledged by Oracle

9. September 2016Tech Event September 2016 - Oracle Private Cloud

Page 29: Trivadis TechEvent 2016 State of the Private Cloud - Oracle Edition by Bernhard Wesely

2016 © Trivadis

Schema as a Service – Request Service

§ Requesting a Schema looks like this

§ We have to specify§ Schema Name§ Tablespace Name§ Password§ Master Account

- this will get the Admin Role specified in the Template

9. September 2016Tech Event September 2016 - Oracle Private Cloud

Page 30: Trivadis TechEvent 2016 State of the Private Cloud - Oracle Edition by Bernhard Wesely

2016 © Trivadis

Agenda

1. Oracle Database Clouds

2. Demo

3. Conclusion

9. September 2016Tech Event September 2016 - Oracle Private Cloud

Page 31: Trivadis TechEvent 2016 State of the Private Cloud - Oracle Edition by Bernhard Wesely

2016 © Trivadis

Self-Service Portal

9. September 2016Tech Event September 2016 - Oracle Private Cloud

Page 32: Trivadis TechEvent 2016 State of the Private Cloud - Oracle Edition by Bernhard Wesely

2016 © Trivadis

Demo

9. September 2016Tech Event September 2016 - Oracle Private Cloud

Demo

Page 33: Trivadis TechEvent 2016 State of the Private Cloud - Oracle Edition by Bernhard Wesely

2016 © Trivadis

Agenda

1. Oracle Database Clouds

2. Demo

3. Conclusion

9. September 2016Tech Event September 2016 - Oracle Private Cloud

Page 34: Trivadis TechEvent 2016 State of the Private Cloud - Oracle Edition by Bernhard Wesely

2016 © Trivadis

Conclusion

§ Personal opinion: I'm 95% impressed!§ and that's usually not easy... ;-)

§ In comparison to the first plugin version with EM12c§ we see a tremendous increase in functionality§ at a slow but steady pace

§ The Plugin is now at a state where it may be more cost efficient to buy it

§ instead of developing all that stuff on your own!

9. September 2016Tech Event September 2016 - Oracle Private Cloud

Page 35: Trivadis TechEvent 2016 State of the Private Cloud - Oracle Edition by Bernhard Wesely

2016 © Trivadis

Session Feedback – now

TechEvent September 201635

§ Please use the Trivadis Events mobile app to give feedback on each session

§ Use "My schedule" if you have registered for a session

§ Otherwise use "Agenda" and the search function

§ If the mobile app does not work (or if you have a Windows smartphone), use your smartphone browser§ URL: http://trivadis.quickmobileplatform.eu/§ User name: <your_loginname> (such as “svv”)§ Password: sent by e-mail...