oracle database appliance x4-2

45
Ileana Someşan, Senior Systemberaterin Oracle Database Appliance X4-2 Ein Überblick

Upload: ileana-somesan

Post on 05-Dec-2014

953 views

Category:

Technology


5 download

DESCRIPTION

Mein Vortrag zur Oracle Database Appliance X4-2 auf dem Oracle Fokustag "Integrierte Systeme für mittelständische Unternehmen". Berlin, 3.04.2014.

TRANSCRIPT

Ileana Someşan, Senior Systemberaterin

Oracle Database Appliance X4-2 Ein Überblick

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 2 [email protected]

Prinzip: Einfachheit

– Oder wissen Sie, welcher Chip in Ihrem

iPhone verbaut ist?

Oracle Database Appliance

– Integriertes System für die einfache

Installation und den einfachen Betrieb

eines Oracle Datenbankclusters

Appliance: eine Analogie

© Apple Inc.

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 3 [email protected]

Oracle Database Appliance 2011 und heute

v1 X4-2

Arbeitsspeicher 192 GB 512 GB

CPU-Kerne 24 48

Plattenplatz 12 TB Brutto 18 TB – 36 TB Brutto

Software nur Oracle Datenbanken keine Einschränkung

Virtualisierung keine ja

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 4 [email protected]

Agenda

Oracle Database Appliance (ODA)

ODA-Hardware, Betriebsoptionen

Oracle Datenbanken auf ODA

Virtualisierung

Vorteile ODA

Diverses

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 5 [email protected]

Oracle Database Appliance

Eine Datenbankplattform

– Für den Betrieb von Oracle Datenbanken

Eine Lösungsplattform

– Für den Betrieb von Datenbanken und Applikationen (von Oracle, von Fremdanbietern,

eigenentwickelt)

Seit 2011

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 6 [email protected]

ODA-Vorteile auf einen Blick

Ein fertiges System

– Alle HW- und SW-Komponenten, die eine hochverfügbare Oracle DB benötigt

– Integriert und vorgetestet von Oracle

Einfach

– Schnelle Installation

– Einfaches Patching

1 Supportansprechpartner

Physikalische oder virtualisierte Plattform

Skalierbares Lizenzmodell

– Teil-Lizenzierung der Oracle Software möglich

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 7 [email protected]

Agenda

Oracle Database Appliance (ODA)

ODA-Hardware, Betriebsoptionen

Oracle Datenbanken auf ODA

Virtualisierung

Vorteile ODA

Diverses

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 8 [email protected]

Basiskonfiguration X4-2 Ausfallsichere Plattform

2 Server

– Je 2 CPUs Intel Xeon je 12-Kerne

– Insgesamt 48 Kerne

– Insgesamt 512 GB Arbeitsspeicher

– Clusterkommunikation über redundantes

10 GbE Interconnect

– Externes 10 GBase-T Netzwerk

1 Storage-Einheit

– 24 Platten, direkt angeschlossen

– 800 GB (brutto) SSD für DB Redo-Logs

– 18 TB (brutto) HDD für Nutzdaten

– Wahl zwischen 2- oder 3-fach Spiegelung

4U

Data Sheet Oracle Database Appliance

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 9 [email protected]

Storage Erweiterungen Für mehr Speicherplatz

Zusätzliche Storage-Einheit für ODA

– Verdoppelt die Storage-Kapazität

– 1.6 TB (brutto) SSD für DB Redo-Logs

– 36 TB (brutto) HDD für Nutzdaten

– 2-fach oder 3-fach gespiegelt

– Inbetriebnahme ohne Ausfallzeiten

– Automatische Datenverteilung

Externer NFS-Storage

– z.B. ZFS Storage Appliance

6U

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 10 [email protected]

Virtualisierte Plattform

– Virtualisierung mit Oracle VM Server: sog.

Re-Imaging erforderlich

– Eignet sich zur Konsolidierung von

Datenbanken und Applikationen

– Vorteil: Isolation zwischen den

Arbeitslasten

2 Betriebsoptionen

Bare Metal Plattform

– Physikalische ODA

– Default bei der Auslieferung

– Eignet sich zur Konsolidierung Oracle

Datenbanken

Seit Januar 2013

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 11 [email protected]

Agenda

Oracle Database Appliance (ODA)

ODA-Hardware, Betriebsoptionen

Oracle Datenbanken auf ODA

Virtualisierung

Vorteile ODA

Diverses

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 12 [email protected]

Unterstützte Datenbanken

Oracle Datenbank Enterprise Edition (EE)

Eine oder mehrere Datenbanken

Single Instance oder Clusterdatenbanken: RAC One Node, RAC

– Können gleichzeitig betrieben werden

– Upgrade möglich

Unterschiedliche DB-Versionen (DB-Homes) möglich

– Aktuell: 11.2.0.2.x, 11.2.0.3.x, 11.2.0.4.x

– Demnächst: 12c

Alle Datenbank-Optionen und Management Packs

– Partitioning, Advanced Compression, Active Data Guard, ....

– Diagnostics Pack, Tuning Pack,...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 13 [email protected]

Wahl zwischen 3 Verfügbarkeitsstufen

• Oracle Database

Enterprise Edition

• Gute Verfügbarkeit

• Kein Failover,

automatischer

Neustart

Single Instance DB

• Oracle Database

Enterprise Edition

+

Oracle RAC

• Beste Verfügbarkeit

• Beiderseitiges

Failover und

Lastverteilung

Aktiv-aktiv Cluster

• Oracle Database

Enterprise Edition

+

Oracle RAC One

• Bessere

Verfügbarkeit

• Beiderseitiges

Failover möglich

Aktiv-passiv Cluster

Empfohlen

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 14 [email protected]

Oracle DB-Stack auf ODA

Oracle Linux Unbreakable Enterprise Kernel (UEK) 64 Bit

Oracle Appliance Manager

Oracle Grid Infrastructure • Automatic Storage Management (ASM)

• Oracle Clusterware

Oracle Datenbank Enterprise Edition

Oracle Datenbank Optionen & Management Packs

Single Instance RAC One Node RAC

Physikalische Hardware oder Oracle VM

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 15 [email protected]

DB-Templates auf ODA

XXS XS S M L XL XXL XXXL

CPU_COUNT 2 2 4 8 12 24 32 48

SGA (GB) 2 4 8 16 24 48 64 96

PGA (GB) 1 2 4 8 12 24 32 48

Processes 200 200 400 800 1200 2400 3200 4800

Redo Log (GB) 1 1 1 2 4 4 4 4

IOPS (1 Shelf) 137 137 275 550 825 1650 3300 3300

MB/s (1 Shelf) 145 145 292 583 875 1750 3500 3500

# DBs 24 24 12 6 4 2 1 1

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 16 [email protected]

Wieviel Platz steht zur Verfügung?

ASM Normal Redundancy High Redundancy

Backup Lokal Extern Lokal Extern

Total (TB) 8,2 8,2 5,5 5,5

+DATA 3,6 (~45%) 7,2 (~88%) 2,4 4,8

+RECO 4,6 (~55%) 1,0 (~12%) 3,0 0,7

+REDO (GB) 248 248 248 248

ACFS Belegt Plattenplatz in RECO

Shared Repos Belegt Plattenplatz in RECO oder DATA

Ohne Storage Expansion

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 17 [email protected]

Agenda

Oracle Database Appliance (ODA)

ODA-Hardware, Betriebsoptionen

Oracle Datenbanken auf ODA

Virtualisierung

Vorteile ODA

Diverses

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 18 [email protected]

Virtualisierte ODA Architektur

Eine privilegierte VM (ODA Base)

– Darin laufen die Oracle Datenbanken

Benutzer VMs

– Darin laufen die Benutzerapplikationen

Verwaltung der VMs über

Oracle Appliance Manager

– oakcli-Befehle

Eine privilegierte VM (ODA Base)

– Darin laufen Oracle Datenbanken

– Exklusiver Plattenzugriff für native Disk

Performance

Benutzer VMs

– Darin laufen Ihre Applikationen

– Zugriff auf den Shared Storage

Hochverfügbarkeit

Verwaltung der VMs über

Oracle Appliance Manager

ODA Base • Oracle Database

• Grid Infrastructure

•Appliance Manage

ODA Server 1

App Domain

App Domain

ODA Base • Appliance Manager

• Grid Infrastructure

• Oracle Database

ODA Server 2

App Domain

App Domain

App Domain

App Domain

ODA Base - Oracle Database

- Grid Infrastructure

- Appliance Manager

- Oracle Linux

ODA Base - Oracle Database

- Grid Infrastructure

- Appliance Manager

- Oracle Linux

Dom 0 Dom 0

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 19 [email protected]

DOM 0

Privilegierte

ODA Base • Oracle Database

• Grid Infrastructure

•Appliance Manage

ODA Server 1

App Domain

App Domain

ODA Base • Appliance Manager

• Grid Infrastructure

• Oracle Database

ODA Server 2

App Domain

App Domain

App Domain

App Domain

ODA Base - Oracle Database

- Grid Infrastructure

- Appliance Manager

- Oracle Linux

ODA Base - Oracle Database

- Grid Infrastructure

- Appliance Manager

- Oracle Linux

Dom 0 Dom 0

Privilegierte VM

– Erste Domäne nach der Installation des

ODA Virtualized Image

– Kommuniziert direkt mit dem Hypervisor

– Initiale Netzwerkkonfiguration

– Initiale Zuweisung der Kerne für

ODA BASE

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 20 [email protected]

DOM1 (ODA Base)

Privilegierte

ODA Base • Oracle Database

• Grid Infrastructure

•Appliance Manage

ODA Server 1

App Domain

App Domain

ODA Base • Appliance Manager

• Grid Infrastructure

• Oracle Database

ODA Server 2

App Domain

App Domain

App Domain

App Domain

ODA Base - Oracle Database

- Grid Infrastructure

- Appliance Manager

- Oracle Linux

ODA Base - Oracle Database

- Grid Infrastructure

- Appliance Manager

- Oracle Linux

Dom 0 Dom 0

Privilegierte VM

– Oracle Datenbanken müssen in Oracle

Base angelegt werden

– Single Instance, RAC One Node, RAC

– Exklusiver Plattenzugriff für native Disk

Performance

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 21 [email protected]

Benutzer VMs

Privilegierte

ODA Base • Oracle Database

• Grid Infrastructure

•Appliance Manage

ODA Server 1

App Domain

App Domain

ODA Base • Appliance Manager

• Grid Infrastructure

• Oracle Database

ODA Server 2

App Domain

App Domain

App Domain

App Domain

ODA Base - Oracle Database

- Grid Infrastructure

- Appliance Manager

- Oracle Linux

ODA Base - Oracle Database

- Grid Infrastructure

- Appliance Manager

- Oracle Linux

Dom 0 Dom 0

Jedes Gast-Betriebssystem, das auf

Oracle VM 3.2 unterstützt ist

– Supported Guest Operating Systems

VM Files im Shared Repository speichern

– ACFS File System

Beide ODA-Knoten haben Zugriff auf das

Shared Repository

– Hochverfügbarkeit

– Bei Ausfall einer VM:

VM Autorestart auf dem gleichen Knoten

oder VM Failover auf anderen Knoten

konfigurieren

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 22 [email protected]

Wie kommt eine VM auf ODA?

Sie benötigen ein Oracle VM Template

– Vorkonfigurierte Oracle VM Templates

auf https://edelivery.oracle.com (z.B.

Oracle WebLogic Server)

– Template selbst erstellen und auf ODA

migrieren (My Oracle Support Note

1608367.1)

VM erzeugen und konfigurieren

– Oracle Appliance Manager Befehle

– Attribute für VMs: -failover,

-autorestart, -cpupool, ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 23 [email protected]

Beispiel: Oracle WebLogic Server auf ODA

1. Vorkonfiguriertes Oracle VM Template mit

WebLogic Server von OTN herunterladen

und installieren

– Oracle Linux + WebLogic Server + Oracle

Traffic Director

2. Configuration Utility ausführen

– Hochverfügbare WebLogic Domäne (2, 4,

8 Knoten) erstellen und konfigurieren

3. Ihre Java EE Applikationen installieren

Oracle Linux

Oracle WebLogic Server 11g/12c

Oracle Traffic Director

Oracle VM

Eigene Java EE Applikationen

Ora

cle

VM

Te

mp

late

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 24 [email protected]

Agenda

Oracle Database Appliance (ODA)

ODA-Hardware, Betriebsoptionen

Oracle Datenbanken auf ODA

Virtualisierung

Vorteile ODA

Diverses

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 25 [email protected]

Pay-as-you-Grow Lizenzierung

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 26 [email protected]

Skalierbares Lizenzmodell

- Klein starten (z.B. 4 Kerne EE + RAC)

- Wenn zusätzliche Kapazität benötigt wird,

Kerne hinzunehmen (z.B. 48 Kerne EE + RAC)

Year 2 Year 3 Year 1

Pay-As-You-Grow

Eine Hardware-Konfiguration

– 48 Kerne

– Optionale Storage-Erweiterung

Teil-Lizenzierung der Oracle Software

möglich

– Nur die benötigten Prozessorkerne 2 - 48

müssen lizenziert werden

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 27 [email protected]

Virtualisierte ODA

– Teil-Lizenzierung gilt für jede Oracle

Software (Datenbank, WebLogic Server,...)

– Für Teil-Lizenzierung: virtuellen Maschinen

die gewünschte Anzahl von Kernen fest

zuweisen (Oracle VM Hard Partitioning)

– Prozessorkerne werden nicht deaktiviert

Wie funktioniert Teil-Lizenzierung auf ODA? 1/2

Physikalische ODA

– Teil-Lizenzierung gilt ausschließlich für

Oracle Datenbanken

– Für Teil-Lizenzierung: Prozessorkerne

deaktivieren

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 28 [email protected]

Virtualisierte ODA

– Für Oracle VM Hard Partitioning: CPU

Pools konfigurieren und den VMs zuweisen

– Stufen: 2, 4, 6, ..., 22, 24 Kerne pro

ODA-Server

– Core-Anzahl darf jederzeit erhöht oder

verringert werden

Wie funktioniert Teil-Lizenzierung auf ODA? 2/2

Physikalische ODA

– Bei der ODA-Auslieferung sind alle 48

Kerne aktiv

– Zur Deaktivierung von Kernen:

Konfigurationsschlüssel von

My Oracle Support beantragen

– Stufen: 4, 8, 12, 16, 20, 24 Kerne pro

ODA-Server

– Nach der ersten Deaktivierung nur

Erhöhung der Core-Anzahl möglich

– Auch nach der Deaktivierung von Kernen

stehen der gesamte Arbeitsspeicher und

alle Platten zur Verfügung

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 29 [email protected]

Beispiel Minimale Anzahl von Oracle Prozessor-Lizenzen für Oracle DB auf ODA

Ad

Physikalische ODA Virtualisierte ODA

Oracle RAC 4 EE + 4 RAC 2 EE + 2 RAC

Oracle RAC One Node Falls nur ein Server aktiv genutzt,

siehe Oracle Software Investment Guide 10-Tage-Regel

2 EE + 2 RAC One Node 1 EE + 1 RAC One Node

Single Instance installiert auf einem der zwei Knoten

2 EE 1 EE

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 30 [email protected]

Einfache Installation

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 31 [email protected]

Installation 1/2

1. Vorbereitungen

– Benötigte Software-Pakete herunterladen

– Appliance Manager Configurator im zukünfigen ODA-Netz ausführen

2. Verkabelung des Systems

Setup Poster: http://docs.oracle.com/cd/E22693_01/doc.21/e35554.pdf

3. Re-Imaging

Prinzipielle Vorgehensweise

Bare Metal ODA: optional

Für Leihsysteme empfehlenswert

Virtualisierte ODA: erforderlich

Patch 12999313 Bare Metal ISO Image

- Oracle Linux

- Appliance Manager

Patch 16186163 VM ISO Image (DOM0)

- Oracle VM

- Dom 0

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 32 [email protected]

Installation 2/2 Prinzipielle Vorgehensweise

4. Bereitstellung der DB-Software

5. Installation der DB-Software

– Grafisches Werkzeug: Appliance Manager Configurator

Bare Metal ODA Virtualisierte ODA

End User Bundle herunterladen Patch 12978712

End User Bundle entpacken

- Grid Infrastructure

- Oracle Database

ODA_BASE VM Template herunterladen Patch 16186172

ODA_BASE erstellen

- Oracle Linux

- Grid Infrastructure

- Oracle Database

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 33 [email protected]

Exkurs: Appliance Manager Configurator

Standalone Java Anwendung

– Kann vor der ODA-Auslieferung

heruntergeladen und im zukünftigen ODA-

Netz ausgeführt werden

GUI zur:

– Konfiguration der Appliance (Systemname,

IP-Adressen, ...)

– Installation des DB-Stacks (ASM,

Clusterware, Datenbank)

– Optional: Erzeugung der ersten Datenbank

http://www.oracle.com/technetwork/server-storage/engineered-systems/database-appliance/index.html

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 34 [email protected]

Fazit: DB-Installation auf ODA Einfach einfach. Einfach schnell.

Alle HW-Komponenten, die Sie benötigen

(fast) kein Wissen über RAC/Clustering

erforderlich

Konfiguration konform mit Oracles Best

Practices

„Die Installation/Konfiguration eines kompletten

DB-RAC Systems benötigte nur 2,5 Stunden“

Ein Oracle Partner (DE)

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 35 [email protected]

Einfache Administration

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 36 [email protected]

OAKCLI

Die Kommandozeilenschnittstelle der ODA für administrative Zwecke

Einfach: z.B. Patching

oakcli

Usage: oakcli <command> <object> [<options>]

commands: show|locate|apply|deploy|update|validate|manage|unpack|copy|configure

objects : disk|diskgroup|expander|controller|storage|core_config_key|version|firstnet

For complete usage, use: oakcli –h

For detailed help on each command and object and its options use:

oakcli <command> -h

oakcli <command> <object> -h

# ./oakcli update -patch 2.8.0.0.0

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 37 [email protected]

Patching

Spezieller Patch Bundle für ODA

– Vierteljährlich veröffentlicht

– Gleicher Patch für die virtualisierte und für die Bare Metal ODA

Was wird gepatched?

– Bare Metal ODA: BIOS, Firmware, Oracle VM, Betriebssystem, Appliance Manager, Grid

Infrastructure, Oracle Datenbank

– Virtualiserte ODA: ODA_BASE

Was wird nicht gepatched?

– Bare Metal ODA: Benutzer-Software

– Virtualiserte ODA: Software innerhalb der Benutzer-VMs

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 38 [email protected]

Agenda

Oracle Database Appliance (ODA)

ODA-Hardware, Betriebsoptionen

Oracle Datenbanken auf ODA

Virtualisierung

Vorteile ODA

Diverses

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 39 [email protected]

2 ODAs für maximale Ausfallsicherheit

Active Data Guard

Rechenzentrum A Rechenzentrum B

Produktionsdatenbank Aktive Standby Datenbank

Application Server Application Server

Oracle Database Appliance 2 Oracle Database Appliance 1

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 40 [email protected]

Komplettsysteme für die Oracle Datenbank

Exadata Quarter Rack

Exadata Half Rack

Exadata Full Rack

Exadata Eighth Rack

Oracle Database Appliance

Einstieg

Fokus: Einfachheit

Fokus: Performance

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 41 [email protected]

My Oracle Support

Wichtige Support Notes:

– ODA - 2.X Supported Versions & Known Issues (Doc ID 888888.1)

– Oracle Database Appliance 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)

– How To Install And Configure EM 12c For Oracle Database Appliance (ID 1409193.1)

– Migrating systems to ODA Virtualized Platform (ID 1608367.1)

Wichtige Downloads:

– Bare Metal OS ISO Image Patch 12999313

– Virtualized OS ISO Image (Dom 0) Patch 16186163

– End User Bundle (GI+RDBMS, Bare Metal) Patch 12978712

– Oracle VM Template ODA_BASE (OL+GI+RDBMS, Virtualized) Patch 16186172

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 44 [email protected]

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 45 [email protected]