RMAN Duplicate Database and EM Configuration
I tried to use RMAN to duplicate a database from one host to another. I am using the active database scenario, with that command:
RMAN> duplicate database to admira from active database spfile nofilenamecheck;
Everything was working fine, the database was duplicated.
I had only a problem with the enterprise manager dbconsole on the destination host. I think with the duplicate command was also the repository of the EM copied to the destination host. So as I started a connection to the EM on the destination host I got an error message that something with the emkey is wrong. Finally I could fix this with that emctl command, where I used a copy of the emkey.ora file of the source host: