The upgrade of physical standby database

Hi guru,.

We have Oracle 11 GR 2 (11.2.0.1) in a production of single instance database. This prod db has a physical database Eve sitting on another server. We would like to improve our prod & Eve at 11.2.0.3

I remember reading a document of MOS on the upgrade of the previous day, but unfortunately not able to find.

Grateful if you could guide me.

Thank you

Prem

PL see this Doc MOS and the Docs of MOS, he made reference to

How to level one database and secondary physical to Oracle10gR2 (10.2) [ID 407040.1]

HTH
Srini

Tags: Database

Similar Questions

  • How to change the character of database defined on the physical standby database?

    Hello

    We hear a database to WE8ISO8859P1 character and migrated the character set using csscan/csalter scripts to WE8MSWIN1252. This database has a configuration also physical standby database, and after the migration, the database physical standby shows always defined as WE8ISO8859P1 character. How can I change the characters on the physics of the day before? I asked a Service request with Oracle, and they said that you re-create the database pending is the only way to support the development of the tank set to the standby database. Is this true?


    Thank you
    Anthony

    You have received good advice from the Support of Oracle, so I recommend doing a complete refresh of Eve, but if you want to play with fire...

    On the elementary level, you can: -.

    target connection.
    RUN {}
    ALLOCATE CHANNEL disk1 DEVICE TYPE DISK FORMAT ' / home/oracle/rman_%d_%T_%s_%p';
    BACKUP CURRENT CONTROLFILE TO SLEEP;
    }

    or

    ALTER DATABASE CREATE STANDBY CONTROLFILE AS ' / home/oracle/standby.ctl';

    Then you stop the watch, replace the with the new primary backup controlfile and make sure that file names are correct (select name from v$ datafile). If the file names are correct, start the recovery. Otherwise, rename files, or difficulty with the rman command 'catalogue start with '.

  • Steps to upgrade spirit RAC Standby Database?

    Hi all

    I RAC environment with 8 knots (4 Linux) I have a knot like physical standby for this CAR.

    My oracle is 10.2.0.3, and I want to update 10.2.0.5

    Could you advice I do not like, when I googled I found that I must begin by Clusterware before then?

    Any recommendation?

    Thanks in advance.

    Hello

    If you follow the second link I posted, all necessary measures are there, even if you have some CARS, it is explained here. Take a look at chapter "B.2 upgrade Oracle database with a physical Standby Database in Place", and if you have any questions post here.

    ARM

  • How to remove the configuration of logical standby database cleanly

    Hello

    We are on the BSG with 11.2.0.3 version of DB. For unknown reasons, we would like to recreate the logic of the standby database and for this I want to cleanly remove/uninstall/remove LOGIC of DATABASE of the EVE of the DATA GUARD configuration that we have.

    Setup of the DG has already 1 PHYSICAL STANDBY DATABASE that works very well. PRIM, PHYSICAL and LOGIC are all on different HOSTS. Could you please guide or we suggest exact MOS Doc id in this regard? I found an MOS Doc id which is close enough, but its steps include dg configuration completely deleting what I don't want. Only the logical Standby database must be delete itself so that it can be installed again properly.

    We use the CONTROL GRID and DATA GUARD BROKER.

    Bundle of thanks in advance.

    Best regards

    Hello

    Thank you very much.

    What I have is:

    -DROP DATABASE (from logical database in standby)

    -asmcmd > and removed the rest of the orphaned files related to the logical database.

    -DGMGRL > remove the database logicladb; one

    -Grid control > removed from here

    -deleted the database logical PRIMARY related to logic, for example, log_archive_config.

    Other steps > ID note (Doc ID 733794.1) about the LOGIC of STANDBY DATABASE (I think that MINING regarding)

    She's.

    Best regards

  • How to open a physical standby database "Manual" in read/write mode

    Hello

    I am running Oracle Database 10g Release 10.2.0.3.0 - 64 bit Standard Edition Production on Linux version 2.6.9 - 42.0.8.ELsmp ([email protected]) (version gcc 3.4.6 20060404 (Red Hat 3.4.6 - 3))

    I created a physical standby database, but since I am running Standard Edition, I don't use the features in DataGuard. I use the utility rsync to copy on the data pending archivelogs, and I periodically applied to the standby database.

    The standby database is started in this way:

    startup nomount pfile='/u01/oradata/orcl/initorcl.stdby';
    ALTER database base_de_donnees eve of Mount;

    Everything works perfectly, I can "open database in read-only alter" and then I can make selects in the tables to confirm that everything is up-to-date.

    The thing is, if I stop the database and then perform the boot simply:

    stop immediately;
    start-up;

    The database opens with an error message, but it is always in read-only mode...

    I read that the default behavior for a database ensure must open read-only, as I am experiencing, but I would like to know what is the right way to open it in read-write mode correctly (I understand that after this, my watch will not standby more and I need to recreate my database pending).

    Thank you

    Carpet

    Try: -.

    ALTER database activate standby database;

    This should open read-write (you will not be able to recover thereafter)

  • Problem with data hold creating a Physical Standby Database turorial

    There is a tutorial for creating a Data Guard Physical Standby Database:
    http://www.Oracle.com/technology/OBE/11gr1_db/HA/DataGuard/physstby/physstdby.htm

    I tried to install it on two servers. One for a primary database (deuxieme for the physical standby.
    I have the error on creating C. the database of watch on the #6 action network:

    «On the rescue system, set the ORACLE_SID to your < SID physical standby > environment variable (i.e. orclsby1) and start the instance in NOMOUNT mode with the text initialization parameter file.»

    When I try to connect to the instance that is idle, there is an error pops up:

    C:\ > sqlplus / as sysdba

    SQL * more: version 11.1.0.7.0 - Production Thursday, May 21, 16:28:10 2009

    Copyright (c) 1982, 2008, Oracle. All rights reserved.

    ERROR:
    ORA-12560: TNS:protocol adapter error

    I ' v checked listener, and it is managed. There is no database service because there is still no database.

    The question is did some data installed a guard configuration using this tutorial? Are there errors in there? What should I do to complete the installation?

    On Windhose for any service must have been created using the oradim command.
    Oracle tutorials are usually centered on Unix, because Windhose is an odd man out, so they do not discuss.
    "Please do the needful" and create the service before the beginning of the instance in nomount mode

    Tip: oradim is documented and has a help = clause of y.

    IIRC there is an option in control database (in the part of the interview) that automates everything.

    ----------------
    Sybrand Bakker
    Senior Oracle DBA

    Experts: those who read documentation

  • Block corruption on the physical Standby database

    Hi all

    Operating system: HP Unix

    DB: 10.2.0.4

    We are facing corruption block on our database of physical intelligence. The same has been detected using commands below and several blocks were found to be corrupt.

    RMAN > backup validate check the logic of database;

    SQL > select * from v$ database_block_corruption

    As it is a basic data watch no backup is present, pulling the command below did not help

    RMAN > list of corruption block restoration;

    I think taking the incremental backup of the PR and the same application on DR, y at - it another way to eliminate corruption said?

    Kind regards

    Sphinx

    You can check below link if corruption block results nologging, there is a thread already with the question.

    Block corruption on the standby database

    10.5.2 steps of recovery for databases physical standby

    Data protection scenarios

  • How Auto start the Physical Standby Database (when restarting the server)

    Dear All (s)

    I configure oracle (10.2.0) dataguard on the production database, a time server restart because of disconnectivity to power, I want restard dataguard when rebooting the server. I'm using Server 2003 32-bit. Guide me how I can run after orders when the server restarts.

    SQL > connect/as sysdba
    SQL > bootable media.
    SQL > ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL;


    Thanks in advance

    I want to run these command each time when the server is restarted.

    Yes, I did not understand that... but what's the problem? You can't schedule a task when the server starts?

  • Flashback database and physical Standby databases

    Hello

    We consider the following scenario in our databases of Production on hold. We do this to avoid the database number cloning of situations.

    When we need live data to test data sets: -.

    1. switchover to the standby database.
    2. open the database read/write.
    3. apply the fix and test.
    4. rear turn signal the database before the RCS, who made the switchover.
    5. operate the day before using a new standby controlfile.

    Could you experts please comment on this idea?
    Is it possible? If so, please you would guide the steps / documents.

    Thanks in advance

    This should be possible if you create a region of Flashback of sufficient size on the site of the previous day.

    http://download-UK.Oracle.com/docs/CD/B19306_01/server.102/b14239/scenarios.htm#CIHIABDH

    I have not yet tried myself. The old and tried and true method is to create a backup of the day before its opening.

    Hemant K Collette
    http://hemantoracledba.blogspot.com

  • the upgrade of EBS 11i database 9i (9.2.0.6) to 9.2.0.8

    Hi hussein.


    RHEL 4
    EBS 11i

    I'm upgrading of Database 9i (9.2.0.6) 9.2.0.8.
    I read the note:
    Oracle9i Patch Set Notes - version 2 (9.2.0.8) Patch Set 7 for Linux x 86
    I just don't understand the following:
    5.4.2 Recommended hangcheck-timer Configuration Defaults 
    The following are the recommended default configuration settings for the hangcheck-timer module. These are in addition to the recommendations for parameters in the Oracle RAC documentation. 
    I do hang check timer?


    Thank you very much

    I do hang check timer?

    It is a RAC instance? If this isn't the case, skip this step.

    Thank you
    Hussein

  • Physical Standby Database

    Hello
    Need good documentation, pdf or links to understand the concept of database paused and its application in Oracle 11.2.0.0.0

    Check out this Oracle for Concepts documentation

    http://docs.Oracle.com/CD/E14072_01/server.112/e10700/TOC.htm

    http://andrewfraserdba.com/2011/08/09/Oracle-Data-Guard-overview/

    For the implementation

    https://blogs.Oracle.com/AlejandroVargas/resource/DataGuard/how%20To%20create%20A%20physical%20standby%20database%20using%20Rman%20Duplicate%20command.PDF

  • How to get down the database since the failure of the upgrade in case of physical standby

    Hi people,

    Can you please tell me how to get down the has no upgrade in case of physical standby database?

    Kind regards

    Taoqir

    The generic steps to upgrade db at the dg environment

    1. stop the database pending the application of recovery logs

    2. stop the recovery of his expedition logs

    3. upgrade the primary database server executable files

    4 level database server executable files shall ensure that

    5. switch to the main database using DBUA or upgrade scripts

    6 mount the backup database

    7 reactivate shipping again Eve elementary school

    8 restart the recovery process run on the standby database again progress apply

  • Upgrade to 11.2.0.4 with the physics of the standby database

    Dear gurus,


    We have the obligation to upgrade databases 11.2.0.1 existing 11.2.0.4 and 11.2.0.2 to 11.2.0.4 running on AIX boxes. We have physical databases of Eve configured for these databases of different version.

    During the preparation of the documentation for upgrade, we observed that FORCE_LOGGING is disabled for the production databases and observed, there are objects along 350 + with journaling = No. and logging = NULL and patterns are SYS, SYSMAN, APEX_030200, OLAPSYS, XDB, SYSTEM, OIMDBUSER, MDSYS, EXFSYS, WMSYS, ORDDATA, PERFSTAT.

    My query:

    I can still proceed with the upgrade still under the document indicated for "upgrading a database with a physical Standby database in place" without you connect the data dictionary objects will be not be updated pending database.

    Can you please let me know your suggestions on this please?

    Kind regards

    Kumar

    Hello;

    Quote:

    "Keep the database in LOGGING mode FORCE as long as the backup database is necessary."

    Of

    Oracle® DataGuard of Concepts and Administration 11 g Release 2 (11.2) E10700-02

    I think I FORCE turn on CONNECTING to the primary database and rebuild the eve before doing the upgrade.

    Best regards

    mseberg

  • Waiting for redo log file missing when restore main database using RMAN backup that was taken on the database physical standby

    Here's my question after tons of research and test without have the right solutions.

    Target:

    (1) I have a 12.1.0.2 database unique main enterprise 'testdb' as database instance running on the server "node1".

    (2) I created physical standby database "stbydb" on the server "node2".

    (3) DataGuard running on the mode of MaxAvailability (SYNC) with roll forward in real time 12 default c apply.

    (4) primary database has 3 groups of one-man redo. (/oraredo/testdb/redo01.log redo02.log redo03.log)

    (5) I've created 4 standby redo logfiles (/oraredo/testdb/stby01.log stby02.log stby03.log stby04.log)

    (6) I do RMAN backup (database and archivelog) on the site of relief only.

    (7) I want to use this backup for full restore of the database on the primary database.

    He is a DR test to simulate the scenario that has lost every primary & Eve total servers.

    Here is how to save, on the database pending:

    (1) performance 'alter database recover managed standby database Cancel' to ensure that compatible data files

    (2) RMAN > backup database;

    (3) RMAN > backup archivelog all;

    I got elements of backup and copied to primary db Server something like:

    /Home/Oracle/backupset/o1_mf_nnndf_TAG20151002T133329_c0xq099p_.BKP (data files)

    /Home/Oracle/backupset/o1_mf_ncsnf_TAG20151002T133329_c0xq0sgz_.BKP (spfile & controlfile)

    /Home/Oracle/backupset/o1_mf_annnn_TAG20151002T133357_c0xq15xf_.BKP (archivelogs)

    So here's how to restore, on the main site:

    I clean all the files (data files, controlfiles oder all gone).

    (1) restore spfile from pfile

    RMAN > startup nomount

    RMAN > restore spfile from pfile ' / home/oracle/pfile.txt' to ' / home/oracle/backupset/o1_mf_ncsnf_TAG20151002T133329_c0xq0sgz_.bkp';

    (2) modify pfile to convert to db primary content. pFile shows below

    *.audit_file_dest='/opt/Oracle/DB/admin/testdb/adump '

    * .audit_trail = "db".

    * full = '12.1.0.2.0'

    *.control_files='/oradata/testdb/control01.ctl','/orafra/testdb/control02.ctl'

    * .db_block_size = 8192

    * .db_domain = "

    *.db_file_name_convert='/testdb/','/testdb /'

    * .db_name = "testdb".

    * .db_recovery_file_dest ='/ orafra'

    * .db_recovery_file_dest_size = 10737418240

    * .db_unique_name = "testdb".

    *.diagnostic_dest='/opt/Oracle/DB '

    * .fal_server = "stbydb".

    * .log_archive_config = 'dg_config = (testdb, stbydb)'

    * .log_archive_dest_2 = "service = stbydb SYNC valid_for = (ONLINE_LOGFILE, PRIMARY_ROLE) db_unique_name = stbydb'"

    * .log_archive_dest_state_2 = 'ENABLE '.

    *.log_file_name_convert='/testdb/','/testdb /'

    * .memory_target = 1800 m

    * .open_cursors = 300

    * runoff = 300

    * .remote_login_passwordfile = "EXCLUSIVE."

    * .standby_file_management = "AUTO".

    * .undo_tablespace = "UNDOTBS1.

    (3) restart db with updated file pfile

    SQLPLUS > create spfile from pfile='/home/oracle/pfile.txt'

    SQLPLUS > the judgment

    SQLPLUS > startup nomount

    (4) restore controlfile

    RMAN > restore primary controlfile to ' / home/oracle/backupset/o1_mf_ncsnf_TAG20151002T133329_c0xq0sgz_.bkp';

    RMAN > change the editing of the database

    (5) all elements of backup catalog

    RMAN > catalog starts by ' / home/oracle/backupset / '.

    (6) restore and recover the database

    RMAN > restore database;

    RMAN > recover database until the SNA XXXXXX; (this YVERT is the maximum in archivelog backups that extends beyond the scn of the backup of the data file)

    (7) open resetlogs

    RMAN > alter database open resetlogs;

    Everything seems perfect, except one of the file log roll forward pending is not generated

    SQL > select * from v$ standby_log;

    ERROR:

    ORA-00308: cannot open archived log ' / oraredo/testdb/stby01.log'

    ORA-27037: unable to get file status

    Linux-x86_64 error: 2: no such file or directory

    Additional information: 3

    no selected line

    I intended to use the same backup to restore primary basic & helps record traffic and the downtime between them in the world of real output.

    So I have exactly the same steps (except STANDBY restore CONTROLFILE and not recover after database restore) to restore the database pending.

    And I got the same missing log file.

    The problem is:

    (1) complete alert.log filled with this error, not the concern here

    (2) now repeat it in real time apply won't work since the Party shall LGWR shows always "WAITING_FOR_LOG."

    (3) I can't delete and re-create this log file

    Then I tried several and found:

    The missing standby logfile was still 'ACTIVE' at present RMAN backup was made.

    For example, on db standby, under Group #4 (stby01.log) would be lost after the restoration.

    SQL > select GROUP #, SEQUENCE #, USE (s), the STATUS from v$ standby_log;

    GROUP # SEQUENCE # USED STATUS

    ---------- ---------- ---------- ----------

    4 19 ACTIVE 133632

    5 0 0 UNASSIGNED

    6 0 0 not ASSIGNED

    7 0 0 UNASSIGNED

    So until I take the backup, I tried on the primary database:

    SQL > alter system set log_archive_dest_state_2 = delay;

    This was the Group of standby_log side Eve #4 was released:

    SQL > select GROUP #, SEQUENCE #, USE (s), the STATUS from v$ standby_log;

    GROUP # SEQUENCE # USED STATUS

    ---------- ---------- ---------- ----------

    4 0 0 UNASSIGNED

    5 0 0 UNASSIGNED

    6 0 0 not ASSIGNED

    7 0 0 UNASSIGNED

    Then, the backup has been restored correctly without missing standby logfile.

    However, to change this primary database means break DataGuard protection when you perform the backup. It's not accept on the production environment.

    Finally, my real questions come:

    (1) what I do may not do on parameter change?

    (2) I know I can re-create the control file to redo before delete and then recreate after. Is there any simple/fast to avoid the standby logfile lost or recreate the lost one?

    I understand that there are a number of ways to circumvent this. Something to keep a copy of the log file waiting restoration progress and copy up one missing, etc, etc...

    And yes I always have done no real-time applies "to the aid of archived logfile" but is also not accept mode of protection of production.

    I just want proof that the design (which is displayed in a few oracle doc Doc ID 602299.1 is one of those) that backs up data backup works effectively and can be used to restore the two site. And it may be without spending more time to resume backups or put the load on the primary database to create the database before.

    Your idea is very much appreciated.

    Thank you!

    Hello

    1--> when I take via RMAN backup, RMAN does not redo log (ORL or SRL) file, so we cannot expect ORLs or SRL would be restored.

    2nd--> when we opened the ORL database should be deleted and created

    3rd--> Expecting, SRL should not be an issue.we should be able to do away with the fall.

    DR sys@cdb01 SQL > select THREAD #, SEQUENCE #, GROUP #, STATUS from v$ standby_log;

    THREAD # SEQUENCE # GROUP # STATUS

    ---------- ---------- ---------- ----------

    1 233 4 ACTIVE

    1 238 5 ACTIVE

    DR sys@cdb01 SQL > select * from v$ logfile;

    GROUP # STATUS TYPE MEMBER IS_ CON_ID

    ---------- ------- ------- ------------------------------ --- ----------

    3 /u03/cdb01/cdb01/redo03.log no. 0 online

    /U03/cdb01/cdb01/redo02.log no. 0 2 online

    1 /u03/cdb01/cdb01/redo01.log no. 0 online

    4 /u03/cdb01/cdb01/stdredo01.log WATCH No. 0

    /U03/cdb01/cdb01/stdredo02.log EVE 5 No. 0

    DR sys@cdb01 SQL > ! ls - ltr /u03/cdb01/cdb01/stdredo01.log

    method: cannot access the /u03/cdb01/cdb01/stdredo01.log: no such file or directory

    DR sys@cdb01 SQL >! ls - ltr /u03/cdb01/cdb01/stdredo02.log

    -rw - r-. 1 oracle oinstall 52429312 17 Oct 15:32 /u03/cdb01/cdb01/stdredo02.log

    DR sys@cdb01 SQL > alter database force claire logfile 4;

    change the database group claire logfile 4

    *

    ERROR on line 1:

    ORA-01156: recovery or current flashback may need access to files

    DR sys@cdb01 SQL > alter database recover managed standby database cancel;

    Database altered.

    DR sys@cdb01 SQL > change the database group claire logfile 4;

    Database altered.

    DR sys@cdb01 SQL > ! ls - ltr /u03/cdb01/cdb01/stdredo01.log

    -rw - r-. 1 oracle oinstall 52429312 17 Oct 15:33 /u03/cdb01/cdb01/stdredo01.log

    DR sys@cdb01 SQL >

    If you do, you can recreate the controlfile without waiting for redo log entry...

    If you still think it's something is not acceptable, you must have SR with support to analyze why he does not abandon SRL when controlfile_type is "underway".

    Thank you

  • Script to remove applied connects on the physics of the standby database

    Hello

    Our prod DB is configured with Dataguard physical standby Database (10.2.0.4) on Linux.

    I'm trying to write a script to delete the archives that are applied on a standby database to DR (standby server).

    Any help will be appreciated.

    Kind regards
    Viswa08

    viswa08 wrote:
    Hi pavan,.

    I received the script of OTN itself below is the script and I can't understand how the sequence is deleted.

    ******************************************************************************************
    ###################
    #! / usr/bin/ksh

    script = ' basename $0'.

    SID = RW2P
    dir = / u04/oracle / $sid/arch

    Prof = $HOME /'echo ${sid} | AWK ' {print tolower($0)} ".profile
    tmpf=$home/.$script.tmp

    LogCount = 100

    function GetAppliedLogfileSequenceNumber
    {
    sqlplus-s/nolog $tmpf
    Connect / as sysdba
    Go head
    set pages 0
    Select max(sequence#) from v$ archived_log in case of application = 'YES ';
    output
    EXPRESSIONS OF FOLKLORE
    return
    }

    If [f $prof]
    then
    . $prof
    on the other
    print ' $script: $prof no such file or directory ".
    Output 1
    FI
    If [d $dir]

    If there is the $dir

    then
    CD $dir

    change directory to $dir

    GetAppliedLogfileSequenceNumber

    call the GetAppliedLogfileSequenceNumber function

    So [s $tmpf]

    If there is no sequence max

    then
    Count ='cat $tmpf | AWK '{print $1} ' | SED 1 d; »

    Set as maxsequence

    If [${#count} - No 0]

    If the counter is not zero

    then
    Let count = $count - $logcount

    Assign County County-100 the script does not remove the last 100 archivelogs applied.

    If ((County<=>

    If count is less than or equal to zero

    then
    print ' $script: journal count is set to zero (or not) no or newspapers to remove.
    Exit 0
    FI
    on the other
    Exit 0
    FI
    on the other
    print ' $script: no archive or newspapers to remove.
    Exit 0
    FI
    While [http:// f ${sid} _arch_1_$ {number} .arc]

    If $ORACLE_SID_arch_1_count.arc is

    do
    RM-f ${sid} _arch_1_$ {number} .arc

    delete

    RCODE = $?

    RCODE is assigned as the return code of the rm command.

    If ((rcode! = 0))

    If the return code is success

    then
    Print "$script: can't delete: ${sid} _arch_1_$ {number} .arc.
    Output 1
    on the other
    Let count = $count - 1

    reduce the number of 1

    FI
    fact
    RM-f $tmpf

    delete the temporary file.

    on the other
    print ' $script: $dir no such file or directory ".
    Output 1
    FI
    Exit 0

    Hope will help you.

    Kind regards.

Maybe you are looking for

  • Satego X 200-need of IrDa Driver for XP

    So I found a version of driver Vista 0.0.0.6c or sumthin and I would like to have a driver Windows XP Home edition.Thanks in advance. Katia

  • Need TV antenna for my F20-136

    I tried to find an entenna for my F20-136, so I can watch TV when out and about on trips etc. The recommended to me when I bought the laptop was this one: http://www.scan.co.uk/products/productinfo.asp?WebProductID=243628 Trouble with that is that I

  • LaserJet pro m277dw: setting up scan to email

    try to set up the scan to e-mail and get the following error message The SMTP server uses an authentication method that is not supported. Try another server. I entered smtp.gmail.com as the server name and port 465 what I am doing wrong?

  • 7 2801 slate cannot access hotmail account, stop jumping and not to say any message

    I am not able to read my emails on hotmail, it seems that I have 2 accounts with same name and emails keep jumping from one to another and also flashing¬ no messages¬, if I touch an email he rises for a few seconds and then turns off. I am not good a

  • Access to Google now / Now on compact valve Z3 after Android update 6.0.1

    I've had the last updated Android yesterday, so my handset now running Android 6.0.1. Before I could slide to the top of the home button to access Google instant, but it doesn't work anymore, and when I try and turn on now "on Tap" in the phone setti