Monitoring of Standby Instance via Grid Control

Hi DBAs,
I have setup the Data Guard single instance to single instance in Oracle 10.2.0.4. Is it possible that if I install the agent on standby database server, can I monitor these server using Grid Control. Also is there any other tool for monitoring of standby databases (database is applying the archives, latency or any other issue) ?
Thanks
-Samar-

Hi; Yes u can. Check the following:
http://download.oracle.com/docs/cd/B19306_01/server.102/b25159/monitor.htm#i1007244
http://download.oracle.com/docs/cd/B19306_01/server.102/b14230/gui.htm#DGBKR400
You can also use some scripting to monitor your dataguard status.
http://emrebaransel.blogspot.com/2009/07/shell-script-to-check-dataguard-status.html
http://emrebaransel.blogspot.com/2008/08/how-to-query-dataguard-status.html
There are also some 3th party tools for dataguard monitoring & managing purpose.

Similar Messages

  • Create physical standby database via grid control Errror

    Hi
    I wonder if anyone has seen the following problem
    I am creating a standby database using EM Grid Control wizard. It all configures fine and starts the job goes through all steps including copying datafiles etc. but when it hits the step CREATE STANDBY DATABASE it fails with no explanation. In the oms log all it says is an error about cant find the sid name
    EM Grid COntrol is 10.2.0.5 version
    Windows Primary is Windows 2003 server 10.2.0.4 db
    Trying to create on windows 2003 server with same oracle version
    Thanks
    D

    Did you search the same on Metalink ?
    please also cehck
    EM: Creation process for a physical standby DB failed with SQL Exception
    Regards
    Rajesh

  • UDM on physical standby database in grid control 11.1

    I am getting
    Test Results
    ORA-06550: line 70, column 5: PLS-00201: identifier 'RAISE_APPLICATION_ERROR' must be declared ORA-06550: line 70, column 5: PL/SQL: Statement ignored
    While creating UDM on physical standby database in grid control 11.1. Please help me how to resolve this. I am able to create UDM on normal or primary databases.

    What credential is defined?
    Fairly certain only a sysdba connection will work unless the recovery is stopped and switched to read-only. Or when it becomes primary ...

  • Creating standby database through Grid Control.

    Hi,
    I want to know if source database which we term as primary database goes down during Db creation process when given option of "Perform a live backup of primary database" during Add standby wizard in Grid Control. Please let me know if people have already tested it in their environments.
    I appreciate you all for looking into my forum.
    Regards,
    Gaurav

    No, one of the options for performing this task is to create from a Live db.
    A couple of things to note here:
    You must be using spfile
    If you are not using the default port of 1521 then you must also have the local_listener parm set
    I recommend using the "db_unique_name" option to make it easier to manager in OEM (for the target name)
    Hope this helps,
    Landon

  • Monitoring a 9.2.0.3 database instance in Grid Control 11gR1

    Hi,
    we configured EM Grid Control 11gR1 for monitoring some database instances. The monitoring works fine for the versions 9.2.0.1, 10.2.0.4 and 11gR2 , but we cannot configure it for version 9.2.0.3 and version 9.2.0.6.
    The main page of 9.2.0.3 and 9.2.0.6 instances reports "Metric Collection Error" and every configuration (with Statspack or without, enable metrics or disable them) gives the same message.
    I know that EM 11R1 is certified only for 9.2.0.8 but it seems strange that it works for version 9.2.0.1 (even if most features are disabled) and it don't works for the others 9.2 versions.
    Someone has the same issue? Any suggestion ?
    Thank you for your help.
    Alex

    Hello,
    can you verify if the DBSNMP account is accessible (e.g. account is not locked).
    Please have a look at Note:340158.1 for some debugging information around this error.
    Regards,
    Frank

  • Error while setting up Standby database using Grid Control

    I am getting this on grid control 10.2 on windows env while creating standby database using EM. I have checked this folder and it does exists.
    any ideas?
    C:\oracle\ora10.1\network\admin\listener.ora: java.io.IOException: The system cannot find the path specified

    There is no problem tnsnames.ora & listener.ora since I am getting the same error for just standby backup also.
    this is error on emoms.trc file
    2007-07-18 13:19:37,318 [EMUI_13_19_37_/console/database/instance/sitemap] ERROR perf.sitemap setMaintenancePage.1812 - java.sql.SQLException: ORA-00933: SQL command not properly ended
    ORA-06512: at "SYSMAN.ECM_UTIL", line 509
    ORA-06512: at line 1
    java.sql.SQLException: ORA-00933: SQL command not properly ended
    ORA-06512: at "SYSMAN.ECM_UTIL", line 509
    ORA-06512: at line 1
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:137)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:304)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:271)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:625)
         at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:180)
         at oracle.jdbc.driver.T4CCallableStatement.execute_for_rows(T4CCallableStatement.java:869)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1153)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2932)
         at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3023)
         at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4132)
         at oracle.sysman.util.jdbc.PreparedStatementWrapper.execute(PreparedStatementWrapper.java:173)
         at oracle.sysman.util.jdbc.CallableStatementWrapper.execute(CallableStatementWrapper.java:135)
         at oracle.sysman.eml.ecm.cloneHome.repaccess.CloneHomeSql.getClonableHomes(CloneHomeSql.java:449)
         at oracle.sysman.eml.ecm.cloneHome.repaccess.CloneHomeSql.getClonableHomes(CloneHomeSql.java:561)
         at oracle.sysman.eml.ecm.cloneHome.repaccess.CloneHomeSql.isHomeClonable(CloneHomeSql.java:363)
         at oracle.sysman.db.adm.inst.SitemapController.setMaintenancePage(SitemapController.java:1807)
         at oracle.sysman.db.adm.inst.SitemapController.setRequestAttributes(SitemapController.java:1385)
         at oracle.sysman.db.adm.BaseController.handleEvent(BaseController.java:1154)
         at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:577)
         at oracle.sysman.db.adm.RootController.handleRequest(RootController.java:174)
         at oracle.sysman.db.adm.DBControllerResolver.handleRequest(DBControllerResolver.java:114)
         at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:781)
         at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:337)
         at oracle.sysman.eml.app.Console.doGet(Console.java:318)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:88)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
         at oracle.sysman.eml.app.BrowserVersionFilter.doFilter(BrowserVersionFilter.java:122)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
         at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:102)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
         at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:336)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:659)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    2007-07-18 13:19:42,505 [EMUI_13_19_42_/console/database/dataguard/create] ERROR em.dataguard validate.1118 - CreateBean: ClassNotFoundException: null
    2007-07-18 13:19:44,224 [EMUI_13_19_44_/console/database/dataguard/create] ERROR em.dataguard validate.1118 - CreateBean: ClassNotFoundException: null
    2007-07-18 13:19:46,052 [EMUI_13_19_44_/console/database/dataguard/create] ERROR em.dataguard mapHelpPage.2002 - StandbyUtil.mapHelpPage: dghelp for database/dataguard/createSchedule not mapped to any help ID.. Defaulting to oemdba_consens_data_guard_page
    2007-07-18 13:19:47,130 [EMUI_13_19_47_/console/database/dataguard/create] ERROR em.dataguard validate.1118 - CreateBean: ClassNotFoundException: null
    2007-07-18 13:19:53,052 [Thread-85] ERROR jobs.dbclone createTemplate.379 - TemplateManager.createTemplate(): Exception: java.io.IOException: The system cannot find the path specified
    2007-07-18 13:19:53,052 [Thread-85] ERROR jobs.dbclone submitJobPreparation.3013 - DBCloneObject.submitJobPreparation(): Exception: java.io.IOException: The system cannot find the path specified
    2007-07-18 13:19:53,052 [Thread-85] ERROR jobs.dbclone submitDBCloneJob.3228 - DBCloneObject.submitDBCloneJob(): Exception: The system cannot find the path specified
    2007-07-18 13:19:58,006 [EMUI_13_19_58_/console/database/dataguard/create] ERROR em.dataguard onEvent.1038 - CreateConfigController: Exception: oracle.sysman.db.dg.util.VxxStandbyException: The system cannot find the path specified

  • Dgutil.pl line 99 ERROR when creating 11.2.0.3 data guard via GRID CONTROL

    Oracle Grid Control 11g Release 1 (11.1.0.1.0)
    (64bit)
    Oracle Enterprise Linux Server release 5.4 x86_64
    Oracle Database 11.2.0.3 (64bit)
    1. Grid Control>Targets>Databases
    2.Click on pc01prmy (Primary)
    3.Availability > Data Guard > Setup and Manage
    4.Add Standby Database
    5.Create a new physical standby database.
    Fails with message:
    38706 at /u01/app/oracle/agent11g/sysman/admin/scripts/db/dg/dgutil.pl line 99.
    I can create a standby with a rman script without problems, but via the Grid Control page fails.
    Have you seen this before?

    I contact Oracle Support on this issue, here are the details.
    Generic Note
    Hi Marcelo, the note you sited Creating Standby Database With Enterprise Manager Failing [ID 1400482.1
    Says something a little different than what you tried.
    You did RECOVER DATABASE for manual recover and the error says use backup control file.
    For a standby to do manual recovery it's
    *alter database recover standby database ;*
    It may behave better.
    But the note implies to just apply enough redo to have the standby consistent enough to turn on flashback.
    This can be done by starting managed recovery and applying some redo log sequences.
    So the flashback being turned on is too soon, but should have worked anyway. I think it would turn on managed recovery though.
    This also happens since the job doesn't use dorecover since recovery can be done with managed recovery.
    So most likely there isn't enough activity on the primary and the online redo has not been archived yet.
    So some log switches on the primary will send enough redo to get consistent so you can turn on flashback and finish it.
    *So why did it happen?*
    Possibly
    Bug 13250486 - ADD STANDBY DATABASE FOR TARGET WITH FLASHBACK ON FAILS WITH ERROR
    Base bug 12923814 FLASHBACK AND ARL DELETION OPTIONS IGNORED IN ADD STANDBY DATABASE WIZARD
    fixed in Grid Control 12.1c
    There is currently no patch available for 11.1.0.1 Grid Control. We would have to open a bug to confirm you hit this in 11.1.0.1 and get a patch.
    *A workaround would be to turn off flashback at the primary then try to create the standby.*
    *Once the standby is created you can turn flashback back on for the primary and if required, the standby.*
    You can try again to see, or finish the standby manually as I stated above.
    I will still need the diagnostic information below.
    Action Plan
    =========
    The product verion in this SR is for 12.1.0.1 Grid Control. I assume it should be 11.1 since you stated it is.
    Grid Control job log that shows the errors.
    alert logs from the primary and standby.
    Please run these two diagnostic scripts and upload the output.
    Script to Collect Data Guard Primary Site Diagnostic (Doc ID 241374.1)
    Script to Collect Data Guard Physical Standby Diagnostic (Doc ID 241438.1)
    Edited by: Marcelo Marques - ESRI on Mar 24, 2012 9:51 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Dgutil.pl line 93 ERROR when creating 11.1.0.7 dataguard via GRID CONTROL.

    I trying to create a DG from a two node RAC instance.
    All the machines are at the same patch levels and OS levels (11.1.0.7/Solaris 2.10). Our GRID CONTROL is at 10.2.0.5 and patched to what I think is the latest level.
    The wizards works fine and the creation process creates the duplicate DB without any problems. When it gets to the very last step (#13 CREATE STANDBY DATABASE) I get this error:
    SQL> Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    dgcreate.DGgetRecoverySCN102: SELECT CHECKPOINT_CHANGE# FROM V$DATABASE
    dgcreate.DGrecoverStby102: ALTER DATABASE RECOVER MANAGED STANDBY DATABASE UNTIL CHANGE 3038710446200
    dgcreate.DGrecoverStby102: ALTER DATABASE OPEN READ ONLY
    *10458 at /u01/app/oracle/product/agent10g/sysman/admin/scripts/db/dg/dgutil.pl line 93.*
    Anyone run into this before?

    I recreated the STANDBY again (same error).
    Here is the tail end of the alert log on the standby:
    Media Recovery Not Required
    Signalling error 1152 for datafile 1!
    ORA-1547 signalled during: ALTER DATABASE RECOVER MANAGED STANDBY DATABASE UNTIL CHANGE 3038791960334...
    ALTER DATABASE OPEN READ ONLY
    Data Guard Broker initializing...
    Data Guard Broker initialization complete
    Signalling error 1152 for datafile 1!
    Beginning standby crash recovery.
    Fast Parallel Media Recovery enabled
    Managed Standby Recovery starting Real Time Apply
    parallel recovery started with 15 processes
    Media Recovery Log +ELM1DATA/egstby1/archivelog/2010_08_17/thread_1_seq_395.427.727280107
    Media Recovery Waiting for thread 2 sequence 402
    Standby crash recovery need archive log for thread 1084416 sequence 1089759 to continue.
    Please verify that primary database is transporting redo logs to the standby database.
    Standby crash recovery aborted due to error 16016.
    Errors in file /u01/app/oracle/diag/rdbms/egstby1/egstby1/trace/egstby1_ora_19850.trc:
    ORA-16016: archived log for thread 2 sequence# 402 unavailable
    Shutting down recovery slaves due to error 16016
    Recovery interrupted!
    Tue Aug 17 14:15:44 2010
    RFS[6]: Assigned to RFS process 20207
    RFS[6]: Identified database type as 'physical standby': Client is ARCH pid 24808
    Completed standby crash recovery.
    Signalling error 1152 for datafile 1!
    RFS[6]: Opened log for thread 2 sequence 403 dbid 1850521674 branch 726078384
    ORA-10458 signalled during: ALTER DATABASE OPEN READ ONLY...
    Archived Log entry 4 added for thread 2 sequence 403 rlc 726078384 ID 0x6e4d4647 dest 2:
    Tue Aug 17 14:16:06 2010
    RFS[7]: Assigned to RFS process 20257
    RFS[7]: Identified database type as 'physical standby': Client is ARCH pid 8783
    Tue Aug 17 14:16:06 2010
    RFS[8]: Assigned to RFS process 20259
    RFS[8]: Identified database type as 'physical standby': Client is ARCH pid 24819
    Tue Aug 17 14:16:06 2010
    RFS[6]: Opened log for thread 1 sequence 396 dbid 1850521674 branch 726078384
    Archived Log entry 5 added for thread 1 sequence 396 rlc 726078384 ID 0x6e4d4647 dest 2:
    Tue Aug 17 14:16:07 2010
    RFS[5]: Opened log for thread 2 sequence 404 dbid 1850521674 branch 726078384
    Archived Log entry 6 added for thread 2 sequence 404 rlc 726078384 ID 0x6e4d4647 dest 2:

  • Creating physical standby db through grid control 11g fails with "default listener is not running"

    On step 4/6, i am getting error like below
    ErrorExamine and correct the following error(s), then re-try the operation.Default Listener in Grid Infrastructure - The default listener in the grid infrastucture is not running.
    I have the listener running on grid user and grid home, 11.2 in both primary and standby.
    During these steps till 4, its no where asked for grid user password.
    Not sure how it will detect the grid home listener.
    Listener is running with default port 1521 on both the servers primary and standby
    On the step 4 screen the other option for default listener is non-default listener and its pointing to db home and not grid home.
    So i guess oracle is looking for the listener to be up on the db home and not on grid home causing the issues,
    if so how to fix this ?
    I am using role separation, separate user for grid and oracle homes grid and oracle user and all are on 11.2.0.1 db + grid

    Hello again;
    Check the solution in this: ( and note the multiple versions of oracle it covers )
    UNABLE TO FIND GRID INFRASTRUCTURE LISTENER (Doc ID 1483234.1)
    Best Regards
    mseberg

  • Backup via Grid Control backs up to wrong location.

    When creating a backup job via CG it seems to be backing up to the default directory of $ORACLE_HOME/dbs. However, rman is configured to backup to a different location. Below is the backup script that GC created.
    If I manual run backup database from RMAN the backup goes to the correct location.
    $rman_script="run {
    allocate channel oem_backup_disk1 type disk maxpiecesize 5 G;
    backup as BACKUPSET tag '%TAG' database;
    backup as BACKUPSET tag '%TAG' archivelog all not backed up delete all input;
    backup tag '%TAG' current controlfile;
    release channel oem_backup_disk1;
    allocate channel for maintenance type disk;
    delete noprompt obsolete device type disk;
    release channel;
    &br_save_agent_env();
    &br_prebackup($l_db_connect_string, $l_is_cold_backup, $l_use_rcvcat, $l_db_10_or_higher, $l_backup_strategy, "FALSE");
    my $result = &br_backup();
    exit($result);

    I believe it's the one holding the rman repository. Is your rman repository on a windows box? Make sure that account has log on as batch job privilege.

  • Snapshot report showing wrong instance on grid control!!!

    Hi
    On one of the cluster environments, Even though I run snapshot report on instance 2, report shows instance 1. This i happening on one set of cluster environment. Other cluster instances are working fine.
    Let me know if you have seen such behavior and fix...
    Thanks,

    It does not matter how many instances you have running in a RAC cluster ... you have one and only one database.
    Define your use of the term "snapshot." We have no idea to what you are referring.

  • Monitor standby database via OEM using non-sysdba account

    Hi,
    Is it at all possible to monitor a standby database via grid control using non-sysdba account so that targets are seen as up (green arrows visible etc)
    We audit sys operations and as the SYS user is the account that currently monitors the standby we are seeing our audit file dest fill too quickly. We need to keep auditing on though.
    I would like to do this using dbsnmp, though are there any roles or specific privs that need to be granted to do this? so far i am unable to do this.
    Would welcome any advice on this one.
    Thanks,
    firefly.

    Thanks for reply robert.
    we are using active for one standby but not using active for 2 other standby db's.
    I just wondered what the SYSDBA priv used (what actual priv etc) to be able to monitor standby dbs effectively, whereas non-SYSDBA accounts are unable to.
    Thanks,
    firefly

  • Configuring DG's Standby database in 10g Grid Control monitoring.

    Hi.
    I am facing issues to configure "for monitoring" the standby instance of a 10g database. If someone on this forum have experience, please share, will be greatly appreciated.
    Thanks
    /SKH

    FYI we have a tar open on this "standby databases not monitored correctly" ie grid is trying to collect metric from a sb db when it can not b/c its only mounted. The fix will be in 10.2.0.4. We are pushing for a back port to 10.2.0.3 b/c we missed a corruption in our sb db b/c we could not monitor the values and apply different templates.

  • Trying to monitor my sql servers in OEM Grid Control

    Hello,
    I have Oracle 10g OEM and I want to start monitoring my sql server databases. I've got the plug-in all setup but when it displays under my "Databases" it shows and status "down". My sql server host is running, listener running, and database is up but when I try to "configure" it gives the "Failed to connect to the database: Io exception: Connection reset The Connect Descriptor...." error. Can someone please help??? I would like to know....
    1) under the monitor user name is says "dbsnmp" so do I have to create a dbsnmp user on the sql database side?
    2) do I keep the same port number (1521) or do I put what the sql server db is listening on (1433)?????? - for the configuration in OEM
    3) If i go to the "host" under "targets" it shows that the agent is "up" but the database instance is "down and the listener is "up.
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=FSPROLOG.portofsandiego.org)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC0ipc)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "PMDBSQL" has 1 instance(s).
    Instance "PMDBSQL", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    Thanks in Advance,,

    Welcome to the forums !
    Not sure what this has to do with database upgrades (the topic of this forum), but pl confirm that you have followed all of the steps in MOS Doc 359413.1 (How To Download and Deploy Microsoft SQL Server Plug-in To Monitor SQL Server Targets From Grid Control )
    HTH
    Srini

  • Monitor oracle connection manager (cman) in grid control

    How to montior oracle connection manager listener/instace in Grid Control. When I installed grid agent on the box where oracle connection manager running, agent is not able to discover the oracle connection manager instance. Is it possible to montior this via Grid Control?

    please send configuration file of cman.ora, listener.ora

Maybe you are looking for