Patching with physical standby document

There is this old document targeting 9i. Is there anything for 11g of a similar nature:
Applying Patch Sets / Interim Patches with Physical Standby Database in Place in Oracle 9i [ID 187242.1]

You require others to search for free on your behalf?
Shame on you!
Sybrand Bakker
Senior Oracle DBA

Similar Messages

  • Who has Docs for (RAC) 10.2.0.5 CPU  Patches with Physical Standby db ?

    thanks
    Edited by: ROY123 on Nov 8, 2010 1:08 PM
    Edited by: ROY123 on Nov 8, 2010 1:16 PM

    Hi,
    you can see this link for more details
    http://www.myoraclesupports.com/content/patch-9952230-102051-patch-set-update

  • 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.

  • Appying patches when Physical standby in place.

    Kindly suggest steps for patch application /application upgradation. We dont have any replication tool.What is the standard process to sync standby after patch upgradation . Is there any alternative of rsync/rdist utility.
    Is it possible that after applying patch in Primary, On Standby we have to apply as it is, with no Database inclusion as the standby database will be in mount state and will not available for making database changes.
    How to find which files to be copied manually to sync the standby with Primary. Will this method reliable?
    Apologies to ask many questions but i found no single document covering this detailed process.

    Both the links are for applying patches/upgrades for Oracle Database. Apologies i didn't clarify the requirement. It's for EBS R12. So i need to sync the apps tier with primary when physical standby in place.
    Kindly validate below procedure with rsync utility
    After running the Middle Tier and Database Pre-clone.
    To synchronize Synchronize the Appropriate File Systems to Standby,
    rsync –av <$APPL_TOP> <standby_host>:<$APPL_TOP>
    --rsync-path=/usr/local/bin/rsync
    /usr/local/bin/rsync –av <$COMMON_TOP> <standby_host>:<$COMMON_TOP>
    /usr/local/bin/rsync –av <$ web ORACLE HOMEs (10.1.2)> <standby_host>:<$ web ORACLE HOMEs (10.1.2)>
    /usr/local/bin/rsync –av <$TOOL(10.1.3)> <standby_host>:<$COMMON_TOP>
    Synchronize the database tier file system including <RDBMS ORACLE_HOME>/appsutil directory.
    /usr/local/bin/rsync –av <RDBMS ORACLE_HOME>/appsutil <standby_host>:<RDBMS ORACLE_HOME>/appsutil
    Reconfigure the Standby Middle Tier File Systems
    When the file system synchronization is complete, reconfigure the standby file systems. Log onto each of the standby middle tier systems as the APPLMGR user and execute the following commands:
    cd <COMMON_TOP>/clone/bin
    perl adcfgclone.pl atTechStack <INST_TOP>/appl/admin/<Standby CONTEXT_NAME>.xml
    To complete the configuration of environment run AutoConfig using the following commands:
    cd <APPL_TOP>/ad/12.0.0/bin
    adconfig.sh contextfile=<INST_TOP>/appl/admin/<standby context>.xml run=INSTE8
    AutoConfig will report errors regarding to database connection, these errors can be ignored as the database is unavailable.
    Step 4.4.11 - Reconfigure the Standby Database File Systems
    If you had to synchronize the apps utilities on the database server in the prior step, you should also reconfigure the database server. As the ORACLE user on each database node of standby database tier, first stop the listener if it is running, then execute the following commands:
    cd <RDBMS ORACLE_HOME>/appsutil/clone/bin
    perl adcfgclone.pl dbTechStack <RDBMS ORACLE_HOME>/appsutil/<Standby CONTEXT_NAME>.xml

  • Applying patches to physical standby node(Data Guard 10.2.0.3)

    Hello,
    I have a data guard 10.2.0.3 environment (1 primary and 1 physical standby on a separate node) on solaris 10 and i want to document the procedure in applying patches to this environment.
    I saw the article in Metalink Note 278641.1 which describes the procedure in applying a patchset to both nodes. It looks like both nodes need to be down before applying the oracle patchset.
    Can we not apply the patches on only the standby while the primary stays up and running? My guess is you can't if the patches are significant i.e. it changes versions of the oracle binaries. But i want to confirm this.
    Also, if we are applying solaris patches, i.e. nothing related to Oracle, we should be able to just apply them to the standby while keeping the primary up and running right?
    The following has worked so far but i wanted to find some documentation that confirms it's ok.
    1. shutdown oracle on standby node.
    2. apply solaris patches...
    3. restart oracle on standby node and put in managed recovery mode.
    Any comments are appreciated.
    Thanks.

    Hi
    Did you get an answer for your question yet? I have the same problem with one of our databases. Would be very nice, if you could tell me.
    Regards
    Felix

  • Rolling Upgrade of Oracle 10gR2 RAC with Physical Standby (DG)

    Hi DBAs,
    I want to do a rolling upgrade of Oracle 10.2.0.3 (2 node RAC+ASM) with Physical Standy Dataguard to Oracle 10.2.0.4 also applying CPU (April2009).
    Please suggest the best way to perform this upgrade and patching with no downtime.
    Thanks
    -Samar-

    Unfortunately rolling upgrade is only possible with a logical standby in place:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/upgrades.htm#CHDBJAGG
    That doesn't help you at this time, but 11g has a way to do it with a physical standby. Even here you need an intermediate logical standby:
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28294/rollup.htm#CHDHCBGA
    Werner

  • 10204 Upgrade with Physical Standby Steps

    Hi.
    I am upgrading from 10204 with a Physical Standby this weekend. Doc 278641.1 mentions the only the Patchset and Interim patching and not the CPU. Should I break out the CPU patching into its own activity or can I do it at the same time as the Patchset and Interim patching? I would like to get all 3 done during the same downtime. Thanks for the help.
    RCP

    Welcome to the forums !
    You can apply the CPU patches after the upgrade is complete - however, I recommend that you do this in a non-production environment first to make sure that there are no unexpected effects :-)
    HTH
    Srini

  • Issue with physical standby database not in sync with primary

    Hi,
    I created an physical standby database couple of Hours back . I am trying to keep the standby database in Managed recovery mode to make the standby in sync with primary but it is throwing the below erros. Please share your suggestion ...
    SQL> select thread#,max(sequence#) from v$log_history group by thread#;
    THREAD# MAX(SEQUENCE#)
    1 7
    PROCESS STATUS THREAD# SEQUENCE#
    ARCH CONNECTED 0 0
    ARCH CONNECTED 0 0
    RFS OPENING 1 12
    ALERT LOG :
    Tue Mar 20 07:31:32 2012
    alter database recover managed standby database disconnect from session
    Tue Mar 20 07:31:32 2012
    Attempt to start background Managed Standby Recovery process (PRIMARY)
    MRP0 started with pid=18, OS id=16370
    Tue Mar 20 07:31:32 2012
    MRP0: Background Managed Standby Recovery process started (PRIMARY)
    Managed Standby Recovery not using Real Time Apply
    parallel recovery started with 8 processes
    Media Recovery Log /oracle/STDBY/arch/1_3_777567883.dbf
    Tue Mar 20 07:31:39 2012
    Completed: alter database recover managed standby database disconnect from session
    Tue Mar 20 07:31:54 2012
    Incomplete recovery applied all redo ever generated.
    Recovery completed through change 9677325080303
    Tue Mar 20 07:31:54 2012
    MRP0: Media Recovery Complete (PRIMARY)
    Tue Mar 20 07:31:55 2012
    MRP0: Background Media Recovery process shutdown (PRIMARY)
    Thanks,
    Rakesh

    HI CKPT,
    Thanks for the reply. All the Archives from primary are transferred to the standby by RFS. Also i tried to register the log files manually even but it says already registered. They are no errors in the primary instance alert log file. Please find the log
    SEVERITY ERROR_CODE MESSAGE TO_CHAR(TIMESTAMP,'D
    Informational 0 ARC0: Archival started 20-MAR-2012 06:51:36
    Informational 0 ARC1: Archival started 20-MAR-2012 06:51:36
    Informational 0 ARC0: Becoming the 'no FAL' ARCH 20-MAR-2012 06:51:36
    Informational 0 ARC0: Becoming the 'no SRL' ARCH 20-MAR-2012 06:51:36
    Informational 0 ARC1: Becoming the heartbeat ARCH 20-MAR-2012 06:51:36
    Informational 0 Redo Shipping Client Connected as PUBLIC 20-MAR-2012 06:52:07
    Informational 0 -- Connected User is Valid 20-MAR-2012 06:52:07
    Informational 0 RFS[1]: Assigned to RFS process 15934 20-MAR-2012 06:52:07
    Informational 0 RFS[1]: Identified database type as 'physical standby' 20-MAR-2012 06:52:07
    Warning 0 RFS[1]: No standby redo logfiles created 20-MAR-2012 06:52:07
    Control 0 Attempt to start background Managed Standby Recovery process 20-MAR-2012 06:52:42
    Control 0 MRP0: Background Managed Standby Recovery process started 20-MAR-2012 06:52:42
    Informational 0 Managed Standby Recovery not using Real Time Apply 20-MAR-2012 06:52:47
    Informational 0 Media Recovery Log /oracle/STDBY/arch/1_3_777567883.d 20-MAR-2012 06:52:49
    bf
    Control 0 MRP0: Media Recovery Complete 20-MAR-2012 06:53:04
    Control 0 MRP0: Background Media Recovery process shutdown 20-MAR-2012 06:53:06
    Informational 0 Managed Standby Recovery not using Real Time Apply 20-MAR-2012 06:53:24
    Control 0 Media Recovery Complete 20-MAR-2012 06:53:43
    Control 0 Attempt to start background Managed Standby Recovery process 20-MAR-2012 06:54:55
    Control 0 MRP0: Background Managed Standby Recovery process started 20-MAR-2012 06:54:55
    Informational 0 Managed Standby Recovery not using Real Time Apply 20-MAR-2012 06:55:00
    Informational 0 Media Recovery Log /oracle/STDBY/arch/1_3_777567883.d 20-MAR-2012 06:55:01
    bf
    Control 0 MRP0: Media Recovery Complete 20-MAR-2012 06:55:17
    Control 0 MRP0: Background Media Recovery process shutdown 20-MAR-2012 06:55:18
    Informational 0 Redo Shipping Client Connected as PUBLIC 20-MAR-2012 07:31:03
    Informational 0 -- Connected User is Valid 20-MAR-2012 07:31:03
    Informational 0 RFS[2]: Assigned to RFS process 16366 20-MAR-2012 07:31:03
    Informational 0 RFS[2]: Identified database type as 'physical standby' 20-MAR-2012 07:31:03
    Warning 0 RFS[2]: No standby redo logfiles created 20-MAR-2012 07:31:04
    Warning 0 RFS[2]: No standby redo logfiles created 20-MAR-2012 07:31:06
    Control 0 Attempt to start background Managed Standby Recovery process 20-MAR-2012 07:31:32
    Control 0 MRP0: Background Managed Standby Recovery process started 20-MAR-2012 07:31:32
    Informational 0 Managed Standby Recovery not using Real Time Apply 20-MAR-2012 07:31:37
    Informational 0 Media Recovery Log /oracle/STDBY/arch/1_3_777567883.d 20-MAR-2012 07:31:38
    bf
    Control 0 MRP0: Media Recovery Complete 20-MAR-2012 07:31:54
    Control 0 MRP0: Background Media Recovery process shutdown 20-MAR-2012 07:31:55
    36 rows selected.
    SQL> archive log list;
    Database log mode Archive Mode
    Automatic archival Enabled
    Archive destination /oracle/STDBY/arch/
    Oldest online log sequence 13
    Next log sequence to archive 0
    Current log sequence 14
    SQL> ho ls -ltra /oracle/STDBY/arch/
    total 3754456
    drwxr-xr-x 4 oracle dba 4096 Feb 13 17:38 ..
    -rw-r----- 1 oracle dba 908516864 Mar 20 06:37 1_8_777567883.dbf
    -rw-r----- 1 oracle dba 770419200 Mar 20 06:40 1_3_777567883.dbf
    -rw-r----- 1 oracle dba 757698048 Mar 20 06:41 1_4_777567883.dbf
    -rw-r----- 1 oracle dba 5171712 Mar 20 06:41 1_5_777567883.dbf
    -rw-r----- 1 oracle dba 1060801024 Mar 20 06:43 1_6_777567883.dbf
    -rw-r----- 1 oracle dba 323025920 Mar 20 06:43 1_7_777567883.dbf
    -rw-r----- 1 oracle dba 1558016 Mar 20 06:43 1_9_777567883.dbf
    -rw-r----- 1 oracle dba 4608 Mar 20 06:43 1_10_777567883.dbf
    -rw-r----- 1 oracle dba 1579008 Mar 20 06:52 1_11_777567883.dbf
    -rw-r----- 1 oracle dba 11876864 Mar 20 07:31 1_12_777567883.dbf
    -rw-r----- 1 oracle dba 2560 Mar 20 07:31 1_13_777567883.dbf
    drwxr-xr-x 2 oracle dba 36864 Mar 20 07:31 .
    SQL>

  • 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

  • How to Flashback Primary with Physical Standby

    We have a dataguard configuration with one physical standby (which is the FSFO). We had an application cause problems in the primary database (basically what would be considered a user error) and we would like to flashback the primary database without having to drop and re-create the physical standby.
    Does anyone have a basic set of procedures for doing this?
    We are running 10.2.0.3 on windows 2003 server sp2
    Thanks!

    We have flashback turned on in both the primary and standby. We want to flashback the primary (and subsequently the standby) to some previous point in time.
    In a regular non-data guard setup we would just shutdown and startup mount and issue the flashback database to timestamp (sysdate-1). But with dataguard it's a little more complicated because if we shutdown the primary then the observer will initiate a failover which we don't want. And when we startup mount and flashback the primary, how do we flashback the standby? manually or do we re-start the broker and let data guard do it?
    I think it's going to require some specific steps and I was hoping someone had gone through this and could offer some suggestions.

  • Data Guard Archive Latency with Physical Standby

    I'm trying to get a latency number that tells me how long it took ARCH to move an archive file from the Primary instance to the physical standby instance and "apply it". I see lots of numbers but I can't make heads or tails of them. Does a metric such as this exist in a log file, a V$ view, or can it possibly be calculated or extrapolated?
    Thanks
    Steve ([email protected])

    This is how calculated the same in a test env.
    1. stop standby listener
    2. shutdown standby
    3. perform a data load (import)
    4. start the standby listener. This will cause arch files to be shipped to the standby. Monitor the files being shipped and time it
    5. start the standby db in recovery mode
    6. repeatedly execute the following query while timing the log apply services:
    SELECT SEQUENCE#,APPLIED FROM V$ARCHIVED_LOG ORDER BY SEQUENCE#;

  • Primary RAC with physical standby

    Hi all,
    i have production setup as below
    2 node 10gR2 RAC on win2K3 datafiles on ASM
    Oracle Standard edition
    On the standby site it will be a manual standby (since SE) .
    Biz doesnt want the archives to be on local NTFS partition, hence the archives are on ASM. To resfresh the standby i need to transfer the archives through RMAN (catalog database is used) but facing issues when i take archive backup and put it on standby (error says that the files are already on storage) . So i am unable to refresh .
    i guess it should be done through some scripts .... but how to register archives on the standby site.
    Xml interface through catxdb was also tried(where we can ftp files from asm) but it takes only one file at a time so there will be manual intervention and not effective strategy
    one more question: can i mount a shared drive (archives on this location) on primary RAC and same to be mounted on standby. If this is possible then i just need to shutdown the standby and give path of archives in asm and recovery can be done ?
    pls share your feedback.....
    thanks
    [email protected]

    So what I would do is this :
    On the Primary :
    alter system set log_archive_dest_state_2=defer;
    Then stop recovery on the Standby and shutdown the database.
    Startup mount and start recovery again and run you query again on that sequence.
    If it finally clears enable the primary again.
    alter system set log_archive_dest_state_2=enable;
    If not try to register it yourself.
    By chance does this show its waiting for a gap
    select process, status, sequence#, block# from v$managed_standby;Best Regards
    mseberg
    Edited by: mseberg on Aug 23, 2011 8:38 AM

  • Patch 9205 to 9208 on production and physical standby

    Hi all
    I have to apply patch on production db and as wellas on standby db can anyone provide me the steps or a metalink on how to apply the patch in scenario like mine.
    I am on win2003 server with 9205 and have to apply 9208 patch
    Is it advisable to apply the patch on both the servers or first we shoulsd apply the patch on production and if everything went fine then we should apply the patch on physical standby
    Please advice me on the pros and cons as per the above scene
    thanks in advance
    ajay

    Thanks for the reply..
    I have checked the readme file it is not of much help. I shall be greatful if you can provide something else other than README file.
    Thanks
    ajay

  • Sys passowd change effect in physical standby environment.

    Hi All,
    We have a production environment with physical standby environment configured for it. Everything is working fine. My issue is with the sys password. We have a policy of changing sys password every month.
    1) What should be the step by step process to reflect the same sys password to standby database?
    2) As per one of the fourms, copying the production system's password file to standby database should work. but i am not sure is just copying the password file will change the change the password in standby database. As the standby database is in recovery mode (mount stage) what will be the best way of doing this?
    Thanks
    Shelly

    Hi Shelly,
    1) What should be the step by step process to reflect the same sys password to standby database?
    change the sys pass in prodshudown and restart to check if the new password ids in effect
    In standby you have options
    cancel managed recovery and recraete a new password file (same password as primary)
    or
    (easy way)
    Simply copy the prod modified password file to standby and restart managed recovery.

  • Reg upgrade of Physical Standby from 9i -10g

    hi guys,I'm planning to upgrade my database from 9i 9.2.0.7-10g 10.2.0.3...along with Physical Standby Site....
    I got a link for Dataguard upgrade
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/upgrades.htm
    what I conluded from this links is...Just writing the high level steps
    -Apply all the Archive logs on Standby
    -install the Oracle Software on Primary Standby
    -Upgrade the Primary
    -Start the Standby with password file and spfile from the new home..and set the FAL parameters
    I might be missing some steps here
    but
    I just wanted to make sure we actually dont upgrade the Standby as we do with Primary just installing the 10g software on Standby as well and starting the instance with spfile from 10g home with same set of datafies....is considered to be the upgrade.......of Standby database????????looks too simple
    Thanx
    Gagan

    You could certainly reinstall Apex to make sure that Apex-related packages and procedures are re-granted properly, but that still won't solve the other cases where specific non-Apex-related packages were granted but became "ungranted" after the upgrade. I'm not involved with DB upgrades myself, so the whole procedure is a bit "black box" to me, so I don't know if packages that were granted become revoked on an upgrade. Talk to you DBA about the DB upgrade and find out what packages were granted by default.
    but we may get other errors down the line because of other privileges that are still missing...Probably, and depending on the exact 10g version you installed, there are other DB bugs that will mess with Apex. Was this upgrade done on a test instance first or just production? In either case, run through all your applications and see if anything else breaks. If possible (and appropriate) notify your users that an upgrade occurred and that you've tried to resolve any problems but some might be hiding out there. It's not bad to be cautious--we tend to run things the other way and upgrade overnight, do a few checks to see that nothing is 100% broken and come in the next morning to all kinds of fun errors the users found.

Maybe you are looking for

  • WiFi no longer works on iPhone 3GS after 3.1 Update

    Well essentially the subject is all there is too it. I updated to iTunes 9 and iPhone OS 3.1 yesterday. I usually have wifi off at all times unless i want to use it to save battery life. I turned WiFi on and it wouldn't find my router. Any suggestion

  • Need help connecting SmartView

    I recently got Smarview installed and I'm having issues getting it to connect to the database. This is probably really simple but I have no idea what I'm doing. The person who helped this up with the consultant left right after it was finished and th

  • Missed calls - ringing through headset

    I am missing incoming calls, because my phone is ringing through the headset when I'm not using it.  Even when I turn off media to the headset, it turns itself back on and the ringing always goes to the headset (Voyager Pro + earpiece with A2DP).  I

  • Error when running TestClient in BC4J samples Caching.jpr

    Folks, While I have not problem to run DemoModuleImpl.java, the following errors are shown when I run TestClient.java in Caching.jpr BC4J samples. I am getting really frustrated by this and I hope some one could help me out. I know it is the followin

  • Oracle apps. 11i financials implemention

    Hi gopal, I am new to Oracle Apps. Presently I am working as an Oracle 11i financials Functional consultant.. Could you send me the soft copy of Oracle Application Implementation Method. My email id is [email protected], [email protected] thanks, reg