Beruflich Dokumente
Kultur Dokumente
Known Methods
Configuring Oracle on All Flash
INDEXES1
SYSTEM
ROLLBAC
Software
K CTRL 2
CTRL 1
DATA1
CTRL3
Oracle
ARCHIVE
INDEXES2
REDO1
REDO2
DATA2
TOOLS
TEMP
2
Configuring Oracle on All Flash
Having separate LUNs for different database I/O types not needed.
3
Configuring Oracle on All Flash
4
Partition Alignment still matters!
Reads and writes not aligned with 4K
physical sectors. Cause: incorrect
8K write operation partitioning leading to
512 512 512 512 512 512 512 512
improper alignment
512 512 512 512 512 512 512
512 512 512 512 512 Misaligned
512 512 512
512 512 512 512 512 512 512 512 512 512 512 512
512 512 512 512 512 512 512 512 512 512 512 512
• Misaligned reads and writes are split across three 4KB physical sectors negatively
impacting performance: three I/O requests for misaligned instead of the optimal aligned
two I/O requests.
• For writes this is very important where each operation performs two I/O
transfers: read and modify (write)
5
Solution 1: Unpartitioned Devices
6
Solution 2: Partition with 1MB Offset
Required if using ASMLib or ASM Filter Devices
7
ASM AU Sizes
AU (Allocation Unit) sizes range from 1MB to 64MB
Smaller sizes are good for OLTP
Larger sizes are good for OLAP/DW
AU can be set by Disk Group, but not changed after
Exadata uses a 4MB AU
Smaller AU, needs more memory for metadata Larger AU, needs less memory for metadata
8
ASM Data Protection
Redundancy is provided through mirroring
Normal redundancy is a two-way mirror
High redundancy is a three-way mirror
External redundancy is no mirroring, handled by array instead
9
ASM Data Protection for OCR/VOTE diskgroup
For Oracle Clusterware files ASM mirroring is a little different
External redundancy requires a single disk
Normal redundancy requires 3 devices – 3 voting files - 2 failure
groups
External redundancy requires 5 devices – 5 voting files – 3
failure groups
Voting Voting
ConsiderVoting
Voting
Normal Redundancy
Voting
File File File
for OCR/VOTEFilefiles
File
source https://docs.oracle.com/database/121/CWADD/votocr.htm#CWADD91889
10
ASM Diskgroups
11
ASM Diskgroups
Store business critical DBs in separate ASM disk groups
– ASM disk group must be replicated as a whole
– Data striped across equally across the Disk Group
– Can do surgical analysis & monitoring of I/Os & performance
12
ASM Rebalance and IDP
ASM will still rebalance when ASM disks are added, this is
desirable to balance I/O queues in the OS.
/dev/sdb
Server Storage
/powermnt /dev/sdc
/dev/sdd
14
Powerpath or MPIO
Edit the file /etc/multipath.conf and add/modify the following parameters:
devices {
device {
vendor XtremIO Capture XtremIO Devices
product XtremApp
path_selector "queue-length 0" (FOR RHEL>=6)
path_selector "round-robin 0" (FOR RHEL<6)
rr_min_io 1 (FOR kernels older than 2.6.31) LB Algorithm
rr_min_io_rq 1 (FOR kernels 2.6.31 and above)
path_grouping_policy multibus
path_checker tur
}
}
15
SLA Based Data
Protection
RecoverPoint
• SLA Based Protection of Oracle & Other Applications
WAN
17
Accelerate Oracle Recovery
• Concurrent local and remote
Virtual Server Virtual Server replication for Oracle Applications and
Databases
Production Server / OS Test/Failover
– DVR-like recovery to any point-in-time
– Compress and de-dupe for 9x savings
in bandwidth costs
Applications – Supports Oracle DataGuard
Middleware
Databases • VMware Effect
– Failover Oracle virtual machines in
minutes non-disruptively
Local Remote – Non-disruptive testing of recovery
plans with less infrastructure
18
RecoverPoint for Oracle & VMware
Improved Operational Recovery and Disaster Recovery
RecoverPoint Family • Dynamic synchronous and
asynchronous replication
CDP: local
protection • Out-of-band replication
CRR: remote • Integrated with VMware vCenter
protection
Server and Site Recovery Manager
CLR: concurrent
local and remote • DVR-like recovery of replicated
protection data to any point in time
Protect Oracle Applications, Middleware
and Databases with single Solution • Support federated and clustered
applications
19
Operational Recovery for Oracle
Daily backup Daily recovery points—from tape or disk
Snapshots More frequent disk-based recovery points
Any point in time
All recovery points
Significant point in time
Database Pre-app Post-app Database Quarterly Any user-
checkpoint patch patch checkpoint close configurable event
Significant
points in time
RecoverPoint
Any point
in time
Snapshot
Daily backup
24 hours
Yesterday Midnight Now
20
Disaster Recovery for Oracle
Ensure application consistency and recovery
Production Site Remote Site • Replicate over long distances
• Send only compressed
Application Source Application
1
Source
CG1
Target
CG1 1 changes over networks –
Application
reduce bandwidth up to 90%
Source Sync
Sync oror Source
Target Application
2 async
async
CG2
replication
replication
CG2 2
• Recover production site
Application Source Source
Target Application and fail back applications
3 CG3 CG3 3
without disruption
Fail
Update
back Recover
Policy-based
FailProduction
over
Resynch
toat
toproduction
remote
remote
replication
sites
failure
site
site
site • Can be deployed with Oracle
Data Guard or independent
21U S E C A S E
RecoverPoint for Oracle
EMC Recover Point can be used to replicate ASM disk groups
DB DB DB DB
ASM ASM ASM ASM
Passive
Active Node
Failed Node Image Access
Passive
Active Mode
Node
Node
23
RecoverPoint Supports Oracle ASM
EMC Recover Point can be used to replicate ASM disk groups
CONSISTENCY GROUPS
replicate all ASM disk groups
DB DB
ASM ASM
REPLICA can be used for dev/test
refresh, reports, backups or DR
REPLICA remains
down until accessed
Active Node ASM DISK GROUPS Passive Node
can be renamed on the replica
24
VPLEX: Distributed Storage Federation Platform
25
Extended RAC with EMC VPLEX
Extended Clusters with Continuous Application Availability
100% uptime of ORACLE RAC over
distance
DB DB DB DB
ASM ASM ASM ASM
SIMPLE to configure and manage
ACTIVE
VPLEX Metro
ACTIVE
Use standard Oracle RAC
UNMODIFIED
26
Oracle Storage Compatibility Program
• Oracle Storage Program Change Notice
Over the past few years Oracle has worked with all the leading system and storage vendors to
validate their specialized storage products, under the Oracle Storage Compatibility Program (OSCP),
to ensure these products were compatible for use with the Oracle database. Under the OSCP, Oracle
and its partners worked together to validate specialized storage technology including NFS file
servers, remote mirroring, and snapshot products.
At this time Oracle believes that these three specialized storage technologies are well understood by
the customers, are very mature, and the Oracle technology requirements are well know. As of
January, 2007, Oracle will no longer validate these products. We thank our partners for their
contributions to the OSCP.
http://www.oracle.com/technetwork/database/features/availability/oscp-092136.html
28
My Oracle Support note 1304727.1
Certification Information for Oracle Database on Linux x86-64
This document contains general information pertaining to all releases of the Oracle Database, and information about individual releases
Platform Information
Linux x86-64, support on AMD64/EM64T and Intel Processor Chips that adhere to the x86-64 architecture with supported Linux releases.
OS Information:
Unbreakable Enterprise Kernel for Linux is available for x86-64 platforms. It is based on a recent stable mainline Linux kernel, and also includes optimizations developed in collaboration with Oracle
Database, Oracle middleware, and Oracle hardware engineering teams to ensure stability and optimal performance for the most demanding enterprise workloads. New releases of Unbreakable
Enterprise Kernel occur approximately every 18 months.
ZFS - use of ZFS with Oracle Database on Linux x86-64 is not supported.
Customers should review Supported Virtualization and Partitioning Technologies for Oracle Database and RAC Product Releases
Oracle Single Instance Databases on Linux with HP Virtual ConnectFlexFabric (FCoE with 10gE technologies) are supported.
Oracle Database 11g Release 2 (11.2.0.4, single instance only) is supported running in an Oracle Linux 6.4 (or later) guest on Microsoft Azure,
No version of Oracle Database is certified to run in a Linux guest on Microsoft Windows Server with Hyper-V.
29
My Oracle Support note 1304727.1 (cont)
• 12.1 11.2
30
My Oracle Support note 417770.1
Purpose
This document outlines Oracle's Linux Support Policy of Linux running under emulated and virtualized environments.
This document applies to anyone wishing to use Oracle Linux running under a virtualized or emulated environment.
The Oracle Unbreakable Enterprise Kernel running on Oracle Linux 5.5 or higher.
Operating system support for RHEL3 (and higher), Oracle Linux 4 (and higher) under the Oracle Linux Support Program on Oracle VM
Operating system support for RHEL3 (and higher), Oracle Linux 4 (and higher) under the Oracle Linux Support Program on VMware vSphere (ESX Server).
Operating system support for RHEL3 (and higher), Oracle Linux 4 (and higher) under the Oracle Linux Support Program on Citrix XenServer Enterprise Edition
Xen components as part of Oracle Linux 5 and RHEL5 under the Oracle Linux Support Program. This does not include Oracle Product support on Xen offerings
31
Oracle OEL 6 Certified for VMware
• Storage Systems, Volume Management and File
Systems
• 3Par
• Compellent
• EMC VPLEX
• FalconStor
• Fusion-io
• Amazon EC2
• Citrix XenServer
• Rackspace Cloud
• VirtualBox
• VMWare ESX
Source: https://blogs.oracle.com/sergio/entry/the_oracle_enterprise_linux_so
32
My Oracle Support note 249212.1
Scope & Application
For Customers running Oracle products on VMware virtualized environments. No limitation on use or distribution.
Oracle has not certified any of its products on VMware virtualized environments. Oracle Support will assist
customers running Oracle products on VMware in the following manner: Oracle will only provide support for
issues that either are known to occur on the native OS, or can be demonstrated not to be as a result of running
on VMware.
If a problem is a known Oracle issue, Oracle support will recommend the appropriate solution on the native OS.
If that solution does not work in the VMware virtualized environment, the customer will be referred to VMware
for support. When the customer can demonstrate that the Oracle solution does not work when running on the
native OS, Oracle will resume support, including logging a bug with Oracle Development for investigation if
required.
If the problem is determined not to be a known Oracle issue, we will refer the customer to VMware for support.
When the customer can demonstrate that the issue occurs when running on the native OS, Oracle will resume
support, including logging a bug with Oracle Development for investigation if required.
NOTE: Oracle has not certified any of its products on VMware. For Oracle RAC, Oracle will only accept
Service Requests as described in this note on Oracle RAC 11.2.0.2 and later releases.
33
VMware’s Oracle Support Policy
Expanded Support
VMware is committed to the success of its customers in deploying simplified, cost-effective, and better
information technology services. To further this, we recently announced expanded support for Oracle
Database technical issues with the VMware vSphere platform. This expanded technical support is driven by
our VMware customers’ choice to deploy increasing amounts of their Oracle Database software with
VMware products.
This expanded support is targeted at Oracle Database usage “above and below” vSphere, where the Oracle
database is:
– used as a data store for VMware products
– run within a virtual machine on vSphere/ESX
VMware Oracle Support provides customers the following new advantages as part of the existing Support
and Subscription contract at no additional charge:
– Total ownership of Oracle Database technical issues reported to VMware Support
– Access to a team of Oracle DBA resources within VMware Support to troubleshoot related to Oracle Databases used as a data store
or run within a VM
– Performance tuning and Best Known Methods related to Oracle Database used as a data store or run within a VM
– Faster resolution of technical issues in VMware environments via a TSANet collaborative support arrangement between VMware
Support and Oracle Support
Source: http://www.vmware.com/support/policies/oracle-support.html
34
VMware’s Oracle Support Policy
Total Ownership
VMware Support will accept accountability for any Oracle-related issue reported by a customer. By
being accountable, VMware Support will drive the issue to resolution regardless of which vendor
(VMware, Oracle, or others) is responsible for the resolution. In most cases, reported issues can be
resolved via configuration changes, bug fixes, or feature enhancements by one of the involved
vendors.
In the rare situation that another vendor is unable or unwilling to provide a satisfactory technical
resolution, VMware Support will immediately notify the customer, assist in escalation and explore
other potential technical workarounds with the customer.
VMware will also assist its customers with technical issues for other Oracle software products,
besides the Oracle Database and provide similar escalation assistance if needed.
Besides technical assistance, VMware Support will advocate on the customer’s behalf to:
– Provide any relevant evidence that virtualization does not play a part in the Oracle product technical problem
– Engage Oracle Support in resolving the customer’s technical issue, escalating management attention as appropriate
Source: http://www.vmware.com/support/policies/oracle-support.html
35