Prevent Oracle VDB from being registered in OEM

  • 0
  • 1
  • Question
  • Updated 4 years ago
Is there an easy way to prevent a virtual database from being registered in Oracle Enterprise Manager (OEM)? By default, the vdbs created on a cluster that has OEM set up  will also be registered in OEM.

Is there some kind of init parameter or other type of delphix-related setting we can use to control this behavior?

Photo of Avindra Goolcharan

Avindra Goolcharan

  • 404 Points 250 badge 2x thumb

Posted 4 years ago

  • 0
  • 1
Photo of Ganesh Sundaresan

Ganesh Sundaresan, Employee

  • 588 Points 500 badge 2x thumb
Hi Avindra, 

Depending on the version of OEM, you can change the schedule of Auto Discovery Job that does the registration of DB/Listener etc. The below Metalink Note provides more details 

How to change the Auto Discovery Frequency for the Host in EM 12c (Doc ID 1527573.1).

One can also check emcli command to delete targets.

Photo of Tim Gorman

Tim Gorman, Delphix Field Services

  • 3,816 Points 3k badge 2x thumb

Are you trying to prevent discovery of the VDB, or are you trying to prevent active monitoring of the VDB?  My understanding is that discovering a database is not the same thing as "promoting" the database to be an OEM "target".  Promoting something auto-discovered by OEM into a monitored OEM target requires manual action.  This is true in EM12c, and I believe this was true for EM11g and EM10g as well.

As Ganesh indicated earlier, you can also remove incorrectly promoted targets using the EM CLI (EM command-line interface - online documentation here) using the "delete_target" command.  The EMCLI (like all CLI's) allow you rapidly generate scripts to perform mass operations by dumping information to a file which can then edit to create a script.

Hope this helps...