Presentation is loading. Please wait.

Presentation is loading. Please wait.

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Similar presentations


Presentation on theme: "Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |"— Presentation transcript:

1 Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

2 Building Applications with Oracle Database Cloud Service Database as a Service - Hands On Lab Dom Lindars Cloud Development & Product Strategy Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

3 Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.

4 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Oracle Database as a Service Hands on Lab

5 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Hands on Lab - Overview In this 1 hour hands on lab, you will learn to: – Create a Cloud DBaaS instance – Connect to a DBaaS instance – View instance details and monitor database instance information Information you need for this session: – Oracle Cloud URL: https://myservices.oraclecloud.com/mycloud/ – User name: oowhol – Password: Manager_2014 – Identity Domain: – An SSH key pair: Located in /home/oracle/ (your Linux Home directory) and Desktop directory – Public key file: “oowhol.pub” - To create a Cloud instance – Private key file: “oowhol” - To access a Cloud instance using SSH

6 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Start Firefox browser - Go to Oracle Cloud (bookmark): https://myservices.oraclecloud.com/mycloud/ User Name: oowhol Password: Manager_2014 and the Identity Domain provided and click ”Sign In”.

7 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | From the Oracle Cloud My Service Dashboard: Click ”Open Service Console” in the Oracle Database Cloud Service section

8 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | In the Database Cloud Service Console: Click ”Create Instance” to begin creating a new Cloud instance. Note the existing DBaaS instance for use later…

9 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | In the Subscription screen: Select the ”Oracle Database Cloud Service” Service Level and the “Monthly” Billing Frequency and click Next.

10 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | In the Software Release screen: Select ”Oracle Database 12c Release 1 database” and click Next.

11 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | In the Software Edition screen: Select ”Enterprise Edition” and click Next.

12 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | In the Service Details screen: Name: TEST-DBAAS Shape: OC3 - 1 OCPU VM Public key: oowhol.pub DB Storage (GB): 10 Password: Manager_2014 Backup Destination: Block Store Only

13 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | In the Confirmation screen, review the information and click Create.

14 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Open the existing ORCL Cloud instance details screen and make a note of the Reserved IP, SQL*Net Port and SID.

15 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | From a Linux terminal, enter the following to SSH to your instance Enter you Reserved IP you noted previously ssh -i oowhol oracle@129.152.x.y

16 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Start SQL*Plus with: sqlplus system/Manager_2014

17 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Start SQL Developer… Right click Connections to open the Connection dialog

18 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Enter Name: OOW-HOL (suggested), Username: system, Password: Manager_2014 Hostname: localhost (default), Port: 1521 (default), SID: ORCL Then click Advanced…

19 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | In the Advanced Properties, click SSH tab and check “Use SSH” enter the following: Host: Username: oracle, check “Use Key File” and enter Keyfile: /home/oracle/oowhol

20 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Double click your newly created connection, OOW-HOL to start an SSH connection to the OOW-HOL Cloud instance.

21 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Detailed Technical Hands-on Labs Oracle SQL Developer: Overview – Getting Started with Oracle SQL Developer 4.0 Oracle Database 12c Features – Oracle Database 12c Redaction in SQL Developer – Managing Multitenant Pluggable Databases with SQL Developer Oracle SQL Developer Release 4.0 Features – Using the SQL Developer Cart – Creating an Advanced Charting Report and Generating it into HTML – Creating a Detail Report and Generating it into a Secure PDF Getting Started with RESTful Web Services using SQL Developer – Creating a RESTful Web Service – Using Parameters and Feeds – Setting up RESTful Web Services in Application Express Oracle SQL Developer DBA Features – Working with the Oracle SQL Developer DBA Navigator – Using Oracle Data Pump in SQL Developer – Database Copy in SQL Developer – Importing and Exporting using Oracle SQL Developer PL/SQL Development and Unit Testing – Developing and Debugging PL/SQL using Oracle SQL Developer – Performing a Unit Test of Your PL/SQL in Oracle SQL Developer Performance Tuning – Tune your SQL with the SQL Tuning Advisor – Learn about Optimizer Access Paths using Oracle SQL Developer – Working with Tuning Utilities in Oracle SQL Developer

22 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Oracle Database as a Service Overview and Reference Slides

23 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Fully managed Dedicated Schema Sizes 5GB, 20GB, 50GB Data access using: Java service, Oracle Application Express, Oracle RESTful Web Services Database Schema Shared Database Virtual Image VM + DB + Disk Image Similar to Azure image or AMI Full distribution extracted on disk Same as on premise Database Cloud Service VM + DB + Full Provisioning Backup/recovery automation Patching and upgrade automation Data Guard setup Monitoring & management portals Local management console Oracle Database Cloud Services - Offerings Oracle Linux 6.4 On-demand storage & compute Choice of editions SE1, EE and Database 12c 12.1.0.2, and 11g 11.2.0.4 Bundles: EE High Performance (most options), EE Extreme Perf (all options) Full network, VM and OS isolation, Full SQL*Net access Self-managed with SSH access into VM with root privilege Database as a Service Full Database Instance Service Production September 2014 Production October 2012 Database Schema Service Shared Schema Service

24 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Oracle Database as a Service Oracle Database Cloud Simplifies Database Provisioning Manual Database Provisioning Oracle Cloud Provisioning Select Image (11g 12c, shape, size) Install Database (DBCA) Configure Components and Cloud Tooling Size & Tune (Memory) Configure Backup (RMAN) Monitoring (Cloud Portal) Database Ready for Use Machine images typically provide extracted media with an OS in a VM. Automated orchestrations configure best practices. Streamlined Intelligent Automated Orchestrations Select Configuration (11g, 12c, shape, size, features, prefs) Database Ready for Use

25 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Oracle Database as a Service Architecture Oracle Compute Block Storage Oracle Storage Cloud Oracle VM – Oracle Linux Oracle REST Data Services RDBMS Cloud Tooling (EM Express + HTML5 APP) Compute Metrics Database Metrics EM Compute Infrastructure /u03/u02/u01 Archives My Services Store cloud.oracle.com JaaSCompute Service DBaaS On Premise Local DB Dev Tools

26 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Oracle Database as a Service Backup and Recovery  Daily Incremental  Weekly Full  Older backups archived to Oracle Storage Cloud  Backups go to /u03 Block Storage  Recovery from backup is invoked manually if customer determines its required  Restore to point in time is customer responsibility, use standard tools and processes Oracle Compute Block Storage Oracle Storage Cloud Oracle VM – Oracle Linux RDBMS Compute Infrastructure Archives RMAN Oracle REST Data Services Cloud Utilities & EM Express /u03/u02/u01

27 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Oracle Database as a Service Patching and Upgrades  Customer initiated patching  Gold Image Patching o Copy Settings - Detach and Re- Attach Storage o Run catproc to upgrade RDBMS Data Dictionary o Bring up all services on new environment  Compute based cloning (in CY 2015)  EM patching (in CY 2015)  Rolling upgrades is via RAC & Data Guard (in CY 2015) Oracle VM – Oracle Linux Compute Infrastructure Oracle VM – Oracle Linux Compute Infrastructure CurrentUpgraded Copy and Patch QuiesceReboot and Re-Attach Oracle Compute Block Storage 1 2 3

28 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Oracle Database as a Service – EM Express 12c Step by Step to Clone or Move your Pluggable Database to the Cloud 1 2 3 4 5 6 On-Premise DatabaseOracle Cloud Database

29 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Oracle Database as a Service Data Guard & Active Data Guard  Data Guard provides highest performance data recovery protection without compromises using stand by Database  Transfers archive logs to standby Database  Local standby (intra data center) Data Guard  Disaster Recovery (inter data center) in CY 2015  Active Data Guard provides read-only access to a physical standby database for production workload offloading  Database rolling upgrades and standby-first patching using physical standby  12c Multitenant DB – Manage standby container as one, single click switchover. Oracle VM – Oracle Linux Compute Infrastructure Oracle VM – Oracle Linux Compute Infrastructure Oracle Compute Block Storage Redo Log Shipping R/W R/O with Active Data Guard PrimaryStand By

30 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Oracle Database as a Service New DBaaS Monitor  HTML5 application hosted within the VM  Front end: JavaScript & JQuery  Backend: REST Listener using Glassfish  All communications are via REST  REST listener uses server side JavaScript with file system access and DB connections to display information  DBaaS Monitor - Top Features:  Monitor database sessions, disk & CPU  View version, features installed …  Configure database parameters  Initiate backups  Bounce database  View log and trace files

31 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Oracle Database as a Service Oracle REST Data Services  Turns Database Service into an RESTFul API service  Fully provisioned and functional in all cloud editions  Available in both 11g and 12c, no extra cost  Allows publishing of URI based access to Oracle database over REST  Results in JSON or CSV  Mapping of URI to SQL or PL/SQL  All HTML methods GET, PUT, POST, DELETE, PATCH  Oauth2 integration  Highly scalable

32 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 32 Oracle Database Cloud Services - Summary  Oracle Database as a Service Full-featured dedicated 11gR2 or 12c single-node instance Customer backs up, patches, manages Database with cloud tooling Full SQL*Net, root access, Enterprise Manager, all Database tools Full portability – on-premises & cloud Primary Use Case: Dev/test and limited production of existing apps  Oracle Database Schema Service Each tenant gets dedicated schema(s) Fully managed service Application dev: Application Express, SQL Developer, Java, RESTful Web Services Includes 30+ productivity applications Primary Use Case: Rapid web application development and production deployment of Oracle Application Express applications

33 Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

34


Download ppt "Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |"

Similar presentations


Ads by Google