As you all liked last week posts about preventing to violate Oracle Licensing, so let’s go another one, a quick one this time: Active Dataguard.
Matheus, is there a way to prevent using the Active Dataguard Option?
Well, there is. If you consider that this is basically a regular Dataguard that is opened in Read Only mode, here you go:
srvctl modify database -d GREPORADB_STBY -s MOUNT
By preventing the database open, we are preventing it to violate the Active Dataguard feature.
Quick reference on this:
– Which are Supported Methods to Prevent Active Data Guard Usage When License is Not Available? (Doc ID 2269239.1)
Hope it helps!