oracle rac and your way to the cloud by angelo pruscino

34

Upload: markus-michalewicz

Post on 08-Jul-2015

491 views

Category:

Software


1 download

DESCRIPTION

Angelo Pruscino, SVP Oracle RAC Development, presents the future of Oracle RAC, including some upcoming technologies and their relevance for the (private) database cloud as part of his Keynote during the DOAG 2014 conference.

TRANSCRIPT

Page 1: Oracle RAC and Your Way to the Cloud by Angelo Pruscino
Page 2: Oracle RAC and Your Way to the Cloud by Angelo Pruscino

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

Oracle  Real  Applica>on  Clusters  (RAC)  Your  way  to  the  Cloud  

Angelo  Pruscino  Senior  Vice  President    Oracle  RAC  Development  November  18,  2014  

Page 3: Oracle RAC and Your Way to the Cloud by Angelo Pruscino

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

Safe  Harbor  Statement  The  following  is  intended  to  outline  our  general  product  direc>on.  It  is  intended  for  informa>on  purposes  only,  and  may  not  be  incorporated  into  any  contract.  It  is  not  a  commitment  to  deliver  any  material,  code,  or  func>onality,  and  should  not  be  relied  upon  in  making  purchasing  decisions.  The  development,  release,  and  >ming  of  any  features  or  func>onality  described  for  Oracle’s  products  remains  at  the  sole  discre>on  of  Oracle.  

3  

Page 4: Oracle RAC and Your Way to the Cloud by Angelo Pruscino

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

Self-­‐  Op>mizing  

Self-­‐  Protec>ng  

   

Self-­‐  Configuring  

   

Self-­‐  Healing  

Flex  Cluster  

Client  Cluster  

Oracle  RAC  12c  –  Designed  for  the  Cloud  

4  

Client  Cluster  

With  local  storage  

Client  Cluster  

With  local  storage  

Client  Cluster  

Client  Cluster  

Client  Cluster  

With  local  storage  Flex                  Cluster  

Flex                  Cluster  

Page 5: Oracle RAC and Your Way to the Cloud by Angelo Pruscino

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

Pain  Points  To  Solve  in  the  Cloud  

•   SoWware  management  (patching)  •   Maintaining  up>me  and  availability    

•   Maintaining  dependent  databases  

•   Performance  tuning  and  diagnosis  

• …    

5  

Page 6: Oracle RAC and Your Way to the Cloud by Angelo Pruscino

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

Why?  -­‐  Because  They  Are  “Money  Pits”  

6  

Page 7: Oracle RAC and Your Way to the Cloud by Angelo Pruscino

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

Page 8: Oracle RAC and Your Way to the Cloud by Angelo Pruscino

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

Oracle  Rapid  Home  Provisioning  (RHP)    So8ware  management  for  the  Cloud  

1.  Eliminate  the  need  to  patch  individual  databases  

2.  Update  any  number  of  databases  with  a  single  command  

3.  Ensure  standardiza>on  through  gold  image  lineage  

8  

Page 9: Oracle RAC and Your Way to the Cloud by Angelo Pruscino

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

Cluster  

Cluster   Cluster  

Cluster  Cluster  

Cluster  

Oracle  Rapid  Home  Provisioning      Centralized  and  standardized  so8ware  maintenance  

9  

Cluster  

Local  Copy  RSYNC  

RHP  Server  

Page 10: Oracle RAC and Your Way to the Cloud by Angelo Pruscino

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

Page 11: Oracle RAC and Your Way to the Cloud by Angelo Pruscino

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

Improving  Availability  on  Architecture  Level  

11  

Node3 Node2 Node1

DBA DBA DBA

Oracle ASM

Oracle Clusterware

ASM ASM ASM

Flex ASM managed shared storage

One  Cluster  

LeafNodeN LeafNode.. LeafNode1 …Oracle Clusterware

Flex  Cluster  12c  12.1.0.1  /  12.1.0.2    

<Loosely  coupled>  

>Tightly  coupled<  

•  Use  Cases    1.  Consistent  Management:  

•  Apps  &  DBs  in  one  cluster  –  Only  use  case  with  12.1  

–  Outlook  for  12.2:  •  Leaf  Nodes  hos>ng  DBs  for  (In-­‐Memory)  Reader  Farm  –  Performance  Op>miza>on    for  read  services  in  cluster  •  E.g.  (OLTP)  updates  on  HUB,  instantaneous  real  >me  repor>ng  on  Leaf  Nodes  

–  Recovery  Op>miza>on    –  Further  op>miza>on  in  DWH  

•  Architecture  –  Leaf  Nodes  

•  Act  as  compute  nodes  •  Depend  on  HUB  nodes  •  Do  not  require    direct  disk  access    

•  U>lize  a  different    heartbeat  mechanism  

•  Do  not  perform  writes  –  No  DML  /  updates  /  inserts  

•  Thus,  no  Distributed  Lock  Management  (DLM)  required  

AppA   AppA   AppB  

Page 12: Oracle RAC and Your Way to the Cloud by Angelo Pruscino

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

Improving  Availability  on  Architecture  Level  

12  

•  Use  Cases    1.  Non-­‐shared  disk  clusters  

•  Client  Clusters  don’t  require  their  own  shared  disk  access  –  Used  for  applica>on  hos>ng  

•  Only  use  case  in  12.1.0.2  

2.  GI-­‐version  independent    database  clusters  – Minimum  DB  version  12c  

•  Use  case  requires  12.2  GI  

3.  Highly  scalable  &  flexible  

•  Architecture  –  Client  Clusters    

•  U>lize  (a)  central  cluster(s)  (ideally)  for  shared  services  –  E.g.  Storage  Server  

•  Cost  efficiency  due  to  using  network  connec>ons  instead    of  FC  /  SAN  network  

•  Represent  independent  clusters  that  can  be  scaled  horizontally  and  ver>cally  

•  CC  can  be  deployed  by  means  of  instan>a>on  –  VM-­‐based,  in  cloud  

•  Make  use  of  RHP  

Node2 Node1

DBA DBA

Oracle Grid Infrastructure

Node…

DBA

GI

CC2  …  

Node2 Node1

DBB DBB

Oracle Grid Infrastructure

Node…

DBB

GI

CC1  …  

Client  Clusters  (CC)    in  12.1.0.2+  /  mainly  12.2    

Node2 Node1

Oracle Clusterware

ASM ASM

Flex ASM Storage

Storage Server

Page 13: Oracle RAC and Your Way to the Cloud by Angelo Pruscino

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

RAC’s  New  Architectures  Ensure  Scalability  on  every  Level  

13  

Node2 Node1

DBA DBA

Oracle Grid Infrastructure

Node…

DBA

GI

CC2  …  

Node2 Node1

DBB DBB

Oracle Grid Infrastructure

Node…

DBB

GI

CC1  …  

Node2 Node1

Oracle Clusterware

ASM ASM

Flex ASM Storage

Storage Server

Centralized  Storage  Use  case:  generic  

Node2 Node1

DBB DBB

Oracle Grid Infrastructure

Node…

DBB

GI

CC1  

                               ASM  VSD  

…  

Node2 Node1

Oracle Clusterware

ASM ASM

Flex ASM Storage

Storage Server

Local  Storage  Use  case:  Cost  op5miza5on    for  certain  applica5ons  

Node2 Node1

DBB DBB

Oracle Grid Infrastructure

Node…

DBB

GI

CC1  

                               ASM  VSD  

…  

Node2 Node1

Oracle Clusterware

ASM ASM

Flex ASM Storage

Storage Server

Centralized  &  Local  Storage  Use  case:  Read  op5miza5on  using  local  storage  for  some  workloads  

Page 14: Oracle RAC and Your Way to the Cloud by Angelo Pruscino

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

Client  Cluster  

With  local  storage  

Client  Cluster  

Flex  Cluster  

RAC’s  New  Architectures  Are  the  Backbone  for  the  Cloud  Use  Flex  Clusters,  Client  Clusters,  and  Client  Clusters  with  local  storage  as  required  

14  

+1  

RHP Server

Storage Server

Client  Cluster  

With  local  storage  

Flex                  Cluster  

Client  Cluster  Flex  Cluster  

Page 15: Oracle RAC and Your Way to the Cloud by Angelo Pruscino

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

Page 16: Oracle RAC and Your Way to the Cloud by Angelo Pruscino

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

ACFS  and  a  Simple  and  Free  of  Charge  Approach  to    Managing  Test  &  Dev  Oracle  Database  Environments  

The  gDBclone  sample  script  takes  databases  from  any  source  and  duplicates  them  on  the  Test  &  Dev  cluster  using  ACFS  snapshots  to  create  space  efficient  copies.    

gDBclone  automa>cally  converts  databases  from  any  type  to  any  type;  quickly  test  your  applica>on  on  a  RAC  test  

database  using  your  SI  database  produc>on  data.  

16  

Page 17: Oracle RAC and Your Way to the Cloud by Angelo Pruscino

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

Client  Cluster  

With  local  storage  

Client  Cluster  

RAC’s  New  Architectures  Are  the  Backbone  for  the  Cloud  Using  the  Oracle  Database  Appliance  (ODA)  as  the  building  block  in  the  cloud  

17  

+1  

RHP Server

Storage Server

Flex  Cluster  

Flex                  Cluster  

Flex  Cluster  Client  Cluster  

Client  Cluster  

With  local  storage  

Page 18: Oracle RAC and Your Way to the Cloud by Angelo Pruscino

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

Test  and  Development  Personality  Built  Into  Every  ODA  •  Instantly  provision    test/dev  environments  

•  Single-­‐instance  or  RAC  • Applica>on  VMs    and  templates    

•  Space-­‐efficient  snapshot  storage  

• Cost-­‐effec>ve  copy-­‐on-­‐write  snapshots  –  free  func>onality  

18  

Exadata  

3rd-­‐Party  

ODA   Test/Dev  

Page 19: Oracle RAC and Your Way to the Cloud by Angelo Pruscino

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

Page 20: Oracle RAC and Your Way to the Cloud by Angelo Pruscino

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

Key  Management  Challenges  Heard  from  Customers  

Management  Challenges  •  ProliferaZon  of  encrypZon  wallets  and  keys  •  Authorized  sharing  of  keys  •  Key  availability,  retenZon,  and  recovery  •  Custody  of  keys  and  key  storage  files  

Regulatory  Challenges  •  Physical  separaZon  of  keys  from  encrypted  data  •  Periodic  key  rotaZons  •  Monitoring  and  audiZng  of  keys  •  Long-­‐term  retenZon  of  keys  and  encrypted  data  

20  

Page 21: Oracle RAC and Your Way to the Cloud by Angelo Pruscino

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

Introducing  Oracle  Key  Vault  

•  Centralized  management  of  keys,  secrets,  Oracle  Wallets,  Java  Keystores  and  more  •  Op>mized  solu>on  for    Oracle  Stack  (Database,  Middleware,  Systems)  

•  Supports  industry  standard  OASIS  KMIP  protocol  

21  

Page 22: Oracle RAC and Your Way to the Cloud by Angelo Pruscino

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

Client  Cluster  

Secure  RAC  in  the  Cloud  Ensure  Security,  don’t  assume  it  

22  

Storage Server

Flex                  Cluster  

Client  Cluster  

Client  Cluster  

With  local  storage  

•  Secure  data    in  flight  and  at  rest  

•  Support  single  network  architectures    which  may  be  routed  and  /  or  insecure.  

Page 23: Oracle RAC and Your Way to the Cloud by Angelo Pruscino

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

Page 24: Oracle RAC and Your Way to the Cloud by Angelo Pruscino

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

Autonomous  Compu>ng  

24  

QoS   CHM  

CHA   HngMgr  

Policy  

Self-­‐  Op>mizing  

Self-­‐  Protec>ng  

Self-­‐  Configuring  

Self-­‐  Healing  

Page 25: Oracle RAC and Your Way to the Cloud by Angelo Pruscino

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

Enabling  Autonomous  Compu>ng  Cluster  Health  Monitor  (CHM)/OS  &  QoS  11.2+  

LOGGERD sysmond

CHM/OS  

•  QoS  Support  for  Measure  only  with  Performance  Objec>ves  and  Alerts  

•  QoS  Support  for  Measuring  and  Monitoring  Admin-­‐Managed  Databases  

Further  QoS  &  CHM  Enhancements  in  12.1.0.2  

Cluster  Health  Advisor    Coming  soon…    

25  

Page 26: Oracle RAC and Your Way to the Cloud by Angelo Pruscino

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

•  OraChk    –  Formerly  RACchk  or  RACcheck  –  aka  ExaChk      

•  RAC  Configura>on  Audit  Tool    –  For  details  see  MOS  note  ID  1268927.1      

•  Checks  Oracle  Stack:  –  Standalone  Database  –  Grid  Infrastructure  &  RAC    – Maximum  Availability  Architecture  (MAA)  Valida>on  

–  Oracle  Hardware  

OraChk  –  Con>nuous  Applica>on  of  Best  Prac>ces  

26  

Engineered Systems require less initial testing

OraChk  

Page 27: Oracle RAC and Your Way to the Cloud by Angelo Pruscino

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

•  Trace  File  Analyzer  –  Improved  comprehensive    first  failure  diagnos>cs  collec>on  

–  Efficient  collec>on,  packaging    and  transfer  of  data  

–  Collect  for  all  relevant  components    (OS,  Grid  Infrastructure,  ASM,  RDBMS),  including  Exadata  cell  nodes  

–  One  command  to  collect  all  informa>on,    from  all  nodes  (or  single-­‐instance,  single-­‐node)    

•  More  informa>on:    MOS  note  ID  1513912.1  

Trace  File  Analyzer  (TFA)  –  Diagnos>cs  for  the  Cloud  

27  

Page 28: Oracle RAC and Your Way to the Cloud by Angelo Pruscino

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

Trace  File  Analyzer  (TFA)  –  Efficiency  from  A-­‐Z  

LOGs  

LOGs  

Page 29: Oracle RAC and Your Way to the Cloud by Angelo Pruscino

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

Client  Cluster  

With  local  storage  

Client  Cluster  

Oracle  RAC  12c  –  Autonomous  Compu>ng  for  the  Cloud  

29  

+1  

RHP Server

Client  Cluster  

With  local  storage  

Storage Server

OraChk  

Self-­‐  Op>mizing  

Self-­‐  Protec>ng  

Self-­‐  Configuring  

Self-­‐  Healing  

Flex  Cluster  Flex                  Cluster  

Flex  Cluster  

Page 30: Oracle RAC and Your Way to the Cloud by Angelo Pruscino

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

Conclusion  

Page 31: Oracle RAC and Your Way to the Cloud by Angelo Pruscino

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

Client  Cluster  

With  local  storage  

Client  Cluster  

RAC  +  EM  12c  =  Total  Cloud  Control  Efficient  EM  based  monitoring  and  management  for  the  cloud  

31  

+1  

RHP Server

Storage Server

Flex  Cluster  

Flex                  Cluster  

Flex  Cluster  Client  Cluster  

Client  Cluster  

With  local  storage  

Self-­‐  Op>mizing  

Self-­‐  Protec>ng  

Self-­‐  Configuring  

Self-­‐  Healing  

Page 32: Oracle RAC and Your Way to the Cloud by Angelo Pruscino

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

Conclusion  

Page 33: Oracle RAC and Your Way to the Cloud by Angelo Pruscino

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

Self-­‐  Op>mizing  

Self-­‐  Protec>ng  

   

Self-­‐  Configuring  

   

Self-­‐  Healing  

Flex  Cluster  

Client  Cluster  

Oracle  RAC  12c  –  Ready  for  the  Cloud  

33  

Client  Cluster  

With  local  storage  

Client  Cluster  

With  local  storage  

Client  Cluster  

Client  Cluster  

Client  Cluster  

With  local  storage  Flex                  Cluster  

Flex                  Cluster  

Page 34: Oracle RAC and Your Way to the Cloud by Angelo Pruscino