Skip to Main Content

Enterprise Manager

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to configure Enterprise Manager Database Control (EMDC) to make it work on 2 servers working (pr

DBA092012Apr 16 2015 — edited Apr 23 2015

Hello everybody i use Oracle Database EE 11.2.0.4 with DG.

In those cases i need to get Enterprise Manager Database Control running against DB with no RAC and no DG i perform the following steps:

I Logon SQLPLUS as user SYS or SYSTEM, and drop the sysman account and management objects:

DECLARE

CURSOR c1 IS

SELECT owner, synonym_name name

FROM dba_synonyms

WHERE table_owner = 'SYSMAN';

BEGIN

FOR r1 IN c1 LOOP

IF r1.owner = 'PUBLIC' THEN

EXECUTE IMMEDIATE 'DROP PUBLIC SYNONYM '||r1.name;

ELSE

EXECUTE IMMEDIATE 'DROP SYNONYM '||r1.owner||'.'||r1.name;

END IF;

END LOOP;

END;

/

DROP USER mgmt_view CASCADE;

/

DROP ROLE mgmt_user;

/

DROP USER sysman CASCADE;

/

After that i run

emca -config dbcontrol db -repos recreate

But what should i do in cases i have 2 servers working (primary and standby) under DG rules?

This post has been answered by Rahul-Em-Oracle on Apr 16 2015
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 21 2015
Added on Apr 16 2015
2 comments
750 views