How to configure Enterprise Manager Database Control (EMDC) to make it work on 2 servers working (primary and standby) under DG rules

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?

Hi ,
It is not possible to monitor/administer a Logical or Physical Standby database, i.e Data Guard, using Enterprise Manager Database Control.  This is primarily due to the fact that Database Control is designed to monitor 1 database and a Data Guard environment, by definition, includes more than 1 database.
If you attempt to run emca against a standby Database, you will get an error like (i.e. ORA-01219: database not open).
Database Control, can, of course, be used to monitor the current Primary database (with no ability to administer or monitor Data Guard related functionality).  In such a case, when failover occurs Database Control must be reconfigured to run on the new Primary database using the commands detailed in Note 278100.1 How To Drop, Create And Recreate DB Control In A 10g Database, section C. Recreate/ReConfig DB Control, Option 2. Recreate the DB Control Configuration Files and Repository.
Enterprise Manager Grid Control or Cloud Control provides the functionality for viewing, monitoring, and administering primary and standby databases in a Data Guard configuration.
Reference: Is it Possible to Configure Database Control for a Logical or Physical Standby Database? (Doc ID 315116.1)
You can use EM 12c cloud control to monitor and manager Standby DB effectively
Ref to below link for details
Set Up and Manage Oracle Data Guard using Oracle Enterprise Manager Cloud Control 12c
Regards,
Rahul

Similar Messages

  • How do I create a new emkey for Enterprise Manager Database Control?

    Hi,
    I just installed 11gR2.
    I am evaluating it.
    How do I create a new emkey for Enterprise Manager Database Control?
    I tried various combinations of this command:
    emctl config emkey
    I did find a probable bug:
    $ emctl config emkey -emkey -emkeyfile emkey.ora -force -sysman_pwd he11ow0rld
    Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
    Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
    Undefined subroutine &EmKeyCmds::promptUserPasswd called at /u2/app/oracle/product/11.2.0/dbhome_1/bin/EmKeyCmds.pm line 160, <FILE> line 3.
    $
    Again,
    How do I create a new emkey for Enterprise Manager Database Control?
    I do have a copy of my old key but it is no longer good because I reinstalled the repository with these commands:
    emca -repos drop ...
    emca -repos create ...
    Oh, and where is emctl "documented".
    I poked around in some book-index links and with the search engine.
    I could not find anything.
    Thanks,
    -Janis

    user11892726 wrote:
    Oh, and where is emctl "documented".
    http://download.oracle.com/docs/cd/B16240_01/welcome.html

  • How to view/ammend jobs in DBA_JOBS using Enterprise Manager (Database Control)

    Dear Gurus,
    We are using Oracle 10gR2 on Widwos OS. We defined couple of jobs using DBMS_JOBS and i can see them using DBA_JOBS view, how can we view/amend these jobs in Enterprise Manager (Database Control)?
    Regards,
    Riaz

    Riaz wrote:
    Dear Gurus,
    We are using Oracle 10gR2 on Widwos OS. We defined couple of jobs using DBMS_JOBS and i can see them using DBA_JOBS view, how can we view/amend these jobs in Enterprise Manager (Database Control)?
    Regards,
    Riaz
    In V10 which is no longer under support DBA_JOBS was superceded  by DBMS_SCHEDULER.
    Why are you dependent upon EM to manage the DB?

  • Oracle Enterprise Manager Database Control VS Grid Control

    What is difference of Oracle Enterprise Manager Database Control and Oracle Enterprise Manager Grid Control?
    How I can install it manually?
    Thanks

    What is difference of Oracle Enterprise Manager Database Control and Oracle Enterprise Manager Grid Control?
    How I can install it manually?Dbcontrol is for single database as Grid control is for multiple databases.Dbcontrol has limited features than Grid control that goes beyond database administration to monitor other targets that include Operating system and application servers, web application, High availability (data guard) configurations. Database control comes with oracle server license but Grid control is a separate product it required separate license. If you want to use basic features then you can turn off the licensed packs in Grid control and use free product.
    Install Grid Control as doc:http://download.oracle.com/docs/cd/B16240_01/doc/em.102/e10953/installing_em.htm

  • How to configure Enterprise Manager in Active Data Guard?

    Hi,
    I have installed oracle 11g r2 rac with asm in two nodes. OS is hp-Unix.
    I have installed oracle11g Active Data Guard using Single alone Database.
    Both RAc and Active Data Guard works fine.
    I have not configure Data Guard Broker.
    Question: How to configure Enterprise Manager in Active Data Guard?
    Thanks
    Solaiman

    http://www.gokhanatil.com/2012/04/manage-your-existing-data-guards-with.html

  • Backup problems from Enterprise Manager Database control

    I'm having a problem with performing backups from EM DB Control on two of my Oracle 10g 10.2.0.4 systems. When I configure and submit any backup job from EM (either online or offline), the following happens:
    - When the job is due to run a Pre backup task has status of 'Scheduled'
    - Prebackup task completes and status changes to 'Succeeded'
    - Backup task appears with status of 'Scheduled' and value of started time within the next minute
    - Status of backup task never changes from 'Scheduled', and the started time keeps updating to the current time
    - This goes on indefinitely until I abort the job
    At the moment I have scheduled tasks configured to run an RMAN job every night, but I need to get this working through Enterprise Manager Database control. Please help!
    Something else which has happended on one of these systems is that after applying some Microsoft Critical updates the database control service would not start. The only way I could find to resolve this was to recreate the Enterprise Manager repository. Could there be a link here at all?
    Cheers,
    Strak

    I think Rodney may have the cause, because the database has been copied. I have looked in every property file I can think of, and then all the rest anyway, and there is no reference to the old host name. And I have ralready e-installed EM using emca -config -dbcontrol db. And I'm definately on the correct port.
    So it must be held internally in the database. I've seen partial instructions on deleting the EM repository in the database & java files, does anyone have a full set I can use ? Once that is done, does emca reinstall everything ?
    Many thanks, Duncan

  • Oracle Enterprise Manager Database Control

    Please help me.
    Here's oracle installing step:
    1. Install Oracle 11g software with "Advance" option. I just install software without creating a Data base at this time.
    2. Create a Data base with DBCA
    I couldn't see the Oracle Enterprise Manager Database Control at "Services " window while
    "Chapter 3: Getting Started with Oracle Enterprise Manager" says that:
    This chapter introduces you to Oracle Enterprise Manager Database Control. The Oracle Universal Installer installs Oracle Enterprise Manager Database Control when you install the Oracle software. Enterprise Manager Database Control provides a Web-based interface that you can use to manage your Oracle instance and database.
    Thank in advance!

    Hi,
    You didn’t create a Database that’s why you don’t have Oracle Enterprise Manager Database Control.
    Create Database with DBCA and you will get an option “Configure database with Enterprise manager” (step 5).
    At the end of DB creation you will get a link for Oracle Enterprise Manager Database Control.
    Browse the link to open EM Database control.
    If you choose to create DB with Oracle installation then you will get Oracle Enterprise Manager Database Control.
    Regards,
    Satishbabu Gunukula
    http://oracleracexpert.blogspot.com

  • How to configure Enterprise Manager both node (2 node) RAC?

    Hi,
    I have installed oracle 11g r2 rac with asm in two nodes. OS is hp-Unix.
    I have installed oracle11g Active Data Guard using Single alone Database.
    Both RAc and Active Data Guard works fine.
    I have not configure Data Guard Broker.
    I have configure Enterprise Manager during RAC database installation.
    When I start Enterprise Manager from node1 its address to node1
    but when I start Enterprise Manager from node2 it also addressed to node1.
    When both node is up and running, I can connect from Enterprise Manager.
    When node2 is down but node1 is up then also I can connect from Enterprise Manager
    but when node1 is down and node2 is up I can't connect from Enterprise Manager.
    Question: How to configure Enterprise Manager so that I can connect through it whenever any single node is running?
    Thanks
    Solaiman

    http://www.gokhanatil.com/2012/04/manage-your-existing-data-guards-with.html

  • Oracle Enterprise Manager Database Control is not working properly

    Hello!
    I have a problem with Oracle Enterprise Manager Database Control, the web console. When I open the browser, instead of showing the login window, it shows the window where three arrows, the database instance, the listener, and the conection, that are red and down.
    However they are working correctly, the database is up and working, but the EM doesn't show anything else.
    Is there a way to make it work again?
    Thanks!

    The Enterprise Manager has lost sync with the database.
    The only way I know to do this remotely is to tell the OEM to shut down and/or bring up the database - twice. It'll try and fail and perhaps eventually reset it's pointers.
    I'd really like Oracle to create a 're-sync to actual state' URL ... there must be an easy way, such as flushing the collected metrics or something.

  • Enterprise Manager Database Control Errors in Alert.log

    Hi all
    I'm posting it this forum because i think it is the best place to get some help, i suspect it is something in Entreprise Manager Database Console
    sometimes i get errors in Alert.log
    Errors in file e:\admin\orapd\udump\orapd_ora_3456.trc:
    ORA-25254: time-out in LISTEN while waiting for a message
    ORA-06512: at "SYS.DBMS_AQ", line 577
    ORA-06512: at "SYSMAN.EMD_NOTIFICATION", line 492
    ORA-06512: at line 1
    Generally this error is generated when the database is shutdow for backup (3 AM)
    In the shutdown script i terminate the DatabaseConsole service before i shutdown the database:
    Shutdown Script:
    @echo off
    REM Script de shutdown base de dados orapd
    REM Rui Madaleno , 2004/11/23
    echo Shutdown consola de administracao ...
    net stop oracledbconsoleorapd
    echo Parar o servico OracleCSService ...
    net stop oracleCSService
    echo Parar o servico OracleOraApacheProcessManager
    net stop OracleOraApacheProcessManager
    echo Parar o Listener da base de dados
    e:\oracle\bin\lsnrctl.exe stop
    echo Shutting down database ORAPD ....
    e:\oracle\bin\oradim.exe -shutdown -sid orapd -syspwd XXXX -shuttype srvc,inst -shutmode immediate
    My environment:
    Windows 2003 Server
    Compaq Proliant DL580 G2 Server
    Oracle Database 10.0.1.0.2
    How can i avoid this errors ???
    Thanks in Advance
    Rui Madaleno

    Dear ,
    I am facing same problem, detail is
    Errors in file d:\oracle\product\10.1.0\admin\oracle\udump\oracle_ora_2952.trc:
    ORA-25254: time-out in LISTEN while waiting for a message
    ORA-06512: at "SYS.DBMS_AQ", line 577
    ORA-06512: at "SYSMAN.EMD_NOTIFICATION", line 492
    ORA-06512: at line 1
    this problem is happen suddenly and user are not get new connection with database.
    thanks in advance

  • Enterprise Manager Database Control not showing all rows

    Hello,
    I populated a DB through SQL Developer but when I access the DB control of EM and hit "view data" for the correspondant table, only few of the rows are shown.
    Any idea why and HOW I can get it to show all the data I inserted?
    Many thanks!

    There could be few reasons as follows.
    1. You could have filter set in Sql Developer - Try the same from a sqlplus.
    2. you can have a VPD policy on the table - Check for policies on that table using dba_policies.
    3. Also try to analyze the table and check for num_rows from dba_tables. That will tell you exactly how many rows you have irrespective of tool, policy, etc etc.
    Thanks,
    Ankit.

  • How to install Enterprise Manager Cloud Control on Oracle Linux 6.2

    Anoyone know if it's possible to install this product to Oracle Linux 6.2 ?
    I have an error with this librarie : glibc.i686 : The GNU libc libraries
    Thank You!

    Anyone know if it's possible to install this product to Oracle Linux 6.2 ?It's not certified on OL6, so you will be on your own, support-wise.
    I have an error with this librarie : glibc.i686 : The GNU libc librariesAre you on a 64-bit platform? You probably don't have the 32-bit libraries installed. Assuming you are registered with ULN, or http://public-yum.oracle.com do this:
    # /usr/bin/yum install -y glibc.i686Expect to get a lot of RPM's. Expect to do this again a few more times with other packages as well. Even then it may not work; best of luck.

  • Configure Enterprise Manager Console in Oracle 10.2.0.4

    Hi.. Friends,
    We recently upgraded our SAP 4.7 to ECC 6 with Oracle 10.2.0.4 DB.. In Oracle 9 we have an option Enterprise manager console  But in our new Oracle 10.2.0.4 there is no option like that. How can i configure Enterprise Manager console in this.
    Our Operation System is Windows Server 2008.
    Regards
    Mahendran

    Hi Mahendra,
         OEM not supported in standard SAP See note Note 105047 - Support for Oracle functions in the SAP environment.
    You can configure OEM but first check your license scope - Note 740897 - Info about the Oracle license scope; Required Oracle options
    After fullfill read below note
    Note 355770 - Oracle Enterprise Manager Database Control
    Note 386413 - Oracle Enterprise Manager (OEM) in the SAP environment
    SurendraJain

  • Oracle 10g Enterprise Manager DB control vs Enterprise Manager Console

    We have a consultant install Oracle 10g on Windows platform. Somehow, I only see Enterprise Manager Console installed and I can use this console to access database. I don't see Enterprise Manager Database Control installed. What difference between Console and DB control? Please advise.
    Thanks
    S.

    ski123 wrote:
    I see the interfaces are totally different. the console is more like Oracle 9i. I know the DB control is a web tool, just for Oracle 10g. My question is in terms of admin, which one is better? Why Oracle has different tool to manage Database?The Oracle Enterprise Manager Console is a Java Standalone client, not a 3-tier product like the EM DB Console.
    The Java Standalone client was deprecated in 10gR1. Probably since not all features had been ported to the 3-tier DB Console (eg: Spatial index management and Workspace Management), Oracle decided to let us use the Java Console as an extra install from the Client/Companion disk. However it is no longer available going forward into 11g.
    If you look at the 'Console' carefully, you will not that some areas are no longer functional and it does not cover all capability of 10g, for example in partitioning and indexing.

  • Install Enterprise Manager Grid Control 11R1 Failed at OMS Configuration

    Hello:
    I have installed Oracle 11g (11.2.0.1) and WebLogic Server (WLS) 10.3.6.0 and currently I am in the process of installing Enterprise Manager Grid Control 11R1 on a Linux RedHat 5.8 and it fails at OMS Configuration.
    I have read the following thread and they suggested to use WLS 10.3.2:
    Trouble installing EM GC -- installer patch 9329357 fails
    I was looking for WLS 10.3.2 in Oracle's website and I could not find it.
    Any help would be greatly appreciated.
    Here is the log regarding the error:
    The patch has more than one Archive Action but there is no Make Action.
    ApplySession applying interim patch '9367763' to OH '/dbs0/product/fmw/oms11g'
    Running prerequisite checks...
    You selected -local option, hence OPatch will patch the local system only.
    Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
    (Oracle Home = '/dbs0/product/fmw/oms11g')
    Is the local system ready for patching? y
    Y (auto-answered by -silent)
    User Responded with: Y
    Backing up files and inventory (not for auto-rollback) for the Oracle Home
    Backing up files affected by the patch '9367763' for restore. This might take a while...
    Backing up files affected by the patch '9367763' for rollback. This might take a while...
    Patching component oracle.ldap.rsf, 11.1.1.2.0...
    Updating archive file "/dbs0/product/fmw/oms11g/lib/libldapclnt11.a" with "lib/libldapclnt11.a/gslu.o"
    ApplySession adding interim patch '9367763' to inventory
    Verifying the update...
    Inventory check OK: Patch ID 9367763 is registered in Oracle Home inventory with proper meta-data.
    Files check OK: Files from Patch ID 9367763 are present in Oracle Home.
    Execution of 'sh /dbs0/product/fmw/oms11g/install/oneoffs/111010/9367763/custom/scripts/post -apply 9367763 ':
    Return Code = 0
    The local system has been patched and can be restarted.
    OPatch succeeded.
    This config tool has failed. Please re-run this config tool manually from another terminal as
    <ORACLE_HOME>/perl/bin/perl <ORACLE_HOME>/install/oneoffs/apply_NewOneoffs.pl <ORACLE_HOME> <oneoff_numbers>
    Eg: /scratch/EM/agent10g/perl/bin/perl /scratch/EM/agent10g/install/oneoffs/apply_NewOneoffs.pl /scratch/EM/agent10g 5632264,5961654
    Finished one-offs apply...
    Deleting the files...
    Finished deleting the above files...
    Configuration assistant "OMS Oneoff Patch Application" Succeeded
    Running Configuration assistant "Repository Configuration"
    Calling the EMSCHEMA MANAGER: CREATE
    Please check the Repository Configuration Assistant logs at: /dbs0/product/fmw/oms11g/sysman/log/schemamanager
    The create is completed now running the MOS
    Configuration assistant "Repository Configuration" Succeeded
    Running Configuration assistant "MDS Schema Configuration"
    Configuration assistant "MDS Schema Configuration" Succeeded
    Running Configuration assistant "OCM EM Repository Instrumentation"
    Configuration assistant "OCM EM Repository Instrumentation" Succeeded
    Running Configuration assistant "OMS Configuration"
    Executing the OMSCA command...
    Check the OMS Configuration Assistant logs at: /dbs0/product/fmw/oms11g/cfgtoollogs/omsca
    INFO: Required tool's Execution failed
    Configuration assistant "OMS Configuration" Failed
    INFO: ***Configuration Assistants Action END ***
    *** The installation was Successful, but some configuration assistants were failed or cancelled or skipped. ***

    Hello:
    For some reason after selecting the Retry button it successfully passed the Add-on OMS Side Configuration. Now I am failing at the "Agent Configuration Assistant". Here's the agent log:
    log4j:ERROR No appenders could be found for category (oracle.sysman.emas.sdk.discovery.discover.WeblogicTargetDiscovery).
    log4j:ERROR Please initialize the log4j system properly.
    Total Discovery time is :1675milliseconds.
    INFO: oracle.sysman.top.agent:AddingToTargetsXml: WLS targets
    INFO: oracle.sysman.top.agent:Adding /oracle/product/agent11g/sysman/install//oraclewls.out file to /oracle/product/agent11g
    INFO: oracle.sysman.top.agent:addToTargetsXML:TargetInstaller added target file= /oracle/product/agent11g/sysman/install//oraclewls.out to /oracle/product/agent11g successfully.
    INFO: oracle.sysman.top.agent:AgentPlugIn:perform:Starting Agent with startAgent=true
    INFO: oracle.sysman.top.agent:Starting the agent
    INFO: oracle.sysman.top.agent:Starting the agent...
    INFO: oracle.sysman.top.agent:Executing Command: /oracle/product/agent11g/bin/emctl start agent
    INFO: oracle.sysman.top.agent:Oracle Enterprise Manager 11g Release 1 Grid Control 11.1.0.1.0
    INFO: oracle.sysman.top.agent:Copyright (c) 1996, 2010 Oracle Corporation. Allrights reserved.
    INFO: oracle.sysman.top.agent:Agent is already running
    INFO: oracle.sysman.top.agent:Requested Operation Completed with Status = 0
    INFO: oracle.sysman.top.agent:
    The Management Agent Configuration Assistant has failed. The following failureswere recorded:
    Securing of the agent failed.
    INFO: oracle.sysman.top.agent:Internal PlugIn for {Micro Step state:step:2:configuration in CfmAggregateInstance: oracle.sysman.top.agent:11.1.0.1.0:common:family=CFM:oh=/oracle/product/agent11g:label=10} failed with an unhandled exception:
    java.lang.Exception:
    The Management Agent Configuration Assistant has failed. The following failureswere recorded:
    Securing of the agent failed.
    at oracle.sysman.emcp.agent.AgentPlugIn.startProcessing(AgentPlugIn.java:269)
    at oracle.sysman.emcp.agent.AgentPlugIn.invoke(AgentPlugIn.java:243)
    at oracle.sysman.emCfg.core.PerformMicroStep.runJavaClass(PerformMicroStep.java:540)
    at oracle.sysman.emCfg.core.PerformMicroStep.executeMicroStep(PerformMicroStep.java:120)
    at oracle.sysman.emCfg.core.ActionPerformer.performMicroStep(ActionPerformer.java:917)
    at oracle.sysman.emCfg.core.ActionPerformer$Performer.run(ActionPerformer.java:1038)
    INFO: oracle.sysman.top.agent:The plug-in Agent Configuration Assistant has failed its perform method
    Any help would be greatly appreciated.
    Thanks,
    Orivares

Maybe you are looking for

  • XL Reporter is not working

    hi, i get a message while opening the XL REPORT(e.g. Purchase Register)-- description (666) error ! unable to get document type-22 cause  automation error. XL Reporter Startup failed. regards

  • Accessing ID Value Mapping table in XSLT

    Hi Experts, In the XSLT mapping,I would like to access my value mapping table which i defined in ID .The purpose of ID value mapping here is, the table entries will be changing in future and i don want to use fix values, XML table  which is defined i

  • Class Action

    We pay are Bills on time. Pay for high end phones. And they Should work as Advertised. Gps,No lock ups, We as a Group Deserve Better Than we are receiving I think we need to start a class action suit At least to recover losses We have been waiting ab

  • Message error-50 on movie downloads

    I down loaded a movie or purchased a movie on itunes and while it was downloading I lost or might have lost internet services but I got a error-50 message and now i can't get the movie to down load do i have to repurchase the movie or what??  I tried

  • Seeing ARP entries on shut down VLAN interface.

    Hi,  As you can see below I see a mac address picked up on VLAN 1 on this switch, however vlan 1 interface is shut down? This is causing connectivity issues so does any one know why it is happening?  Cheers  DP1-West#sh arp    Protocol  Address