SlideShare uma empresa Scribd logo
1 de 41
Baixar para ler offline
Disaster Recovery Solution with Oracle Data Guard
and Site Recovery Manager
Kannan Mani, VMware
Brad Pinkston, VMware
BCO4905
#BCO4905
2
Agenda
 Introduction
 SRM and Oracle Data Guard
 Architecture Overview
 Demo
 Best Practices
 Summary
 Q&A
3
Introduction
4
Kannan Mani
 15+ years Oracle experience : Oracle RAC, ASM, Clustering, CRM,
ERP, Business Intelligence, Performance and Scalable Enterprise
Application Architecture, Benchmark and Performance , Technical
solutions marketing and management, Virtualization and Cloud
solutions.
 Oracle ACE – Applications, DB
 Speakers @ Oracle Open World, IOUG, VMWorld, VMware Partner
Exchange, EMC World and Webinars
 Industry recognized expert in Oracle and Virtualization
technologies.
 Blog: http://blogs.vmware.com/apps/oracle
5
SRM and Oracle Data Guard
6
SRM Provides Broad Choice of Replication Options
vSphere Replication
Simple, cost-efficient replication for Tier 2 applications and smaller sites
Storage-based Replication
High-performance replication for business-critical applications in larger sites
vCenter Server
Site
Recovery
Manager
vSphere
vCenter Server
Site
Recovery
Manager
vSphere
vSphere
Replication
Storage-based
replication
Site A (Primary) Site B (Recovery)
7
vSphere Replication Complements Storage-Based Replication
Replication
Provider
Cost Management Performance
vSphere
Replication
VMware
• Low-end storage
supported
• No additional
replication
software
• VM’ granularity
• Managed directly
in vCenter
• 15 min RPOs
• Scales to 500 VMs
• File-level
consistency
• No automated
failback, FT, linked
clones, physical
RDM
Storage-based
Replication
• Higher-end
replicating
storage
• Additional
replication
software
• LUN – VM layout
• Storage team
coordination
• Synchronous
replication
• High data volumes
• Application
consistency
possible
8
Oracle Data Guard
http://www.oracle.com/technetwork/database/features/availability/twp-dataguard-11gr2-1-131981.pdf
 Oracle Data Guard provides the management, monitoring, and automation
software infrastructure to create and maintain one or more standby databases
to protect Oracle data from failures, disasters, errors, and data corruptions.
Data Guard is unique among Oracle replication solutions in supporting both
synchronous (zero data loss) and asynchronous (near-zero data loss)
configurations
 Administrators can chose either manual or automatic failover of production to a
standby system if the primary system fails in order to maintain high availability
for mission critical applications
9
Architecture Overview
10
Oracle Database(SAP) – Oracle Data Guard and SRM
vCenter Server
Site
Recovery
Manager
vSphere
vCenter Server
Site
Recovery
Manager
vSphere
vSphere
Replication
Site A (Primary) Site B (Recovery)
Primary
SAP DB
Standby
SAP DB
Oracle Data
Guard
Log Shipping
SAP CS SAP PAS SAP CS SAP PAS
11
Steps Tested
1 Oracle Primary DB at Site A and
Standby DB at Site B with Data Guard
3 Site A Down - SAP Application and
Central services VM replicated to
Site B using vSphere replication
4 Failover Oracle Primary to Standby using
SRM Call out Script from SAP Application VM
at Site B
5 Connect/Resume SAP application to the Oracle Database in site B
2 SAP Application connected to Primary
DB at Site A
12
Demo
13
SRM Callout Script – odgfail.sh (Example)
~ # cat odgfail.sh
#! /bin/sh
#######################################################################################
# file name : odgfail.sh
# location : /scripts
# called from : Application VM on Site B
#######################################################################################
echo "Job `basename $0`: started at `date`"
#
# Set up standard ORACLE environment variables
ORACLE_SID=stdby; export ORACLE_SID
ORACLE_BASE=/oracle; export ORACLE_BASE
ORACLE_HOME=/oracle/PRD/102_64; export ORACLE_HOME
PATH=/oracle/PRD/102_64/bin:.:/oracle/PRD:/usr/sap/PRD/SYS/exe/run:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin;export PATH
LD_LIBRARY_PATH=/usr/sap/PRD/SYS/exe/run:/oracle/client/10x_64/instantclient; export LD_LIBRARY_PATH
#
# Failover to Standby
$ORACLE_HOME/bin/sqlplus /nolog <<EOFarch1
connect / as sysdba
--shutdown Primary database(in case of RAC, shutdown all RAC instances)
--Initiate failover to Standby Database:
ALTER DATABASE RECOVER MANAGED STANDBY DATABASE FINISH FORCE;
--Convert the physical standby database to the production role:
ALTER DATABASE COMMIT TO SWITCHOVER TO PRIMARY;
--Comment/Uncomment either of the 2 sets of commands below
--If the database was never opened read-only since the last time it was started,
--open new production database via:
ALTER DATABASE OPEN;
--If the physical standby database has been opened in read-only mode since the last time it was started,
--shutdown standby database and restart it
--SHUTDOWN IMMEDIATE
--STARTUP pfile=initSTDBY.ora
exit
EOFarch1
echo "Job `basename $0`: ended at `date`"
########################## end of script
~ #
14
EMC Reference Architecture
15
EMC RA – Storage Replication Solution Overview
16
Oracle Database Configuration – Storage Layouts
17
Solution Testing Findings
 Integration of RecoverPoint with vCenter Site Recovery Manager
enables DR testing to be carried out in isolated environments on
the recovery site so that production can remain active and
replication can continue uninterrupted. SRM also documents the
recovery process
 RecoverPoint enables replication of entire virtualized Oracle
environments between data centers for disaster recovery
 The RecoverPoint splitter supports replication across
heterogeneous storage platforms
 Integration of RecoverPoint with vCenter Site Recovery Manager
enables DR testing to be carried out in isolated environments on
the recovery site so that production can remain active and
replication can continue uninterrupted
http://www.emc.com/collateral/hardware/white-papers/h8207-dr-oracle-vmaxe-recoverpoint-srm-wp.pdfDownload
18
EMC RA – Storage Replication Solution Overview
19
Oracle Database Configuration – Storage Layouts
20
Solution Testing Findings
 Integration of RecoverPoint with vCenter Site Recovery Manager
enables DR testing to be carried out in isolated environments on
the recovery site so that production can remain active and
replication can continue uninterrupted. SRM also documents the
recovery process
 RecoverPoint enables replication of entire virtualized Oracle
environments between data centers for disaster recovery
 The RecoverPoint splitter supports replication across
heterogeneous storage platforms
 Integration of RecoverPoint with vCenter Site Recovery Manager
enables DR testing to be carried out in isolated environments on
the recovery site so that production can remain active and
replication can continue uninterrupted
http://www.emc.com/collateral/hardware/white-papers/h8207-dr-oracle-vmaxe-recoverpoint-srm-wp.pdfDownload
21
Best Practices
22
Oracle DB on VMware Technical Best Practices
 Server selection
 Storage selection
 vSphere version
 vSphere operations
 Performance monitoring
 Guest operating system
configuration
• Virtual storage presentation
• Workload and datastore fan-in
ratios
• vCPU allocation
• Memory
• Network
• Security
• Cloning
• Disaster recovery
23
General Best Practices
• Create a computing environment optimized for vSphere
• Enable required settings for ESX host BIOS – for example VT,
Turbo Mode, hyper-threading
• Disable unnecessary foreground and background processes on
guest operating system
• Create golden images of optimized operating systems using
vSphere cloning technologies
• Upgrade to vSphere ESX 5 for 10–20 % performance boost
• Allow vSphere to choose the best virtual machine monitor based on the CPU
and guest operating system combination. Virtual machine setting must be
selected Automatic for the CPU/MMU Virtualization option.
• Use Oracle recommended installation guidelines for respective operating
system – same as physical
• To minimize time drift in virtual machines follow guidelines in KB articles
Timekeeping best practices for Linux guests http://kb.vmware.com/kb/1006427
Timekeeping best practices for Windows, including NTP http://kb.vmware.com/kb/1318
VMware vSphere 4.1
OS
24
Virtual CPUs
 Best Practices for vCPUs
• Do not over-allocate vCPUs – try to match the exact workload
• If the exact workload is unknown, start with fewer vCPUs initially and
increase later if necessary
• For larger production workloads, the total number of vCPUs assigned to all
virtual machines should be less than or equal to the total number of cores
on the ESX host
• Enable hyper-threading for Intel Core i7 processors
• For 5500 series processors, enabling hyper-threading is recommended
• If unsure of the workload, use hardware vendor recommended Oracle sizing
guidelines
• Avoid remote NUMA access by sizing the number of vCPUs to be no
greater than the number of cores on a NUMA node (processor socket)
25
Virtual Memory Best Practices
• Do not overcommit memory until vCenter reports that steady state
usage is below the amount of physical memory on the server
• Do not disable the balloon driver (installed with VMware Tools)
• Set the memory reservation to SGA size plus OS. (Reservation and
configured memory might be the same.)
• Enable hardware-assisted virtualization in the ESX host BIOS and on the VM
• Set CPU/MMU virtualization option to Automatic
• vSphere will choose best Virtual Machine Monitor option base on CPU/Guest OS
• Use Large Memory Pages
• Consult Oracle Administration Guide for sizing of SGA
26
Network Best Practices
• Separate infrastructure traffic from virtual machine traffic for
security and isolation
• Use NIC teaming for availability and load balancing
• Take advantage of Network I/O Control (NIOC) to converge network and
storage traffic onto 10GbE
• For “chatty” virtual machines on same host, connect to same vSwitch to avoid
NIC traffic
• Use VMXNET3 Paravirtualized network adapter drivers to increase
performance
• Reduces overhead versus vlance or E1000 emulation
• Must have VMware Tools to enable VMXNET3
• Use jumbo frames
• To configure, see iSCSI and Jumbo Frames configuration on ESX 3.x and ESX 4.x
http://kb.vmware.com/kb/1007654
• Separate RAC interconnect network to isolate it from other traffic
27
Storage Virtualization Concepts
• Storage array – consists of physical disks that are presented as
logical disks (storage array volumes or LUNs) to the ESX host
• Storage array LUNs – formatted as VMware vSphere® VMFS volumes
• Virtual disks – presented to
the guest operating system,
and can be partitioned and
used in guest file systems
28
Storage Best Practices
• Use vSphere VMFS for single instance Oracle database
deployments
• For IP-based storage (iSCSI and NFS), enable jumbo frames
• Create dedicated data stores to service database workloads
• Align VMFS properly – Use vCenter to create VMFS partitions, because it
automatically aligns the partitions
• Use Oracle automatic storage management
• Follow your storage vendor’s best practices documentation when laying out
the Oracle database
• Use Paravirtualized SCSI adapters for Oracle datafiles with demanding
workloads
http://www.vmware.com/files/pdf/partners/oracle/Oracle_Databases_on_VMware_-_Best_Practices_Guide.pdfDownload
29
Summary
30
Performance
Rapid Provisioning
 I/O is not an issue
 Scale up and out
 Newer hardware can increase performance
 Streamline activation, deployment, and validation of servers
 Avoid manual configuration errors
Server Consolidation
 Fully utilize hardware
 Maintain application isolation
 Scale dynamically and right-size infrastructure
Workload Management
Business Continuity
High Availability
 VMware vSphere® vMotion®, VMware vSphere High Availability (HA),
VMware vSphere® Fault Tolerance (FT), VMware vSphere Distributed
Resource Scheduler (DRS)
 Without clustering or RAC
 VMware vCenter Site Recovery Manager™
 Hardware reduction at failover site
 Comprehensive testing of DR solution
Benefits of Oracle Databases on VMware
 Zero downtime maintenance
 Migrate live databases
31
Where Can I Learn More?
 vCenter Site Recovery Manager
• Product Page – www.vmware.com/products/srm
• Overview, datasheet, webinars, docs, community links
 Oracle Data Guard
• Overview –
http://www.oracle.com/technetwork/database/features/availability/dataguardov
erview-083155.html
 Virtualizing Oracle with VMware
• External Solution Page – http://www.vmware.com/solutions/business-critical-
apps/oracle-virtualization/oracle-database.html
 Blog
• http://blogs.vmware.com/apps/oracle/
32
Questions
33
Disaster Recovery Solution with Oracle
Data Guard and Site Recovery Manager
VMware, Inc.
3401 Hillview Ave
Palo Alto, CA 94304
Tel: 1-877-486-9273 or 650-427-5000
Fax: 650-427-5001
34
Other VMware Activities Related to This Session
 HOL:
HOL-SDC-1305
Business Continuity and Disaster Recovery In Action
 Group Discussions:
BCO1003-GD
Disaster Recovery and Replication with Ken Werneburg
THANK YOU
Disaster Recovery Solution with Oracle Data Guard
and Site Recovery Manager
Kannan Mani, VMware
Brad Pinkston, VMware
BCO4905
#BCO4905
38
Backup Slides
39
Failover
 A failover is performed when the production database fails and one of the standby databases is transitioned to take over
the production role, allowing business operations to continue. Once the failover is complete and applications have
resumed, the administrative staff can turn its attention to resolving the problems with the failed system. Failover may or
may not result in data loss depending on the Data Guard protection mode in effect at the time of the failover. There are
two distinct types of failover: manual failover and fast-start failover
 Steps after Primary database crashes :
Step No. Standby Site
1 Initiate failover to Standby Database:
ALTER DATABASE RECOVER MANAGED STANDBY DATABASE FINISH FORCE.
In rare circumstances DBA’s may wish to avoid waiting for the standby to complete applying redo in the current standby redo
log file before performing the failover and so may issue an ‘ALTER DATABASE ACTIVATE STANDBY DATABASE’ command
to perform an immediate failover, this will cause any un-applied redo in the standby redo log to be lost.
2 Convert the physical standby database to the production role:
ALTER DATABASE COMMIT TO SWITCHOVER TO PRIMARY
3 If the database was never opened read-only since the last time it was started, open new production database via:
ALTER DATABASE OPEN
If the physical standby database has been opened in read-only mode since the last time it was started, shutdown standby
database and restart it
SHUTDOWN IMMEDIATE
STARTUP
40
Switchover
 Switchover is a planned role reversal between the production database and one of its standby databases to avoid
downtime during scheduled maintenance on the production system or to test readiness for future role transitions. A
switchover guarantees no data loss.
 Steps :
Step No. Primary Site Standby Site
1 Get Status of Primary Database :
SELECT NAME, DB_UNIQUE_NAME, LOG_MODE,
OPEN_MODE, PROTECTION_MODE,
PROTECTION_LEVEL, DATABASE_ROLE,
SWITCHOVER_STATUS FROM V$DATABASE
Ensure both log_archive_dest_state_1 (Local Archiving) and
log_archive_dest_state_2 (Archiving to Standby) are enabled
Get Status of Standby Database :
SELECT NAME, DB_UNIQUE_NAME, LOG_MODE,
OPEN_MODE, PROTECTION_MODE,
PROTECTION_LEVEL, DATABASE_ROLE,
SWITCHOVER_STATUS FROM V$DATABASE
Ensure log_archive_dest_state_1 (Local Archiving) is
enabled and log_archive_dest_state_2 (Archiving to
Primary) is disabled. Ensure NO gaps in redo on the
standby database
2 Verify that it is possible to perform a switchover operation:
SELECT SWITCHOVER_STATUS FROM V$DATABASE
if output is ‘SESSIONS ACTIVE’ then disconnect all sessions
manually or when performing step 3 append the “with session
shutdown” clause
3 Convert the current primary database to the new physical
standby:
ALTER DATABASE COMMIT TO SWITCHOVER TO
PHYSICAL STANDBY WITH SESSIONS SHUTDOWN
41
Switchover (cont’d)
Step No. Primary Site Standby Site
4 Shutdown the former primary and mount as a standby
database:
SHUTDOWN IMMEDIATE
STARTUP NOMOUNT PFILE= initPRD.ora
ALTER DATABASE MOUNT STANDBY DATABASE
Defer the remote archive destination on the old primary:
ALTER SYSTEM SET log_archive_dest_state_2=DEFER
Verify that the old physical standby can be converted to
the new primary:
SELECT SWITCHOVER_STATUS FROM V$DATABASE
5 Convert the old physical standby to the new primary:
ALTER DATABASE COMMIT TO SWITCHOVER TO
PRIMARY WITH SESSIONS SHUTDOWN
If the physical standby database has not been opened in
read-only mode since the last time it was started:
ALTER DATABASE OPEN
Shutdown and startup the new primary database:
SHUTDOWN IMMEDIATE
STARTUP PFILE= initSTDBY.ora
6 Start managed recover on the new standby database:
ALTER DATABASE RECOVER MANAGED STANDBY
DATABASE DISCONNECT FROM SESSION
Enable remote archiving on the new primary to the new
standby:
ALTER SYSTEM SET
log_archive_dest_state_2=ENABLE

Mais conteúdo relacionado

Mais procurados

Mais procurados (20)

Oracle AFD
Oracle AFDOracle AFD
Oracle AFD
 
Troubleshooting Tips and Tricks for Database 19c - EMEA Tour Oct 2019
Troubleshooting Tips and Tricks for Database 19c - EMEA Tour  Oct 2019Troubleshooting Tips and Tricks for Database 19c - EMEA Tour  Oct 2019
Troubleshooting Tips and Tricks for Database 19c - EMEA Tour Oct 2019
 
Intro ProxySQL
Intro ProxySQLIntro ProxySQL
Intro ProxySQL
 
Docker Container Introduction
Docker Container IntroductionDocker Container Introduction
Docker Container Introduction
 
IBM SAN Volume Controller Performance Analysis
IBM SAN Volume Controller Performance AnalysisIBM SAN Volume Controller Performance Analysis
IBM SAN Volume Controller Performance Analysis
 
Proxysql sharding
Proxysql shardingProxysql sharding
Proxysql sharding
 
10 Problems with your RMAN backup script
10 Problems with your RMAN backup script10 Problems with your RMAN backup script
10 Problems with your RMAN backup script
 
Galera Cluster 4 presentation at Percona Live Austin 2019
Galera Cluster 4 presentation at Percona Live Austin 2019 Galera Cluster 4 presentation at Percona Live Austin 2019
Galera Cluster 4 presentation at Percona Live Austin 2019
 
MAA Best Practices for Oracle Database 19c
MAA Best Practices for Oracle Database 19cMAA Best Practices for Oracle Database 19c
MAA Best Practices for Oracle Database 19c
 
[OpenStack 스터디] OpenStack With Contrail
[OpenStack 스터디] OpenStack With Contrail[OpenStack 스터디] OpenStack With Contrail
[OpenStack 스터디] OpenStack With Contrail
 
제3회난공불락 오픈소스 인프라세미나 - Pacemaker
제3회난공불락 오픈소스 인프라세미나 - Pacemaker제3회난공불락 오픈소스 인프라세미나 - Pacemaker
제3회난공불락 오픈소스 인프라세미나 - Pacemaker
 
ProxySQL & PXC(Query routing and Failover Test)
ProxySQL & PXC(Query routing and Failover Test)ProxySQL & PXC(Query routing and Failover Test)
ProxySQL & PXC(Query routing and Failover Test)
 
12c (12.1) Database installation on Solaris 11(11.2)
12c (12.1) Database  installation on Solaris 11(11.2)12c (12.1) Database  installation on Solaris 11(11.2)
12c (12.1) Database installation on Solaris 11(11.2)
 
Ceph issue 해결 사례
Ceph issue 해결 사례Ceph issue 해결 사례
Ceph issue 해결 사례
 
Open Source 101 2022 - MySQL Indexes and Histograms
Open Source 101 2022 - MySQL Indexes and HistogramsOpen Source 101 2022 - MySQL Indexes and Histograms
Open Source 101 2022 - MySQL Indexes and Histograms
 
Red Hat OpenStack 17 저자직강+스터디그룹_4주차
Red Hat OpenStack 17 저자직강+스터디그룹_4주차Red Hat OpenStack 17 저자직강+스터디그룹_4주차
Red Hat OpenStack 17 저자직강+스터디그룹_4주차
 
HAProxy
HAProxy HAProxy
HAProxy
 
Red Hat OpenStack 17 저자직강+스터디그룹_2주차
Red Hat OpenStack 17 저자직강+스터디그룹_2주차Red Hat OpenStack 17 저자직강+스터디그룹_2주차
Red Hat OpenStack 17 저자직강+스터디그룹_2주차
 
Rman 12c new_features
Rman 12c new_featuresRman 12c new_features
Rman 12c new_features
 
ProxySQL Cluster - Percona Live 2022
ProxySQL Cluster - Percona Live 2022ProxySQL Cluster - Percona Live 2022
ProxySQL Cluster - Percona Live 2022
 

Destaque

Presentation v center site recovery manager
Presentation   v center site recovery managerPresentation   v center site recovery manager
Presentation v center site recovery manager
solarisyourep
 
SQL Server 2012 ile Gelen Yeni Özellikler
SQL Server 2012 ile Gelen Yeni ÖzelliklerSQL Server 2012 ile Gelen Yeni Özellikler
SQL Server 2012 ile Gelen Yeni Özellikler
turgaysahtiyan
 
You voiced your concerns. VMware listened: Major Adjustments to vSphere 5 lic...
You voiced your concerns. VMware listened: Major Adjustments to vSphere 5 lic...You voiced your concerns. VMware listened: Major Adjustments to vSphere 5 lic...
You voiced your concerns. VMware listened: Major Adjustments to vSphere 5 lic...
Softchoice Corporation
 

Destaque (20)

VMworld 2013: VMware vCenter Site Recovery Manager – Solution Overview and Le...
VMworld 2013: VMware vCenter Site Recovery Manager – Solution Overview and Le...VMworld 2013: VMware vCenter Site Recovery Manager – Solution Overview and Le...
VMworld 2013: VMware vCenter Site Recovery Manager – Solution Overview and Le...
 
VMware Site Recovery Manager - Architecting a DR Solution - Best Practices
VMware Site Recovery Manager - Architecting a DR Solution - Best PracticesVMware Site Recovery Manager - Architecting a DR Solution - Best Practices
VMware Site Recovery Manager - Architecting a DR Solution - Best Practices
 
Vmware srm 6.1
Vmware srm 6.1Vmware srm 6.1
Vmware srm 6.1
 
Presentation v center site recovery manager
Presentation   v center site recovery managerPresentation   v center site recovery manager
Presentation v center site recovery manager
 
VMworld 2014: Site Recovery Manager and vSphere Replication
VMworld 2014: Site Recovery Manager and vSphere ReplicationVMworld 2014: Site Recovery Manager and vSphere Replication
VMworld 2014: Site Recovery Manager and vSphere Replication
 
Cisco NetApp VMware - Long Distance VMotion
Cisco NetApp VMware - Long Distance VMotionCisco NetApp VMware - Long Distance VMotion
Cisco NetApp VMware - Long Distance VMotion
 
vRealize Network Insight 3.3
vRealize Network Insight 3.3vRealize Network Insight 3.3
vRealize Network Insight 3.3
 
What’s New in VMware vCenter Site Recovery Manager v5.0
What’s New in VMware vCenter Site Recovery Manager v5.0What’s New in VMware vCenter Site Recovery Manager v5.0
What’s New in VMware vCenter Site Recovery Manager v5.0
 
Oracle vm Disaster Recovery Solutions
Oracle vm Disaster Recovery SolutionsOracle vm Disaster Recovery Solutions
Oracle vm Disaster Recovery Solutions
 
VMworld 2013: Real-world Design Examples for Virtualized SAP Environments
VMworld 2013: Real-world Design Examples for Virtualized SAP Environments VMworld 2013: Real-world Design Examples for Virtualized SAP Environments
VMworld 2013: Real-world Design Examples for Virtualized SAP Environments
 
Structured Approach To It Business System Availability And Continuity Plannin...
Structured Approach To It Business System Availability And Continuity Plannin...Structured Approach To It Business System Availability And Continuity Plannin...
Structured Approach To It Business System Availability And Continuity Plannin...
 
VMworld 2013: VMware vSphere Replication: Technical Walk-Through with Enginee...
VMworld 2013: VMware vSphere Replication: Technical Walk-Through with Enginee...VMworld 2013: VMware vSphere Replication: Technical Walk-Through with Enginee...
VMworld 2013: VMware vSphere Replication: Technical Walk-Through with Enginee...
 
VMworld 2013: Protection for All - VMware vSphere Replication & SRM Technical...
VMworld 2013: Protection for All - VMware vSphere Replication & SRM Technical...VMworld 2013: Protection for All - VMware vSphere Replication & SRM Technical...
VMworld 2013: Protection for All - VMware vSphere Replication & SRM Technical...
 
Segurança em Servidores Linux - Ênfase em RHEL
Segurança em Servidores Linux - Ênfase em RHELSegurança em Servidores Linux - Ênfase em RHEL
Segurança em Servidores Linux - Ênfase em RHEL
 
VMworld 2013: VMware vSphere High Availability - What's New and Best Practices
VMworld 2013: VMware vSphere High Availability - What's New and Best PracticesVMworld 2013: VMware vSphere High Availability - What's New and Best Practices
VMworld 2013: VMware vSphere High Availability - What's New and Best Practices
 
Cassandra Introduction & Features
Cassandra Introduction & FeaturesCassandra Introduction & Features
Cassandra Introduction & Features
 
Limewood Event - VMware
Limewood Event - VMware Limewood Event - VMware
Limewood Event - VMware
 
System Center 2012 - January Licensing Update
System Center 2012 - January Licensing UpdateSystem Center 2012 - January Licensing Update
System Center 2012 - January Licensing Update
 
SQL Server 2012 ile Gelen Yeni Özellikler
SQL Server 2012 ile Gelen Yeni ÖzelliklerSQL Server 2012 ile Gelen Yeni Özellikler
SQL Server 2012 ile Gelen Yeni Özellikler
 
You voiced your concerns. VMware listened: Major Adjustments to vSphere 5 lic...
You voiced your concerns. VMware listened: Major Adjustments to vSphere 5 lic...You voiced your concerns. VMware listened: Major Adjustments to vSphere 5 lic...
You voiced your concerns. VMware listened: Major Adjustments to vSphere 5 lic...
 

Semelhante a VMworld 2013: VMware Disaster Recovery Solution with Oracle Data Guard and Site Recovery Manager

Presentation oracle rac on vsphere 5
Presentation   oracle rac on vsphere 5Presentation   oracle rac on vsphere 5
Presentation oracle rac on vsphere 5
solarisyourep
 
Best Practices For Virtualised Share Point T02 Brendan Law Nathan Mercer
Best Practices For Virtualised Share Point T02 Brendan Law Nathan MercerBest Practices For Virtualised Share Point T02 Brendan Law Nathan Mercer
Best Practices For Virtualised Share Point T02 Brendan Law Nathan Mercer
Flamer
 
Oracle Cloud DBaaS
Oracle Cloud DBaaSOracle Cloud DBaaS
Oracle Cloud DBaaS
Arush Jain
 

Semelhante a VMworld 2013: VMware Disaster Recovery Solution with Oracle Data Guard and Site Recovery Manager (20)

VMworld 2013: How SRP Delivers More Than Power to Their Customers
VMworld 2013: How SRP Delivers More Than Power to Their Customers VMworld 2013: How SRP Delivers More Than Power to Their Customers
VMworld 2013: How SRP Delivers More Than Power to Their Customers
 
VMworld 2013: Architecting Oracle Databases on vSphere 5 with NetApp Storage
VMworld 2013: Architecting Oracle Databases on vSphere 5 with NetApp StorageVMworld 2013: Architecting Oracle Databases on vSphere 5 with NetApp Storage
VMworld 2013: Architecting Oracle Databases on vSphere 5 with NetApp Storage
 
VMworld Europe 2014: A Blueprint for Disaster Recovery of Business Critical A...
VMworld Europe 2014: A Blueprint for Disaster Recovery of Business Critical A...VMworld Europe 2014: A Blueprint for Disaster Recovery of Business Critical A...
VMworld Europe 2014: A Blueprint for Disaster Recovery of Business Critical A...
 
TECHNICAL BRIEF▶ Backup Exec 15 Blueprint for Large Installations
TECHNICAL BRIEF▶ Backup Exec 15 Blueprint for Large InstallationsTECHNICAL BRIEF▶ Backup Exec 15 Blueprint for Large Installations
TECHNICAL BRIEF▶ Backup Exec 15 Blueprint for Large Installations
 
DR-to-the-Cloud Best Practices
DR-to-the-Cloud Best PracticesDR-to-the-Cloud Best Practices
DR-to-the-Cloud Best Practices
 
VMworld 2013: Maximize Database Performance in Your Software-Defined Data Center
VMworld 2013: Maximize Database Performance in Your Software-Defined Data CenterVMworld 2013: Maximize Database Performance in Your Software-Defined Data Center
VMworld 2013: Maximize Database Performance in Your Software-Defined Data Center
 
VMworld 2015: Horizon View Storage - Let's Dive Deep!
VMworld 2015: Horizon View Storage - Let's Dive Deep!VMworld 2015: Horizon View Storage - Let's Dive Deep!
VMworld 2015: Horizon View Storage - Let's Dive Deep!
 
Benchmark emc vnx7500, emc fast suite, emc snap sure and oracle rac on v-mware
Benchmark   emc vnx7500, emc fast suite, emc snap sure and oracle rac on v-mwareBenchmark   emc vnx7500, emc fast suite, emc snap sure and oracle rac on v-mware
Benchmark emc vnx7500, emc fast suite, emc snap sure and oracle rac on v-mware
 
VMworld 2013: Virtualizing and Tuning Large Scale Java Platforms
VMworld 2013: Virtualizing and Tuning Large Scale Java Platforms VMworld 2013: Virtualizing and Tuning Large Scale Java Platforms
VMworld 2013: Virtualizing and Tuning Large Scale Java Platforms
 
Implementing a Disaster Recovery Solution using VMware Site Recovery Manager ...
Implementing a Disaster Recovery Solution using VMware Site Recovery Manager ...Implementing a Disaster Recovery Solution using VMware Site Recovery Manager ...
Implementing a Disaster Recovery Solution using VMware Site Recovery Manager ...
 
Exchange 2010 New England Vmug
Exchange 2010 New England VmugExchange 2010 New England Vmug
Exchange 2010 New England Vmug
 
Presentation oracle rac on vsphere 5
Presentation   oracle rac on vsphere 5Presentation   oracle rac on vsphere 5
Presentation oracle rac on vsphere 5
 
White paper: IBM FlashSystems in VMware Environments
White paper: IBM FlashSystems in VMware EnvironmentsWhite paper: IBM FlashSystems in VMware Environments
White paper: IBM FlashSystems in VMware Environments
 
NICConf 2015 - azure disaster recovery in 60min
NICConf 2015 -  azure disaster recovery in 60minNICConf 2015 -  azure disaster recovery in 60min
NICConf 2015 - azure disaster recovery in 60min
 
SAP and VMware (Virtualizing SAP)
SAP and VMware (Virtualizing SAP)SAP and VMware (Virtualizing SAP)
SAP and VMware (Virtualizing SAP)
 
Best Practices For Virtualised Share Point T02 Brendan Law Nathan Mercer
Best Practices For Virtualised Share Point T02 Brendan Law Nathan MercerBest Practices For Virtualised Share Point T02 Brendan Law Nathan Mercer
Best Practices For Virtualised Share Point T02 Brendan Law Nathan Mercer
 
Oracle on Azure IaaS 2023 Update
Oracle on Azure IaaS 2023 UpdateOracle on Azure IaaS 2023 Update
Oracle on Azure IaaS 2023 Update
 
SharePoint 2010 Virtualization - Hungarian SharePoint User Group
SharePoint 2010 Virtualization - Hungarian SharePoint User GroupSharePoint 2010 Virtualization - Hungarian SharePoint User Group
SharePoint 2010 Virtualization - Hungarian SharePoint User Group
 
Running Business Critical Workloads on AWS
Running Business Critical Workloads on AWS Running Business Critical Workloads on AWS
Running Business Critical Workloads on AWS
 
Oracle Cloud DBaaS
Oracle Cloud DBaaSOracle Cloud DBaaS
Oracle Cloud DBaaS
 

Mais de VMworld

Mais de VMworld (20)

VMworld 2016: vSphere 6.x Host Resource Deep Dive
VMworld 2016: vSphere 6.x Host Resource Deep DiveVMworld 2016: vSphere 6.x Host Resource Deep Dive
VMworld 2016: vSphere 6.x Host Resource Deep Dive
 
VMworld 2016: Troubleshooting 101 for Horizon
VMworld 2016: Troubleshooting 101 for HorizonVMworld 2016: Troubleshooting 101 for Horizon
VMworld 2016: Troubleshooting 101 for Horizon
 
VMworld 2016: Advanced Network Services with NSX
VMworld 2016: Advanced Network Services with NSXVMworld 2016: Advanced Network Services with NSX
VMworld 2016: Advanced Network Services with NSX
 
VMworld 2016: How to Deploy VMware NSX with Cisco Infrastructure
VMworld 2016: How to Deploy VMware NSX with Cisco InfrastructureVMworld 2016: How to Deploy VMware NSX with Cisco Infrastructure
VMworld 2016: How to Deploy VMware NSX with Cisco Infrastructure
 
VMworld 2016: Enforcing a vSphere Cluster Design with PowerCLI Automation
VMworld 2016: Enforcing a vSphere Cluster Design with PowerCLI AutomationVMworld 2016: Enforcing a vSphere Cluster Design with PowerCLI Automation
VMworld 2016: Enforcing a vSphere Cluster Design with PowerCLI Automation
 
VMworld 2016: What's New with Horizon 7
VMworld 2016: What's New with Horizon 7VMworld 2016: What's New with Horizon 7
VMworld 2016: What's New with Horizon 7
 
VMworld 2016: Virtual Volumes Technical Deep Dive
VMworld 2016: Virtual Volumes Technical Deep DiveVMworld 2016: Virtual Volumes Technical Deep Dive
VMworld 2016: Virtual Volumes Technical Deep Dive
 
VMworld 2016: Advances in Remote Display Protocol Technology with VMware Blas...
VMworld 2016: Advances in Remote Display Protocol Technology with VMware Blas...VMworld 2016: Advances in Remote Display Protocol Technology with VMware Blas...
VMworld 2016: Advances in Remote Display Protocol Technology with VMware Blas...
 
VMworld 2016: The KISS of vRealize Operations!
VMworld 2016: The KISS of vRealize Operations! VMworld 2016: The KISS of vRealize Operations!
VMworld 2016: The KISS of vRealize Operations!
 
VMworld 2016: Getting Started with PowerShell and PowerCLI for Your VMware En...
VMworld 2016: Getting Started with PowerShell and PowerCLI for Your VMware En...VMworld 2016: Getting Started with PowerShell and PowerCLI for Your VMware En...
VMworld 2016: Getting Started with PowerShell and PowerCLI for Your VMware En...
 
VMworld 2016: Ask the vCenter Server Exerts Panel
VMworld 2016: Ask the vCenter Server Exerts PanelVMworld 2016: Ask the vCenter Server Exerts Panel
VMworld 2016: Ask the vCenter Server Exerts Panel
 
VMworld 2016: Virtualize Active Directory, the Right Way!
VMworld 2016: Virtualize Active Directory, the Right Way! VMworld 2016: Virtualize Active Directory, the Right Way!
VMworld 2016: Virtualize Active Directory, the Right Way!
 
VMworld 2016: Migrating from a hardware based firewall to NSX to improve perf...
VMworld 2016: Migrating from a hardware based firewall to NSX to improve perf...VMworld 2016: Migrating from a hardware based firewall to NSX to improve perf...
VMworld 2016: Migrating from a hardware based firewall to NSX to improve perf...
 
VMworld 2015: Troubleshooting for vSphere 6
VMworld 2015: Troubleshooting for vSphere 6VMworld 2015: Troubleshooting for vSphere 6
VMworld 2015: Troubleshooting for vSphere 6
 
VMworld 2015: Monitoring and Managing Applications with vRealize Operations 6...
VMworld 2015: Monitoring and Managing Applications with vRealize Operations 6...VMworld 2015: Monitoring and Managing Applications with vRealize Operations 6...
VMworld 2015: Monitoring and Managing Applications with vRealize Operations 6...
 
VMworld 2015: Advanced SQL Server on vSphere
VMworld 2015: Advanced SQL Server on vSphereVMworld 2015: Advanced SQL Server on vSphere
VMworld 2015: Advanced SQL Server on vSphere
 
VMworld 2015: Virtualize Active Directory, the Right Way!
VMworld 2015: Virtualize Active Directory, the Right Way!VMworld 2015: Virtualize Active Directory, the Right Way!
VMworld 2015: Virtualize Active Directory, the Right Way!
 
VMworld 2015: Site Recovery Manager and Policy Based DR Deep Dive with Engine...
VMworld 2015: Site Recovery Manager and Policy Based DR Deep Dive with Engine...VMworld 2015: Site Recovery Manager and Policy Based DR Deep Dive with Engine...
VMworld 2015: Site Recovery Manager and Policy Based DR Deep Dive with Engine...
 
VMworld 2015: Building a Business Case for Virtual SAN
VMworld 2015: Building a Business Case for Virtual SANVMworld 2015: Building a Business Case for Virtual SAN
VMworld 2015: Building a Business Case for Virtual SAN
 
VMworld 2015: Explaining Advanced Virtual Volumes Configurations
VMworld 2015: Explaining Advanced Virtual Volumes ConfigurationsVMworld 2015: Explaining Advanced Virtual Volumes Configurations
VMworld 2015: Explaining Advanced Virtual Volumes Configurations
 

Último

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Último (20)

Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 

VMworld 2013: VMware Disaster Recovery Solution with Oracle Data Guard and Site Recovery Manager

  • 1. Disaster Recovery Solution with Oracle Data Guard and Site Recovery Manager Kannan Mani, VMware Brad Pinkston, VMware BCO4905 #BCO4905
  • 2. 2 Agenda  Introduction  SRM and Oracle Data Guard  Architecture Overview  Demo  Best Practices  Summary  Q&A
  • 4. 4 Kannan Mani  15+ years Oracle experience : Oracle RAC, ASM, Clustering, CRM, ERP, Business Intelligence, Performance and Scalable Enterprise Application Architecture, Benchmark and Performance , Technical solutions marketing and management, Virtualization and Cloud solutions.  Oracle ACE – Applications, DB  Speakers @ Oracle Open World, IOUG, VMWorld, VMware Partner Exchange, EMC World and Webinars  Industry recognized expert in Oracle and Virtualization technologies.  Blog: http://blogs.vmware.com/apps/oracle
  • 5. 5 SRM and Oracle Data Guard
  • 6. 6 SRM Provides Broad Choice of Replication Options vSphere Replication Simple, cost-efficient replication for Tier 2 applications and smaller sites Storage-based Replication High-performance replication for business-critical applications in larger sites vCenter Server Site Recovery Manager vSphere vCenter Server Site Recovery Manager vSphere vSphere Replication Storage-based replication Site A (Primary) Site B (Recovery)
  • 7. 7 vSphere Replication Complements Storage-Based Replication Replication Provider Cost Management Performance vSphere Replication VMware • Low-end storage supported • No additional replication software • VM’ granularity • Managed directly in vCenter • 15 min RPOs • Scales to 500 VMs • File-level consistency • No automated failback, FT, linked clones, physical RDM Storage-based Replication • Higher-end replicating storage • Additional replication software • LUN – VM layout • Storage team coordination • Synchronous replication • High data volumes • Application consistency possible
  • 8. 8 Oracle Data Guard http://www.oracle.com/technetwork/database/features/availability/twp-dataguard-11gr2-1-131981.pdf  Oracle Data Guard provides the management, monitoring, and automation software infrastructure to create and maintain one or more standby databases to protect Oracle data from failures, disasters, errors, and data corruptions. Data Guard is unique among Oracle replication solutions in supporting both synchronous (zero data loss) and asynchronous (near-zero data loss) configurations  Administrators can chose either manual or automatic failover of production to a standby system if the primary system fails in order to maintain high availability for mission critical applications
  • 10. 10 Oracle Database(SAP) – Oracle Data Guard and SRM vCenter Server Site Recovery Manager vSphere vCenter Server Site Recovery Manager vSphere vSphere Replication Site A (Primary) Site B (Recovery) Primary SAP DB Standby SAP DB Oracle Data Guard Log Shipping SAP CS SAP PAS SAP CS SAP PAS
  • 11. 11 Steps Tested 1 Oracle Primary DB at Site A and Standby DB at Site B with Data Guard 3 Site A Down - SAP Application and Central services VM replicated to Site B using vSphere replication 4 Failover Oracle Primary to Standby using SRM Call out Script from SAP Application VM at Site B 5 Connect/Resume SAP application to the Oracle Database in site B 2 SAP Application connected to Primary DB at Site A
  • 13. 13 SRM Callout Script – odgfail.sh (Example) ~ # cat odgfail.sh #! /bin/sh ####################################################################################### # file name : odgfail.sh # location : /scripts # called from : Application VM on Site B ####################################################################################### echo "Job `basename $0`: started at `date`" # # Set up standard ORACLE environment variables ORACLE_SID=stdby; export ORACLE_SID ORACLE_BASE=/oracle; export ORACLE_BASE ORACLE_HOME=/oracle/PRD/102_64; export ORACLE_HOME PATH=/oracle/PRD/102_64/bin:.:/oracle/PRD:/usr/sap/PRD/SYS/exe/run:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin;export PATH LD_LIBRARY_PATH=/usr/sap/PRD/SYS/exe/run:/oracle/client/10x_64/instantclient; export LD_LIBRARY_PATH # # Failover to Standby $ORACLE_HOME/bin/sqlplus /nolog <<EOFarch1 connect / as sysdba --shutdown Primary database(in case of RAC, shutdown all RAC instances) --Initiate failover to Standby Database: ALTER DATABASE RECOVER MANAGED STANDBY DATABASE FINISH FORCE; --Convert the physical standby database to the production role: ALTER DATABASE COMMIT TO SWITCHOVER TO PRIMARY; --Comment/Uncomment either of the 2 sets of commands below --If the database was never opened read-only since the last time it was started, --open new production database via: ALTER DATABASE OPEN; --If the physical standby database has been opened in read-only mode since the last time it was started, --shutdown standby database and restart it --SHUTDOWN IMMEDIATE --STARTUP pfile=initSTDBY.ora exit EOFarch1 echo "Job `basename $0`: ended at `date`" ########################## end of script ~ #
  • 15. 15 EMC RA – Storage Replication Solution Overview
  • 16. 16 Oracle Database Configuration – Storage Layouts
  • 17. 17 Solution Testing Findings  Integration of RecoverPoint with vCenter Site Recovery Manager enables DR testing to be carried out in isolated environments on the recovery site so that production can remain active and replication can continue uninterrupted. SRM also documents the recovery process  RecoverPoint enables replication of entire virtualized Oracle environments between data centers for disaster recovery  The RecoverPoint splitter supports replication across heterogeneous storage platforms  Integration of RecoverPoint with vCenter Site Recovery Manager enables DR testing to be carried out in isolated environments on the recovery site so that production can remain active and replication can continue uninterrupted http://www.emc.com/collateral/hardware/white-papers/h8207-dr-oracle-vmaxe-recoverpoint-srm-wp.pdfDownload
  • 18. 18 EMC RA – Storage Replication Solution Overview
  • 19. 19 Oracle Database Configuration – Storage Layouts
  • 20. 20 Solution Testing Findings  Integration of RecoverPoint with vCenter Site Recovery Manager enables DR testing to be carried out in isolated environments on the recovery site so that production can remain active and replication can continue uninterrupted. SRM also documents the recovery process  RecoverPoint enables replication of entire virtualized Oracle environments between data centers for disaster recovery  The RecoverPoint splitter supports replication across heterogeneous storage platforms  Integration of RecoverPoint with vCenter Site Recovery Manager enables DR testing to be carried out in isolated environments on the recovery site so that production can remain active and replication can continue uninterrupted http://www.emc.com/collateral/hardware/white-papers/h8207-dr-oracle-vmaxe-recoverpoint-srm-wp.pdfDownload
  • 22. 22 Oracle DB on VMware Technical Best Practices  Server selection  Storage selection  vSphere version  vSphere operations  Performance monitoring  Guest operating system configuration • Virtual storage presentation • Workload and datastore fan-in ratios • vCPU allocation • Memory • Network • Security • Cloning • Disaster recovery
  • 23. 23 General Best Practices • Create a computing environment optimized for vSphere • Enable required settings for ESX host BIOS – for example VT, Turbo Mode, hyper-threading • Disable unnecessary foreground and background processes on guest operating system • Create golden images of optimized operating systems using vSphere cloning technologies • Upgrade to vSphere ESX 5 for 10–20 % performance boost • Allow vSphere to choose the best virtual machine monitor based on the CPU and guest operating system combination. Virtual machine setting must be selected Automatic for the CPU/MMU Virtualization option. • Use Oracle recommended installation guidelines for respective operating system – same as physical • To minimize time drift in virtual machines follow guidelines in KB articles Timekeeping best practices for Linux guests http://kb.vmware.com/kb/1006427 Timekeeping best practices for Windows, including NTP http://kb.vmware.com/kb/1318 VMware vSphere 4.1 OS
  • 24. 24 Virtual CPUs  Best Practices for vCPUs • Do not over-allocate vCPUs – try to match the exact workload • If the exact workload is unknown, start with fewer vCPUs initially and increase later if necessary • For larger production workloads, the total number of vCPUs assigned to all virtual machines should be less than or equal to the total number of cores on the ESX host • Enable hyper-threading for Intel Core i7 processors • For 5500 series processors, enabling hyper-threading is recommended • If unsure of the workload, use hardware vendor recommended Oracle sizing guidelines • Avoid remote NUMA access by sizing the number of vCPUs to be no greater than the number of cores on a NUMA node (processor socket)
  • 25. 25 Virtual Memory Best Practices • Do not overcommit memory until vCenter reports that steady state usage is below the amount of physical memory on the server • Do not disable the balloon driver (installed with VMware Tools) • Set the memory reservation to SGA size plus OS. (Reservation and configured memory might be the same.) • Enable hardware-assisted virtualization in the ESX host BIOS and on the VM • Set CPU/MMU virtualization option to Automatic • vSphere will choose best Virtual Machine Monitor option base on CPU/Guest OS • Use Large Memory Pages • Consult Oracle Administration Guide for sizing of SGA
  • 26. 26 Network Best Practices • Separate infrastructure traffic from virtual machine traffic for security and isolation • Use NIC teaming for availability and load balancing • Take advantage of Network I/O Control (NIOC) to converge network and storage traffic onto 10GbE • For “chatty” virtual machines on same host, connect to same vSwitch to avoid NIC traffic • Use VMXNET3 Paravirtualized network adapter drivers to increase performance • Reduces overhead versus vlance or E1000 emulation • Must have VMware Tools to enable VMXNET3 • Use jumbo frames • To configure, see iSCSI and Jumbo Frames configuration on ESX 3.x and ESX 4.x http://kb.vmware.com/kb/1007654 • Separate RAC interconnect network to isolate it from other traffic
  • 27. 27 Storage Virtualization Concepts • Storage array – consists of physical disks that are presented as logical disks (storage array volumes or LUNs) to the ESX host • Storage array LUNs – formatted as VMware vSphere® VMFS volumes • Virtual disks – presented to the guest operating system, and can be partitioned and used in guest file systems
  • 28. 28 Storage Best Practices • Use vSphere VMFS for single instance Oracle database deployments • For IP-based storage (iSCSI and NFS), enable jumbo frames • Create dedicated data stores to service database workloads • Align VMFS properly – Use vCenter to create VMFS partitions, because it automatically aligns the partitions • Use Oracle automatic storage management • Follow your storage vendor’s best practices documentation when laying out the Oracle database • Use Paravirtualized SCSI adapters for Oracle datafiles with demanding workloads http://www.vmware.com/files/pdf/partners/oracle/Oracle_Databases_on_VMware_-_Best_Practices_Guide.pdfDownload
  • 30. 30 Performance Rapid Provisioning  I/O is not an issue  Scale up and out  Newer hardware can increase performance  Streamline activation, deployment, and validation of servers  Avoid manual configuration errors Server Consolidation  Fully utilize hardware  Maintain application isolation  Scale dynamically and right-size infrastructure Workload Management Business Continuity High Availability  VMware vSphere® vMotion®, VMware vSphere High Availability (HA), VMware vSphere® Fault Tolerance (FT), VMware vSphere Distributed Resource Scheduler (DRS)  Without clustering or RAC  VMware vCenter Site Recovery Manager™  Hardware reduction at failover site  Comprehensive testing of DR solution Benefits of Oracle Databases on VMware  Zero downtime maintenance  Migrate live databases
  • 31. 31 Where Can I Learn More?  vCenter Site Recovery Manager • Product Page – www.vmware.com/products/srm • Overview, datasheet, webinars, docs, community links  Oracle Data Guard • Overview – http://www.oracle.com/technetwork/database/features/availability/dataguardov erview-083155.html  Virtualizing Oracle with VMware • External Solution Page – http://www.vmware.com/solutions/business-critical- apps/oracle-virtualization/oracle-database.html  Blog • http://blogs.vmware.com/apps/oracle/
  • 33. 33 Disaster Recovery Solution with Oracle Data Guard and Site Recovery Manager VMware, Inc. 3401 Hillview Ave Palo Alto, CA 94304 Tel: 1-877-486-9273 or 650-427-5000 Fax: 650-427-5001
  • 34. 34 Other VMware Activities Related to This Session  HOL: HOL-SDC-1305 Business Continuity and Disaster Recovery In Action  Group Discussions: BCO1003-GD Disaster Recovery and Replication with Ken Werneburg
  • 36.
  • 37. Disaster Recovery Solution with Oracle Data Guard and Site Recovery Manager Kannan Mani, VMware Brad Pinkston, VMware BCO4905 #BCO4905
  • 39. 39 Failover  A failover is performed when the production database fails and one of the standby databases is transitioned to take over the production role, allowing business operations to continue. Once the failover is complete and applications have resumed, the administrative staff can turn its attention to resolving the problems with the failed system. Failover may or may not result in data loss depending on the Data Guard protection mode in effect at the time of the failover. There are two distinct types of failover: manual failover and fast-start failover  Steps after Primary database crashes : Step No. Standby Site 1 Initiate failover to Standby Database: ALTER DATABASE RECOVER MANAGED STANDBY DATABASE FINISH FORCE. In rare circumstances DBA’s may wish to avoid waiting for the standby to complete applying redo in the current standby redo log file before performing the failover and so may issue an ‘ALTER DATABASE ACTIVATE STANDBY DATABASE’ command to perform an immediate failover, this will cause any un-applied redo in the standby redo log to be lost. 2 Convert the physical standby database to the production role: ALTER DATABASE COMMIT TO SWITCHOVER TO PRIMARY 3 If the database was never opened read-only since the last time it was started, open new production database via: ALTER DATABASE OPEN If the physical standby database has been opened in read-only mode since the last time it was started, shutdown standby database and restart it SHUTDOWN IMMEDIATE STARTUP
  • 40. 40 Switchover  Switchover is a planned role reversal between the production database and one of its standby databases to avoid downtime during scheduled maintenance on the production system or to test readiness for future role transitions. A switchover guarantees no data loss.  Steps : Step No. Primary Site Standby Site 1 Get Status of Primary Database : SELECT NAME, DB_UNIQUE_NAME, LOG_MODE, OPEN_MODE, PROTECTION_MODE, PROTECTION_LEVEL, DATABASE_ROLE, SWITCHOVER_STATUS FROM V$DATABASE Ensure both log_archive_dest_state_1 (Local Archiving) and log_archive_dest_state_2 (Archiving to Standby) are enabled Get Status of Standby Database : SELECT NAME, DB_UNIQUE_NAME, LOG_MODE, OPEN_MODE, PROTECTION_MODE, PROTECTION_LEVEL, DATABASE_ROLE, SWITCHOVER_STATUS FROM V$DATABASE Ensure log_archive_dest_state_1 (Local Archiving) is enabled and log_archive_dest_state_2 (Archiving to Primary) is disabled. Ensure NO gaps in redo on the standby database 2 Verify that it is possible to perform a switchover operation: SELECT SWITCHOVER_STATUS FROM V$DATABASE if output is ‘SESSIONS ACTIVE’ then disconnect all sessions manually or when performing step 3 append the “with session shutdown” clause 3 Convert the current primary database to the new physical standby: ALTER DATABASE COMMIT TO SWITCHOVER TO PHYSICAL STANDBY WITH SESSIONS SHUTDOWN
  • 41. 41 Switchover (cont’d) Step No. Primary Site Standby Site 4 Shutdown the former primary and mount as a standby database: SHUTDOWN IMMEDIATE STARTUP NOMOUNT PFILE= initPRD.ora ALTER DATABASE MOUNT STANDBY DATABASE Defer the remote archive destination on the old primary: ALTER SYSTEM SET log_archive_dest_state_2=DEFER Verify that the old physical standby can be converted to the new primary: SELECT SWITCHOVER_STATUS FROM V$DATABASE 5 Convert the old physical standby to the new primary: ALTER DATABASE COMMIT TO SWITCHOVER TO PRIMARY WITH SESSIONS SHUTDOWN If the physical standby database has not been opened in read-only mode since the last time it was started: ALTER DATABASE OPEN Shutdown and startup the new primary database: SHUTDOWN IMMEDIATE STARTUP PFILE= initSTDBY.ora 6 Start managed recover on the new standby database: ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION Enable remote archiving on the new primary to the new standby: ALTER SYSTEM SET log_archive_dest_state_2=ENABLE