0% found this document useful (0 votes)
79 views

Dillidba Blogspot Com 2018 10 Configure Data Guard Switchover and HTML PDF

Uploaded by

Zakir Hossen
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
79 views

Dillidba Blogspot Com 2018 10 Configure Data Guard Switchover and HTML PDF

Uploaded by

Zakir Hossen
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

Dilli's Oracle/MySQL Linux Blog

Configure Data Guard, switchover and convert

 7: 07 A M  POS T E D BY D I LLI RA J M A HA RJA N  O R A C L E C O N F I G U R AT I O N , O R A C L E D I S A S T E R R E C O V E R Y

NO COMMENTS

Data Guard configuration, switchover and convert database to snapshot standby.

Verify dg_broker_start parameter. Set parameter to true if it is false.


alter system set dg_broker_start=true;

Set dg_broker_start to true on standby server also.

Type dgmgrl once you enter the dgmgrl prompt type connect sys. Type password when
prompt.
dgmgrl
connect sys
Type help to get list of command type help command to get syntax of the comand
help
help create

Create configuration with primary database as accdb.


create configuration noug_dg as
primary database is accdb
connect identifier is accdb;

Add standby database with add database command


add database accstdb as connect identifier is accstdb;
Check configuration with show command
show configuration.

Enable configuration with command below.


enable configuration;

Once you enable configuration you can switchover database role with command below
switchover to accstdb;
show configuration;

Switch back to accdb;


switchover to accdb;

Convert physical standby database to snaphost standby.


convert database accstdb to snapshot standby;
Check database role. While database is in snapshot standby mode there is one restore
point created to revert back changes.
select open_mode, database_role from v$database;
col name format a60
set lines 200 pages 200
select name, storage_size, time from v$restore_point;

Create user dilli on snapshot standby database and create table in dilli schema
create user dilli identified by raj;
grant dba to dilli;
connect dilli/raj
create table abc as select * from dba_objects;
commit;
select count(*) from abc;
Check current DG configuration.
show configuration;

Convert database back to physical standby.


convert database accstdb to physical standby;

Verify database role.


select open_mode, database_role from v$database;

For details please visit Oracle documentation


https://docs.oracle.com/database/121/DGBKR/sofo.htm#DGBKR390
Newer Post Home Older Post

0 comments:

Post a Comment

Enter your comment...

Comment as: Google Accoun

Publish Preview

BLOG ARCHIVE

► 2020 (5)

► 2019 (2)

▼ 2018 (9)

▼ October (3)

Configure Data Guard Fast Start Failover and failo...

Configure Data Guard, switchover and convert

Step by Step Physical Standby database creation

► March (1)

► February (4)

► January (1)

► 2017 (18)

► 2016 (37)

► 2015 (33)

► 2014 (4)
POPULAR POSTS

Step by step Oracle Grid Infrastructure 12c Release 2 Installation

Alter Database link

Oracle Enterprise Manager 13c Release 2 Cloud Control installation

Install Zabbix proxy on CentOS 7

Upgrade Oracle 11g R2 (11.2.0.4) Database to Oracle 12c (12.1.0.2)

Get root shell access using mysql with user defined functions and setuid

Install OpenVPN on CentOS with Google OTP

How to convert 2k db block size database to 8k block size with least down time

Manually drop and recreate Oracle Enterprise Manager 11g Database Console repos

Upgrade OEM 12c to OEM 13c Cloud control

CERTIFICATIONS
CATEGORIES

Blockchain (1)
docker (2)
Impressive Blog Posts (1)
Linux (29)
MySQL (13)
Network (4)
OCM (1)
Oracle (29)
Oracle 11g Installation (7)
Oracle 12c New Features (4)
Oracle 12c RAC (2)
Oracle 19c (2)
Oracle Backup and Recovery (3)
Oracle Configuration (4)
Oracle Disaster Recovery (3)
Oracle Enterprise Manager (3)
Oracle Installation (14)
Oracle killing session (1)
Oracle RAC (1)
Oracle Resource Manager (1)
Oracle Virtualbox (3)
Security (11)
Shell Script (4)
SQL (1)
VMWARE (1)
Voting Disk (1)

FOLLOW BY EMAIL

Email address... Submit

ABOUT ME

Dilli Raj Maharjan

View my complete profile

Powered by Blogger.

       

Copyright © 2020 Dilli's Oracle/MySQL Linux Blog | Powered by Blogger

Design by Site5 WordPress Themes | Blogger Theme by NewBloggerThemes.com

You might also like