Since the primary and standby database share the same DBID, it's impossible to register both databases explicitly, but you can still reach the same result by some other ways.
There are two clauses to allow a virtual catalog owner to create the virtual private catalog and operate databases:
- GRANT CATALOG FOR DATABASE
- GRANT REGISTER DATABASE
- Using RMAN Catalog in Data Guard Architecture (1/4) - GRANT CATALOG FOR DATABASE Clause
- Using RMAN Catalog in Data Guard Architecture (2/4) - GRANT REGISTER DATABASE Clause
- Using RMAN Catalog in Data Guard Architecture (3/4) - After a Switchover
- Using RMAN Catalog in Data Guard Architecture (4/4) - Configure RMAN