Académique Documents
Professionnel Documents
Culture Documents
About us
Franck Pachot
Senior Consultant
Oracle Technology Leader
David Hueber
Senior Consultant
COO
www.dbi-services.com
Page 2
13.05.2014
Who we are
dbi services
Experts At Your Service
35 specialists in IT infrastructure
> Certified, experienced, passionate
>
Based In Switzerland
100% self-financed Swiss company
> Over CHF 4 mio. turnover
>
Page 3
13.05.2014
Agenda
1. ODA Overview & Architecture
2. Operating ODA
3. ODA Advanced Get full power
4. ODA Performances
5. Pricing & Licensing
Page 4
13.05.2014
> Principle
> Hardware architecture
> Storage capacity & redundancy
> Bare Metal vs Virtualized
Oracle Database Appliance
Page 5
13.05.2014
Simple
Reliable
Available
Page 6
13.05.2014
>
>
>
>
>
1 x 2 RU Storage
4 x 2.5 200GB SSD (Redo)
> 20 x 2.5 900GB HDD (Data)
>
Page 7
13.05.2014
Node 1
Node 0
Storage
Shelf
Redundant Power Supply
Page 8
13.05.2014
Node 1
Node 0
Storage
Shelf
Page 9
13.05.2014
Node 1
Node 0
Storage
Shelf
Page 10
13.05.2014
Node 1
Node 0
Storage
Shelf
Page 11
13.05.2014
Node 1
Node 0
Storage
Shelf
SAS-2 I/O modules
Page 12
13.05.2014
Backup Mode
+ DATA (TB)
+RECO (TB)
+REDO (GB)
Normal Redundancy
Local
3.6
4.5
248
External
7.2
0.98
248
Local
2.4
248
External
4.8
0.65
248
High Redundancy
Page 13
13.05.2014
Controller 2
PCIe2
PCIe3
PCIe2
Expander 1
Expender 2
SSD - 20
SSD - 21
SSD - 22
SSD - 23
SAS - 16
SAS - 17
SAS - 18
SAS - 19
SAS - 12
SAS - 13
SAS - 14
SAS - 15
SAS - 8
SAS - 9
SAS - 10
SAS - 11
SAS - 4
SAS - 5
SAS - 6
SAS - 7
SAS 0
SAS - 1
SAS - 2
SAS - 3
Page 14
13.05.2014
PCIe3
Controller 2
PCIe2
PCIe3
PCIe2
Expander 1
Expander 2
SSD - 20
SSD - 21
SSD - 22
SSD - 23
SAS - 16
SAS - 17
SAS - 18
SAS - 19
SAS - 12
SAS - 13
SAS - 14
SAS - 15
SAS - 8
SAS - 9
SAS - 10
SAS - 11
SAS - 4
SAS - 5
SAS - 6
SAS - 7
SAS 0
SAS - 1
SAS - 2
SAS - 3
ASM
Redundancy
Page 15
13.05.2014
PCIe3
Oracle Database
Oracle Clusterware
Appliance Manager
Oracle Linux
Page 16
13.05.2014
Applications
ODA Base
Oracle Database
Oracle Weblogic
Oracle Clusterware
Oracle VM
Appliance Manager
Oracle Linux
Oracle Database Appliance
Page 17
13.05.2014
ODA Management
Database in a single click?
Page 18
13.05.2014
Operating ODA
OAKCLI overview
Cross layer solution
Hardware
> List
> Diagnose & validate
> Operating System
> Install End User Bunddle
> Upgrade
> Apply patches
> Database & Cluster
> Create environments
> Delete environments
>
Oracle Database
Oracle Clusterware
OVM
Appliance
Manager
Oracle Linux
Hardware
Always run as root user
Page 19
13.05.2014
Operating ODA
OAKCLI overview
[root@dbi-oda1 ~]# oakcli -h
Usage: oakcli show
- show disk, diskgroup, expander, controller,
server, processor, memory, power, cooling, network, storage, version,
dbhomes, databases, db_config_params, core_config_key, env_hw
oakcli apply
- applies the core_config_key
oakcli locate
- locates a disk
oakcli deploy
- deploys the Database Appliance
oakcli update
- updates the Database Appliance
oakcli validate
- validates the Database Appliance
oakcli manage
- manages the oak repository, diagcollect e.t.c
oakcli unpack
- unpack the given package to oak repository
oakcli copy
- copies the deployment config file
oakcli upgrade
- upgrades database
oakcli stordiag
- run storage diagnostic tool on both node
oakcli test
- test asr
oakcli odachk
- performs configuration settings check on ODA
oakcli configure - configures the network or asr
oakcli create
- create database, dbhome, db_config_params file
oakcli delete
- deletes database, dbhome, db_config_params file
Page 20
13.05.2014
Operating ODA
Hardware monitoring
Checking state and settings OAKCLI show
>
Checking disks
[root@dbi-oda1 ~]# oakcli show disk
NAME
PATH
TYPE
e0_pd_00
e0_pd_01
e0_pd_02
e0_pd_03
e0_pd_04
>
/dev/sda
/dev/sdb
/dev/sdaa
/dev/sdab
/dev/sdac
HDD
HDD
HDD
HDD
HDD
STATE
STATE_DETAILS
ONLINE
ONLINE
FAILED
ONLINE
ONLINE
Good
Good
DiskRemoved
Good
Good
Page 21
13.05.2014
Operating ODA
Managing databases
Database creation through a mask
Based on size level templates
> Defines
> CPU_COUNT
> SGA / PGA
> Redo Log Size
> Maximum number of databases
> IOPS in single storage shelf
> IOPS in extended storage shelf
>
6 Databases classes
>
Page 22
13.05.2014
Operating ODA
Managing databases
Components
XS
XL
XXL
CPU_COUNT
12
24
32
SGA (MB)
4096
8192
16384
24576
49152
65536
PGA (MB)
2048
4096
8192
12288
24576
32768
Processes
200
400
800
1200
2400
3200
Nb Databases*
16
206.25
412.5
825
1650
3300
3300
IOPS**
Page 23
13.05.2014
Operating ODA
Managing databases
Create a new database oakcli create database
>
>
>
>
>
Page 24
13.05.2014
Operating ODA
Managing databases
Deleting databases oakcli delete database
>
to be deleted
Page 25
13.05.2014
Page 26
13.05.2014
TYPE
-----------big integer
big integer
VALUE
-------------16G
16G
Page 27
13.05.2014
Page 28
13.05.2014
>
>
Parameters adjustment
> Max processes and / or sessions
> SGA fine tuning
> Default parameters taken from the databases class templates
Page 29
13.05.2014
ODA Performances
Lighting-fast?
Page 30
13.05.2014
ODA Performances
Disk stress using IO_calibrate
Bare metal X3-2
dbms_resource_manager.calibrate_io(20,10,:max_iops,:max_mbps,:actual_latency);
MAX_IOPS
MAX_MBPS MAX_PMBPS
LATENCY NUM_PHYSICAL_DISKS
---------- ---------- ---------- ---------- -----------------12030
4247
702
8
20
OVM X4-2
MAX_IOPS
MAX_MBPS MAX_PMBPS
LATENCY NUM_PHYSICAL_DISKS
---------- ---------- ---------- ---------- -----------------18040
4860
709
10
20
Page 31
13.05.2014
ODA Performances
Load increase using Swingbench
Swingbench
Free load generator for Oracle databases
> Available on
> http://dominicgiles.com/swingbench.html
>
Page 32
13.05.2014
ODA Performances
Load increase using Swingbench
Test 2 DBWn & LGWn performances
Page 33
13.05.2014
ODA Performances
Load increase using Swingbench
Test 3 Storage saturation
Data access saturated (more than 50% i/o > 32ms ) queuing
> Minimal contention on log Writer
> All redo writes less than milliseconds
>
% of Waits
Event
db file parallel read
db file parallel write
db file scattered read
db file sequential read
log file parallel write
Total Waits
<1ms
63,6K
10.7
<8ms
<16ms <32ms
5.3
63.2
29.3
10.6
.5
3.2
17.7
8.1
11.3
59.7
46.4
.0
33.8
66.2
.0
.0
4.8
13.8
16.0
18.1
1833,6K
98.6
.8
.0
.1
.5
.0
204
73.6
14.3
10.5
21.6
.7
2074,5K
>1s
17.6
.2
14 100.0
<=1s
21.1
251,9K
9.7
62
14 100.0
<4ms
19
<2ms
4.3
4.3
3.4
Page 34
13.05.2014
.2
ODA Performances
Controller loss impact
Test 4 Simulate controller loss impact
Still 2 nodes available
> Disk redundancy is still guaranteed using remaining controller
>
Page 35
13.05.2014
ODA Performances
CPU stress using swingbench
ODA X3-2
ODA X4-2
Faster CPUs
Oracle Database Appliance
Page 36
13.05.2014
Page 37
13.05.2014
Virtualized environment
Minimum of 2 cores per node 4 per ODA
> Cores enabled per increment of 2 per node
> All remaining cores available for applications domains
> Weblogic
> Java applications or any others
>
Page 38
13.05.2014
ODA X3-2
E5-2690 256 GB RAM 22 x 600GB SAS 10k 4 x 200GB SSD
> ~60000$ CHF 54000
>
HP DL380 Gen8
E5-2690 256 GB RAM 2 x 600GB SAS 10k 2 x P420 Smart Array
> MSA 2040 20 x 600GB SAS 10k 4 x 200GB SSD 2 controllers
> ~ CHF 56000 CHF 60000 (depending on controllers model)
>
>
Page 39
13.05.2014
References
Useful links
ODA Information Center
>
1417713.2
1417879.1
888888.1
ODA documentation
>
http://docs.oracle.com/cd/E22693_01/nav/portal_booklist.htm
Page 40
13.05.2014
Franck Pachot
Senior Consultant
Oracle Technology Leader
David Hueber
Senior Consultant
COO
www.dbi-services.com
We look forward to working with you!
Page 41
13.05.2014