How to Configure OMS to Connect to Repository Database with Standby Database

This post demonstrates how to configure database connection string for OMS to connect to repository database, which has a data guard standby database.  The purpose is to make sure OEM is still functioning after database has been switched or failed over to data guard physical standby database.

Subscribe to get access

Read more of this content when you subscribe today.

Restart all OMS

[oracle@oemnode1 ~]$ emctl stop oms -all
[oracle@oemnode1 ~]$ emctl start oms

Switch Over Repository Database to Standby Database

DGMGRL> show configuration;

Configuration - dg_oemrep

Protection Mode: MaxPerformance
Members:
oemrep - Primary database
stboemrep - Physical standby database

Fast-Start Failover: DISABLED

Configuration Status:
SUCCESS (status updated 27 seconds ago)
DGMGRL> switchover to stboemrep;
Performing switchover NOW, please wait...
Operation requires a connection to database "stboemrep"
Connecting ...
Connected to "STBOEMREP"
Connected as SYSDBA.
New primary database "stboemrep" is opening...
Operation requires start up of instance "OEMREP" on database "oemrep"
Starting instance "OEMREP"...
Connected to an idle instance.
ORACLE instance started.
Database mounted.
Connected to "OEMREP"
Switchover succeeded, new primary is "stboemrep"
DGMGRL>

Check and Confirm OEM 13c  is Still Working

How to Uninstall OEM 13c Old OMS Home

Firstly uninstall Oracle Management Agent by referring to post How to Deinstall OEM Agents in Oracle Enterprise Manager 13C

After OMS central agent is uninstalled, now it is time to deinstall OMS home:

Subscribe to get access

Read more of this content when you subscribe today.

How to Upgrade Oracle Enterprise Manager 13c Release 4

How to Upgrade Oracle Management Agents Using Agent Gold Images

This post demonstrates how to upgrade Oracle management agents by using agent gold images. Also provides two ways of upgrading agents. The first one is by using OEM GUI , and the second method is by using EM CLI.

Contents

Subscribe to get access

Read more of this content when you subscribe today.

How to Download and Deploy OEM Plug-Ins in Offline Mode