| Switch protection mode [message #427448] |
Thu, 22 October 2009 12:23  |
dasuwal@gmail.com Messages: 17 Registered: June 2009 |
Junior Member |
|
|
Hi Forum
I have a 11.0.1.6 dataguard in maximum performance mode.
I want to change the protection mode to maximum availability. I have changed the log_archive_dest_2 parameter as follow & created standby redo logs on both primary and standby. stdby is standby database unique name.
log_archive_dest_2=
'SERVICE=stdby lgwr SYNC AFFIRM
VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE)
DB_UNIQUE_NAME=stdby'
After bouncing the database, when I check my protection_mode from v$database, it still shows maximum performance.
Is there any step I have missed. Please guide.
Thanks in advance.
|
|
|
|
| Re: Switch protection mode [message #429607 is a reply to message #427448] |
Wed, 04 November 2009 13:44   |
stonevishcool Messages: 16 Registered: June 2008 Location: Mumbai |
Junior Member |
|
|
Hi,
You need to fire below command on primary server. Make sure primary database must be on MOUNT stage.
ALTER DATABASE SET STANDBY DATABASE TO MAXIMIZE AVAILABILITY
Then OPEN the db and execute the below query to check db mode.
SELECT PROTECTION_MODE FROM V$DATABASE
Regards,
Vish
|
|
|
|
|