Create stand by database without dataguard

HI ALL,
I m using oracle 10g as live database, in another machine i m having test database but i want to make it as standby datbase. what steps i need to follow for this requirement without the use of dataguard?
Early reply will be awaited.
Thnx & regards
Surendra

Hi,
See this.
http://www.databasejournal.com/features/oracle/article.php/3682421/Manual-Standby-Database-under-Oracle-Standard-Edition.htm
Regards!

Similar Messages

  • How to create physical standby database without dataguard

    Hi,
    Can anyone please help me how to create Physical Standby Database without dataguard. As i am using Oracle 10.2.0.1 Standard Edition for production databases.
    Please find the specifications of my server :
    Database : Oracle 10.2.0.1(Standard Edition)
    Server : Linux 4.0(32 bit machine)
    As we know that Dataguard cannot be created in Standard Edition as we dont have that option in this edition. So please help me how to create the physical standby database.
    Thanks in advance.
    Regards,
    Farooq

    Hello,
    I hope this link helps you out...
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/rcmbackp.htm
    http://www.dbasupport.com/oracle/ora10g/manual_standby.shtml
    Thanks & Regards
    Pratik Lakhpatwala
    Jr Oracle DBA
    Edited by: Pratik.L on Dec 31, 2009 12:03 PM

  • 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

  • Create Stand by database difference server

    Dear all,
    I copied physical datafiles whole database from production to stand by database.
    After then i reconfig and start stb db.It's works well.But when i test updated and commit transaction from prod and i copied archive files into stb db and i tried to recover as following command:
    sql> recover database;
    ORA-00283: recovery session canceled due to errors
    ORA-00264: no recovery required
    What happend?
    Thks for advance !
    Chara

    Hi,
    ORA-00264:no recovery required
    Cause:     An attempt was made to perform media recovery on files that do not // need any type of recovery.
    Action:     Do not attempt to perform media recovery on the selected files. Check to see that the filenames were entered properly. If not, retry the command with the proper filenames.
    Cheers

  • 9i Standby without dataguard

    Hi all.
    Oracle 9i ( SE )
    I'm trying to figure out how to create a standby database without dataguard. I've read that its possible, but I can't find any documentation on exactly how to do it. From what I've gathered I should be able to
    Create a duplicate database from primary backups
    Put standby database into "some recovery mode" - this is the bit I'm stumped at
    Copy archive logs from primary to standby, where they will magically be applied?
    I need to migration lots of datafiles to new disks, and cannot afford the downtime to just move them, so I'm thinking the best way to do it is to create a standby and keep it as close to synced to the primary as possible, then shutdown primary, apply file logs, point primary to the new datafile location..
    Can anyone either point me to a good article on doing standby with dataguard, or if there is a better way to move large ( move procedure will take about 4-5 hours) tablespaces/databases with minimum downtime.
    Thanks.

    Hrmm, maybe? so is "Data Guard" by itself available for SE?
    When I startup the database it reports
    "Oracle Data Guard is not available in this edition of Oracle."
    I'll go poke around that document too.
    btw. the document I read which suggests this is possible is, http://www.dba-oracle.com/oracle_tips_failover.htm
    Thanks
    Message was edited by:
    nib000

  • How to create logical standby database?

    Hi,
    can i created logical standby database without creating physical stanby database? is it possible?
    Thanks,

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

  • In stand by database

    how can set this parameter.
    db_file_name_convert
    log_file_name_convert

    thanx for ur reply nicolas
    i am set this two parameter in my init.ora file...
    i am create stand by database on my some host ( mean primary database already running on some machine.)/
    i am set this two parameter like it is right or wrong plz check it.
    db_file_name_convert = 'd:\oracle\product\10.1.0\oradata\db01\','c:\oracle\sdydb\';
    log_file_name_convert = 'd:\oracle\product\10.1.0\oradata\db01\','c:\oracle\sdydb\';

  • Creating physical standby database on same machine with dataguard

    hi every one
    i m new in oracle databases,
    i read documentation to create physical standby databases,
    now i install virtual machine (vmware) on my system,
    i install windows xp on this vm and oracle 9i
    now i want to create standby database on the same machine in some other drive configured with datagurd
    virtual machine
    OS windows xp
    database oracle 9i
    plz reply me how i do this
    explain clearly step by step.
    plz reply me in detail

    When you need to have the standby database on the same server as the master, use lock_name_space in the init.ora.
    This parameter permits this to occur without having to worry about changing the db_name.
    http://www.oug-ottawa.org/pls/htmldb/f?p=103:21:729607614317189728::::P21_TIP_NUM:821

  • Creating a Stand By DataBase for Production

    Hi,
    One more question How to do create a Standy Database for the Production
    Database.
    Can one tell the procedure to create a Standy By database ??
    Thanks,
    Pavan Kumar

    That's documented in the Data Guard Concepts and Administration manual. Chapters 3 & 4 cover creating physical and logical standby databases.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/partpage1.htm
    Of course, since you didn't mention what version of Oracle you're using, I picked the 10.2 documentation to link to. You can find other manuals online at http://tahiti.oracle.com if you're using a different version.
    Justin

  • Problem creating physical Standby database with RMAN

    Hi All
    I am trying to learn oracle dataguard and as part of the process learning creating standby database.
    Platform : Sun-Fire-V250 Sparc, Solaris 10
    Database Version - Oracle 11R2
    I am creating standby database on same server, so directory structure is different.
    Following the instructions on Oracle site I managed to create a functional physical standby database. But I am not able to create standby database using RMAN. These are the steps that I followed-
    1.Set up all necessary parameters on primary database as done while creating physical standby database manually, eg setting force logging, creating standby logs etc.
    2.Edited parameter file on primary database as done while creating manual pysical standby database creation. Some of the changes done are-
    On Primary Database:
    *.FAL_CLIENT='orcl11020' #Primary database unique name
    *.FAL_SERVER='stdby_11' #Standby database unique name
    db_file_name_convert='/<dir>/oradata/stdby_11','/<dir>/oradata/orcl11020'
    log_file_name_convert='/<dir>/oradata/stdby_11','/<dir>/oradata/orcl11020','/<dir>/oradata/stdby_11/redo_mem','/<dir>/oradata/orcl11020/redo_mem'
    standby_file_management=auto
    *.log_archive_config='DG_CONFIG=(orcl11020,stdby_11)'
    *.log_archive_dest_1='LOCATION=/<dir>/flash_recovery_area/ORCL11020/archivelog
    VALID_FOR=(ALL_LOGFILES,ALL_ROLES) db_unique_name=orcl11020'
    *.log_archive_dest_2='SERVICE=stdby_11 LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) db_unique_name=stdby_11'
    *.LOG_ARCHIVE_DEST_STATE_1='ENABLE'
    *.LOG_ARCHIVE_DEST_STATE_2='ENABLE'
    *.LOG_ARCHIVE_FORMAT='%t_%s_%r.arc'
    *.LOG_ARCHIVE_MAX_PROCESSES=30
    Copied same pfile for standby database and modified following-
    *.control_files='/<dir>/oradata/stdby_11/stdby_11.ctl','/<dir>/fra_stdby/stdby_11/stdby_11.ctl'
    *.db_name='orcl1102'
    *.db_unique_name='stdby_11'
    *.FAL_CLIENT='stdby_11'
    *.FAL_SERVER='orcl11020'
    db_file_name_convert='/<dir>/oradata/orcl11020','/<dir>/oradata/stdby_11'
    log_file_name_convert='/<dir>/oradata/orcl11020','/<dir>/oradata/stdby_11','/<dir>/oradata/orcl11020/redo_mem','/<dir>/oradata/stdby_11/redo_mem'
    standby_file_management=auto
    *.log_archive_dest_1='LOCATION=/<dir>/fra_stdby/STDBY_11/archivelog
    VALID_FOR=(ALL_LOGFILES,ALL_ROLES) db_unique_name=stdby_11'
    *.log_archive_dest_2='SERVICE=orcl11020 LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE)
    db_unique_name=orcl11020'
    3. Add relevant information in tnsnames.ora and listener.ora files and then restart listener.
    3. Created password file with same credential as primary database.
    4.Up-to-date RMAN backup of primary database available.
    5.Create standby controlfile with rman
    While primary database s open (I tried with primary database in mount mode as well)-
    $>rman catalog rman/paswd@rman target /
    RMAN> BACKUP CURRENT CONTROLFILE FOR STANDBY;
    6. Open a new terminal and startup standby database in nomount mode using parameter file created -
    $>ORACLE_SID=stdby_11
    $>export ORACLE_SID
    $>sqlplus / as sysdba
    SQL>STARTUP NOMOUNT pfile='<location/initfilename.ora'
    SQL>quit
    $> rman AUXILIARY / target sys/passwd@orcl11020 catalog rman/passwd@rman
    RMAN>DUPLICATE TARGET DATABASE FOR STANDBY DORECOVER;
    RMAN finishes without error but archive logs are not being tranported. Looking at the log, following caught my eye-
    Error 1017 received logging on to the standby
    Check that the primary and standby are using a password file
    and remote_login_passwordfile is set to SHARED or EXCLUSIVE,
    and that the SYS password is same in the password files.
    returning error ORA-16191
    FAL[client, ARC2]: Error 16191 connecting to orcl11020 for fetching gap sequence
    Errors in file /<>dir>/diag/rdbms/stdby_11/stdby_11/trace/stdby_11_arc2_24321.trc:
    ORA-16191: Primary log shipping client not logged on standby
    Errors in file /<dir>/diag/rdbms/stdby_11/stdby_11/trace/stdby_11_arc2_24321.trc:
    ORA-16191: Primary log shipping client not logged on standby
    So on both primary and standby I confirmed
    SQL> show parameter remote_login_passwordfile
    NAME TYPE VALUE
    remote_login_passwordfile string EXCLUSIVE
    To make double sure that password files are same, I shutdown both databases, delete password files and recreated with same credentials.
    Password files are called - orapworcl11020 and orapwstdby_11
    Can someone guide me where thisngs are going wrong here please.

    Not sure if I understood it clearly.
    SELECT * FROM V$ARCHIVE_GAP;
    returns no rows so there is no gap.
    But could you please explain me the result of the previous query. To catch up again, on standby when I check
    SELECT SEQUENCE#,APPLIED FROM V$ARCHIVED_LOG
    SEQUENCE# APPLIED
    75 NO
    74 NO
    76 NO
    77 NO
    I understand that though archive files have been copied across but they are not applied yet.
    On primary when I give your query -
    SELECT name as STANDBY,SEQUENCE#,applied, completion_time
    2 FROM v$archived_log
    3 where dest_id=2
    4 and sequence# BETWEEN 74 and 80;
    I get -
    STANDBY SEQUENCE# APPLIED COMPLETIO
    stdby_11 74 YES 28-JUN-11
    stdby_11 75 YES 28-JUN-11
    stdby_11 76 YES 29-JUN-11
    stdby_11 77 YES 29-JUN-11
    stdby_11 78 YES 29-JUN-11
    stdby_11 79 YES 29-JUN-11
    stdby_11 80 YES 29-JUN-11
    stdby_11 75 NO 07-JUL-11
    stdby_11 74 NO 07-JUL-11
    stdby_11 76 NO 07-JUL-11
    stdby_11 77 NO 07-JUL-11
    stdby_11 78 NO 07-JUL-11
    I have intentionally given
    sequence# BETWEEN 74 and 80
    because I know in the current incarnaion of the database, max sequence is 78.
    So my understanding is, the rows between 28-29 June are from previous incarnation, correct me if I am wrong
    Archive files of the current incarnation, since I successfully created standby database are shipped but yet to be applied - am I right?
    Then my final question is, when will these archives be applied to standby database?
    I am sorry to ask too many questions but I am just trying to understand how it all works.
    Thanks for your help again

  • Test physical standby database in dataguard

    Hi all,
    I had a successfull dataguard implementation for oracle 9r2.
    Primary and standby databases are on different nodes, logs from primay are shipping and applying to physical standby database successfully.
    As these database are for oracle 11i ebs, so for testing dataguard status i had created a table manually having columns date and remarks. Periodically i insert few records in this table in primary database and then chek this tabel in standby database (by opening in read only mode).
    Now i want to test physical standby database with applications tier  but don't want to disturb origional primary database.
    as these are the normal switchover steps
    1) at primary db
    ALTER DATABASE COMMIT TO SWITCHOVER TO PHYSICAL STANDBY WITH SESSION SHUTDOWN;
    2) at standby
    ALTER DATABASE COMMIT TO SWITCHOVER TO PRIMARY;
    3) at primary, now this will be the stand by database
    SHUTDOWN IMMEDIATE;
    STARTUP MOUNT;
    4) at standby, now this will be the primary database
    SHUTDOWN IMMEDIATE;
    STARTUP
    My concern is if i skip step 1 and 3 and only execute step 2 and 4, will that be applicable for my requirement, or there is some other way to achieve this goal.
    Regards,
    Ken

    To avoid touching the primary production DB, you may try to use the following command on your standby database side:
    alter database activate standby database;
    This will turn your standby database to primary database, however the log will be reset and this means you will need to rebuild your DR.
    Another way is to use flash back feature on your standby database, activate it and revert back to the flashback point when the DR testing is done.

  • Standby without DataGuard

    Hi,
    I've successfully created a standby for a single node Primary Database in 10g on Redhat Enterprise Linux 4.0 Update 4.0. I'm planning to add one more standby site to the same primary database. Now, my question is...
    1. Is it possible to setup more than one standby without the help of DataGuard.
    2. If possible, please guide me how to do it(step-by-step).
    Thanks in advance...
    Mahesh

    If you've already configured one Standby without DataGuard, you'd use the same method for the second standby.
    Since we do not know your scripts and how you are propagating archive logs and putting the standby in recovery mode -- all of which would be "custom" methods in the absence of DataGuard -- we can't really advice you . Because it is difficult to advice on extensions to a customisation without looking at a customisation.
    Many sites have implemented a scripted Standby without DataGuard using methods available since Oracle7. However, the frequency and method of archivelog propagation and how and when the standby database "wakes up" to apply the archivelogs etc are all site specific.
    Let's say that you DO use the ARCH process on the primary database to propagate archivelogs to the Standby destination site. Since Oracle 10g allows multiple log_archive_dest_n sites, you can just add one more site and have the archivelogs propagate to the additonal site. However, there are other parameters (eg MANDATORY/OPTIONAL, REOPEN, DELAY etc) that you would set based on your requirements.
    The two standby instances would be independent {unaware} of each other -- you can script delays between the archivelogs so that the two standby aren't always at the same level (this allows "fallback" to an "older version of the database" when necessary). You could have one standby stop recovery and open read only for some time.
    Short Answer : Yes, it is possible to have multiple "standby"s without DataGuard.
    Correct Answer : How you do it depends on how you want to extend your current implementation.
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

  • Can we run application services when physical stand by database is in read

    can we run application services when physical stand by database is in read only mode
    i Want to up the EBS application services and check login when phyiscal standby database is in read only mode.
    Is it possible? for checking dataguard database application as well.

    but i just want to know that can i start EBS application services and nagivate the application.Without distrubing my primary database and application.You should not do as the moment you open the standby database it becomes invalid.
    Thanks,
    Hussein

  • Creaton of Standby database and dataguard broker

    Hi Experts,
    I am using Linux with Oracle version 11gR2. We have planned to create a physical standby database and also configure dataguard broker for the standby database.
    Also, I've read the documents that active dataguard is a feature on 11g. Is it not possible on 10g ?
    Can someone please provide me the steps to create the standby database and configure the dataguard broker.

    Hello;
    A simple Data Broker setup would be :
    On both Primary and Standby sites, change the initialization parameter in the spfile to enable the Data guard broker.
    SQL> Alter system set dg_broker_start=True scope=both;
    On the PRIMARY site, open the ‘cmd’ and start Command Line Interface (CLI) of the Dataguard Broker (DGMGRL).
    /home/oracle:PRIMARY >dgmgrl
    DGMGRL for Linux: Version 11.2.0.1.0 - 64bit Production
    DGMGRL> connect sys/password@PRIMARY
    Create broker configuration.
    DGMGRL> create configuration ‘broker1’ as
    primary database is 'PRIMARY'
    connect identifier is primary;Configuration "?broker1?" created with primary database "PRIMARY"
    DGMGRL>
    (‘primary’ in Connect identifier is the service name through which the broker is connected to the PRIMARY database)
    Add Standby Database to the above configuration.
    DGMGRL> add database 'standby' as
    connect identifier is 'STANDBY'
    maintained as physical;
    Database "standby" added
    (‘to_standby’ in Connect identifier is the service name through which the broker is connected to the STANDBY database)
    Now the configuration has been set up but it is still disabled. You can view the configuration by executing:
    DGMGRL> show configuration
    The next step is to ENABLE the configuration ‘broker1’.
    DGMGRL> enable configuration;
    Enabled.
    Again view the configuration.
    DGMGRL> show configuration
    Configuration - ?broker1?
      Protection Mode: MaxPerformance
      Databases:
        PRIMARY - Primary database
        standby - Physical standby database
    Fast-Start Failover: DISABLED
    Configuration Status:
    SUCCESSIn my humble opinion its a good idea to setup Data Guard without Broker and get the "feel" of it first.
    Remember, once you setup Broker, you cannot use SQL to change your Data Guard setup.
    Best Regards
    mseberg

  • Do I have to install SharePoint Foundation 2013 via a script in order to name my content databases without the GUID references?

    Hi,
    I want to install SharePoint Foundation 2013 on a standalone server with SQL Express but I want to be able to name the content databases without their GUID references. Will I have to use an install script (AutoSPInstaller perhaps?) to achieve this?
    Thanks.

    You can't do a standalone install if you want the alias (also if you plan to move the databases in the future)
    You'll need to create the alias before you create the farm with the Configuration wizard or PowerShell so you can specify the alias. Whether you create the alias before or after installing SQL Express doesn't matter as long as it points to the instance.
    Jason Warren
    @jaspnwarren
    jasonwarren.ca
    habaneroconsulting.com/Insights

Maybe you are looking for

  • [SOLVED] After pacman update, system no longer boots

    Updated pacman packages, and half-way through the upgrade proces fails (it mentions not being able to find package-control).  Upon investigating, I notice no programs are working.  I ls /usr/bin and it is empty!  In a panic, I restart the machine, an

  • Error Installing Windows XP

    Hi Guys, My apologies for asking, I have tried searching but cant find anything relevant. I have ran the bootcamp assistant in OS X, computer has reset and the installer seems to crash, doesn't do anything so I have to turn off the laptop and back on

  • Form in Execute Query Mode

    Hi ALL! How can I show a form (created by wizard) with record returned by query? To Kelly Cox ([email protected]): You wrote earlier: "There are a couple of posts in the 9iAS Portal Applications Forum that address this requirement. --Kelly" I still h

  • How to use profit center

    Hi Experts I create one profit center and activate it, them I post an inovice to the profit center, then I excute profit center group: plan/actual/variance, but result shows that no item select? am I missed something? Liam

  • IronPort Attachment Filtering using Content Filter Dictionaries

    Hello, one of our customers experiences some Problems with filtering attachments based on their file extensions. What we did: We created a dictionary with extension formats like ".exe" or ".cab" Based on this dictionary we created a policy, that all