Administrating Data Guard without complexity of Grid Control.  Possible?

I wonder if someone can shed some wisdom about implementing and administrating Data Guard without the complexity of Grid Control. Don't get me wrong, I love the Data Guard feature provided by Grid Control, but installing Grid Control just for the sake of administrating Data Guard sounds a bit overkilling. Not to mention that I still have hard time getting Grid Control properly installed on a Windows Server 2003 box (keeps getting 503 Service Unavailable and the Servlet error).
I was told by a friend that Oracle 9 has something called EMCA (Control Assistant) that allows you to administrate Data Guide. Searching for any file containing the phrase "emca" under the Oracle directory ("c:\Oracle\product\10.2.0\db_1\BIN"), I found emca.bat and some related files. Does it mean the EMCA is actually existing in Oracle 10.2G (for Microsoft Windows Server)?
Any comment? Feeling clueless right now. :-I ....
Deecay

I have set up Dataguard 9iR2 on Linux SLES8 and use Data Guard Broker to manage switchover and failover operations. It comes with the database and is command-line based.
The documentation walks you through the setup phases quite nicely.
http://www.oracle.com/pls/db92/db92.to_toc?pathname=server.920%2Fa96629%2Ftoc.htm&remark=docindex
I would suggest a read of some of the documentation on metalink surrounding dataguard and the broker before attempting to use either ;)

Similar Messages

  • Data Guard Summary problem using Grid Control.

    I setup data guard using Grid Control and after completion, the console of the standby database shows: "Unable to determine Data Guard information." under the Data Guard Summary section. The primary database is not showing the standby. I'm using Red Hat Linux Server 5.7 (64bit) and Oracle 10.2.0.5. This is a standalone (no RAC or ASM involved). When I run show configuration, the following comes up:
    DGMGRL> SHOW CONFIGURATION;
    Configuration
    Name: PRODDB_ghph@ora01
    Enabled: YES
    Protection Mode: MaxPerformance
    Fast-Start Failover: DISABLED
    Databases:
    ghph - Primary database
    gsbh - Physical standby database (disabled)
    Current status for "PRODDB_ghph@ora01":
    SUCCESS
    I tried searching online and metalink but nothing. Any help in solving this problem would be appreciated. TIA
    Edited by: Gensis2001 on Jan 8, 2013 3:08 PM

    Gensis2001 wrote:
    Does this make any sense?
    SYS@gsbh> SELECT * FROM V$ARCHIVE_GAP;
    no rows selected
    SYS@gsbh> select process, status, sequence# from v$managed_standby;
    PROCESS STATUS SEQUENCE#
    ARCH CLOSING 60353
    ARCH CLOSING 60352
    RFS IDLE 60354
    MR(fg) WAIT_FOR_GAP 58673
    4 rows selected.Currently standby is waiting for the sequence *58673* but the later on archives of series 60353... are already archived.
    Can you confirm that only archive sequence * 58673* is missing or any more? If you have less number of archives are missing then see how the parameters you configured. like FAL_SERVER, LOG_ARCHIVE_CONFIG, LOG_ARCHIVE_DEST_n so on.
    Check below command and see any errors with remote destinations
    select severity,error_code,to_char(timestamp,'DD-MON-YYYY HH24:MI:SS') "timestamp" , message from v$dataguard_status where dest_id=2;Source: http://www.oracle-ckpt.com/dataguard_troubleshoot_snapper/
    If the archives are missing so many and you do not have backup, then certainly you have to choose incremental roll forward to synchronize the primary database, then only you can see the configuration status of Broker as valid. You can refer this article to perform incremental roll forward http://www.oracle-ckpt.com/rman-incremental-backups-to-roll-forward-a-physical-standby-database-2/

  • How to create logical standby database without using Oracle Grid Control

    Hi All,
    I want to create Logical standby database on 11gr2 on RHEL 5 without using oracle Grid Control.
    I already have a primary database as well as physical standby database.
    What i want to create a logical standby database as well on the same machine where physical standby database is running.
    So anyone of you help me out to do that
    Thanks in advance

    Hi,
    Creating a Logical Standby Database
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/create_ls.htm#SBYDB00300
    Regards,
    Tom

  • ASM without Enterprise Manager Grid Control

    Dear Gurus,
    Can ASM be configured on Oracle 11g R2 without Enterprise Manager Grid Control ?
    If so, how?
    /Regards

    Thanks Jose,
    But it seems asmca is not on my server were I installed Oracle 11g R2. With your input I have been able to search in the right direction though. The following page seems to say that the Oracle grid infrastructure must be installed, as asmca is part of it:
    http://download.oracle.com/docs/cd/E11882_01/install.112/e10840/oraclerestart.htm#BABGDFIC
    It states this:
    If you do not have Automatic Storage Management installed and you want to use Automatic Storage Management as your storage option, then you must complete an Oracle grid infrastructure installation before you start your Oracle Database installation.
    To me this seems like overkill (having to install 3GB extra software to test if ASM is what we need, where in Oracle 10g no grid infrastructure was needed).
    /Best regards
    /9350831
    Edited by: user9350831 on 24-jun-2010 21:41

  • Data Guard configuration for RAC database disappeared from Grid control

    Primary Database Environment - Three node cluster
    RAC Database 10.2.0.1.0
    Linux Red Hat 4.0 2.6.9-22 64bit
    ASM 10.2.0.1.0
    Management Agent 10.2.0.2.0
    Standby Database Environment - one Node database
    Oracle Enterprise Edition 10.2.0.1.0 Single standby
    Linux Red Hat 4.0 2.6.9-22 64bit
    ASM 10.2.0.1.0
    Management Agent 10.2.0.2.0
    Grid Control 10.2.0.1.0 - Node separate from standby and cluster environments
    Oracle 10.1.0.1.0
    Grid Control 10.2.0.1.0
    Red Hat 4.0 2.6.9-22 32bit
    After adding a logical standby database through Grid Control for a RAC database, I noticed sometime later the Data Guard configuration disappeared from Grid Control. Not sure why but it is gone. I did notice that something went wrong with the standby creation but i did not get much feedback from Grid Control. The last thing I did was to view the configuration, see output below.
    Initializing
    Connected to instance qdcls0427:ELCDV3
    Starting alert log monitor...
    Updating Data Guard link on database homepage...
    Data Protection Settings:
    Protection mode : Maximum Performance
    Log Transport Mode settings:
    ELCDV.qdx.com: ARCH
    ELXDV: ARCH
    Checking standby redo log files.....OK
    Checking Data Guard status
    ELCDV.qdx.com : ORA-16809: multiple warnings detected for the database
    ELXDV : Creation status unknown
    Checking Inconsistent Properties
    Checking agent status
    ELCDV.qdx.com
    qdcls0387.qdx.com ... OK
    qdcls0388.qdx.com ... OK
    qdcls0427.qdx.com ... OK
    ELXDV ... WARNING: No credentials available for target ELXDV
    Attempting agent ping ... OK
    Switching log file 672.Done
    WARNING: Skipping check for applied log on ELXDV : disabled
    Processing completed.
    Here are the steps followed to add the standby database in Grid Control
    Maintenance tab
    Setup and Manage Data Guard
    Logged in as sys
    Add standby database
    Create a new logical standby database
    Perform a live backup of the primary database
    Specify backup directory for staging area
    Specify standby database name and Oracle home location
    Specify file location staging area on standby node
    At the end am presented with a review of the selected options and then the standby database is created
    Has any body come across a similar issue?
    Thanks,

    Any resolution on this?
    I just created a Logical Standby database and I'm getting the same warning (WARNING: No credentials available for target ...) when I do a 'Verify Configuration' from the Data Guard page.
    Everything else seems to be working fine. Logs are being applied, etc.
    I can't figure out what credentials its looking for.

  • Data guard monitoring shell script

    uname -a
    Linux DG1 2.6.18-164.el5 #1 SMP Thu Sep 3 03:28:30 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
    SQL> select * from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE 11.2.0.1.0 Production
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    Hi Guys,
    I am looking for a shell script that i can cron ,which monitors dataguard env (10g and 11g )and sent email alerts if DR go out of sync say by 10 or 15 logs
    i found couple on the net but not working for some reason
    http://emrebaransel.blogspot.com/2009/07/shell-script-to-check-dataguard-status.html
    if you guys have some please share

    You are using an advanced version of Oracle and want to plug an obsolete script into it??
    Why not just monitor the Data Guard with EM or Grid Control and setup emails in there? It is 100% more reliable than anything else.

  • About grid control

    can we have a standby database with oracle grid control.i mean i want to have grid control + physical standby for my database(data guard)
    i just know grid provides data guard facility.kindly explain how does it provide this functionality in grid.
    if there is disaster can i have a physical standby
    also please tell me does sap application support grid control

    Hi,
    can we have a standby database with oracle grid control.i mean i want to have grid control + physical standby for my database(data guard)Question not clear. You can have a primary database, then you can have a standby database and then you can have grid control (on a separate server) to monitor both your primary and standby.
    i just know grid provides data guard facility.kindly explain how does it provide this functionality in grid.No, grid does not provide data guard facility. You can use OEM grid to create and manage your dataguard environment, but it does not provide this facility at its own. OEM grid is an administration/management and monitoring toll for Oracle environment.
    if there is disaster can i have a physical standby Your create a physical standby and then make it primary in case of any disaster.
    also please tell me does sap application support grid controlYou may find your answer in the following thread.
    http://scn.sap.com/thread/1005106
    Salman

  • Data Guard Configuration Issue / ORA-16047

    So last night I decided to setup a test Physical Standby database. I had everything working correctly and when I started playing around with the Data Guard Broker I started having some problems. Now I can't get the logs to ship from the primary to the standby.
    Version: Primary and Standby
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE    11.2.0.1.0    Production
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    OS: Primary and Standby
    [oracle@dgdb0 trace]$ uname -a
    Linux dgdb0.localdomain 2.6.32-100.28.5.el6.x86_64 #1 SMP Wed Feb 2 18:40:23 EST 2011 x86_64 x86_64 x86_64 GNU/LinuxI first noticed a problem with a large gap in sequence numbers.
    Standby
    SQL> SELECT sequence#, applied from v$archived_log order by sequence#;
    SEQUENCE# APPLIED
         8 YES
         9 YES
        10 YES
        11 YES
        12 YES
        13 YES
        14 YES
    7 rows selected.
    Primary
    SQL> archive log list;
    Database log mode           Archive Mode
    Automatic archival           Enabled
    Archive destination           USE_DB_RECOVERY_FILE_DEST
    Oldest online log sequence     37
    Next log sequence to archive   39
    Current log sequence           39Here is some of the configuration information on the primary:
    SQL> show parameter db_name
    NAME                     TYPE     VALUE
    db_name                  string     dgdb0
    SQL> show parameter db_unique_name
    NAME                     TYPE     VALUE
    db_unique_name                 string     dgdb0
    SQL> show parameter log_archive_config
    NAME                     TYPE     VALUE
    log_archive_config             string     dg_config=(dgdb0,dgdb1)
    SQL> show parameter log_archive_dest_2
    NAME                     TYPE     VALUE
    log_archive_dest_2             string     service=dgdb1 async valid_for=
                             (online_logfile,primary_role)
                             db_unique_name=dgdb1Standby parameters
    SQL> show parameter db_name
    NAME                     TYPE     VALUE
    db_name                  string     dgdb0
    SQL> show parameter db_unique_name
    NAME                     TYPE     VALUE
    db_unique_name                 string     dgdb1So I proceeded to run this query:
    SQL> SELECT error from v$archive_dest WHERE dest_name='LOG_ARCHIVE_DEST_2';
    ERROR
    ORA-16047: DGID mismatch between destination setting and target
    databaseThe error description is:
    Cause:       The DB_UNIQUE_NAME specified for the destination does not match the DB_UNIQUE_NAME at the destination.
    Action:     Make sure the DB_UNIQUE_NAME specified in the LOG_ARCHIVE_DEST_n parameter defined for the destination matches the DB_UNIQUE_NAME parameter defined at the destination.As you can see from above the DB_UNIQUE_NAME in the LOG_ARCHIVE_DEST_2 parameter matches that of the standby database.
    Also DG_BROKER_START is set to false on both the primary and standby databases.
    Finally, I've removed all the drc* files from the $ORACLE_HOME/dbs directories on both the primary and standby servers to ensure the broker is not configured.
    Where did I go wrong? How can I get the standby caught up and working correctly again?
    I apologized if I missed anything. I'm relatively new to standby databases.

    Centinul;
    I have noticed a couple things
    1. If you are running the query below from the standby you will probably always get the results you posted
    SELECT sequence#, applied from v$archived_log order by sequence#;
    What I do if run this from the primary and I add the "DEST_ID" column to the query.
    2. You might have better luck finding GAPS using these queries:
    select max(sequence#) from v$archived_log where applied='YES';
    select process,status from v$managed_standby;
    SELECT * FROM V$ARCHIVE_GAP;
    3. You are mixing SQL results with Data Broker, that can bite you. Not sure where you went wrong but I would create PFILE versions at both ends before trying to Data Broker. The you can review each setting and avoid issues before adding Data Broker. Data Broker will take control and you may even find it adds entries to your parameter file.
    The ORA-16047 is probably database parameter related and this should at least help answer the question. For example you might be missing log_archive_config on the Standby or soething. Comparing the two PFILE's should narrow this down
    I checked my Data Broker notes but did not find an ORA-16047, I managed ORA-01031, ORA-16675, ORA-12514, and ORA-16608.
    For me I decided it was a good idea to run Data Guard without Data Broker at first until I got the feel of it using SQL.
    Last of all if you have not already consider buying Larry Carpenter's "Oracle Data Guard 11g Handbook" In my humble opinion its worth every penny and more.
    Best Regards
    mseberg

  • How to create grid control in java

    hi,
    i want grid control in java like visual basic. can any one give me solution.

    I am new to this. I want to display the data from database like a grid control. Ok, what problems are you having. You been given a link to the tutorial which shows you how to build a table.
    There is also a tutorial on [url http://java.sun.com/docs/books/tutorial/]JDB Database Access here:
    http://java.sun.com/docs/books/tutorial/
    Start by creating your SQL statement and iterating throught the ResultSet. Once you know how to do that, instead of outputting the data you simply build a DefaultTableModel and create the JTable.

  • Active Data Guard License is technical or legal ?

    Dear friends
    I have seen in many documents , that the Active Data Guard needs additional license , but one of my friends said that he could implement Active Data Guard without any licenses ( he only downloaded the Enterprise edition of database 11g r2 ).
    my question : is the active data guard license , a technical license or legal license ?

    user8336252 wrote:
    Dear friends
    I have seen in many documents , that the Active Data Guard needs additional license , but one of my friends said that he could implement Active Data Guard without any licenses ( he only downloaded the Enterprise edition of database 11g r2 ).
    my question : is the active data guard license , a technical license or legal license ?Wow, everyone seems to want to jump up and trumpet their superior licensing knowledge in Big Legal Voice tones instead of simply answering the poor guy's question.
    If you have a server that has an Oracle EE database on it, you need to license it. It doesn't matter if only a standby database is on the server - DataGuard is just a feature like other features. One server with a primary + one server with the standby = 2 servers you need to pay licenses for.
    Everyone else, relax, answer the question, and stop waving your Big Swinging Audit Team language. The original poster demonstrates how widely misunderstood Oracle licensing is among DBAs - which given how often it's changed, is not a surprise ;-)

  • Grid Control in Servlet?

    Hi guys,
    I am new in servlet, Please advice how
    can i have GridControl in servlet?
    Thx
    Ali

    Ram (guest) wrote:
    : Hi,
    : I am developing an application which has a client side applet
    : and talking to a servlet which hold the database connection.
    : I am able to coonect the applet and from the client applet If
    i
    : pass aquery I get the output back in the applet in HTML
    format.
    : My problem is , that i am using a grid control in my
    applet.How
    : do I specify the query dataset for the grid control, since the
    : conn is in the servlet in the middle tier and also how do i
    : populate the grid control with the data I get from the servlet
    : which at present is in formatted HTML.
    : In the online manual I could find that we could stream the
    : querydataset object itself using but I am not able to find the
    : class,methods or interfaces for DataSetData which implements
    : io.serializable.
    : What is the best way to do this, Can u please help me
    : Thanks
    : Ram
    1. Have the Servlet return a result set instead of an html table
    2. Use the Database.resultToDataSet(resultset) method to provide
    a data set
    3. bind the grid control to that data set gridcontrol.setDataSet
    (dataset-returned from step 2.)
    Federico
    null

  • Security concern about grid control agent

    I am planning for grid control rollout. Our system administrator is concerned about
    security of grid control agent. For example, I do not know the Oracle password,
    I sudo to Oracle after login as myself.
    What are the options do I have ? I have told my system admin that
    other companies use "oracle" - the database sysdba/software owner as agent owner.
    But my system admin think this is a big security risk since he has to tell me the
    oracle password

    In more explicit terms, what is the security concern you have?
    Specifically, I do not see what you mean by the sentence:
    when I install grid control agent as "oracle", I provide "oracle "password in order
    to run job on our unix server.By "oracle" are you referring to the Oracle Software owner account, by which the Database and/or EM software was installed?
    Please explain how the job is related to installation of management agent. If you are talking about running jobs after installation, when agent is configured and running, where and how exaclty are you required to enter "oracle" password?

  • Exadata to non Exadata Data Guard

    I was wondering if I can make a configuration of an Exadata RAC to non Exadata single node Data Guard.
    I made some RAC to single node data guards without problem, but I wonder if it is posible with exadata since
    exadata is intel based, maybe I can save some thousands with a DR site with a non exadata hardware.
    FJA

    In theory, it should work.  However, I suggest that you ask your Exadata Support.  Or raise a query in the Exadata forum space.
    Just realised that if you use Exadata specific features (EHCC -- Hybrid Columnar Compression), you'd have difficulties. 
    Hemant K Chitale

  • Can I make a Data Guard configuration using EM console without Grid Control

    Can I make a Data Guard configuration using EM console without Grid Console?
    Can I download Grid Console software from Oracle website without cost?

    Assuming this is for 10g,
    You could use Oracle® Data Guard Broker
    Even you can download Grid Control software for free from Oracle site, you can't legally use it without license.

  • 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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Maybe you are looking for