Ileana Someşan, Senior Systemberaterin 
Oracle GoldenGate Monitoring
Copyright © 2014, Oracle and/or its affiliates. 2 All rights reserved. ileana.somesan@oracle.com 
Agenda 
 Was sollte übe...
Copyright © 2014, Oracle and/or its affiliates. 3 All rights reserved. ileana.somesan@oracle.com 
Die wichtigsten Aspekte ...
Copyright © 2014, Oracle and/or its affiliates. 4 All rights reserved. ileana.somesan@oracle.com 
Agenda 
 Was sollte übe...
Copyright © 2014, Oracle and/or its affiliates. 5 All rights reserved. ileana.somesan@oracle.com 
Sie haben die Wahl 
 Tr...
Copyright © 2014, Oracle and/or its affiliates. 6 All rights reserved. ileana.somesan@oracle.com 
GGSCI
Copyright © 2014, Oracle and/or its affiliates. 7 All rights reserved. ileana.somesan@oracle.com 
OGG Kommandozeile 
./ggs...
Copyright © 2014, Oracle and/or its affiliates. 8 All rights reserved. ileana.somesan@oracle.com 
Prozessübersicht 
GGSCI>...
Copyright © 2014, Oracle and/or its affiliates. 9 All rights reserved. ileana.somesan@oracle.com 
Prozessdetails 
GGSCI> I...
Copyright © 2014, Oracle and/or its affiliates. 10 All rights reserved. ileana.somesan@oracle.com 
Prozess-Checkpoints 
Ak...
Copyright © 2014, Oracle and/or its affiliates. 11 All rights reserved. ileana.somesan@oracle.com 
Verzögerungen 
GGSCI> L...
Copyright © 2014, Oracle and/or its affiliates. 12 All rights reserved. ileana.somesan@oracle.com 
Verarbeitetes Datenvolu...
Copyright © 2014, Oracle and/or its affiliates. 13 All rights reserved. ileana.somesan@oracle.com 
Aufgetretene Konflikte ...
Copyright © 2014, Oracle and/or its affiliates. 14 All rights reserved. ileana.somesan@oracle.com 
Laufzeitinformationen 
...
Copyright © 2014, Oracle and/or its affiliates. 15 All rights reserved. ileana.somesan@oracle.com 
Wichtige Dateien
Copyright © 2014, Oracle and/or its affiliates. 16 All rights reserved. ileana.somesan@oracle.com 
Error Log 
Enthält Befe...
Copyright © 2014, Oracle and/or its affiliates. 17 All rights reserved. ileana.somesan@oracle.com 
Report File 
Jeder OGG-...
Copyright © 2014, Oracle and/or its affiliates. 18 All rights reserved. ileana.somesan@oracle.com 
Discard File 
Enthält d...
Copyright © 2014, Oracle and/or its affiliates. 19 All rights reserved. ileana.somesan@oracle.com 
Benutzerdefinierte Skri...
Copyright © 2014, Oracle and/or its affiliates. 20 All rights reserved. ileana.somesan@oracle.com 
Kleines Monitoring- und...
Copyright © 2014, Oracle and/or its affiliates. 21 All rights reserved. ileana.somesan@oracle.com 
Parser für den Error Lo...
Copyright © 2014, Oracle and/or its affiliates. 22 All rights reserved. ileana.somesan@oracle.com 
Erweiterte 
Parameterei...
Copyright © 2014, Oracle and/or its affiliates. 23 All rights reserved. ileana.somesan@oracle.com 
Verarbeitungsgeschwindi...
Copyright © 2014, Oracle and/or its affiliates. 24 All rights reserved. ileana.somesan@oracle.com 
Trail Files automatisch...
Copyright © 2014, Oracle and/or its affiliates. 25 All rights reserved. ileana.somesan@oracle.com 
Transaktionslogs aufbew...
Copyright © 2014, Oracle and/or its affiliates. 26 All rights reserved. ileana.somesan@oracle.com 
Agenda 
 Was sollte üb...
Copyright © 2014, Oracle and/or its affiliates. 27 All rights reserved. ileana.somesan@oracle.com 
Umfang 
 Lizenzpaket b...
Copyright © 2014, Oracle and/or its affiliates. 28 All rights reserved. ileana.somesan@oracle.com 
• Oracles strategische ...
Copyright © 2014, Oracle and/or its affiliates. 29 All rights reserved. ileana.somesan@oracle.com 
• Standalone Monitoring...
Copyright © 2014, Oracle and/or its affiliates. 30 All rights reserved. ileana.somesan@oracle.com 
• „Legacy“-Werkzeug 
• ...
Copyright © 2014, Oracle and/or its affiliates. 31 All rights reserved. ileana.somesan@oracle.com 
OGG Monitor
Copyright © 2014, Oracle and/or its affiliates. 32 All rights reserved. ileana.somesan@oracle.com
Copyright © 2014, Oracle and/or its affiliates. 33 All rights reserved. ileana.somesan@oracle.com
Copyright © 2014, Oracle and/or its affiliates. 34 All rights reserved. ileana.somesan@oracle.com
Copyright © 2014, Oracle and/or its affiliates. 35 All rights reserved. ileana.somesan@oracle.com
Copyright © 2014, Oracle and/or its affiliates. 36 All rights reserved. ileana.somesan@oracle.com
Copyright © 2014, Oracle and/or its affiliates. 37 All rights reserved. ileana.somesan@oracle.com 
Agenda 
 Was sollte üb...
Copyright © 2014, Oracle and/or its affiliates. 38 All rights reserved. ileana.somesan@oracle.com 
Zusammenfassung 
 Über...
Copyright © 2014, Oracle and/or its affiliates. 39 All rights reserved. ileana.somesan@oracle.com 
Quellen 
 Oracle Golde...
ileana.somesan@oracle.com 
https://www.xing.com/profile/Ileana_Somesan 
https://www.linkedin.com/in/ileanasomesan 
@ileana...
Copyright © 2014, Oracle and/or its affiliates. 41 All rights reserved. ileana.somesan@oracle.com
Copyright © 2014, Oracle and/or its affiliates. 42 All rights reserved. ileana.somesan@oracle.com
Upcoming SlideShare
Loading in...5
×

Oracle GoldenGate Monitoring

313

Published on

Diese Präsentation zeigt die wichtigsten Aspekte, die beim Betrieb von Oracle GoldenGate überwacht werden müssen, um eventuelle Replikationsstörungen zu erkennen. Die Monitoring Werkzeuge, insbesondere die grafischen Tools aus dem "Oracle Management Pack for Oracle GoldenGate", werden vorgestellt.

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
313
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
7
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Oracle GoldenGate Monitoring

  1. 1. Ileana Someşan, Senior Systemberaterin Oracle GoldenGate Monitoring
  2. 2. Copyright © 2014, Oracle and/or its affiliates. 2 All rights reserved. ileana.somesan@oracle.com Agenda  Was sollte überwacht werden?  Monitoring-Werkzeuge  Oracle Management Pack für OGG  Zusammenfassung
  3. 3. Copyright © 2014, Oracle and/or its affiliates. 3 All rights reserved. ileana.somesan@oracle.com Die wichtigsten Aspekte  Zustand der Replikationsprozesse  Verzögerungen bei der Replikation  Verarbeitetes Datenvolumen  Warnungen und Fehlermeldungen  Trail Files  Transaktionslogs
  4. 4. Copyright © 2014, Oracle and/or its affiliates. 4 All rights reserved. ileana.somesan@oracle.com Agenda  Was sollte überwacht werden?  Monitoring-Werkzeuge  Oracle Management Pack für OGG  Zusammenfassung
  5. 5. Copyright © 2014, Oracle and/or its affiliates. 5 All rights reserved. ileana.somesan@oracle.com Sie haben die Wahl  Traditionelle Tools – Kommandozeile (GGSCI) – Parametereinstellungen – Benutzerdefinierte Skripte – Manuelle Einbindung in existierende Alerting–Infrastruktur (E-Mail, SNMP)  Graphische Tools – Oracle Management Pack für Oracle GoldenGate
  6. 6. Copyright © 2014, Oracle and/or its affiliates. 6 All rights reserved. ileana.somesan@oracle.com GGSCI
  7. 7. Copyright © 2014, Oracle and/or its affiliates. 7 All rights reserved. ileana.somesan@oracle.com OGG Kommandozeile ./ggsci im OGG-Installationsverzeichnis aufrufen GGSCI> HELP GGSCI> HELP command
  8. 8. Copyright © 2014, Oracle and/or its affiliates. 8 All rights reserved. ileana.somesan@oracle.com Prozessübersicht GGSCI> INFO ALL
  9. 9. Copyright © 2014, Oracle and/or its affiliates. 9 All rights reserved. ileana.somesan@oracle.com Prozessdetails GGSCI> INFO MGR GGSCI> INFO ER ora_* GGSCI> INFO proc_name DETAIL
  10. 10. Copyright © 2014, Oracle and/or its affiliates. 10 All rights reserved. ileana.somesan@oracle.com Prozess-Checkpoints Aktuelle Lese- und Schreibposition eines Prozesses GGSCI> INFO proc_name SHOWCH
  11. 11. Copyright © 2014, Oracle and/or its affiliates. 11 All rights reserved. ileana.somesan@oracle.com Verzögerungen GGSCI> LAG proc_name Wie gut können die OGG-Prozesse mit der generierten Datenmenge Schritt halten? Wie lange dauert es bis eine DB-Operation von OGG verarbeitet wird? Bleiben die OGG-Prozesse zurück?  Performance-Tuning
  12. 12. Copyright © 2014, Oracle and/or its affiliates. 12 All rights reserved. ileana.somesan@oracle.com Verarbeitetes Datenvolumen GGSCI> STATS proc_name TOTAL
  13. 13. Copyright © 2014, Oracle and/or its affiliates. 13 All rights reserved. ileana.somesan@oracle.com Aufgetretene Konflikte GGSCI> STATS replicat_name REPORTCDR
  14. 14. Copyright © 2014, Oracle and/or its affiliates. 14 All rights reserved. ileana.somesan@oracle.com Laufzeitinformationen GGSCI> SEND extract_name STATUS Kommunikation mit laufendem OGG-Prozess zur Abfrage unterschiedlicher Parameter (siehe Reference Guide)
  15. 15. Copyright © 2014, Oracle and/or its affiliates. 15 All rights reserved. ileana.somesan@oracle.com Wichtige Dateien
  16. 16. Copyright © 2014, Oracle and/or its affiliates. 16 All rights reserved. ileana.somesan@oracle.com Error Log Enthält Befehlshistorie, Fehlermeldungen und weitere Informationen ggserr.log im OGG-Installationsverzeichnis GGSCI> VIEW GGSEVT
  17. 17. Copyright © 2014, Oracle and/or its affiliates. 17 All rights reserved. ileana.somesan@oracle.com Report File Jeder OGG-Prozess generiert einen Report mit den verwendeten Parametern, durchgeführten Mappings sowie aufgetrenenen Problemen Standardmäßig ./dirrpt/proc_name.rpt GGSCI> VIEW REPORT proc_name
  18. 18. Copyright © 2014, Oracle and/or its affiliates. 18 All rights reserved. ileana.somesan@oracle.com Discard File Enthält die verworfenen Operationen Im Parameterfile des Replicat-Prozesses angeben: DISCARDFILE dirrpt/proc_name.dsc, PURGE |APPEND
  19. 19. Copyright © 2014, Oracle and/or its affiliates. 19 All rights reserved. ileana.somesan@oracle.com Benutzerdefinierte Skripte
  20. 20. Copyright © 2014, Oracle and/or its affiliates. 20 All rights reserved. ileana.somesan@oracle.com Kleines Monitoring- und Alert-Skript if [ 'echo "info all“ | ./ggsci | grep "ABENDED“ | wc -l' -gt 0] then echo "info *“ | ./ggsci | mailx -s "OGG Alert: Abended" you@mail.com; fi Sende eine E-Mail Benachrichtigung, falls ein OGG-Prozess unerwartet beendet wurde.
  21. 21. Copyright © 2014, Oracle and/or its affiliates. 21 All rights reserved. ileana.somesan@oracle.com Parser für den Error Log trail -n 1 -f ggserr.log | while ((1)); do read gdate gtime glevel gmsg; if [ $glevel = "ERROR" ]; then echo "$HOSTNAME: $gdate $gtime $glevel $gmsg” | mailx -s "OGG Alert: Log error" you@mail.com;fi;done Sende eine E-Mail Benachrichtigung, falls im Error Log Fehler gemeldet wurden.
  22. 22. Copyright © 2014, Oracle and/or its affiliates. 22 All rights reserved. ileana.somesan@oracle.com Erweiterte Parametereinstellungen
  23. 23. Copyright © 2014, Oracle and/or its affiliates. 23 All rights reserved. ileana.somesan@oracle.com Verarbeitungsgeschwindigkeit melden Im Parameter-File der Extract/Replicat Prozesse: REPORTCOUNT EVERY 5 MINUTES, RATE Anzahl der DB-Operationen und Verarbeitungsrate (#Ops/Sekunde) alle x Minuten ins Report File schreiben  Performanceprobleme diagnostizieren
  24. 24. Copyright © 2014, Oracle and/or its affiliates. 24 All rights reserved. ileana.somesan@oracle.com Trail Files automatisch löschen Im Parameter-File des Manager Prozesses: PURGEOLDEXTRACTS ./dirdat/*, USECHECKPOINTS Trail Files, die nicht mehr benötigt werden, werden automatisch gelöscht
  25. 25. Copyright © 2014, Oracle and/or its affiliates. 25 All rights reserved. ileana.somesan@oracle.com Transaktionslogs aufbewahren  OGG benötigt die Transkationslogs seit Beginn der letzten noch nicht festgeschriebenen Transaktion  mind. 24 Stunden Archived Redo Logs aufbewahren! OGG für Oracle  Integrated Extract – Automatische Interaktion mit RMAN um benötigte Redo Logs aufzubewahren  Classic Extract – Interaktion mit RMAN muss konfiguriert werden und ist nur mit Oracle DB EE verfügbar
  26. 26. Copyright © 2014, Oracle and/or its affiliates. 26 All rights reserved. ileana.somesan@oracle.com Agenda  Was sollte überwacht werden?  Monitoring-Werkzeuge  Oracle Management Pack für OGG  Zusammenfassung
  27. 27. Copyright © 2014, Oracle and/or its affiliates. 27 All rights reserved. ileana.somesan@oracle.com Umfang  Lizenzpaket bestehend aus 3 Werkzeugen: – Oracle GoldenGate Plug-in für Oracle Enterprise Manager Cloud Control – Oracle GoldenGate Monitor – Oracle GoldenGate Director
  28. 28. Copyright © 2014, Oracle and/or its affiliates. 28 All rights reserved. ileana.somesan@oracle.com • Oracles strategische Monitoring-Tool für die gesamte Oracle Landschaft, inkl. OGG • Für Kunden, die Enterprise Manager nutzen • Übersicht über den Zustand aller OGG-Instanzen • Metriken, grafischer Metrikenverlauf  Trends • Automatische Alerts: z.B. sende E-Mail falls das Lag einen Schwellenwert überschreitet • Für OGG 11.2.1.0.1+ #1 Enterprise Manager Plug-in Überblick
  29. 29. Copyright © 2014, Oracle and/or its affiliates. 29 All rights reserved. ileana.somesan@oracle.com • Standalone Monitoring-Tool  falls Enterprise Manager nicht im Einsatz • Grafischer Übbersicht über die gesamte Replikationsumgebung • Automatische Erkennung der OGG-Komponenten • Metriken, grafischer Metrikenverlauf • Automatische Benachrichtigung per E-Mail, SNMP und anderen Tools • Für OGG 11.1.1.1.1+ #2 Oracle GoldenGate Monitor Überblick
  30. 30. Copyright © 2014, Oracle and/or its affiliates. 30 All rights reserved. ileana.somesan@oracle.com • „Legacy“-Werkzeug • Konfiguration, Starten/Stoppen der OGG-Prozesse • Basis-Monitoring • E-Mail Alerts • Auch für ältere OGG-Versionen #3 Oracle GoldenGate Director Überblick
  31. 31. Copyright © 2014, Oracle and/or its affiliates. 31 All rights reserved. ileana.somesan@oracle.com OGG Monitor
  32. 32. Copyright © 2014, Oracle and/or its affiliates. 32 All rights reserved. ileana.somesan@oracle.com
  33. 33. Copyright © 2014, Oracle and/or its affiliates. 33 All rights reserved. ileana.somesan@oracle.com
  34. 34. Copyright © 2014, Oracle and/or its affiliates. 34 All rights reserved. ileana.somesan@oracle.com
  35. 35. Copyright © 2014, Oracle and/or its affiliates. 35 All rights reserved. ileana.somesan@oracle.com
  36. 36. Copyright © 2014, Oracle and/or its affiliates. 36 All rights reserved. ileana.somesan@oracle.com
  37. 37. Copyright © 2014, Oracle and/or its affiliates. 37 All rights reserved. ileana.somesan@oracle.com Agenda  Was sollte überwacht werden?  Monitoring-Werkzeuge  Oracle Management Pack für OGG  Zusammenfassung
  38. 38. Copyright © 2014, Oracle and/or its affiliates. 38 All rights reserved. ileana.somesan@oracle.com Zusammenfassung  Überwachen Sie Oracle GoldenGate!  Mehrere Monitoring-Optionen – Kommandozeile, Parameter, Skripte – GUI  Oracle GoldenGate Management Pack für Oracle GoldenGate – Grafisches Tool – Vereinfacht die OGG-Administration – 3 Produkte für 1 Preis
  39. 39. Copyright © 2014, Oracle and/or its affiliates. 39 All rights reserved. ileana.somesan@oracle.com Quellen  Oracle GoldenGate Administrator‘s Guide – Kap 18: Monitoring Oracle GoldenGate Processing  Oracle GoldenGate Reference Guide  Data Sheet – Oracle Management Pack for Oracle GoldenGate
  40. 40. ileana.somesan@oracle.com https://www.xing.com/profile/Ileana_Somesan https://www.linkedin.com/in/ileanasomesan @ileanasomesan http://isblog.de/ de.slideshare.net/somesan Q&A
  41. 41. Copyright © 2014, Oracle and/or its affiliates. 41 All rights reserved. ileana.somesan@oracle.com
  42. 42. Copyright © 2014, Oracle and/or its affiliates. 42 All rights reserved. ileana.somesan@oracle.com
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×