Вы находитесь на странице: 1из 2

DR testing Step by Step

Converting the Physical Standby database to Snapshot Standby

Step 1: Cancel the Managed Recovery Process (MRP) on the physical standby database, shut it
down and place it in Mount mode.

1 SQL> alter database recover managed standby database cancel;


2 Database altered.
3
4 SQL> shut immediate
5 Database closed.
6 Database dismounted.
7 ORACLE instance shut down.
8
9 SQL> startup mount
10 ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS
11 instance
12 ORACLE instance started.
13 Total System Global Area 1269366784 bytes
14 Fixed Size 2227984 bytes
15 Variable Size 805306608 bytes
16 Database Buffers 452984832 bytes
17 Redo Buffers 8847360 bytes
Database mounted.

Step 2: Once the standby database is mounted, convert the Physical standby database to
snapshot standby database.

1 SQL> alter database convert to snapshot standby;


2 Database altered.

Step 3: You can now open the snapshot standby database and check its mode.

1 SQL> SQL> alter database open;


2 Database altered.

At this point, start SAP system and perform the required testing on DR.

Once the testing is finished, perform the following steps to re-sync the standby database with
Primary database
Converting the Snapshot Standby database to Physical Standby
Step 1: Shut down the snapshot standby database and open it in Mount mode.

1 SQL> shut immediate


2 Database closed.
3 Database dismounted.
4 ORACLE instance shut down.
5
6 SQL> startup mount
7 ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS
8 instance
9 ORACLE instance started.
10
11 Total System Global Area 1269366784 bytes
12 Fixed Size 2227984 bytes
13 Variable Size 805306608 bytes
14 Database Buffers 452984832 bytes
15 Redo Buffers 8847360 bytes
16 Database mounted.

Step 2: Convert the snapshot standby database to physical standby database.

1 SQL> alter database convert to physical standby;


2 Database altered.

Step 3: Once done, bounce the physical standby database and start the Managed Recovery
Process (MRP) on it.

1 SQL> shut immediate


2 Database closed.
3 Database dismounted.
4 ORACLE instance shut down.

6 SQL> startup mount


7 ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS
8 instance
9 ORACLE instance started.
10 Total System Global Area 1269366784 bytes
11 Fixed Size 2227984 bytes
12 Variable Size 805306608 bytes
13 Database Buffers 452984832 bytes
14 Redo Buffers 8847360 bytes
15 Database mounted
1 SQL> alter database recover managed standby database disconnect from
session;

Вам также может понравиться