Home » RDBMS Server » Enterprise Manager » connects to wrong database
connects to wrong database [message #171567] Wed, 10 May 2006 07:17 Go to next message
patrick
Messages: 83
Registered: December 2000
Member
I am testing my disaster recovery and everything going great.

I make a full RMAN backup on serverA and restore it on serverB

When i start dbconsole on serverB and go to
http://serverB:1158/em i actually go to ServerA

How is this possible and how do i fix this?
Re: connects to wrong database [message #171912 is a reply to message #171567] Fri, 12 May 2006 04:25 Go to previous messageGo to next message
Frank Naude
Messages: 4579
Registered: April 1998
Senior Member
Try to reconfigure DBConsole with $ORACLE_HOME/bin/emca.

$ emca -reconfig dbcontrol
Re: connects to wrong database [message #171915 is a reply to message #171912] Fri, 12 May 2006 04:29 Go to previous message
patrick
Messages: 83
Registered: December 2000
Member
i have been working on it and found the answer.

When you restore a complete database to a different server you also restore the repository. In this piece you have information of the other server and also how to connect to solve this i had done the following

emca -config all db -repos recreate

Working great now.

the dbconsole is not really the problem. I was looking in that direction as well.

Previous Topic: Database Scripts
Next Topic: Failure to Install OEM database control with DBCA
Goto Forum:
  


Current Time: Thu Mar 28 15:22:29 CDT 2024