Smau Milano 2011 Emilio Perotti
-
Upload
smau -
Category
Technology
-
view
669 -
download
0
description
Transcript of Smau Milano 2011 Emilio Perotti
<Insert Picture Here>
Oracle Database Appliance
Emilio Perotti
Senior Sales Consultant
Agenda
• Cos„è Oracle Database Appliance (ODA)?
• ODA Solution – Hardware & Software
• ODA: La Tecnologia a supporto
• Esempi di Utilizzo
• FAQ & Info
Skills Richiesti per l’High Availability
Complessità. Diversi componenti da integrare
Quali sono le difficoltà che si affrontano
per implementare ambienti in HA
Costi per avere un sistema in HA – CapEx e
OpEx.
Quali sono le difficoltà che si affrontano
per implementare ambienti in HA
Rischio legato alla costruzione di sistemi in HA
Quali sono le difficoltà che si affrontano
per implementare ambienti in HA
ODA: un Database in Alta Affidabilità Preconfigurato
Facile da Configurare
One Box: Server, Storage e Networking integrati
in un unico chassis, nessun bisogno di scegliere e
validare la configurazione HW e SW
One Button Install: facilità di installazione e
configurazione del DB
Facile da Gestire
One Button patching e upgrade
Auto detect, Auto correct
Facile da Manutenere
One Command Check validazione configurazione
Raccolta logs e pacchettizzazione utili al supporto
Automatic SR automatizza l‟apertura di SR
1. Plug in the power
2. Plug in the network
3. Wizard-driven install
4. One Button Install & Patch
© 2011 Oracle Corporation
Database in Cluster veloce da configurare
Oracle Database Appliance Hardware • Sun Fire X4370 M2 - 4U Chassis
Shared Disk – 24 SAS dual ported disk slots
– 20 x 600GB
– 12 TB RAW, 4 TB usable
– 4 x 73GB SSD (Flash Disks) for redo logs
2 Server Nodes – 2 Socket x86 per server
– Intel Xeon processors X5675
– 6 Cores per Socket, 12 cores per server
– 96 GB of Memory per server
– 2-12 cores per server enabled on demand
Networking – Redundant 1Gb internal private network
– 2x 10Gb public network per server
– 6x 1Gb public network per server
RAS features – Redundant power and cooling
– Hot-serviceable components
– Triple-mirrored storage
FRONT VIEW
REAR VIEW
ODA Software: Full Oracle Stack
• Oracle Linux 5.5*
• Oracle Database EE with RAC or RAC One Node (11.2.0.2)
• Oracle Grid Infrastructure 11g Release 2 (11.2.0.2)
– Oracle Clusterware
– Oracle Automatic Storage Management
• Oracle Enterprise Manager Database Control
• Oracle Appliance Manager* - One Button Automation for
Provisioning, Patching, Diagnostics, and Storage Management
• Oracle Automatic Service Requests (Phone home)
*Pre-installato
Oracle Appliance Manager
• Funzionalità One Button functionality per installare, gestire, manutenere e validare il sistema.
• Automatizza operazioni di riconoscimento dei sottosistemi storage.
• Monitora dischi per hard & soft failures.
• Recovery degli ASM disk groups in caso di failure.
Oracle Appliance Manager Configurator
• Facilita le operazioni di configurazione del cluster
• Raccoglie info sulla configurazione tramite GUI
- Cluster name
- Domain
- Networking information
- Database size
• Validazione informazioni acquisite
• Configura OS e Rete
• Installazione Grid Infrastructure & Database
Oracle Appliance Manager Configurator
Setup the customized System Name
Select from three Database Deployment Configurations: RAC, RAC One Node, or Single Instance
Oracle Appliance Manager Configurator
Node and IP information for 2nd Node is automatically generated & filled
SCAN name is auto generated
VIP Name & IP information automatically generated & filled for both nodes
ODA – CPU Cores on Demand
Oracle Confidential
Posso abilitare “on demand” da 4 a 24 cores
Il sistema viene fornito con 12 core abilitati per server (totale di 24) – non
c‟è bisogno di far nulla se si sfrutta ( e licenzia!!) tutta la capacità
Per configurare la subcapacity
Log in MyOracleSupport
Dichiarare la configurazione dei server – n° di core per server
Download key per riconfigurare i server
Lancio di un comando sullla macchina e il sistema si riaccende con i
core eventualmente disabilitati
Una volta configurata la sub-capacity il numero di core può solo crescere
<Insert Picture Here>
ODA Software
Oracle Grid Architecture
Elementi dell’ Oracle Grid Architecture
Oracle Clusterware
Real Application Clusters
Automatic Storage Management
ASM: an easy file system and volume manager for Oracle data now with a cluster file system
Oracle Clusterware : the software that monitors and manages physical servers and the software resources running on them
RAC: database technology that effectively spread workload among all nodes in the cluster allowing all nodes and database instances to perform work
Automatic Storage Management
18
Grid Infrastructure Installazione semplificata dei componenti standard del Grid
• Integrazione di Oracle Clusterware e ASM
– Clusterware e ASM in una sola installazione, singola “home”
– VOTE/OCR salvati su ASM
– OUI non supporta raw devices su nuove installazioni
• Cosa bisogna sapere della Grid Infrastructure:
– Richiesta per non-RAC database che usa ASM
– Versione Database 11.2.0.1
Service
Oracle RAC (RAC One) Architecture
11gR2 public network
Node1
Operating System
Oracle Clusterware cluster
interconnect
instance 1
ASM
Node n
Operating System
Oracle Clusterware
instance n
ASM
Redo / Archive logs all instances
Database / Control files
OCR and Voting Disks
VIP1 VIPn
Managed by ASM
Listener Listener
Service
GRID
Infrastructure
shared storage
ASM Overview
Storage management per il database e general purpose files
ASM Disk ASM Disk
ASM Disk ASM Disk
ASM Disk
ASM Disk Group
• Simplifica e automatizza la gestione dello
storage
• Framework integrato per cluster e singolo nodo
• Re-bilanciamento Dinamico
• Striping e mirroring dei dati
• Performance Ottimali
• Scalabilità e alta affidabilità
• Basso TCO
• Ottimizzazione risorse
• No costi aggiuntivi
• Gestisce TUTTI I dati
11.2
Abbatte i costi di gestione dello storage
Automatic
Storage
Management
The Operational Stack
Disks
Logical Vol
File System
0010 0010 0010 0010 0010
0010 0010 0010 0010 0010
Files
Tablespace
Tables
Disk Group
Logical Vol
File System
File Names
Tablespace
Tables
Before ASM ASM
Networked Storage (SAN, NAS, DAS)
Dynamic Re-balancing
Gestione della capacità “On-Line”
Niente più hot spots - elimina I/O tuning manuale
Performance ottimizzate
Disk Group Disk Group
• Add disk
• Drop disk
• Resize disk
ASM Disk ASM Disk ASM Disk ASM Disk ASM Disk
© 2009 Oracle Corporation – Proprietary and Confidential 23
Automatic Storage Management (ASM)
Più semplice da gestire di un file system
Intelligent Data Placement (IDP)
Supporta TUTTI le tipologie di dati
• Database files
• Shared Clusterware files: OCR e Voting File ora immagazzinati in ASM
• File systems: ACFS, 3rd-party file systems
DB Datafiles OCR and Voting Files Oracle Binaries 3rd Party File Systems
Automatic Storage Management (ASM)
File Systems Applications Databases
© 2009 Oracle Corporation – Proprietary and Confidential 24
Server 2
Istanza ‘B’
Server 1
Istanza ‘A’
Real Application Clusters
Database
Zero Downtime (HA) – Load Balancing - Performance
Interconnect
Cache Fusion
TCP/IP
UDP
VIA
(NIC 100/1000)
Dischi condivisi con
SAN*, NAS*
iSCSI/FC
14.00 msec
0.01 msec
Block in local Cache
Block in“remote” Cache
Block on Disk
2.50 msec
Accesso ai dati
© 2009 Oracle Corporation – Proprietary and Confidential 26
RAC-One Node Soluzione di virtualizzazione per Database
Oracle RAC One Node è una
singola istanza di Oracle RAC che
gira su un nodo in un cluster.
Caratteristiche
• Migrazione Live delle istanze tra
i server del cluster (Omotion)
• Online Rolling patches per
database single instance
• Alta affidabilità: Built-in cluster
failover
• Online upgrade a RAC
© 2009 Oracle Corporation – Proprietary and Confidential 27
RAC-One Node
DB1 DB2
Server A
Common Shared Storage
Single Cluster
DB3 DB4
Server B Server C
DB5
© 2009 Oracle Corporation – Proprietary and Confidential 28
OMotion
DB1 DB2
Common Shared Storage
Single Cluster
DB2 DB4 DB3
Client Connections
Server A Server B Server C
DB5
© 2009 Oracle Corporation – Proprietary and Confidential 29
Online Rolling Patches Dopo il primo Omotion…
DB1
Common Shared Storage
Single Cluster
DB2 DB4 DB5 DB3
Client Connections
Server A Server B Server C
Database
Binaries
© 2009 Oracle Corporation – Proprietary and Confidential 30
Online Rolling Patches
DB1
Common Shared Storage
Single Cluster
DB2 DB4 DB5 DB3
Client Connections
Server A Server B Server C
Database
Binaries
Patch
© 2009 Oracle Corporation – Proprietary and Confidential 31
Online Rolling Patches
DB1
Common Shared Storage
Single Cluster
DB2 DB4 DB5 DB3
Client Connections
Server A Server B Server C
Patched
Database
Binaries
© 2009 Oracle Corporation – Proprietary and Confidential 32
Online Rolling Patches
DB1 DB2
Common Shared Storage
Single Cluster
DB2 DB4 DB5 DB3
Client Connections
Server A Server B Server C
Patched
Database
Binaries
© 2009 Oracle Corporation – Proprietary and Confidential 33
Online Rolling Patches
DB1 DB2
Common Shared Storage
Single Cluster
DB2 DB4 DB5 DB3
Client Connections
Server A Server B Server C
Patched
Database
Binaries
© 2009 Oracle Corporation – Proprietary and Confidential 34
Online Rolling Patches
DB1 DB2
Common Shared Storage
Single Cluster
DB2 DB4 DB5 DB3
Client Connections
Server A Server B Server C
Patched
Database
Binaries
© 2009 Oracle Corporation – Proprietary and Confidential 35
Online Rolling Patches
DB1 DB2
Common Shared Storage
Single Cluster
DB4 DB5 DB3
Client Connections
Server A Server B Server C
Patched
Database
Binaries
<Insert Picture Here>
ODA
Additional Software
Oracle Database Appliance Additional Software Support
• Supporto per opzioni e feature del Database Enterprise
- Advanced Compression
- Partitioning
- Database Enterprise Management
- Diagnostic Pack
- Tuning Pack
- Change Management Pack
- Configuration Management Pack for Oracle Database
- Provisioning and Patch Automation Pack for Database
- Data Masking Pack
- Real Application Testing
- Total Recall
• Continued List of Supported Options and Features
- Oracle Active Data Guard
- Advanced Security
- Label Security
- Database Vault
- OLAP
- Data Mining
- Spatial
- In-Memory Database Cache
Oracle Database Appliance Additional Software Support
Boost Administrator Productivity
Eliminate Performance Bottlenecks
Lower IT Management Costs
Deliver Higher Quality of Service
Enterprise Manager Diagnostic Pack Automatic Performance Diagnostics
• Analisi Top-down usando gli snapshot di Automatic Workload Repository
• Analisi performance Real-time con Automatic Database Diagnostic Monitor
• Risolve problemi di performance velocemnte con “drill-down root-cause
analysis”
• Classification ad albero basata su esperienza Oracle nel tuning
• Diagnostica performance dedicata a RAC in Oracle Database 11g
Automatic Workload
Repository Snapshots
Performance &
Management
Advisors
High
Load
SQL
RAC
Issues
IO / CPU
Issues
Self-Diagnostic
Engine
Enterprise Manager Tuning Pack SQL Tuning Advisor
• SQL Tuning Advisor
• NEW: Identifica piani di esecuzione alternativi usando dati sulle performance
storici e real-time
• NEW: Raccomanda il grado di parallelismo ottimale per migliorare le
performance dell‟SQL
SQL Profiling
Statistics Analysis
Access Path Analysis
SQL Restructure Analysis
Alternative Plan Analysis
Parallel Query Analysis
Automatic Tuning
Optimizer
Administrator
Comprehensive
SQL Tuning
Recommendations
Gather Missing or Stale
Statistics
Create a SQL Profile
Add Missing Access
Structures
Modify SQL Constructs
Adopt Alternative
Execution Plan
Create Parallel SQL
Profile
SQL Tuning Advisor
Oracle Partitioning
• Partitioning suddivide tabelle e indici in piccole porzioni per rendere piu‟ facile la loro gestione.
• Ogni piccola porzione di database viene chiamata: partition.
• Ogni partition ha un nome, una storia ed una sua collocazione fisica che viene indicata nella „partitioning key.‟
• Per il DBA il partition e‟ un oggetto composto da vari pezzi che possono essere gestiti in gruppo o singolarmente.
• Per l‟applicazione una tabella partizionata e‟ uguale ad una tabella non partizionata. Quindi trasparente.
Application
SQL
Mar Jan
Feb
Sales
Oracle Advanced Compression
• Reduces resource requirements and costs
– Storage System
– Network Bandwidth
– Memory Usage
Relational Data
Compression
Unstructured Data
Compression
Backup Data
Compression
Network Data
Compression
• OLTP Table
Compression
• SecureFiles
Deduplication
• SecureFiles
Compression
• Data Pump Data
Compression
• RMAN Fast Backup
Compression
• Data Guard Redo
Transport
Compression
• Oracle ha introdotto in Oracle9i Database, la prima feature di compressione tabelle
– Limitata al supporto di operazioni di caricamento massivo per DWH
• Oracle 11g estende la compressione dati anche per applicazioni transazionali (OLTP)
– Nuovo algoritmo (batch write) a livello di blocco
– Impatto prestazionale quasi nullo per DML convenzionali (Ins/Upd)
• Significativa riduzione dell‟utilizzo di spazio disco
– In media tra 2 a 3x
• Miglioramento delle prestazioni in fase di interrogazione
– Fino a 3x in caso di full table scan su grandi tabelle
• In fase di lettura tabelle compresse NON e‟ necessaria e non viene eseguita decompressione
• Dichiarativa e completamente trasparente alle applicazioni
Compressione dati strutturati Per applicazioni di Data Warehousing e Transazionali
SQL> CREATE TABLE test_comp(...) COMPRESS FOR OLTP
© 2010 Oracle Corporation
Tre livelli di Affidabilità
• Buona Affidabilità
• Oracle Database 11g
Enterprise Edition
Single Instance
• Affidabilità Massima
• Oracle Database 11g
Enterprise Edition
• Oracle Real
Application Clusters
• Failover, Load
Balancing e
Scalabilità
Active – Active
• Migliore Affidabilità
• Oracle Database 11g
Enterprise Edition
• Oracle Real
Application Clusters
One Node
Active – Passive
© 2011 Oracle Corporation
Esempi di utilizzo
Use Case Target
Database in alta affidabilità Sistemi critici su single instance che devo
essere spostati su un‟ambiente affidabile
Consolidamento Database Applicativi in failover su diversi DB che
devono essere consolidati
Pay as you Grow Sistemi che potrebbero crescere nel tempo
o dei quali non si ha idea della capacità
richiesta
Cluster Database Ambiente su cui vogliamo performance e
alta affidabilità su un sistema out of the box
Hardware Refresh
Momento in cui si deve rivedere l‟HW,server
oppure storage
FAQ
• What is “pay-as-you-grow” sub-capacity licensing?
Unique to the Oracle Database Appliance, customers can purchase database
and options licenses starting from a minimum of 2 processor cores, up to the
system maximum of 24 processor cores. This enables customers to start small,
licensing only required cores and purchase additional licenses as business
demand grows.
• What other Oracle database options are supported with the Oracle Database
Appliance?
The appliance offers support for all Oracle Database Enterprise Edition options
and management packs. Oracle Secure Backup is also supported.
• What database version does the Oracle Database Appliance support?
The Oracle Database Appliance only supports Oracle Database 11g Enterprise
Edition Release 11.2.0.2.
DB Health Check
• Analisi per avere una struttura IT sempre
al massimo dell‟efficienza
• Aree di indagine:
• Architettura
• Business Continuity
• Gestione
• Sicurezza
• Risparmio
• Capire al meglio le reali esigenze di
business e indicare le aree di intervento
• Attivita‟ congiunta con Oracle
Ciclo delle attivita‟:
Intervista Analisi Presentazione
For more information:
• http://www.oracle.com/us/products/database/database-
appliance/index.html
• http://www.oracle.com/technetwork/server-
storage/database-appliance/overview/index.html
Demo 3D
• http://oracle.com.edgesuite.net/producttours/3d/databas
eappliance/
Oracle Database Appliance
Simple. Reliable. Affordable.