Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Convert physical standby to a normal database got ORA-01103

user13148231Sep 8 2010 — edited Sep 8 2010
I have a test Data Guard environment of 11g2 on redhat 5. Now I want to convert the physical standby into a normal database for Grid Control repository. Since the standby database has db_name as the primary I want to change it to the same as its db_unique_name. I did the following
1) convert the physical standby into a snapshot database
2) change pfile, make db_name=db_unique_name 
3) restart the database
SQL> startup pfile='?/dbs/init_sdev_gc826.ora'
ORACLE instance started.

Total System Global Area 2622255104 bytes
Fixed Size                  2216224 bytes
Variable Size            1711279840 bytes
Database Buffers          889192448 bytes
Redo Buffers               19566592 bytes
ORA-01103: database name 'RDEV2' in control file is not 'SDEV2'
Post 4377341 suggested using CFREATE CONTROLFILE, but it appears not work.
Questions
1) How can I change the control file to make change db_name?
2) If it is not possible or difficult to make the change, can the snapshot database operate as a normal database, more specifically use as repository for grid control?

Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 6 2010
Added on Sep 8 2010
2 comments
974 views