Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Oracle Database Appliance
12.1.2.6
Sebastian Solbac...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Agenda
2
Oracle Database Appliance (ODA) - Hardware...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Oracle Database Appliance
Complete, Simple, Reliabl...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Oracle Database Appliance
Die Datenbank Plattform
•...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Oracle Database Appliance
Als Applikations Plattfor...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Schnelle Installation, Einfache Administration
Appl...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Einfach
Vergleich mit “Build Your Own”
Build Your O...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Zeit
Kosten
Build Your Own
SAVINGS
Schnelle Install...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Option 1: Build Your Own
License 72 Cores for Antic...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Zuverlässig
Kein SPOF (Single Point of Failure)
10
...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
• ODA Flash Cache
– Verteilter Datenbank Flash
Cach...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Agenda
12
Oracle Database Appliance (ODA) - Hardwar...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Oracle Database Appliance X5-2
• 2x 1RU x86 Server ...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
ODA X5-2 Datenbank Server
• 18-core Xeon Haswell-EP...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
ODA X5-2 Storage Shelf
• Hierarchische Storage Arch...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Zero-Admin/Online Storage Expansion
ODA X5-2 Storag...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Hardware Vergleich
Komponente ODAv1 X3-2 X4-2 X5-2 ...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Purpose – Cabling Interconnect Start - Node 0 End –...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
ODA Storage Redundanz
• Jeder Server Knoten
– 2x HB...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
ODA X5-2 Netzwerk
• Basis Konfiguration
– IB Interc...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Agenda
21
Oracle Database Appliance (ODA) - Hardwar...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
OAKCLI
• Command line interface der ODA
• Immer als...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Auf der ODA können sowohl Single Instanz Datenbanke...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
ODA v12.1.2.6 unterstützte Datenbanken
• Oracle Dat...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Neue Datenbank Templates
• Einfachere Namenskonvent...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Datenbank Größen X5-2 (OLTP)
ODB_ 01s 01 02 04 06 1...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Datenbank Größen X5-2 (InMemory)
ODB_ 01s 01 02 04 ...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Exafusion “Direct to Wire” OLTP Protokoll
 Hoher D...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
• Verteilt InMemory Units über beide
Knoten
• Memor...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
• Dupliziert InMemory Units auf
beide Knoten
• Komp...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Aufteilung Plattenplatz X5-2 (8TB)
ASM Normal Redun...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Datenbanken auf ACFS
• Neue 11.2.0.4 und 12.1.0.2 n...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
ODA 12.1.2.X verwendet ACFS
33
Mount Point Diskgrou...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Show DBStorage
34
# oakcli show dbstorage
All the D...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Show Filesystem
35
# oakcli show fs
Type Total Spac...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Datenbank & VM Snapshots
• ROW Snapshot
• Nur Meta-...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Snapshot von Datenbanken
• 11.2.0.4 und 12.1.0.2 no...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
ODA Fast Files: Nur auf der ODA!
 Verbessert Snaps...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
ODA Fast Files Hintergrund: Accelerator Volume
39
#...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
ACFS Accelerator Volume
• Accelerator Volume seid 1...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Redo Diskgroup „Größen Problem“
• Negativer Wert en...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
ODA Deployment Optionen
• Ideal zur reinen DB Konso...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
ODA Deployment Optionen
• Eine Appliance für Applik...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
ODA Flash Cache – SSD für Datenbankdateien
 1.6TB ...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
ODA Fast Flash Cache – Datenbank Buffer Cache
 Nur...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Flash Cache Hintergrund Informationen
• INIT.ORA Pa...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Flash Cache – wann Sinnvoll?
• Wenn Datenbank von m...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Agenda
48
Oracle Database Appliance (ODA) - Hardwar...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Setup ODA Bare Metal / Virtualisiert
7. Empfohlen: ...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
1. Vorbereitung
• My Oracle Support Notes:
– 888888...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Details für die Konfiguration
• Bare Metal / VM (Vo...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
2. Verkabelung & 4. Validierung
• Wichtig: Vor dem ...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
3. Reimaging der Knoten
• Default bei Auslieferung:...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
5. Initiale Netzwerkkonfiguration
• Netzwerk Konfig...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
6. Software
• Baremetal:
– Patch 12978712 - Oracle ...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Optionaler Schritt: Teillizenzierung
• Bare Metal
–...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Exkurs: Patching
Aktueller Patchset, PSU und alle k...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
ODA Patching
• Patching modes
– Local Patching
• Lo...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
7. Empfohlen: Patching
• Es gibt genau einen Patch ...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Optionen beim Patchen
# oakcli update -patch -h
Usa...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Beispiel: Patch 2.8.0.0.0
# /opt/oracle/oak/bin/oak...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Beispiel: Upgrade einer Datenbank
Upgrading 11.2.0....
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
8. End User Installation
• BareMetal: Login auf Kno...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Falls etwas falsch war: Neustart
• Cleanup:
• Alles...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Einzelne Schritte wiederholen
• Einzelne Schritte e...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Neue 12c Datenbanken: oakcli
• ODA Administration a...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Agenda
67
Oracle Database Appliance (ODA) - Hardwar...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Virtualisierung auf der ODA
• Partitionierung der C...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
VM Auf ODA
• Datenbank(en) laufen in der ‘ODA
BASE’...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
DOM 0
• Default domain nach Installation des
oakVM ...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
ODA Base
• ODA Base priviliegierte VM Domain
• Date...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Lokale & Shared Repositories (ab v2.8)
Shared disk
...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Architektur Details
• ODA_BASE: Exklusiver Plattenz...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Shared Repository
• Shared Repository
– Zusätzliche...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Gast VM Hochverfügbarkeit – VM Auto Restart
• VM Au...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Gast VM Hochverfügbarkeit – VM Gast Failover
• VM F...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Gast VM Storage – VDisk Management
• Dynamischer Er...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Wie kommt eine VM auf die ODA?
• Man braucht: 1 Tem...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Erzeugen der VM
• Klonen aus dem Template
• Konfigu...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Wichtige Attribute für VMs
-vcpu - (1-32) num. of c...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
ODAVP:
• ODAVP: How To Create a Fully-Virtualized G...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
CPU Pool
• 36 Kerne pro Knoten
• 72 vCPUs pro Knote...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Agenda
83
Oracle Database Appliance (ODA) - Hardwar...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
ODA X5-2 Storage Architecture
Disk Disk
Group
Volum...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Datenbank & VM Snapshots
• ROW Snapshot
• Nur Meta-...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Snapshot von Datenbanken
• 11.2.0.4 und 12.1.0.2 no...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Snapshot von VMs
• Empfehlung: Offline Snapshots vo...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Agenda
88
Oracle Database Appliance (ODA) - Hardwar...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
ODA VLAN Unterstützung
• Netzwerk Anforderungen
• M...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
ODA VLAN auf Bare Metal
• Enable 8021.Q VLAN Tagged...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Hardware Health Check
• Kontinuierliche Check der H...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Hardware Monitoring
# ./oakcli show server
Power St...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
• Enterprise Manager Plug-in
– Verwalten der ODA wi...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Re...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Re...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Re...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Re...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Re...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Einfache Diagnose
• ASR (Auto Service Request)
– Üb...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Backup
• Backup and Recovery Strategies for the Ora...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
MOS Notes
• ODA - Supported Versions & Known Issues...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
ODA External Documents & Links
● Landing Page:
http...
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Re...
Oracle Database Appliance 12.1.2.6
Nächste SlideShare
Wird geladen in …5
×

Oracle Database Appliance 12.1.2.6

1.609 Aufrufe

Veröffentlicht am

Veröffentlicht in: Software
0 Kommentare
1 Gefällt mir
Statistik
Notizen
  • Als Erste(r) kommentieren

Keine Downloads
Aufrufe
Aufrufe insgesamt
1.609
Auf SlideShare
0
Aus Einbettungen
0
Anzahl an Einbettungen
14
Aktionen
Geteilt
0
Downloads
27
Kommentare
0
Gefällt mir
1
Einbettungen 0
Keine Einbettungen

Keine Notizen für die Folie

Oracle Database Appliance 12.1.2.6

  1. 1. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Oracle Database Appliance 12.1.2.6 Sebastian Solbach BU Datenbank, ORACLE Deutschland B.V. & Co. KG April, 2016 Sebastian.solbach@oracle.com @s2solbach
  2. 2. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Agenda 2 Oracle Database Appliance (ODA) - Hardware Oracle Database Appliance - Software Setup ODA VM auf ODA Snapshots Diverses 1 2 3 4 5 6
  3. 3. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Oracle Database Appliance Complete, Simple, Reliable, Affordable, Preconfigured • Komplette Datenbank-Hochverfügbarkeitslösung in einem System • Einfache Installation und Management von Datenbanken und dazugehörigen Applikationen • Zuverlässiges System um die Performance und Verfügbarkeit Ihrer Datenbanken und Applikationen sicherzustellen • Bezahlbar durch Capacity on Demand (CoD) Lizenzierung der Oracle Datenbank und Oracle Applikationen • Vorkonfigurierte System Lösungen (Solution-In-a-Box)
  4. 4. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Oracle Database Appliance Die Datenbank Plattform • Geschäftskritische Datenbanken – OLTP & Data Warehouse – Integrierte Hochverfügbarkeitslösung: Oracle Real Application Clusters • Datenbank Konsolidierungsplattform – Multitenant & In-Memory • Test & Entwicklungsdatenbanken – Schnelle und efficient durch Snapshots 4 ERP CRM HR
  5. 5. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Oracle Database Appliance Als Applikations Plattform • Alle “Tiers” (Web, Middleware & Datenbank) auf einem System – Einfache und Schnelle Bereitstellung einer kompletten Umgebung – Ideal für Außenstellung & entfernte Installationen • Einfache “Solution-in-a-box” Lösungen: Best Practice Whitepaper & Installationsassistenten – Oracle Applikationen • JD Edwards, E-Business Suite, PeopleSoft, Flexcube, Weblogic, Enterpise Manager, etc – ISV Applikationen • IFS, mFormation, Temenos, etc – Eigenentwicklungen 5 PeopleSoft Enterprise Manager ISV Apps JD Edwards E- Business
  6. 6. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Schnelle Installation, Einfache Administration Appliance • Automatische Installation – HA Datenbanken – Komplette Applikationen • Automatisiertes Patching • “Zero-admin” Storage • Integriertes VM Management • Single vendor support • Ein Befehl: OAKCLI 6
  7. 7. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Einfach Vergleich mit “Build Your Own” Build Your Own Oracle Database Appliance 5 Puzzle Pieces • Server, storage, networking, database, consultants 1 Component • Push one button for install 7 Staff / Skills for HA • DBA, network admin, storage admin, system admin, installation expertise, HA expertise, optimization skills 1 DBA 24 + Patches Per Year 4 Patches Per Year ~ 2,200 Hours Maintenance ~ 110 Hours Maintenance 7
  8. 8. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Zeit Kosten Build Your Own SAVINGS Schnelle Installation, Einfache Administration Installation Expertise Optimization Expertise Network Administration Storage Administration System Administration Oracle Appliance Manager
  9. 9. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Option 1: Build Your Own License 72 Cores for Anticipated Growth Year 2 Year 3 Option 2: Buy Database Appliance License as You Grow and Save Significantly Year 1 Year 2 Year 3Year 1 Purchase Capacity Up Front Purchase Capacity-on-Demand Add Capacity When You Need It 8 Cores 16 Cores 60 Cores 24 Cores 48 Cores 32 Cores OR 72 Cores Capacity On Demand Lizensierung
  10. 10. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Zuverlässig Kein SPOF (Single Point of Failure) 10 Hardware • 2 Oracle Linux Sever • Redundantes Interconnect • Redundantes Public Neztwerk • Normal Redundanz oder dreifache Redundanz der Daten • Redundantes “hot-swappable” Strom, Kühlung und Lüftung Software • Oracle Datenbank Enterprise Edition – Single Instanz oder HA Konfiguration • Oracle's HA Software Lösung – Redundant und performanter Storage – HA Überwachung und Failover • Oracle Linux und integrierte Virtualisierung • Oracle Appliance Manager für einfache Installation/Wartung und Support
  11. 11. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | • ODA Flash Cache – Verteilter Datenbank Flash Cache über beide Knoten – Höhere Wahrscheinlichkeit einen Block im Cache zu finden – Bis zu 6x schneller als Plattenzugriff • ODA Flash Logs – Datenbank schreibt Redo in Flash – Sub-Millisecond Log Writes – Bis zu 4x schneller als Log Writes bei traditionellem Storage • ODA Flash Files – System Metadaten (ACFS) werden auf Flash gespeichert – Verbessert Read/Writes Performance – Native File System Performance für Snapshots Performance Optimierungen 11 Kein Cache Lokal Cache ODA Flash Cache AccessTime
  12. 12. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Agenda 12 Oracle Database Appliance (ODA) - Hardware Oracle Database Appliance - Software Setup ODA VM auf ODA Snapshots Diverses 1 2 3 4 5 6
  13. 13. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Oracle Database Appliance X5-2 • 2x 1RU x86 Server + 1x (oder 2x) 4RU JBODs • Je Server: – 2 x 18-core 2.3 GHz Intel Xeon Processors E5-2699 v3 – 256 GB Memory, erweiterbar auf 768 GB – 600 GB gepiegelte Boot Platten – Redundantes InfiniBand Interconnect – Externes 10GBase-T Netzwerk – Optional: 10GbE SFP+ • Je JBOD (SAS - Direct-Attached) max. 2.: – 800 GB SSD für Redo Logs (4 Platten) – 1.6 TB SSD für Datenbank Cache, Tablespaces und Temporäre Dateien (4 Platten) – 128 TB HDD für Daten, Archive Logs und Backup (16 Platten) Hardware
  14. 14. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | ODA X5-2 Datenbank Server • 18-core Xeon Haswell-EP – 50% schneller als die existierenden Ivy Bridge (X4-2) Prozessoren – SPECint_2006Rate published results (multithreaded workloads) • DDR4 Memory, erweiterbar von 256 GB auf 768 GB • Hardware RAID controller für lokale Platten (SAS3) – Schnelleres Reimage durch 1 GB controller cache • Dual Port – PCI3 QDR Infiniband Interconnect 14 Schnellere Prozessoren, Mehr Kerne, Mehr Memory X5-2 versus X4-2 50% More Database Cores 72 cores - 18-Core Xeon® E5-2699 v3 50% More DIMM Slots Up to 1.5 TB of DRAM, 512 GB Default
  15. 15. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | ODA X5-2 Storage Shelf • Hierarchische Storage Architektur • 800 GB SDD HE (High Endurance) – Redo logs, Accelerator Volume – 200 K IOPs, 25 DWPD • 1,6 TB SSD ME (Medium Endurance) – Cache und/oder Daten – 150 K IOPs, 10 DWPD (Full Disk Writes per Day) auf 5 Jahre => 4 TB pro Tag • 128 TB High Capacity Platten – Daten und Backup – 1,5 K IOPs 15 +REDO - Redo Logs SSD +FLASH - Cache SSD +DATA, + RECO - Data HDD
  16. 16. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Zero-Admin/Online Storage Expansion ODA X5-2 Storage Expansion Shelf Verdoppelung der Kapazität • + 128 TB HDD = 256 TB für DATA • + 800 GB SSD = 1.6 TB für REDO • + 1.6 TB SSD = 3.2 TB für FLASH Zero Administration • Automatische Erkennung & Integration • Daten verteilen sich automatisch Online Expand Storage • Hot-plug Storage Expansion Shelf • Keine Datenbank Downtime
  17. 17. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Hardware Vergleich Komponente ODAv1 X3-2 X4-2 X5-2 (4TB) X5-2 (8TB) Memory 192 GB 512 GB 512GB 512GB – 1536GB 512GB – 1536GB CPU Kerne 24 32 48 72 72 HDD 12 TB Raw 18 TB Raw 18 TB Raw 64 TB Raw 128 TB Raw SSD (REDO) / SSD (CACHE) 292 GB 800 GB 800 GB 800 GB / 1,6 TB 800 GB / 1,6 TB Expansion Storage Shelf None 18TB Raw 18TB Raw 64 TB Raw 128 TB Raw SSD: 800 GB SSD: 800 GB SSD: 800GB / 1,6TB SSD: 800GB / 1,6TB IOPS (RedoSSD/SSD/HDDs) 200K/-/4K 200K/-/3,3K 200K/-/3,5K 200K/150K/1,5K 200K/150K/1,5K IO Bandwidth (HDDs) 3 GB/s 3,5GB/s 3,5GB/s 3GB 6GB Preis 60K$ 60K$ 68K$ 68K$
  18. 18. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Purpose – Cabling Interconnect Start - Node 0 End – Node 1 1. Connect green InfiniBand cable Connect into green port (PORT2) in PCIe slot 1 Connect into green port (PORT2) in PCIe slot 1 2. Connect yellow InfiniBand cable Connect into yellow port (PORT1) in PCIe slot 1 Connect into yellow port (PORT1) in PCIe slot 1 Purpose – Cabling Storage Start - Compute Node End - Storage Shelf 3. Connect dark blue SAS cable Connect into dark blue port (SAS0) in PCIe slot 2 in node 0 Connect into dark blue port in top IO Module (port 0) 4. Connect light blue SAS cable Connect into light blue port (SAS1) in PCIe slot 3 in node 0 Connect into light blue port in bottom IO Module (port 0) 5. Connect dark red SAS cable Connect into dark red port (SAS1) in PCIe slot 2 node 1 Connect into dark red port in top IO Module (port 1) 6. Connect light red SAS cable Connect into light red port (SAS0) in PCIe slot 3 node 1 Connect into light red port in bottom IO Module (port 1) ODA X5-2 Verkabelung
  19. 19. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | ODA Storage Redundanz • Jeder Server Knoten – 2x HBA – HBA Ausfall via. Multipath • Storage Shelf – 2x IO Modules (Controllers) • Jeder Zugriff auf alle 24 Platten – Redundante HDDs & SSDs • ASM Striping und Mirroring Node 0 HBA HBA HBA HBA IO Module Node 1 P0 P1 IO Module Slot 20 Slot 16 Slot 12 Slot 8 Slot 4 Slot 0 Slot 21 Slot 17 Slot 13 Slot 9 Slot 5 Slot 1 Slot 22 Slot 18 Slot 14 Slot 10 Slot 6 Slot 2 Slot 23 Slot 19 Slot 15 Slot 11 Slot 7 Slot 3
  20. 20. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | ODA X5-2 Netzwerk • Basis Konfiguration – IB Interconnect – 10GBase-T (copper) Public Networking • Optional 10GbE SFP+ (Fiber) Public Networking – Ersetzt InfiniBand w/ Fiber PCIe cards – Interconnect w/ on-board copper ports Interconnect Port IB 1 (ibbond0) External 10GBase-T net 3 (bond1) Interconnect Port IB 2 (ibbond0) External 10GBase-T net 2 (bond1) External 10GBase-T net 1 (bond0) External 10GBase-T net 0 (bond0)
  21. 21. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Agenda 21 Oracle Database Appliance (ODA) - Hardware Oracle Database Appliance - Software Setup ODA VM auf ODA Snapshots Diverses 1 2 3 4 5 6
  22. 22. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | OAKCLI • Command line interface der ODA • Immer als ROOT ausführen • Aufrufe werden protokolliert: /opt/oracle/oak/log/<hostname>/client/oakcli.log • ODA Administration and Reference Guide, Kapitel 5 oakcli Usage: oakcli <command> <object> [<options>] commands: show|locate|deploy|update|validate|manage|unpack|copy|configure|modify|create| delete|resize|upgrade|import|start|stop|clone|stordiag|test|orachk|migrate objects : disk|diskgroup|expander|controller|server|processor|memory|iraid|power|cooling| network|ib|enclosure|vlan|storage|version|firstnet|additionalnet|asr|database|dbstorage| snapshotdb|dbhome[s]|db_config_params|vmtemplate|vm|cpupool|repo|orachk|fs|env_hw For complete Usage, use: oakcli -h For detailed help on each command and object and its options use: oakcli <command> -h or oakcli <command> <object> -h
  23. 23. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Auf der ODA können sowohl Single Instanz Datenbanken, wie auch RAC One Node, bzw. RAC Clusterdatenbanken laufen Wahl zwischen 3 Verfügbarkeitsstufen Single Instance Aktiv – Passiv Aktiv – Aktiv • Gute Verfügbarkeit • Oracle Database Enterprise Edition 11gR2 oder 12c • Kein Failover, automatischer Neustart • Bessere Verfügbarkeit • Oracle Database Enterprise Edition 11gR2 oder 12c • Oracle Real Application Clusters One Node • Beiderseitiges Failover möglich • Beste Verfügbarkeit • Oracle Database Enterprise Edition 11gR2 oder 12c • Oracle Real Application Clusters • Beiderseitiges Failover und Lastverteilung
  24. 24. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | ODA v12.1.2.6 unterstützte Datenbanken • Oracle Database Enterprise Edition (SI, RAC, RACOne) – 11.2.0.3.15, 11.2.0.4.160119 – 12.1.0.2.160119 • Mehrere Datenbanken & Homes (Default: 1 Home pro DB) • Alle Datenbank Optionen: ADG, Partitioning, Advanced Compression, Advanced Security, Spatial, Multitenant, InMemory.... • Keine Storage Optimierung (HCC oder Storage Indizes) • Grid Infrastruktur ist 12.1.0.2.160119 bei Neuinstallation (Immer vorhanden)
  25. 25. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Neue Datenbank Templates • Einfachere Namenskonvention – odb_<cpu_core>|<size> • Unterstützung der ODA X5-2 (72 CPU Kerne) • Funktionsweise: Wie bisher auch. Auf jeder ODA • Automatische Größenanpassung des ODA Flash Caches • Unterscheidung OLTP, DSS und InMemory • Option eine komplette Datenbank ins Flash zu legen Appliance Manager 12.1.2.2
  26. 26. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Datenbank Größen X5-2 (OLTP) ODB_ 01s 01 02 04 06 12 24 36 CPU_COUNT 2 4 8 12 24 48 72 SGA (GB) 2 4 8 16 24 48 64 128 PGA (GB) 1 2 4 8 12 24 48 64 Processes 200 400 800 1200 2400 4800 7200 Redo Log (GB) 1 2 4 Flash Cache 6 12 24 48 72 144 192 192 IOPS (1 Shelf) 42/4K 83/8K 167/16K 250/25K 500/50K 1,5K/150K MB/s (1 Shelf) 83 167 333 500 1000 3000 # DBs 36 18 9 6 3 1
  27. 27. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Datenbank Größen X5-2 (InMemory) ODB_ 01s 01 02 04 06 12 24 36 CPU_COUNT 2 4 8 12 24 48 72 SGA (GB) 2 4 8 16 24 48 96 128 PGA (GB) 1 2 4 8 12 24 48 64 Processes 200 400 800 1200 2400 4800 7200 Redo Log (GB) 1 2 4 InMemory 1 2 4 8 12 24 64 64 IOPS (1 Shelf) 42/4K 83/8K 167/16K 250/25K 500/50K 1,5K/150K MB/s (1 Shelf) 83 167 333 500 1000 3000 # DBs 36 18 9 6 3 1
  28. 28. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Exafusion “Direct to Wire” OLTP Protokoll  Hoher Durchsatz durch InfiniBand – Aber: OS Netzwerk Stack verhindert geringere Transferraten  Datenbank kommuniziert direkt mit der InfiniBand Hardware – Umgeht den OS Netzwerk Stack, Interrupts und Scheduling  Benötigt 12.1.0.2 Patch  Kein Switch notewendig 3X Schneller 28
  29. 29. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | • Verteilt InMemory Units über beide Knoten • Memory Segmente können somit größer sein als einzelnes Instanz Memory • Kein Backup einer InMemory Unit auf anderem Knoten • Automatisches oder benutzerdefinierte Verteilung ODA & In Memory: Distribute Instance A Instance B
  30. 30. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | • Dupliziert InMemory Units auf beide Knoten • Kompletter lokaler Zugriff • Komplette Ausfallsicherheit • InMemory Units maximal so groß wie InMemory einer Instanz ODA & In Memory: Duplicate Instance A Instance B
  31. 31. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Aufteilung Plattenplatz X5-2 (8TB) ASM Normal Redundancy High Redundancy Backup Lokal Extern Lokal Extern Total (TB) 61,0 61,0 40,7 40,7 +DATA 24,6 (~40%) 49,2 (~80%) 16,4 30,6 +RECO 32,6 (~53%) 8,0 (~13%) 21,7 5,0 +REDO (GB) 248 248 248 248 +FLASH (GB) 744 744 744 744 ACFS Belegt Plattenplatz in RECO Shared Repos Belegt Plattenplatz in RECO oder DATA Ohne Storage Expansion
  32. 32. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Datenbanken auf ACFS • Neue 11.2.0.4 und 12.1.0.2 nonCDB Datenbanken werden automatisch in den ACFS Filesystemen erstellt. • 12.1.0.2 CDB Datenbanken auf einem eigenen ACFS Filesystem • Da keine Performanceunterschiede auf der ODA zwischen ACFS und ASM festgestellt werden konnten ist ACFS der Default • Snapshots der DBs basieren auf ACFS • Benefits of Oracle ACFS • Oracle Database Appliance: Steps to Migrate Non-CDB Database to ACFS 32
  33. 33. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | ODA 12.1.2.X verwendet ACFS 33 Mount Point Diskgroup Verwendung Anmerkung /u01/app/oracle/oradata/datastore +REDO Redo nonCDB ACFS DBs /u02/app/oracle/oradata/datastore +DATA Datenfiles nonCDBs ACFS DBs /u01/app/oracle/fast_recovery_area /datastore +RECO FRA für nonCDBs ACFS DBs /cloudfs +RECO Cloud Filesystem ODA Konfigurator /odadatafs +REDO Internal Für oakcli Shared Repositories +DATA | +RECO Shared VM Repositories ODA VP CDB +REDO +DATA +RECO CDBs CDBs haben eigene ACFS Filesysteme
  34. 34. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Show DBStorage 34 # oakcli show dbstorage All the DBs with DB TYPE as non-CDB share the same volumes DB_NAMES DB_TYPE Filesystem Size Used Available AutoExt DiskGroup -------- ------- ------------ ------ ----- --------- ------- --------- testdb CDB /u01/app/oracle/oradata/rdotestdb 6G 4.15G 1.85G 1G REDO /u02/app/oracle/oradata/dattestdb 100G 4.27G 95.73G 10G DATA /u01/app/oracle/fast_recovery_area/rcotestdb 19G 0.45G 18.55G 1G RECO proddb non-CDB /u01/app/oracle/oradata/datastore 58G 14.28G 43.72G 5G REDO /u02/app/oracle/oradata/datastore 11946G 5.67G 11940.33G 1194G DATA /u02/app/oracle/oradata/flashdata 558G 121.24G 436.76G 55G FLASH /u01/app/oracle/fast_recovery_area/datastore 1935G 10.22G 1924.78G 193G RECO
  35. 35. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Show Filesystem 35 # oakcli show fs Type Total Space Free Space Total DG Space Free DG Space Diskgroup Mount Point ext3 55851M 39668M - - / ext3 459M 398M - - /boot ext3 93866M 62610M - - /u01 acfs 12232704M 12226899M 52428736M 27335172M DATA /u02/app/oracle/oradata/datastore acfs 102400M 98024M 52428736M 27335172M DATA /u02/app/oracle/oradata/dattestdb acfs 571392M 447238M 1526208M 382932M FLASH /u02/app/oracle/oradata/flashdata acfs 51200M 51022M 8618304M 4425040M RECO /cloudfs acfs 5120M 5033M 8618304M 4425040M RECO /odadatafs acfs 1981440M 1970979M 8618304M 4425040M RECO /u01/app/oracle/fast_recovery_area/datastore acfs 19456M 18993M 8618304M 4425040M RECO /u01/app/oracle/fast_recovery_area/rcotestdb acfs 59392M 44771M 763120M 377728M REDO /u01/app/oracle/oradata/datastore acfs 6144M 1895M 763120M 377728M REDO /u01/app/oracle/oradata/rdotestdb
  36. 36. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Datenbank & VM Snapshots • ROW Snapshot • Nur Meta-Daten werden gespeichert (<5% der Orginalgröße) • Blöcke werden erst bei Änderung geschrieben Complete Database and Application Environments Ready in Minutes App VM Snap App VM ‘Gold’ ODA_BASE Node-0 ODA_BASE Node-1 App VM Snap
  37. 37. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Snapshot von Datenbanken • 11.2.0.4 und 12.1.0.2 nonCDB • Voraussetzung: – Keine Standby DB, nicht Read-Only/Restricted Mode oder im Online Backup Modus – Archivelog Mode, alle Datenfiles online • Kein Snapshot von Redologs und Controlfiles • 12.1.0.2 PDBs 37 # oakcli create snapshotdb database -db snapprod -from prod SQL> CREATE PLUGGABLE DATABASE ...... SNAPSHOT COPY
  38. 38. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | ODA Fast Files: Nur auf der ODA!  Verbessert Snapshot Performance (Datenbanken & VM)  Beschleunigt Filesystem, indem Filesystem Metadaten auf dem Redo SSDs gespeichert werden  Copy on write Snapshot Performance entspricht nativer Filesystem- bzw. Datenbank-Performance  Vorsicht: Filesystem muss nach Upgrade angelegt werden
  39. 39. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | ODA Fast Files Hintergrund: Accelerator Volume 39 # acfsutil info fs /u02/app/oracle/oradata/datastore /u02/app/oracle/oradata/datastore ACFS Version: 12.1.0.2.0 primary volume: /dev/asm/datastore-485 metadata read I/O count: 61559 metadata write I/O count: 2043 total metadata bytes read: 32963584 ( 31.43 MB ) total metadata bytes written: 3237376 ( 3.08 MB ) accelerator volume: /dev/asm/acldatstore-205 accelerator version: 2 size: 51338280960 ( 47.81 GB ) free: 26104606720 ( 24.31 GB ) metadata read I/O count: 153960 metadata write I/O count: 5462 total metadata bytes read: 75374412288 ( 70.19 GB ) total metadata bytes written: 13384192 ( 12.76 MB ) allocation success since mount: 100 % number of snapshots: 3
  40. 40. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | ACFS Accelerator Volume • Accelerator Volume seid 12.1 (COMPATIBLE.ASM/ADVM 12.1.0.2) – Version 1: Größe 32 MB pro Knoten – Version 2 (ODA): 0,4% * Volume • Default ODA: Volume in REDO Diskgroup • Accelerator Volume wird mit mkfs angelegt: http://docs.oracle.com/database/121/OSTMG/GUID-458DC5C6-2218-4C6F-866B-1B9DAB7C278D.htm 40 # mkfs -t acfs -h mkfs.acfs: Create an ACFS file system. mkfs.acfs: Usage: [-h] [-v] [-f] [-n name] [-a <volume>] <volume> [size] mkfs.acfs: [-n name] - Name of file system to be created mkfs.acfs: [-a <volume>] - ACFS accelerator volume pathname mkfs.acfs: <volume> - ACFS primary volume pathname
  41. 41. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Redo Diskgroup „Größen Problem“ • Negativer Wert entsteht durch Accelerator Volumes • REDO ist HIGH Redundancy – verkraftet Ausfall von 2 Platten! • Usable File MB ist der Platz der benötigt wird um Redundanz wieder aufzubauen. 41 asmcmd> lsdg Type Total_MB Free_MB Req_mir_free_MB Usable_file_MB Name NORMAL 52428736 27335172 3276796 12029188 DATA/ NORMAL 1526208 382932 381552 690 FLASH/ NORMAL 8618304 4425040 538644 1943198 RECO/ HIGH 763120 377728 381560 -1277 REDO/
  42. 42. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | ODA Deployment Optionen • Ideal zur reinen DB Konsolidierung • Sonst kaum andere Software auf den DB Knoten • Teillizenzierung DB über MOS Lizenzschlüssel – 4, 8, 12, ..., 70,72 pro ODA (2,4,6...,34,36 pro Knoten) – Kerne auf beide Knoten immer gleich aktiviert – Nach erster Deaktivierung von Kernen nur Erhöhung möglich – Andere Oracle Software akzeptiert dies nicht als Hard-Partitioning! – Andere Ressourcen (Memory, Disk) werden nicht beeinflusst • Bei Auslieferung alle Kerne aktiviert • ODA: How To Reset the license core keys before re-image to Virtual (Doc ID 1559091.1) Bare Metal
  43. 43. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | ODA Deployment Optionen • Eine Appliance für Applikationen und Datenbank • Isolation zwischen Applikation und Datenbank • Teillizenzierung auf Basis von OVM Hard Partitioning – Datenbanken laufen in einem privilegierten Gast (ODA_BASE) – 4, 8, 12, ..., 70,72 pro ODA (2,4,6...,34,36 pro Knoten) – Kerne auf beide Knoten immer gleich aktiviert / gepinnt – Unterschiedliche Anzahl der Kerne auf beiden Knoten NICHT möglich – Jederzeit Anpassung der CPUs und Memory der ODA_BASE – Andere Oracle Applikationen akzeptieren dies als Hard Partitioning Virtualisiert
  44. 44. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | ODA Flash Cache – SSD für Datenbankdateien  1.6TB raw / 800 GB Redundanter Flash Speicher  Anlegen einer Datenbank komplett im Flash mit “oakcli create database”  “Hot” Tablespaces ‐ Manuell verschieben von Tablespaces/Partitionen auf Flash ‐ Anlegen von Tablespaces direct im +FLASH Filesystem ‐ Optimal geeignet für Advanced Data Optimization Flash Tier Disk Tier Up to 6X throughput increase
  45. 45. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | ODA Fast Flash Cache – Datenbank Buffer Cache  Nur auf der ODA: „Shared Flash Cache“  Cache im Shared Storage  Besseren I/O Durchsatz  DBWR schreibt auf Flash und Disk gleichzeitig  Leseoperationen werden aus dem Flash Cache bedient
  46. 46. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Flash Cache Hintergrund Informationen • INIT.ORA Parameter: 46 NAME VALUE ------------------------------------ ----------------------------------------- _cluster_flash_cache_slave_file /u02/app/oracle/oradata/flashdata/.ACFS/snaps/flashcache/proddb/flash2 _db_flash_cache_max_outstanding_writes 160 _db_flash_cache_write_limit 6 db_flash_cache_file /u02/app/oracle/oradata/flashdata/.ACFS/snaps/flashcache/proddb/flash1 db_flash_cache_size 12G
  47. 47. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Flash Cache – wann Sinnvoll? • Wenn Datenbank von mehr DB Block Buffers profitiert 47
  48. 48. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Agenda 48 Oracle Database Appliance (ODA) - Hardware Oracle Database Appliance - Software Setup ODA VM auf ODA Snapshots Diverses 1 2 3 4 5 6
  49. 49. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Setup ODA Bare Metal / Virtualisiert 7. Empfohlen: Patching 8. Installation über Appliance Configurator 6. Software End-User Bundle ODA_BASE 4. Validierung 5. Firstboot Netzwerkkonfiguration 3. ReImaging Optional: ODA Bare Metal ISO Erforderlich: ODA VM ISO Image 1. Vorbereitung 2. Hardware Verkabelung & Setup
  50. 50. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 1. Vorbereitung • My Oracle Support Notes: – 888888.1: Supported Versions => DB Software & Patches Herunterladen – ODA Setup Poster: http://docs.oracle.com/cd/E22693_01/index.htm • Appliance Manager (Offline Konfiguration) vorher ausführen – Download und Installation von OTN (Windows, Linux, OSX) – Konfigurator im zukünftigen ODA Netz ausführen zum Check der Netzwerkkonfiguration – Konfigurationsfile abspeichern • http://www.oracle.com/technetwork/server-storage/engineered- systems/database-appliance/index.html
  51. 51. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Details für die Konfiguration • Bare Metal / VM (Vorsicht: 2 Zusätzliche Hostnamen für Hypervisor), Angabe Hardware • System Name (frei wählbar) • Region, Zeitzone, Datenbank Deploymen, Backup, ASM Redundancy • Domäne, DNS Server (Nein: Dann Custom Konfiguration auswählen), NTP Server • Client Access Public Network Hostnamen, IP Adressen und Netzmaske • Virtuelle IP Namen, IP Adressen (Default -vip), Scan Namen (Default: -scan) + 2 IP Adressen, Netmask, Gateway und verwendetes Interface • ILOM Netzwerk Informationen (Optional, oder überspringen, falls vorher schon geschehen) • 2. Netz (Optional) • Datenbank? Name, Größe, Sprache, Character Set, DB Console • ASR Proxy und MOS Username/Passwort (Optional) • Cloud Filesystem (ACFS)
  52. 52. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 2. Verkabelung & 4. Validierung • Wichtig: Vor dem ersten Einschalten sicherstellen, dass alle Kabel lt. Setup Poster richtig angeschlossen sind – Knoten erkennen Anhand Verkabelung Ihre Knotennummer • Das Ganze mit oakcli validieren: # oakcli validate –c storageTopology
  53. 53. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 3. Reimaging der Knoten • Default bei Auslieferung: Bare Metal Image • Vorsicht: ODA sollte auf 12.1.2.5 sein, bevor Reimaged wird (Firmware) • ODA VM: Reimaging mit: – Patch 16186163 – Oracle Database Appliance 12.1.2.6.0 VM ISO Image. (DOM0) – MOS 1520579.1: Step by Step Installing VM Image on ODA • Erfahrungen bei Leihsystemen: Auch bei Bare Metal ein Reimage empfehlenswert – Patch 12999313 – Oracle Database Appliance 12.1.2.6.0 Bare Metal ISO Image – MOS 1373599.1 ODA Bare Metal Restore
  54. 54. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 5. Initiale Netzwerkkonfiguration • Netzwerk Konfiguration • Kopieren der Software/Base Images mit pscp, winscp nur auf Knoten 0 notwendig. # cd /opt/oracle/oak/bin # ./oakcli configure firstnet Select the interface to configure network on [bond0]:bond0 Configure DHCP on bond0?(yes/no):no INFO: Static configuration selected Enter the IP address to configure:192.168.0.1 Enter the netmask address to configure:255.255.252.0 Enter the gateway address to configure:192.168.0.0
  55. 55. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 6. Software • Baremetal: – Patch 12978712 - Oracle Database Appliance 12.1.2.6.0 End User Bundle (GI+RDBMS) – Enpacken der Software • Virtualisiert: – Patch 16186172 - Oracle Database Appliance 12.1.2.6.0 VM Template (ODA_BASE) – Erstellen der ODA_BASE VM # cd /opt/oracle/oak/bin # ./oakcli deploy oda_base # cd /opt/oracle/oak/bin # ./oakcli unpack -package /tmp/p12978712_28000_Linux-x86-64.zip
  56. 56. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Optionaler Schritt: Teillizenzierung • Bare Metal – Keine Aktion bei Verwendung aller CPUs – Zum Anpassen des CPU Core Counts: • MyOracleSupport • Angabe der Serverkonfiguration • Erhalt eines Lizenzschlüssels • Lizenzeschlüssel mit oakcli anwenden (System startet durch) • Virtualisiert: – Angabe der CPU und Memory bei Deployment der ODA_BASE – CPUs & Memory sind exklusiv für ODA_Base # /opt/oracle/oak/bin/oakcli apply core_configuration_key /tmp/myfile.txt
  57. 57. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Exkurs: Patching Aktueller Patchset, PSU und alle kritischen One-Off’s Complete Unpack Patch Datei 21 Download Bundle Patch 3 Update OS, Storage, FW, ILOM, BIOS Fertig4 Update Grid Infrastructure 5 Update Datenbank(en)
  58. 58. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | ODA Patching • Patching modes – Local Patching • Local patching is already available in 12.1.2.6.0 – Rolling Patching • Rolling Patching will be available from 12.1.2.7.0 Oracle Confidential – Internal/Restricted/Highly Restricted 58 2.X 12.1.2.0 12.1.2.5 12.1.2.6
  59. 59. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 7. Empfohlen: Patching • Es gibt genau einen Patch für Bare Metal und VM! – ODA Patch 12.1.2.5.0 Patch 21645601 – Kopieren auf beide Bare Metal Knoten bzw. in beide ODA Base – Aufruf des INFRA Patch Teils vor Deployment stellt neue Firmware, BIOS, ILOM und OS (letzteres, falls nicht schon über Image Restore). Auf beiden Knoten bzw. ODA_BASES # cd /opt/oracle/oak/bin/ # ./oakcli unpack –package /tmp/p17630367_28000_Linux-x86-64.zip Nur auf Knoten 0 # ./oakcli update -patch 2.8.0.0.0 –verify # ./oakcli update -patch 2.8.0.0.0 –infra
  60. 60. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Optionen beim Patchen # oakcli update -patch -h Usage: oakcli update -patch <version> [[--infra] | [[--gi] [--database ]]] [--noreboot] | [--clean ] | [--verify] Where: --infra - [Default] Patches infrastructure [firmware, OS, ASR, HMP,OAK e.t.c] --gi - Patches the GridInfrastructure --database - Patches the oracle database homes --clean - Clean up all temporary files on the local node. --noreboot - Node will not be rebooted after patching. --verify - Shows the patchable components on the node.
  61. 61. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Beispiel: Patch 2.8.0.0.0 # /opt/oracle/oak/bin/oakcli update -patch 2.8.0.0.0 –verify INFO: 2013-11-28 11:18:50: Reading metadata . It takes a while... Component Name Installed Version Proposed Patch Version --------------- ------------------ ----------------- Controller_INT 11.05.02.00 11.05.03.00 Controller_EXT 11.05.02.00 11.05.03.00 Expander 0010 0018 SSD_SHARED 9432 9440 HDD_LOCAL A31A Up-to-date HDD_SHARED A31A Up-to-date ILOM 3.1.2.10 r74387 3.1.2.10.d r83372 BIOS 17021300 17050100 IPMI 1.8.10.5 Up-to-date HMP 2.2.6.2 2.2.6.4 OAK 2.7.0.0.0 2.8.0.0.0 OEL 5.9 Up-to-date OVM 3.2.3 Up-to-date GI_HOME 11.2.0.3.7(16619892, 11.2.0.4.0 16742216) DB_HOME 11.2.0.3.7(16619892, 11.2.0.3.8(16902043, 16742216) 17076717)
  62. 62. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Beispiel: Upgrade einer Datenbank Upgrading 11.2.0.3.2 nach 12.1.0.2.1 Vorher: # oakcli show databases Database Name Database Type Database HomeName Database HomeLocation Database Version Tpcc RAC dbhome11203 /u01/app/oracle/product/11.2.0.3/dbhome_1 11.2.0.3.2(13696216,13696251) # ./oakcli upgrade database –db tpcc Nacher # oakcli show databases Database Name Database Type Database HomeName Database HomeLocation Database Version tpcc RAC DBhome12102 /u01/app/oracle/product/12.1.0.2.1/dbhome_1 12.1.0.2.1
  63. 63. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 8. End User Installation • BareMetal: Login auf Knoten 0 (als root) • VM: Login über VNCConsole von Dom0 (Alternativ: xm console und oakcli configure firstnet) • Start X Window System – startx – system-config-keyboard • Installation – Welcome Page <NEXT> – Überprüfen der Konfiguration – Auf der Summary Page <INSTALL> # cd /opt/oracle/oak/bin # ./oakcli deploy [-conf file]
  64. 64. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Falls etwas falsch war: Neustart • Cleanup: • Alles wird zurückgesetzt: – Deinstallation Datenbank/Clusterware – ASM – Netzwerkkonfigration • Danach: oakcli configure firstnet /opt/oracle/oak/onecmd/cleanupDeploy.pl
  65. 65. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Einzelne Schritte wiederholen • Einzelne Schritte einer Installation wiederholen: • ODA Getting Started Guide, Appendix A: ODA GridInst.pl # cd /opt/oracle/oak/onecmd # ./GridInst.pl –r 20-24
  66. 66. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Neue 12c Datenbanken: oakcli • ODA Administration and Reference Guide, Kapitel 2 • DB Releases (RDBMS Clone) auf ODA v12.1.2.X: – Patch 19520042 - 12.1.0.2.X Clone Patch – Patch 17770873 - 11.2.0.4.X Clone Patch – Patch 14777276 - 11.2.0.3.X Clone Patch # oakcli create –h Usage: oakcli create {database | dbhome | db_config_params } [<options>] Where: database - creates the database dbhome - creates the database home db_config_params - creates the database config parameter file. # oakcli create dbhome -version 11.2.0.4 # oakcli create database -db newdb -version 11.2.0.4 -params newconf # oakcli create database -db newdb -version 12.1.0.2 -cdb
  67. 67. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Agenda 67 Oracle Database Appliance (ODA) - Hardware Oracle Database Appliance - Software Setup ODA VM auf ODA Snapshots Diverses 1 2 3 4 5 6
  68. 68. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Virtualisierung auf der ODA • Partitionierung der Cores zur Isolierung von Workload • Unterstützung von VLANs • High Availability von Gast VMs (Automatischer Neustart und Failover) • Snapshot von VMs • Start/Stop VMs • VDisk Management • Anlegen von Shared Repositories für VMs und VDisk Storage Applikationen in eigenen VMs Node 1 Database Domain Application Domain Application Domain Application Domain Database Domain Application Domain Application Domain Application Domain Node 2
  69. 69. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | VM Auf ODA • Datenbank(en) laufen in der ‘ODA BASE’ mit Nativer Disk Performance • App Domains für die Applikationen • Appliance Manager bietet VM Templates und Domain Management • Keine Integration OVM Manager Wie funktionierts? DOM 0 VM Storage Repository ODA BASE • Appliance Manager • Grid Infrastructure • Database Node 1 App Domain App Domain DOM 0 VM Storage Repository ODA BASE • Appliance Manager • Grid Infrastructure • Database Node 2 App Domain App Domain App Domain Oracle Database Appliance App Domain
  70. 70. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | DOM 0 • Default domain nach Installation des oakVM image • Bootstrap des Deployment Prozesses • Initiale Netzwerkkonfiguration • Initiale Zuweisung der Kerne für ODA BASE • OVM 3.2.8. Hypervisor für Oracle VM DOM 0 VM Storage Repository ODA Base • Appliance Manager • Grid Infrastructure • Database Node 1 Domain U Domain U DOM 0 VM Storage Repository ODA Base • Appliance Manager • Grid Infrastructure • Database Node 2 Domain U Domain U Domain U Oracle Database Appliance Domain U
  71. 71. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | ODA Base • ODA Base priviliegierte VM Domain • Datenbanken werden in ODA Base angelegt • SI, RAC, RAC One Node • Zugewiesene CPU und Memory Exclusiv für ODA Base • Exclusiver Plattenzugriff Dasselbe “Look & Feel” und Performance wie auf Bare Metal DOM 0 VM Storage Repository ODA Base • Appliance Manager • Grid Infrastructure • Database Node 1 Domain U Domain U DOM 0 VM Storage Repository ODA Base • Appliance Manager • Grid Infrastructure • Database Node 2 Domain U Domain U Domain U Oracle Database Appliance Domain U
  72. 72. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Lokale & Shared Repositories (ab v2.8) Shared disk DomU4 ODA BASE Node-1 DomU1 DomU2 ODA BASE Node-0 Dom0 ASM Grid Infra Databases VM Management Dom0 DomU3 ASM Grid Infra Databases VM Management Data Shared file system Shared Repository VM Repository (Local Disk) VM Repository (Local Disk)
  73. 73. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Architektur Details • ODA_BASE: Exklusiver Plattenzugriff via PCI passthrough der LSI HBAs. • ACFS Filesystem für Shared Disk Repository • ACFS via. NFS über den Interconnect an Dom0 auf dem Knoten exportiert – Gemounted unter /OVS/Repositories/<acfs_name> – Beide Knoten haben Zugriff auf das Shared Repository (HA!) • Neu: Gleichzeitiger Zugriff auf dieselben VM Images.
  74. 74. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Shared Repository • Shared Repository – Zusätzliche Kapazität für VMs – VM Auto Restart & Failover – OAKCLI Integration Storage für VMs auf Shared Disks Guest VM Guest VM ODA_Base Node-0 ODA_Base Node-1 Guest VM HDDs Cache SSDs Log SSDs Shared Repository Shared Storage
  75. 75. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Gast VM Hochverfügbarkeit – VM Auto Restart • VM Auto Restart – Ungeplante VM Fehler – Auto Restarts VM auf gleichem Knoten ohne manuelles Eingreifen VM Auto Restart Guest VM Guest VM ODA_Base Node-0 ODA_Base Node-1 Guest VM Guest VM HDDs Cache SSDs Log SSDs Shared Repository Shared Storage
  76. 76. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Gast VM Hochverfügbarkeit – VM Gast Failover • VM Failover – Ungeplanter Server Fehler – Auto Restarts VM auf anderem Knoten ohne manuelles Eingreifen VM Failover Guest VM Guest VM ODA_Base Node-0 ODA_Base Node-1 Guest VM Guest VM HDDs Cache SSDs Log SSDs Shared Repository Shared Storage
  77. 77. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Gast VM Storage – VDisk Management • Dynamischer Erweitern des VM Plattenplatzes • Unterstützt exclusive und shared VDisk • OAKCLI integration Zusätzlicher VM Guest Storage ODA_BASE Node-0 Shared Repository Node-1 VDisk-1 VDisk-2 VM Template Guest VM Guest VM VDisk-3 ODA_BASE
  78. 78. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Wie kommt eine VM auf die ODA? • Man braucht: 1 Template – Herunterladen eines Templates von Edelivery (z.B Standard Linux Template) – Migration einer VM von OVM oder Virtual Box – Erstellen eigenes „Templates“ über Template Builder oder Assembly Builder • Import des Templates im Repository (*.tgz oder *.ova) oder HTTP • Konfiguration des Templates # ./oakcli import vmtemplate <vmtemplatename> { -assembly <assembly file> | -files <image files> } -repo <repo_name> [-node <0|1>] # ./oakcli configure vmtemplate ... # ./oakcli modify vmtemplate ...
  79. 79. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Erzeugen der VM • Klonen aus dem Template • Konfiguration der VM # ./oakcli clone vm SoliVM –vmtemplate oel5 –repo odarepo1 -snap # ./oakcli configure vm ...
  80. 80. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Wichtige Attribute für VMs -vcpu - (1-32) num. of cpu's assigned to the VM|VMTemplate -cpuprio - (1-65535) large value has high priority -memory - (1-248)G or (1-253952)M. Memory given to VM|VMTemplate -disk - List of disks{slot,disktype,content} sed by VM|VMTemplate -network - List of networks and MAC address used by VM|VMTemplate -prefnode - Preffered node on which VM has to be started [0/1] -cpupool - assign cpupool to vm -autostart - [always | restore | never] -failover - [true | false] -bootoption - BootOption used to bootstrap(for VM only) [PXE | DISK | CDROM] -os - OS used by VM|VMTemplate [ WIN_2003 | WIN_2008 | WIN_7 | WIN_VISTA | OTHER_WIN | OL_4 | OL_5 | OL_6 | RHL_4 | RHL_5 | RHL_6 | LINUX_RECOVERY | OTHER_LINUX | SOLARIS_10 | SOLARIS_11 | OTHER_SOLARIS | NONE ] -domain - XEN VM|VMTemplate domain types [XEN_HVM | XEN_HVM_PV_DRIVERS | XEN_PVM | UNKNOWN ]
  81. 81. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | ODAVP: • ODAVP: How To Create a Fully-Virtualized Guests (HVM) from an OS ISO image (Doc ID 1524138.1) • ODAVP: Migrating systems to ODA Virtualized Platform (ODA VP) (Doc ID 1608367.1) • ODAVP: How to move a VM from local to a shared repository (Doc ID 1601860.1) • ODAVP: How to create a VM template from a Guest VM (Doc ID 1668933.1) • ODAVP: HowTo backup/restore your VM Guest (Doc ID 1633166.1) • ODA (Oracle Database Appliance): HowTo export ACFS (cloudfs) using HANFS (Doc ID 1934030.1) • ODAVP (Oracle Database Appliance Virtualized Platform): Guest VM replication (Doc ID 1993072.1)
  82. 82. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | CPU Pool • 36 Kerne pro Knoten • 72 vCPUs pro Knoten • Verwenden der CPU Pool für Hard Partitionierung, Isolation und Failover Pinned and Unpinned
  83. 83. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Agenda 83 Oracle Database Appliance (ODA) - Hardware Oracle Database Appliance - Software Setup ODA VM auf ODA Snapshots Diverses 1 2 3 4 5 6
  84. 84. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | ODA X5-2 Storage Architecture Disk Disk Group Volumes Used For HDD Outer Rings +DATA data Database data files HDD Outer Rings +DATA Repo1.. repoN Shared Repository for VMs, VDisk HDD Inner Rings +RECO reco Database archive logs, RMAN backups (Fast Recovery Area) HDD Inner Rings +RECO Repo1.. repoN Shared Repository for VMs, VDisk HDD Inner Rings +RECO cloudfs Clustered file system – files that need to be accessed by either server node SSD +REDO redo Database redo logs SSD +FLASH flash Frequently accessed data ASM Disk Groups +DATA, +RECO, +REDO, +FLASH ASM Cluster File System (ACFS) data reco redo repo1..N HDDs Log SSDs Cache SSDs flash
  85. 85. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Datenbank & VM Snapshots • ROW Snapshot • Nur Meta-Daten werden gespeichert (<5% der Orginalgröße) • Blöcke werden erst bei Änderung geschrieben Complete Database and Application Environments Ready in Minutes App VM Snap App VM ‘Gold’ ODA_BASE Node-0 ODA_BASE Node-1 App VM Snap
  86. 86. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Snapshot von Datenbanken • 11.2.0.4 und 12.1.0.2 nonCDB • Voraussetzung: – Keine Standby DB, nicht Read-Only/Restricted Mode oder im Online Backup Modus – Archivelog Mode, alle Datenfiles online • Kein Snapshot von Redologs und Controlfiles • 12.1.0.2 PDBs 86 # oakcli create snapshotdb database -db snapprod -from prod SQL> CREATE PLUGGABLE DATABASE ...... SNAPSHOT COPY
  87. 87. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Snapshot von VMs • Empfehlung: Offline Snapshots von Templates & VMs (Schnelles Provisioning) • Online Snapshots = Wie ein Crash des Gastsystems – Teilweise Workaround: Pause / Snapshot / Unpause • Snap Clones: Nur lokale Platten, nicht von Shared VDisk • Separater Clone von Vdisk • ODAVP: HowTo backup/restore your VM Guest (Doc ID 1633166.1) 87 # oakcli clone vm vm_name -vm src_name –snap # oakcli clone vm vm_name -vmtemplate template_name -snap
  88. 88. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Agenda 88 Oracle Database Appliance (ODA) - Hardware Oracle Database Appliance - Software Setup ODA VM auf ODA Snapshots Diverses 1 2 3 4 5 6
  89. 89. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | ODA VLAN Unterstützung • Netzwerk Anforderungen • Management Zugriff – Systemadministratoren und DBAs • Backup Netzwerk – RMAN Backup • Public Netzwerk - Applikationsnetzwerk
  90. 90. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | ODA VLAN auf Bare Metal • Enable 8021.Q VLAN Tagged Interfaces for external client access networks (Doc ID 1500709.1)
  91. 91. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Hardware Health Check • Kontinuierliche Check der Hardware Komponenten • OAKCLI Interface zur Abfrage des Status • Unterstützt sowohl Bare Metal als auch virtuelle Plattform Server health details, power state, ambient temperature, locator indicator, power consumption, open problems count/detail Processor health details Memory health details, correctable ECC errors Cooling Units health details, % , RPM Network health details, LinkStatus, Die temp. Power Supply health details, InputPower, OutputPower, InletTemp, ExhaustTemp
  92. 92. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Hardware Monitoring # ./oakcli show server Power State : On Open Problems : 0 Model : ODA X3-2 Type : Rack Mount Part Number : 31827441+1+1 Serial Number : 1323FM0006 Primary OS : Not Available ILOM Address : 192.168.52.51 ILOM MAC Address : 00:10:E0:39:EC:70 Description : Oracle Database Appliance X3-2 1323FM0006 Locator Light : Off Actual Power Consumption : 224 watts Ambient Temperature : 20.750 degree C Open Problems Report : System is healthy
  93. 93. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | • Enterprise Manager Plug-in – Verwalten der ODA wie andere Systeme im Enterprise Manager – Monitoring und Administration von mehreren ODAs – Aggregation und Analyse von mehreren ODAs ODA Integration im Enterprise Manager 93
  94. 94. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 94
  95. 95. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 95
  96. 96. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 96
  97. 97. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 97
  98. 98. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 98
  99. 99. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Einfache Diagnose • ASR (Auto Service Request) – Überwacht und erzeugt automatisch Service Requests, falls Hardware Komponenten in Gefahr laufen auszufallen • Überprüfung des kompletten Systems (Hardware & Software) – oakcli validate & oakcli orachk – Validiert Hardware & Software und zeigt Anomalien oder Verletzung von Best Practices auf • Diagnose Daten sammeln – oakcli diagcollect – Sammelt alle relevaten Hardware und Software Logs in einem Zipfile (verwendet TFA)
  100. 100. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Backup • Backup and Recovery Strategies for the Oracle Database Appliance • Backup VMs: ODAVP: HowTo backup/restore your VM Guest (Doc ID 1633166.1) • Backup Datenbank: RMAN • OS: Oracle Secure Backup • Oracle Database Appliance : How to perform Bare Metal Restore of a Single node on ODA 12.1.x (Doc ID 1964234.1) Confidential – Oracle Internal/Restricted/Highly Restricted 100
  101. 101. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | MOS Notes • ODA - Supported Versions & Known Issues (Doc ID 888888.1) • Oracle Database Appliance ( ODA )End User Deployment (Doc ID 1373617.1) • Oracle Database Appliance Bare Metal Restore Procedure. (Doc ID 1373599.1) • Step by Step Instructions on Installing Virtualized Image on ODA (Doc ID 1520579.1) • ODA (Oracle Database Appliance): Test Plan Outline (ID 1474273.1)
  102. 102. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | ODA External Documents & Links ● Landing Page: http://www.oracle.com/us/products/database/database-appliance/index.html ● Oracle Technology Network: http://www.oracle.com/technetwork/server-storage/engineered-systems/database-appliance/index.html ● Documentation Library: http://docs.oracle.com/cd/E22693_01/index.htm ● ODA Setup Poster (X5-2) http://docs.oracle.com/cd/E22693_01/doc.12/e55694.pdf ● ODA Appliance Manager http://www.oracle.com/technetwork/server-storage/engineered-systems/database-appliance/overview/oda-configurator- 1928685.html ● ODA Whitepapers http://www.oracle.com/technetwork/server-storage/engineered-systems/database-appliance/overview/db-appliance-wp- 2065523.html
  103. 103. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 103

×