Question - Oracle Physical Standby

Oracle 10.2.0.3 database running on row logical disk (row device) with two thread RAC cluster with CRS and AIX-HACMP implemented on two nodes running AIX6.1 OS
My question can one create simple Oracle Physical Standby (without data guard etc) Database on different AIX node which do not have HACM and CRS RAC but simple non RAC Oracle S/W installed
If this can be done how the single one thread non RAC Oracle database will consume and apply two thread archive logs and keep itself to sync with primary database changes.
Can you please provide some details if this is feasible or not? My guess is for this to happend ORACLE RAC setup with RAC enable Oracle S/W is must with one active thread and other thread can be inactive and not in use.
Thanks –

A standby database is not Data Guard ... it is a standby. Data Guard is a specific automated implementation of a Standby. You can do whatever you wish manually if you prefer pain to comfort.
Personally I'd throw away the IBM stuff and go with Data Guard: It is far superior and does something critical HACM can not do ... guarantee that what is replicated is logically correct. Replicating corruption has no value.

Similar Messages

  • RMAN question concerning Physical Standby

    We have a database in a two-server Dataguard environment. We use RMAN to backup up the Primary database (on the server CORE), but we do not backup the Physical Standby (this was recommended by our vendor).
    Once a month, I switchover the Primary database (on the server CORE) over to the Physical Standby database (which is on the server DG). I apply Linux patches to the CORE server and reboot. I then bring up the database as Physical Standby (using "startup nomount", followed by "alter database mount standby database" and then "alter database recover managed standby database disconnect from session"), and then I do a switchover and make it the Primary again.
    My question is, after I bring up the database on the server CORE as a Physical Standby, and before I do a switchover to make it the Primary again, can I use RMAN to run a "restore database validate" to see if my backups are currently valid, or would this not give me the expected results since I am the Physical Standby?
    Thanks in advance.

    You should have any problem. What you're doing is similar to a a "rolling upgrade". When your physical to production environment make sure put the dest_2 in defer. Is your current physical standby works now? If so, there's problem.

  • Oracle Dataguard Question on Physical Standby Database with a Time Lag

    I have a Standby database (PROD_LAG) that has a delay of 24hrs. How do I check to see what Archive have applied, what is current, and what is left to do.
    There is a script but its for a Logical Standby database...
    Thanks you in advance...

    hi,
    ok a little bit more explanation.
    The GUI does work but seems to report incorrect data.
    I have carried out a switchover so the primary database is now 'offsite_emrep' and the standby database is 'office_emrep'
    The GUI how ever still reports that office_emrep is the primary database.
    I cannot add the offsite_emrep database as the host is unknown. I am however running the GUI from the Host.
    I have the following from the agent status
    [oracle@griddg bin]$ ./emctl status agent
    #Oracle Enterprise Manager 10g Release 3 Grid Control 10.2.0.3.0.
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    Agent Version : 10.2.0.3.0
    OMS Version : 10.2.0.3.0
    Protocol Version : 10.2.0.2.0
    Agent Home : /u01/app/oracle/product/10.2.0/agent10g
    Agent binaries : /u01/app/oracle/product/10.2.0/agent10g
    Agent Process ID : 19797
    Parent Process ID : 19780
    Agent URL : https://griddg.domain.net:3872/emd/main/
    Repository URL : https://griddg.domain.net:1159/em/upload
    Started at : 2007-10-01 12:35:02
    Started by user : oracle
    Last Reload : 2007-10-01 12:35:02
    Last successful upload : (none)
    Last attempted upload : (none)
    Total Megabytes of XML files uploaded so far : 0.00
    Number of XML files pending upload : 116
    Size of XML files pending upload(MB) : 27.67
    Available disk space on upload filesystem : 83.08%
    Last attempted heartbeat to OMS : 2007-10-01 12:38:08
    Last successful heartbeat to OMS : unknown
    Agent is Running and Ready
    any help is appreciated.
    rgds
    alan

  • A question about Physical Standby

    Hello everybody, this is my environment:
    Primary Database: RAC nodes, Oracle 11.1.0.7, SLES 10
    Standby Database: Single Instance, 11.1.0.7, SLES 10
    Protection Mode: Max. Performance
    Standby database is open with real time apply, ‘cause, it is used by read only applications. At least, twice a week, standby database is desynchronized with its primary database. In that situation, standby remains open sometimes but other times, it changes from open to mounted state, what its troubles ‘cause applications can’t read data from it.
    Finally, I don’t know, why standby after having GAP or being desynchronized with primary, sometimes remains OPEN and other times changes from OPEN to MOUNTED.
    Thanks a lot, any help will be appreciated.

    If I understand you correctly, you are asking why changing the database name does not necessitate changing the service name? There is no direct relationship between them, you can define any number of service names to register with the listener. By default, there will be a service that does have the same name as the database (possibly with a domain appended) but you do not have to use that one. Query V$ACTIVE_SERVICES and DBA_SERVICES to see what services are available.
    Edited by: JohnWatson on Oct 11, 2012 1:50 PM
    Sorry - " a service that does have the same name as the database" should read " a service that does have the same unique name as the database"

  • Two basic questions on Physical Standby

    DB version: 10.2.0.5
    OS : Solaris
    Question1.
    This is how one mounts a Standby Database. Right?
    $ sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.5.0 Production on Thu Dec 16 13:16:33 2011
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> startup nomount;
    ORACLE instance started.
    Total System Global Area 1436819456 bytes
    Fixed Size                  2158344 bytes
    Variable Size             855642360 bytes
    Database Buffers          570425344 bytes
    Redo Buffers                8593408 bytes
    SQL> alter database mount standby database;
    Database altered.Question2.
    Once MOUNTED (using the above command), the standby database will be in a consistent state of recovery automatically by applying the shipped archive logs. Right ?
    Or , do we have to explicitly issue the below command on a regular basis to apply the shipped archived redo logs to make it Sync with the primary DB ?
    recover standby database;

    Hello;
    Assuming you are using SQL you would start the Standby mount :
      SQL>startup mount;You can start the Redo Apply runs as a foreground session or as a background process :
    Foreground :
      SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE;
    Background :
    SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT;You have to do this each time you bounce the Standby database. If everything is working ( Network etc the redo will start to apply )
    To stop redo apply issue :
    SQL>ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL;You may find these two simple queries from the Primary helpful :
    clear screen
    set linesize 100
    column STANDBY format a20
    column applied format a10
    SELECT 
       NAME AS STANDBY,
       SEQUENCE#,
       APPLIED,
       COMPLETION_TIME
    FROM
       V$ARCHIVED_LOG
    WHERE 
       DEST_ID = 2
    AND
       NEXT_TIME > SYSDATE -1;
    SELECT
      MAX(SEQUENCE#)
    FROM
      V$ARCHIVED_LOG
    WHERE
      NEXT_TIME > SYSDATE -1;Best Regards
    mseberg

  • Physical standby databse

    I am using 10g release 2, my question is Physical standby swichover without downtime or manually should start the standby database.

    you will have a short downtime while switching over.
    It depends on the startupt time you need for the instance.
    You can follow both alert.log files and see which processes are started and when the databases are shut down and restarted.
    And of course you have to ensure that your listener-configuration is correct so the application or whatever is able to reach the new site.
    Edited by: torgum on Nov 3, 2009 11:27 AM

  • Difference between physical standby database and Data Guard

    Hi guys,
    Today I attended one interview. They asked me a difference between the Oracle Physical Standby database and Oracle Dataguard?
    Upto my knowledge Oracle Physical Standby Database is one type of Standby Database can be configured using Oracle Databaguard Feature.
    Can you people calrify me on this.
    Regards,
    Vijayaraghavan K

    hello,
    yes you are right upto some extent...here is para form oracle doc
    Oracle Data Guard is the most effective and comprehensive
    data availability, data protection, and disaster recovery solution
    for enterprise databases. It provides the management, monitoring,
    and automation software infrastructure to create and maintain one
    or more synchronized standby databases to protect data from failures,
    disasters, errors, and corruptions.
    Data Guard standby databases can be located at remote disaster
    recovery sites thousands of miles away from the production data center,
    or they may be located in the same city, same campus,
    or even in the same building. If the production database
    becomes unavailable because of a planned or an unplanned outage,
    Data Guard can switch any standby database to the production role,
    thus minimizing downtime and preventing any data loss.oracle data guard is maximum availiblity solution which maintain physical standby databases and in case of failure of production can switch production role to and standby database.
    read it here
    http://www.oracle.com/technology/deploy/availability/htdocs/DataGuardOverview.html
    thanks and regards
    VD
    Edited by: Dixit on Aug 31, 2009 1:35 AM
    Edited by: Dixit on Aug 31, 2009 1:36 AM

  • Question-Recovering tablespace in physical Standby...Oracle 10g?

    Hello:
    I have an interesting issue. I thought I will ask the group.
    I have a physical standby database in 10g. Once of the datafile is in inconsistent state due to a crashed DB during recovery from the last time around.
    I do not have any archivelogs, either on standby or primary .. Unfortunately.
    However, the primary database is alive and well.
    How do I recover my datafile selectively? Is a complete restore/recreation of the standby is the only option?
    Any ideas?
    Thanks in advance.
    Ganesh

    read that link
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/scenarios.htm#CIHIAADCKhurram

  • Questions regarding creating a physical standby database in 10gR2

    I'm setting up a physical standby database in a test environment using two windows 2003 servers. I was wondering if someone could answer a few questions I'm not too clear on. I've been thru the data guard manual and as much online information as i can find. I may have it working but wanted to post some things I'm not sure I did quite right.
    My tnsnames.ora files.
    On my primary database server:
    # tnsnames.ora Network Configuration File: F:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\tnsnames.ora
    # Generated by Oracle configuration tools.
    PRIMARY =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = SERVER1)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = PRIMARY.MYDOMAIN.com)
    STANDBY =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = SERVER2)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = STANDBY.MYDOMAIN.com)
    On my physical standby database server:
    # tnsnames.ora Network Configuration File: f:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\tnsnames.ora
    # Generated by Oracle configuration tools.
    STANDBY =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = SERVER2)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = STANDBY.MYDOMAIN.com)
    PRIMARY =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = SERVER1)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = PRIMARY.MYDOMAIN.com)
    My Listener.ora files:
    On my primary database server:
    # listener.ora Network Configuration File: F:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = PRIMARY.MYDOMAIN.com)
    (ORACLE_HOME = f:\oracle\product\10.2.0\db_1)
    (SID_NAME = primary)
    LISTENER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = server1.mydomain.com)(PORT = 1521))
    On my physical standby database server:
    # listener.ora Network Configuration File: f:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = standby.mydomain.com)
    (ORACLE_HOME = f:\oracle\product\10.2.0\db_1)
    (SID_NAME = standby)
    LISTENER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = sever2.mydomain.com)(PORT = 1521))
    The next item I'm not sure about is after creating the control file for standby use.
    One the primary server I created it using:
    alter database create standby controlfile as 'sbcontrol01.ctl';
    I copied the primary database pfile I had created earlier to the standby server, renamed it and edited it.
    Initially I left the CONTROL_FILES= parameter pointing to the control01.ctl, control02.ctl and control03.ctl that I restored. But I was getting the error ORA-01665: control file is not a standby control file
    So I copied the sbcontrol01.ctl to sbcontrol02 and sbcontrol03.ctl and pointed the CONTROL_FILES= parameter at them.
    The error went away and the database came up. I still need to test it some more but wanted to see if what i did was correct or a fluke.
    Edited by: tjohnson on Mar 23, 2009 2:26 PM

    If in the primary I had control files named control01, control02 and control03 would I have been able to create a standby controlfile called control01.ctl or would I have had to name it something else like I did (sbcontrol01.ctl) and rename it to control01.ctl once I got it over to the standby database server?Suppose you have the primary database control file in C:\oracle\primary\control location with names control01.ctl and control02.ctl. Then also you can create a standby controlfile with control01.ctl and control02.ctl , but then the location to be created must be different.You can create it in C:\oracle\primary location and then transfer to the specified location mentioed in the pfile of the standby database and mount the standby database.
    But saying this i would suggested to keep the name different from control01.ctl as far as naming conventions are followed.It might confuse someoe whether its a primary database controlfe or a standby database controlfile.Usally primary database controlfile are named control01.ctl , coltrol02.ctl etc and for standby many do prefer keeping standby01.ctl, standby02.ctl.Thats just for for understanding.
    HTH
    Anand

  • Error while creating physical standby database using Oracle Grid 10.2.0.5

    Hi All,
    I am setting up data guard using oracle grid.
    Primary database version: - 10.2.0.4
    Standby database version: - 10.2.0.4
    Primary OS Red Hat Enterprise Linux AS release 4 (Nahant Update 8)2.6.9
    Standby OS Red Hat Enterprise Linux AS release 4 (Nahant Update 8)2.6.9
    I am creating physical standby database using EM. But it is getting failed with error message in sqlnet.ora file
    Fatal NI connect error 12533, connecting to:
    (DESCRIPTION=(ADDRESS_LIST=)(CONNECT_DATA=(SERVICE_NAME=INPRDSB_XPT)(SERVER=dedicated)(CID=(PROGRAM=oracle)(HOST=indb50.oii.com)(USER=oracle))))
      VERSION INFORMATION:
            TNS for Linux: Version 10.2.0.4.0 - Production
            TCP/IP NT Protocol Adapter for Linux: Version 10.2.0.4.0 - Production
      Time: 17-AUG-2010 02:40:07
      Tracing not turned on.
      Tns error struct:
        ns main err code: 12533
        TNS-12533: TNS:illegal ADDRESS parameters
        ns secondary err code: 0
        nt main err code: 0
        nt secondary err code: 0As we can see, address_list is empty.
    Can anyone suggest what could be the reason behind this?

    Dear user13295317,
    Here is the error explanation;
    Oracle Error :: TNS-12533
    TNS:illegal ADDRESS parameters
    Cause
    An illegal set of protocol adapter parameters was specified.
    In some cases, this error is returned when a connection cannot be made to the protocol transport.
    Action
    Verify that the destination can be reached using the specified protocol.
    Check the parameters within the ADDRESS section of TNSNAMES.ORA.
    Legal ADDRESS parameter formats may be found in the Oracle operating system specific documentation for your platform.
    Protocols that resolve names at the transport layer (such as DECnet object names) are vulnerable to this error if not properly configured or names are misspelled.Hope That Helps.
    Ogan

  • Question regarding removal of physical standby database?

    We are running a 2 node rac cluster on linux itanium and we have setup one physical standby server. We did not use the data guard broker to setup the standby database we simply set 2 parameters log_archive_config and log_archive_dest_2.
    We now are looking to remove the physical standby server and I see that the 2 parameters are dynamic so I was trying to find out if it is as simple as running the alter system comands to reove the 2 parameters?
    I gues my real question is more about the syntax of removing the parameters?
    Would this syntax be correct?
    alter system set log_archive_config='' scope=both sid='*';
    alter system set log_archive_dest_2='' scope=both sid='*';
    and does it make a difference which parameter is removed first?
    Thanks I appreciate any help.

    the standby system is also a 2 node cluster but only one of the nodes has the instance up in a mount state running in recover mode and the other instance is simply shutdown.
    Thanks.

  • Db_file parameter change in oracle 8i with physical standby configured

    i have oracle 8i (8.1.7) with physical standby configured.
    i need to change the db_file parameter value. kindly check the below steps are correct? Thanks.
    1. alter database backup controlfile to trace;
    2. edit the init.ora file as db_file=<new value> (after backing up the existing pfile)
    3. edit the create control file statement in udump -- max datafile (and also remove the first line startup nomount)
    4. shutdown immediate;
    5. startup pfile ='file name';
    6. in sqlplus run the create control file statement;
    7. alter database backup controfl file for standby;
    8. move the standby control file to standby db server
    9. shutdown immediate in standby
    10. copy the pfile and edit the new values
    11. startup mount pfile='new pfile' (in standby)
    12. recover control file <location> from rman
    13. start the recovering of standby.
    Thanks,
    Raman.

    Just change the db_files value to some higher value in the init.ora file and restart the database. With this you can create more datafiles no need to create control file.

  • Physical Standby database Oracle 10g Standard Edition

    Hello,
    I open a new question about testing a standby database a because of this:
    I realize that my standby database is 10g Standard and not Enterprise and not 11g.
    Because for testing we plan to modify data on Standby, we are looking for some way to restore Standby to the point before testing.
    So, I can't use Flashback Recovery Area for restoring my database to a certain point after testing.
    In this scenario, the only way that I think is:
    On Standby
    - Shutdown database
    - Copy by O/S all datafiles, temp files, control files and redo logs. That will be my backup before testing.
    - Open database, test and modify data
    - When test is finished, shutdown database
    - Copy and replace by O/S all datafiles, temp files, control files and redo logs from backup place
    - Open database as standby and apply all archived redo logs needed.
    Would be it work without problem or should I copy other files?

    user521219 wrote:
    Hello,
    I open a new question about testing a standby database a because of this:
    I realize that my standby database is 10g Standard and not Enterprise and not 11g.
    Because for testing we plan to modify data on Standby, we are looking for some way to restore Standby to the point before testing.
    So, I can't use Flashback Recovery Area for restoring my database to a certain point after testing.
    In this scenario, the only way that I think is:
    On Standby
    - Shutdown database
    - Copy by O/S all datafiles, temp files, control files and redo logs. That will be my backup before testing.
    - Open database, test and modify data
    - When test is finished, shutdown database
    - Copy and replace by O/S all datafiles, temp files, control files and redo logs from backup place
    - Open database as standby and apply all archived redo logs needed.
    Would be it work without problem or should I copy other files?yes, It will work.
    it comes under Refresh of database, use --> cleanup --> restore.
    If its enterprise edition , you can use procedure mentioned in this note How To Open Physical Standby For Read Write Testing and Flashback [ID 805438.1]
    Edited by: CKPT on Jul 5, 2012 11:01 PM

  • Oracle 10g physical standby error

    Hi all,
    We been frequently getting this error on our standby DB and not sure if it's network related or a possible configuration tuning.
    RFS[425]: Assigned to RFS process 3640
    RFS[425]: Identified database type as 'physical standby'
    Primary database is in MAXIMUM PERFORMANCE mode
    Primary database is in MAXIMUM PERFORMANCE mode
    RFS[425]: No standby redo logfiles created
    Mon Nov 23 09:47:28 2009
    Fetching gap sequence in thread 1, gap sequence 35418-35418
    Mon Nov 23 09:48:02 2009
    FAL[client]: Failed to request gap sequence
    GAP - thread 1 sequence 35418-35418
    DBID 3292763437 branch 615642223
    FAL[client]: All defined FAL servers have been attempted.
    Check that the CONTROL_FILE_RECORD_KEEP_TIME initialization
    parameter is defined to a value that is sufficiently large
    enough to maintain adequate log switch information to resolve
    archivelog gaps.
    Mon Nov 23 09:48:17 2009
    RFS[384]: No standby redo logfiles created
    Mon Nov 23 09:48:21 2009
    RFS[425]: Possible network disconnect with primary database
    Closing latent archivelog for thread 1 sequence 35419
    EOF located at block 1201 low SCN 0:-1055223653 next SCN 0:-1055223015
    Latent archivelog 'E:\ORACLE\ARCH\xxxxx\LOG_615642223_1_35419.ARC'
    If you wish to failover to this standby database, you should use the
    following command to manually register the archivelog for recovery:
    ALTER DATABASE REGISTER LOGFILE 'E:\ORACLE\ARCH\xxxxx\LOG_xxx615642223_1_35419.ARC';
    Redo Shipping Client Connected as PUBLIC
    -- Connected User is Valid
    RFS[426]: Assigned to RFS process 3200
    RFS[426]: Identified database type as 'physical standby'
    Primary database is in MAXIMUM PERFORMANCE mode
    Primary database is in MAXIMUM PERFORMANCE mode
    RFS[426]: No standby redo logfiles created
    Any ideas?
    thx

    I've inherited this DB and never really looked at the settings.
    The error I see in the primary DB is
    FAL[server]: Fail to queue the whole FAL gap
    Protection level on primary is
    SQL> SELECT PROTECTION_MODE, PROTECTION_LEVEL FROM V$DATABASE;
    PROTECTION_MODE PROTECTION_LEVEL
    MAXIMUM PERFORMANCE MAXIMUM PERFORMANCE
    Edited by: jrmtl on Nov 23, 2009 7:32 AM

  • How to apply Oracle patch when physical standby database in place

    Dear All,
    I want to apply Oracle patchset 8 on 10.2.0.5 when physical standby database in place. What are the steps for Primary site and for standby site.
    Thanks in advance
    Kamran Laeeq

    Hi Kamran,
    You will not upgrade or patch the standby database by importing offline redologs. On the contrary, there is a procedure to do this. Please note that you will not transitiate the role from standby to primary or startup the database. You will just startup the database by executing "startup mount" and "startup upgrade", during the upgrade. It means that you will not change database role standby to primary and you will be able to continue to the log shipment after the respective upgrade.
    But, it is very important that you should stop the log shipment and apply all the offline redologs, before the upgrade. Technically, you can import offline redologs after the upgrade, by changing "compatibility" parameter in oracle, but regarding to my experiences it may cause some problems after you transitiate the role from standby to primary.
    In short;
    In order to stop log shipment, at the primary site;
    alter system set log_archive_dest_state_2=defer;
    In order to import all the offline redologs without a delay, at the standby site;
    alter database recover managed standby database cancel;
    alter database recover managed standby database nodelay disconnect from session;
    I hope that I clarified the issue,
    Best regards,
    Orkun Gedik

Maybe you are looking for