Multiplex controlfile in Oracle RAC DBACLASS
Multiplex controlfile in Oracle RAC . Oracle always recommends to keep the controlfile in multiple diskgroups.
oracle clusteringintermediate
by OracleDba
14 views
Multiplex controlfile in Oracle RAC . Oracle always recommends to keep the controlfile in multiple diskgroups.
1234567
SQL> show parameter control_file
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
control_file_record_keep_time integer 7
control_files string +DATA/PRDDB/CONTROLFILE/curre
nt.273.919525323123456789101112131415161718192021
SQL> alter system set control_files='+DATA/PRDDB/CONTROLFILE/current.273.919525323','+REDOA','+REDOB' scope=spfile;
System altered.
srvctl stop database -d PRDDB
srvctl start database -d PRDDB -o nomount
RMAN> restore controlfile from '+DATA/PRDDB/CONTROLFILE/current.273.919525323';
Starting restore at 14-AUG-16
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=3061 instance=PRDDB1 device type=DISK
channel ORA_DISK_1: copied control file copy
output file name=+DATA/PRDDB/CONTROLFILE/current.273.919525323
output file name=+REDOA/PRDDB/CONTROLFILE/current.273.919881745
output file name=+REDOB/PRDDB/CONTROLFILE/current.258.919881745
Finished restore at 14-AUG-16123456789101112
SQL> show parameter control_files
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
control_files string +DATA/PRDDB/CONTROLFILE/curre
nt.273.919525323, +REDOA/PRDDB
D/CONTROLFILE/current.273.9198
81745, +REDOB/PRDDB/CONTROLFI
LE/current.258.919881745
srvctl stop database -d PRDDB
srvctl start database -d PRDDB1234567
SQL> select name from v$controlfile;
NAME
--------------------------------------------------------------------------------
+DATA/PRDDB/CONTROLFILE/current.273.919525323
+REDOA/PRDDB/CONTROLFILE/current.273.919881745
+REDOB/PRDDB/CONTROLFILE/current.258.919881745Please to add comments
No comments yet. Be the first to comment!