Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

How DBAs can garner the power of the Oracle Public Cloud?

67 views

Published on

Attendees in this session will enhance their skills and job relevancy by gaining new knowledge and skills using the Oracle Public Cloud within their job role through actual use cases .
Will detail how backup to the cloud can be used to meet different needs of their organization and how to justify use of new technology within their business. Learn how to create a storage container, setup OS secure authentication and configure RMAN to use the Oracle Cloud. Perform a backup to the Oracle Cloud and recover from it back to your on-premise server. Learn how to migrate from an on-premise Oracle Database 12c to a pluggable Oracle Database 12c (PDB) in the Oracle Cloud. Then move a PDB in which Developers have completed their work in the Oracle Cloud back on-premise and into production

Published in: Technology
  • Be the first to comment

  • Be the first to like this

How DBAs can garner the power of the Oracle Public Cloud?

  1. 1. © 2017 Pythian. Confidential !1
  2. 2. How DBAs can garner the power of the Oracle Public Cloud? Presented by : Gustavo René Antúnez Oracle DBA April, 2018
  3. 3. TECHNICAL EXPERTISE Infrastructure: Transforming and managing the IT infrastructure that supports the business DevOps: Providing critical velocity
 in software deployment by adopting
 DevOps practices Cloud: Using the disruptive
 nature of cloud for accelerated, cost-effective growth Databases: Ensuring databases
 are reliable, secure, available and continuously optimized Big Data: Harnessing the transformative power of data on a massive scale Advanced Analytics: Mining data for insights & business transformation
 using data science 3
  4. 4. Where do I come From –Oracle DBA • Started with Version 9.2 in 2004 –Speaker at Oracle Open World, Oracle Developers Day and Collaborate –Co-President of ORAMEX (Mexico Oracle User Group) –Web Events Chair for IOUG Cloud Computing Special Interest Group (SIG) –International Chair RAC Special Interest Group (SIG); –Movie Fanatic & Music Lover –Bringing the best from México (Mexihtli) to the rest of the world and in the process photographing it :) –rene-ace.com –@rene_ace • #TD16 !4
  5. 5. © 2016 Pythian. Confidential 5 Where do I come From rene-ace.com @rene_ace
  6. 6. © 2016 Pythian. Confidential 6 How did you get to be a DBA
  7. 7. © 2016 Pythian. Confidential 7 The news is good! DBA employment is expected to have increased by 11% in 2026 Daily tasks Job resources Be prepared to manage the migration and database implementations in the Cloud DBA can be the key driver of success
  8. 8. © 2016 Pythian. Confidential 8 * Database-as-a-Service (DBaaS)
  9. 9. © 2016 Pythian. Confidential 9 ▪ A self-service computing environment offering the ability to create, consume and pay for database services ▪ Computing resources are elastically supplied from a shared pool and charged based on metered use ▪ Service catalogs provide a menu of options and service levels Database-as-a-Service (DBaaS) Definition
  10. 10. © 2016 Pythian. Confidential 10 Cloud Computing What is your Key Driver? Source: NIST Definition of Cloud Computing v15 3 Service Models • SaaS • PaaS • IaaS 4 Deployment Models • Public Cloud • Private Cloud • Community Cloud • Hybrid Cloud 5 Essential Characteristics • Resource pooling • Rapid elasticity • On-demand self-service • Measured service • Broad network access
  11. 11. © 2016 Pythian. Confidential 11 Pizza as a Service* Applications Data Runtime Middleware O/S Virtualization Servers Storage Networking Applications Data Runtime Middleware O/S Virtualization Servers Storage Networking Applications Data Runtime Middleware O/S Virtualization Servers Storage Networking Applications Data Runtime Middleware O/S Virtualization Servers Storage Networking Traditional On-Premise IaaS PaaS SaaS You Manage Vendor Manages Dining Table Soda Cheese Toppings Tomato Sauce Pizza Dough Fire Oven Electric/Gas Dining Table Soda Cheese Toppings Tomato Sauce Pizza Dough Fire Oven Electric/Gas Dining Table Soda Cheese Toppings Tomato Sauce Pizza Dough Fire Oven Electric/Gas Dining Table Soda Cheese Toppings Tomato Sauce Pizza Dough Fire Oven Electric/Gas Traditional On-Premise IaaS PaaS SaaS Made at Home Take & Bake Pizza Delivery Dine Out *http://goo.gl/rweIwF
  12. 12. © 2016 Pythian. Confidential 12 Reduce provisioning time Faster scale-out Management automation More focus on capability Resolve end-of-life issues Achieve compliance Consolidate security controls Improved quality of service Denser hardware utilization Simplify administration Consumption based billing Standardization Agility Risk Cost IT Simplification Metrics Op Ex save Cap Ex save Time to provision % compliant SLA attainment % utilization Common Drivers for Database as a Service
  13. 13. © 2016 Pythian. Confidential 13 Service Delivery Lifecycle
 15 Steps to “X”-as-a-Service 1. Capture Demand 2.Define Service Strategy and Design 3.Define Service Catalog 4.Define Resource Configurations (Technical 5. Build Deployable Entities
  14. 14. © 2016 Pythian. Confidential 14 Service Delivery Lifecycle
 15 Steps to “X”-as-a-Service 6. Consumer purchase 7. Initiate Service Request 8. Deployable Entity Allocated 9. Deployment 10. Consumer operates Service 11. Client App Utilizes Service
  15. 15. © 2016 Pythian. Confidential 15 Service Delivery Lifecycle
 15 Steps to “X”-as-a-Service 12. Monitor performance metrics 13. Utilisation Metrics Captured 14. Metrics Applied to SLA & 15 Perf, Util, & Cost Provided to Consumer
  16. 16. © 2016 Pythian. Confidential 16 * Oracle Database Cloud Service
  17. 17. © 2016 Pythian. Confidential 17 ▪▪ Database Ready for UseAllocate Compute Allocate Storage Set Keys & Privileges Request for Service Provision OS Install & Configure Database Configure Tools Configure Access Configure Backups Oracle Database Cloud Service Automated Provisioning: No configuration necessary ▪ Reduced time and complexity to provision ▪ Increased standardisation of the “fleet” ▪ New use cases that were not practical before. Benefits
  18. 18. © 2016 Pythian. Confidential 18 Oracle Database Cloud Service hcps://cloud.oracle.com
  19. 19. © 2016 Pythian. Confidential 19 Oracle Database Cloud Services – Naming Updates
 A number and growing Database cloud services • All Part Numbers called “Oracle Database Cloud – <service name> Service” • Formal Price List Names: – Oracle Database Cloud – Micro Service (apex.oracle.com) – Oracle Database Cloud – Multitenant Service (Schema Service) – Oracle Database Cloud – SE Service (Database as a Service) – Oracle Database Cloud – EE Service (Database as a Service) – Oracle Database Cloud – High Performance Service (Database as a Service) – Oracle Database Cloud – Extreme Performance Service (Database as a Service) – Oracle Database Cloud – Exadata Service Service (Exadata Service) – Autonomous Data Warehouse Cloud (Data Management Service)
  20. 20. © 2016 Pythian. Confidential 20 Oracle Database Cloud Service
  21. 21. © 2016 Pythian. Confidential 21 Oracle Database Cloud Service
  22. 22. © 2016 Pythian. Confidential 22 Oracle Database Cloud Service
  23. 23. © 2016 Pythian. Confidential 23 Oracle Database Cloud Service • one OCPU ( Oracle CPU) is equivalent of a 3.0 GHz 2012 Intel Xeon with HyperThreading Enabled • important to select correctly the “Compute Shape”
  24. 24. © 2016 Pythian. Confidential 24 Oracle Database Cloud Service
  25. 25. © 2016 Pythian. Confidential 25 Oracle Database Cloud Service
  26. 26. © 2016 Pythian. Confidential 26 Oracle Database Cloud Services
 Oracle Cloud My Services application • Enable the security rule that will allow us to connect to port 1521 for this DB
  27. 27. © 2016 Pythian. Confidential 27 Oracle Database Cloud Services
 Oracle Cloud My Services application • add a Public SSH key to access your compute node
  28. 28. © 2016 Pythian. Confidential 28 Oracle Database Cloud Services
 Oracle Cloud My Services application Renes-iMac:bin Rene$ ./sql system@***.***.****.****:1521:ORCL SQLcl: Release 4.2.0.15.177.0246 RC on Fri Aug 21 11:41:42 2015 Copyright (c) 1982, 2015, Oracle. All rights reserved. Password? (**********?) ************ Connected to: Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production With the Oracle Label Security option SQL> select name from v$database; NAME --------- ORCL SQL> SELECT PDB_ID, PDB_NAME, STATUS FROM CDB_PDBS ORDER BY PDB_ID; PDB_ID PDB_NAME STATUS ---------- --------------- --------- 2 PDB$SEED NORMAL 3 PDB1 NORMAL
  29. 29. © 2016 Pythian. Confidential 29 * Oracle Database Cloud Backup Service
  30. 30. © 2016 Pythian. Confidential 30 Oracle Database Cloud Backup Service • Site and system specific variables in play when doing backup and recovery: • Database backup size • Nature and compressibility of the data • Backup parallelism or number of channels chosen • Internet upload bandwidth • Available CPU resources and headroom for compressing • Database 10.2 or higher (including Standard Edition) • Linux, Solaris, AIX, HP-UX, or Windows • Backup encryption is mandatory. • RMAN backups using the “Oracle Secure Backup SBT interface” does require ASO. • Billing models: • Metered • Non-Metered
  31. 31. © 2016 Pythian. Confidential 31 Oracle Database Cloud Backup Module • Download the installer zip file • Installation is simple • Service name for the ODBS account (“Storage”). • Identity domain for the ODBS account. • User name for the ODBS account • Password for the ODBS account • Location for the secure wallet file which stores the ODBS credentials.
  32. 32. © 2016 Pythian. Confidential 32 Oracle Database Cloud Backup Module $ java -jar opc_install.jar > -serviceName Storage > -identityDomain ************ > -opcId 'antunez@pythian.com' > -opcPass '*****' > -walletDir $ORACLE_HOME/dbs/opc_wallet > -libDir $ORACLE_HOME/lib Oracle Database Cloud Backup Module Install Tool, build 2015-05-12 Oracle Database Cloud Backup Module credentials are valid. Oracle Database Cloud Backup Module wallet created in directory /u01/app/oracle/product/ 12.1.0/dbhome_1/dbs/opc_wallet. Oracle Database Cloud Backup Module initialization file /u01/app/oracle/product/12.1.0/ dbhome_1/dbs/opcCDB1.ora created. Downloading Oracle Database Cloud Backup Module Software Library from file opc_linux64.zip. Downloaded 23169388 bytes in 34 seconds. Transfer rate was 681452 bytes/second. Download complete.
  33. 33. © 2016 Pythian. Confidential 33 Oracle Database Cloud Backup Module • Library file $ ls -ltr $ORACLE_HOME/lib | grep "libopc.so" -rw-r--r--. 1 oracle oinstall 72062283 Oct 15 16:47 libopc.so • Configuration file $ ls -ltr $ORACLE_HOME/dbs | tail -1 -rw-r--r--. 1 oracle oinstall 183 Oct 15 16:47 opcCDB1.ora $ cat $ORACLE_HOME/dbs/opcCDB1.ora OPC_HOST=https://************.storage.oraclecloud.com/v1/Storage-************ OPC_WALLET='LOCATION=file:/u01/app/oracle/product/12.1.0/dbhome_1/dbs/opc_wallet CREDENTIAL_ALIAS=storage_opc' • Secure wallet file (with the credentials) $ ls -l $ORACLE_HOME/dbs/opc_wallet -rw-r--r--. 1 oracle oinstall 10196 Oct 15 16:47 cwallet.sso !33
  34. 34. Oracle Database Cloud Backup Module RMAN> SET ENCRYPTION ON IDENTIFIED BY ****** ONLY; executing command: SET encryption using target database control file instead of recovery catalog RMAN> run { 2> allocate channel odcbm type sbt 3> PARMS='SBT_LIBRARY=libopc.so,SBT_PARMS=(OPC_PFILE=/u01/app/oracle/product/12.1.0/dbhome_1/ dbs/opcCDB1.ora)'; 4> backup tablespace employees; 5> } allocated channel: odcbm channel odcbm: SID=272 device type=SBT_TAPE channel odcbm: Oracle Database Backup Service Library VER=3.15.1.16 Starting backup at 16-OCT-17 … input datafile file number=00017 name=/u01/app/oracle/oradata/CDB1/datafile/ o1_mf_pdb_tbs1_bzy3ww5c_.dbf … piece handle=0nfgikc0_3_1 tag=TAG20151016T171023 comment=API Version 2.0,MMS Version 3.15.1.16 channel odcbm: backup set complete, elapsed time: 00:01:78 Finished backup at 16-OCT-17 !34
  35. 35. Oracle Database Cloud Backup Module !35 • Data is not real- kme as the report can only show up to the prior day (“yesterday”)
  36. 36. © 2016 Pythian. Confidential 36 * Oracle Database Cloud Service and Hybrid Cloud Management
  37. 37. © 2016 Pythian. Confidential 37 * Monitoring DBaaS Databases
  38. 38. © 2016 Pythian. Confidential 38 Oracle DBaaS Monitor Quick and easy access to a variety of informa?on about the database • Database deployments on Oracle Database Cloud Service include Oracle DBaaS Monitor, a built-in monitor that provides a wide spectrum of informakon about Oracle Database status and resource usage • How you access Oracle DBaaS Monitor depends on whether the HTTPS port (443) has been unblocked. When a Database Cloud Service deployment is first created, the HTTPS port is blocked to ensure network security. For informakon about unblocking a port, see Enabling Access to a Compute Node Port.
  39. 39. © 2016 Pythian. Confidential 39 Simple, Secure Deployment Oracle Enterprise Manager • Minimal changes to Enterprise Manager or enterprise network 
 (no VPC required!) • Enterprise Manager remains hardened and secure Private
 Cloud Hybrid Gateway handles all communication between private and public cloud Communication via HTTPS, SQL*Net and JMX over SSH Oracle Cloud
 Platform

  40. 40. © 2016 Pythian. Confidential 40 Hybrid Cloud Management Upgrade, Move and Manage Through a Single Pane of Glass On-Premises & Private Cloud Oracle Cloud 
 (Database & Java Cloud Services) Move database and applications
 with the push of a button Monitor and control via
 single pane of glass Same tool, same skillsets Faster, easier, lower cost, lower risk Manage lifecycle including provisioning, compliance and patching
  41. 41. © 2016 Pythian. Confidential 41 Differentiators vs. competitive hybrid cloud management • Single pane of glass • Ownership of the complete stack • Deep management for hybrid PaaS • 100% reuse of best practices • Workload portability Compe?tors • Multiple, disjointed offerings • Multi-partner integration headache • IaaS layer is primary focus • Additional skill sets and tooling • Cloud silos ORACLE
  42. 42. © 2016 Pythian. Confidential 42
  43. 43. © 2016 Pythian. Confidential 43 • Ansible is an open source automation platform. • Ansible can help you with configuration management, application deployment, task automation. • Unlike Puppet or Chef it doesn’t use an agent on the remote host. Instead Ansible uses SSH Automation Tools Ansible
  44. 44. © 2016 Pythian. Confidential 44 • Software written in Ruby • Developers can simply checkout a repository containing a Vagrantfile • Can help you create development environments and share the environment with anybody else with ease Automation Tools Vagrant
  45. 45. © 2016 Pythian. Confidential 45 • Provides the ability to package and run an application in a loosely isolated environment called a container • Containers are lightweight because they don’t need the extra load of a hypervisor • Can help you create development environments and share the environment with anybody else with ease Automation Tools Docker
  46. 46. © 2016 Pythian. Confidential 46 How does a DBA Future Look? • Reality - The Cloud is here to stay! • One in four IT workers are worried that their skills could become obsolete • Modern DBAs will need to focus more on innovation, rather than mundane tasks • “There’s a lot more DBAs need to know.It’s solutions. It’s architectures. It’s critical thinking. It’s communication skills and problem-solving.” - David Start • Explore open source tools like Docker or Ansible, and learn to use REST services
  47. 47. © 2016 Pythian. Confidential 47
  48. 48. © 2016 Pythian. Confidential 48 rene-ace.com
  49. 49. Thank you – Q&A CONSULTING & STRATEGY IMPLEMENTATIONMANAGED SERVICES To contact us sales@pythian.com 1-877-PYTHIAN To follow us http://www.pythian.com/blog http://goo.gl/bImXcJ @pythian http://goo.gl/DMXExf

×