proac=ve*oracle*database*monitoring*and* …€¢ oracle*–16*years* – apexdevelopmentteam* ......

20
Copyright © 2016 Splunk Inc. Tyler Muth Analy=cs Architect, Splunk Public Sector Collateral bit.ly/conf16tmuth Proac=ve Oracle Database Monitoring And Capacity Planning With Splunk

Upload: hoangmien

Post on 20-Apr-2018

231 views

Category:

Documents


7 download

TRANSCRIPT

Page 1: Proac=ve*Oracle*Database*Monitoring*And* …€¢ Oracle*–16*years* – APEXDevelopmentTeam* ... trace*files* Audit Files syslog Tables* Tables* Custom* Dic=onary* OS OSWatcher

Copyright  ©  2016  Splunk  Inc.  

Tyler  Muth  Analy=cs  Architect,  Splunk  Public  Sector  Collateral  -­‐  bit.ly/conf16-­‐tmuth  

Proac=ve  Oracle  Database  Monitoring  And  Capacity  Planning  With  Splunk  

Page 2: Proac=ve*Oracle*Database*Monitoring*And* …€¢ Oracle*–16*years* – APEXDevelopmentTeam* ... trace*files* Audit Files syslog Tables* Tables* Custom* Dic=onary* OS OSWatcher

Disclaimer  During  the  course  of  this  presenta=on,  we  may  make  forward  looking  statements  regarding  future  

events  or  the  expected  performance  of  the  company.  We  cau=on  you  that  such  statements  reflect  our  current  expecta=ons  and  es=mates  based  on  factors  currently  known  to  us  and  that  actual  events  or  results  could  differ  materially.  For  important  factors  that  may  cause  actual  results  to  differ  from  those  contained  in  our  forward-­‐looking  statements,  please  review  our  filings  with  the  SEC.  The  forward-­‐looking  statements  made  in  the  this  presenta=on  are  being  made  as  of  the  =me  and  date  of  its  live  presenta=on.  If  reviewed  aRer  its  live  presenta=on,  this  presenta=on  may  not  contain  current  or  

accurate  informa=on.  We  do  not  assume  any  obliga=on  to  update  any  forward  looking  statements  we  may  make.  In  addi=on,  any  informa=on  about  our  roadmap  outlines  our  general  product  direc=on  and  is  

subject  to  change  at  any  =me  without  no=ce.  It  is  for  informa=onal  purposes  only  and  shall  not,  be  incorporated  into  any  contract  or  other  commitment.  Splunk  undertakes  no  obliga=on  either  to  develop  the  features  or  func=onality  described  or  to  include  any  such  feature  or  func=onality  in  a  future  release.  

bit.ly/conf16-­‐tmuth  

Page 3: Proac=ve*Oracle*Database*Monitoring*And* …€¢ Oracle*–16*years* – APEXDevelopmentTeam* ... trace*files* Audit Files syslog Tables* Tables* Custom* Dic=onary* OS OSWatcher

Who  Am  I?  •  Oracle  –  16  years  

–  APEX  Development  Team  –  Chief  Database  Engineer,  Public  Sector  –  Lead  many  Exadata  POCs  –  Wrote  AWR-­‐Miner  for  Sizing  and  Capacity  Planning,  Logger,  AWR  FormaZer  

bit.ly/conf16-­‐tmuth  

Page 4: Proac=ve*Oracle*Database*Monitoring*And* …€¢ Oracle*–16*years* – APEXDevelopmentTeam* ... trace*files* Audit Files syslog Tables* Tables* Custom* Dic=onary* OS OSWatcher

Why  Splunk  for  Oracle?  

Security   Performance  Monitoring  

Capacity  Planning  

Configura=on  Management   Error  Analysis  

Single-­‐Pane  View  of  

“Applica=on”  

bit.ly/conf16-­‐tmuth  

Page 5: Proac=ve*Oracle*Database*Monitoring*And* …€¢ Oracle*–16*years* – APEXDevelopmentTeam* ... trace*files* Audit Files syslog Tables* Tables* Custom* Dic=onary* OS OSWatcher

What  Can  You  Splunk?  alert.log  

listener  log  

trace  files  

Audit  

Files  

syslog  

Tables  

Tables  

Custom  

Dic=onary  

OS  

OSWatcher  /  ExaWatcher  

TA  Unix  

Exadata  &  SuperCluster  

Exachk  

Cell  metrics  

Oracle  Database  

bit.ly/conf16-­‐tmuth  

Page 6: Proac=ve*Oracle*Database*Monitoring*And* …€¢ Oracle*–16*years* – APEXDevelopmentTeam* ... trace*files* Audit Files syslog Tables* Tables* Custom* Dic=onary* OS OSWatcher

How  Can  You  Splunk  It?  alert.log  

listener  log  

trace  files  

Audit  

Files  

syslog  

Tables  

Tables  

Custom  

Dic=onary  

OS  

OSWatcher  /  ExaWatcher  

TA  Unix  

Exadata  &  SuperCluster  

Exachk  

Cell  metrics  

Oracle  Database  

Add-­‐on  for  Unix  

DB  Connect  (DBX)  

Splunk  Add-­‐on  for  Oracle  DB  

Modular  Input  (in-­‐progress)  

Standard  File  Monitor  

bit.ly/conf16-­‐tmuth  

Page 7: Proac=ve*Oracle*Database*Monitoring*And* …€¢ Oracle*–16*years* – APEXDevelopmentTeam* ... trace*files* Audit Files syslog Tables* Tables* Custom* Dic=onary* OS OSWatcher

Why  Would  You  Splunk  These?  Security   Performance  

Capacity  Planning  

Configura5on  Management   Error  Analysis  

alert.log   ✓   ✓   ✓  

trace  files   ✓  

Audit  Files   ✓  

Audit  syslog   ✓  

Audit  Tables   ✓  

Dic=onary  Tables   ✓   ✓   ✓   ✓  

Custom  Tables   ✓  

OS  –  TA  Unix   ✓   ✓  

OS  –  OSWatcher  /  Exawatcher   ✓   ✓   ✓  

Exadata  -­‐  exachk   ✓   ✓  

Exadata  –  Cell  metrics   ✓   ✓   ✓  

bit.ly/conf16-­‐tmuth  

Page 8: Proac=ve*Oracle*Database*Monitoring*And* …€¢ Oracle*–16*years* – APEXDevelopmentTeam* ... trace*files* Audit Files syslog Tables* Tables* Custom* Dic=onary* OS OSWatcher

Demo  Architecture  

bit.ly/conf16-­‐tmuth  

Splunk

Exadata

Storage Cell

Storage Cell

Storage Cell

DB Node

DB Node

Tomcat VM (APEX)2 Cores 8 GB RAM

Tomcat VM (APEX)2 Cores 8 GB RAM

nginx proxy loadbalancer

��� ����������

jMeterswingbench

��� ����������

��� ����������

��� ����������

��� ����������

��� ����������

DB Connect

Exadata CellModular Input

modular input > dcli

HTTP EventCollector HEC

Page 9: Proac=ve*Oracle*Database*Monitoring*And* …€¢ Oracle*–16*years* – APEXDevelopmentTeam* ... trace*files* Audit Files syslog Tables* Tables* Custom* Dic=onary* OS OSWatcher

Demo  –  Average  Ac=ve  Sessions  Using  DB  Connect  (DBX)  to  pull  DB  metrics  stored  in  tables  /  views  

 

bit.ly/conf16-­‐tmuth  

DB  Connect  App  

JDBC  

Most  Databases  

Page 10: Proac=ve*Oracle*Database*Monitoring*And* …€¢ Oracle*–16*years* – APEXDevelopmentTeam* ... trace*files* Audit Files syslog Tables* Tables* Custom* Dic=onary* OS OSWatcher

Demo  –  Average  Ac=ve  Sessions  

bit.ly/conf16-­‐tmuth  

Page 11: Proac=ve*Oracle*Database*Monitoring*And* …€¢ Oracle*–16*years* – APEXDevelopmentTeam* ... trace*files* Audit Files syslog Tables* Tables* Custom* Dic=onary* OS OSWatcher

Demo  –  DB  Memory  &  CPU  

Exadata  Virtual  

Unix  Plugin  

ps vmstat netstat iostat

bit.ly/conf16-­‐tmuth  

Page 12: Proac=ve*Oracle*Database*Monitoring*And* …€¢ Oracle*–16*years* – APEXDevelopmentTeam* ... trace*files* Audit Files syslog Tables* Tables* Custom* Dic=onary* OS OSWatcher

Demo  –  DB  Memory  &  CPU  

bit.ly/conf16-­‐tmuth  

Page 13: Proac=ve*Oracle*Database*Monitoring*And* …€¢ Oracle*–16*years* – APEXDevelopmentTeam* ... trace*files* Audit Files syslog Tables* Tables* Custom* Dic=onary* OS OSWatcher

Demo–  Logger  Plugin  

HTTP  Event  Collector  (HEC)  

Logger  Package  

Error  Logged   REST  Call  (push)  

bit.ly/conf16-­‐tmuth  

Page 14: Proac=ve*Oracle*Database*Monitoring*And* …€¢ Oracle*–16*years* – APEXDevelopmentTeam* ... trace*files* Audit Files syslog Tables* Tables* Custom* Dic=onary* OS OSWatcher

Demo–  Logger  Plugin  

bit.ly/conf16-­‐tmuth  

Page 15: Proac=ve*Oracle*Database*Monitoring*And* …€¢ Oracle*–16*years* – APEXDevelopmentTeam* ... trace*files* Audit Files syslog Tables* Tables* Custom* Dic=onary* OS OSWatcher

Demo–  Logger  Plugin  

bit.ly/conf16-­‐tmuth  

Page 16: Proac=ve*Oracle*Database*Monitoring*And* …€¢ Oracle*–16*years* – APEXDevelopmentTeam* ... trace*files* Audit Files syslog Tables* Tables* Custom* Dic=onary* OS OSWatcher

Demo  –  Cell  Metrics  

bit.ly/conf16-­‐tmuth  

Page 17: Proac=ve*Oracle*Database*Monitoring*And* …€¢ Oracle*–16*years* – APEXDevelopmentTeam* ... trace*files* Audit Files syslog Tables* Tables* Custom* Dic=onary* OS OSWatcher

Demo  -­‐  Swingbench  

bit.ly/conf16-­‐tmuth  

Page 18: Proac=ve*Oracle*Database*Monitoring*And* …€¢ Oracle*–16*years* – APEXDevelopmentTeam* ... trace*files* Audit Files syslog Tables* Tables* Custom* Dic=onary* OS OSWatcher

Demo  jMeter  

bit.ly/conf16-­‐tmuth  

Page 19: Proac=ve*Oracle*Database*Monitoring*And* …€¢ Oracle*–16*years* – APEXDevelopmentTeam* ... trace*files* Audit Files syslog Tables* Tables* Custom* Dic=onary* OS OSWatcher

Conclusion    Oracle  Databases  –  Are  part  of  many  high-­‐visibility  systems  –  Are  highly  instrumented  –  Lack  good  tools  to  aggregate  and  visualize  this  data  

  Splunk  –  Can  consume  ,  visualize  and  aggregate  this  data  –  Can  correlate  this  data  with  other  parts  of  the  “system”  –  Can  add  tremendous  value  to  Oracle  customers  

bit.ly/conf16-­‐tmuth  

Page 20: Proac=ve*Oracle*Database*Monitoring*And* …€¢ Oracle*–16*years* – APEXDevelopmentTeam* ... trace*files* Audit Files syslog Tables* Tables* Custom* Dic=onary* OS OSWatcher

THANK  YOU