On souhaite rajouter un controlfile après la création de la bd.
Serveurs :
serveurs
|
instance
|
mtlunt100
|
RADPROD1
|
mtlunt101
|
RADPROD2
|
Etat initial :
NAME
|
IS_RECOVERY_DEST_FILE
|
BLOCK_SIZE
|
FILE_SIZE_BLKS
|
DATARAD/radprod/controlfile/current.260.769080921
|
NO
|
16384
|
1128
|
arret de la bd et start de l instance 1 en nomomunt
En grid :
Srvctl stop database -d RADPROD
Srvctl start instance – d RADPROD –I RADPROD1 –o nomount
remarque en nomount car on ouvre pas le controlfile .
remarque en nomount car on ouvre pas le controlfile .
RMAN
restore controlfile to '+REDO_RAD' from '+DATARAD/radprod/controlfile/current.260.769080921';
alter system set control_files='+REDO_RAD/RADPROD/CONTROLFILE/current.266.769088343','+DATARAD/radprod/controlfile/current.260.769080921' scope=spfile sid='*';
arrêt de l instance et start de la bd :
Srvctl stop instance – d RADPROD –I RADPROD1
Srvctl start database -d RADPROD
NAME
|
IS_RECOVERY_DEST_FILE
|
BLOCK_SIZE
|
FILE_SIZE_BLKS
|
REDO_RAD/radprod/controlfile/current.266.769088343
|
NO
|
16384
|
1128
|
DATARAD/radprod/controlfile/current.260.769080921
|
NO
|
16384
|
1128
|