Patch application in a DataGuard environment!

Just curious if anyone out there has any patch application best practices in a DG environment.
Our environment is:
- Oracle v 10.2.0.3
- Solaris 10
- DG in Physical Standby
We are in the process of applying July CPU patch and just want to check if anyone out there has any recommendations.
Appreciate all your help.

Hi, the July Patch can be from Metalink site into Note:432865.1 and the link is
https://metalink.oracle.com/metalink/plsql/f?p=130:14:1963896718475765486::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,278641.1,1,0,1,helvetica
Good luck.
Regards.

Similar Messages

  • Patching/updating Java Applications in the WebLogic environment.

    Hi All,
    I'd like to get some feedback on our process and hear if there is some better/different
    ideas out there on how to handle patching/upgrading java applications in the WebLogic
    environment.
    Here is our process:
    1) We build using ANT our Enterprise application.
    2) We deploy our application using InstallAnywhere to drop the structure into
    an environment.
    If a patch or update is needed, we again build the Patch/Update using ANT, generating
    checksums for each file in every ear/war/jar file as well as any supporting files
    (.xml, .properties, .sh, etc.) used in the production structure. We then compare
    checksums against what is in production and come up with PATCH_(ear/war/jar) files
    with only the changed classes and duplicate production structure with the changed
    supporting files.
    Using ANT scripts and InstallAnywhere, we backup the files to be replaced in production,
    overwrite supporting files, extract packages (ear/war/jar), overwrite classes
    with new ones, re-package the ear/war/jar files into production environment and
    restart the server.
    We patch at a class level due to the configuration settings internal to the package
    files (ear/war/jar) that we don't want the customer to have to re-configure everytime
    we do a partial release.
    Right now, the whole process is automated except the creation of the Patch ANT
    script that extracts, overwrites updated classes, updates manifests, then re-packages.
    Any ideas on improvements or complete re-engineering of our process to help so
    we can get closer to 100% automation?
    Thanks,
    John

    The chances of two applications running at exactly the same time are miniscule. If they each have a connection to the database, and are both trying to modify the same table, then chances are one will be slightly after the other its changes would be committed last. In the case where one might delete a row just before another tries to access that row, you're going to have some sort of problem. However, those circumstances are pretty rare, and even so, some small amount of exception handling can deal with them gracefully.

  • Oracle patching on Dataguard Environment

    Hi,
    I have to do oracle patching on my customer system having Dataguard environment.
    Can someone please guide me, if i have to run installer on both primary and standby server or not ?
    Is someone has done it in past, please share your experience.
    Thanks,
    Kanchan

    In Readme they have just mentioned to refer oracle note 278641.1. When i checked that note, it says
    1. In the primary disable log shipping to the standby site.
    2. Shutdown the standby site and apply interim patchsets to the RDBMS binaries as per the README. This includes Patchset/Patchset Update (PSU)/Critical Patch Update (CPU). You will not be able to and do not need to run the scripts (catpatch.sql etc) against the standby rdbms itself.
    3. Shutdown the primary site, apply the Patchset/PSU/CPU patch to the RDBMS binaries and patch the RDBMS itself using the instructions in the README (run catpatch/catbundle/catcpu etc).
    4. Start the primary site, re-enable log shipping to the standby.
    5. At the standby site restart redo apply/managed recovery and the RDBMS changes implemented in the Primary Site through catpatch/catbundle/catcpu will also be applied to the standby.
    Information about Bundle patch is clear. But Applying patchset is not clear.
    Do we need to run catupgrd.sql script on standby after patchset installtion ? or that will also be shipped through logs ?
    and if below command is right for disabling the Log shipping from primary ?
    SQL> alter system set log_archive_dest_state_2=defer scope=both sid='*'

  • Applying oracle patchset in oracle-dataguard environment

    Hello There,
    I wish to apply oracle patchset in oracle dataguard environment.
    can you please let me know the steps that has to be taken on Primary & standby database?
    is there any specific document for this?
    DB - oracle 10.2.0.4
    OS - Linxu x86_64
    Best Regards
    Sachin Bhatt

    Hi Sachinn,
    To patch primary site, you can find the detailed infirmation in readme.html, in the patch zip file. Additionally, at the standby site, In order to apply the patch;
    1) stop the log shipment
    2) stop the oracle related services
    3) patch the Oracle
    4) Startup migrate
    5) execute the SQL scripts
    6) start the log shipment
    Check the link below;
    http://dbaforums.org/oracle/index.php?showtopic=17398
    Best regards,
    Orkun Gedik

  • What is Patch Application Assistant by entering "admsi.pl" & how to run it?

    Hi
    I am trying to apply patch 6510214 on Oracle Apps R12.0 (Base Release), inorder later to upgrade to R12.0.4.
    In Readme Document for patch 6510214, it is written as 'Run the Patch Application Assistant by entering "admsi.pl". How do i run this and also needs steps to upgrade to R 12.0.4.
    Please help me.
    Thanks
    Ateeq

    Hi
    Regarding this patch_top directory. We have single node installation and path is /vision/patch. How do i check whether it is a correct patch_top directory or not?
    When applying 'u driver' patch, in what locations exactly i have to copy downloaded,unzip file in order to apply both on AS and DB server.
    Like the steps for applying patch in R11.5.9,are
    1     Copy your Patch Zip file to patches folder
    2     Unzip your Patches
    3     Stop All Services on AS
    4     Stop Concurrent Manager on DB Server
    5     Source the Environment (AS)
    6     Locate Patch Directory
    7     Enable Maintenance Mode using adadmin command
    8     Apply Patch using adpatch utility
    9     Disable Maintenance Mode using adadmin command
    10     Depending on Driver type (Repeat steps from 2 to 9)
    11     Verify changes as mention in README file
    12     Start Concurrent Manager on DB Server
    13     Start All Services on AS
    Is it the same sequence in R12.0.0 or different? Please put some light on this issue.
    Thanks
    Ateeq

  • Flashback in dataguard environment

    Hi,
    We have dataguard environment with Sun OS & Oracle 10g, 11g. Now we want to enable flashback for the primary database as well as standby database (physical standby). NO RMAN. I did manage to configure the flashback for the primary database but confusion is:
    -- Do I need to configure flashback at standby or recreate standby after enabling flashback at primary site?
    -- Suppose if I use flashback database to restore point and open database with resetlogs, what would be the situation at standby site? Will it be in sync with primary or after resetlogs I need to make new standby database??
    -- Is there any space requirement ratio for flashback recovery partition?
    Thanks,
    Amit.

    If you only enabled flashback on your Primary, your Standby is not affected. If you did actually a flashback database on your Primary, you need to address that on the Standby. See an example here:
    http://uhesse.wordpress.com/oracle-database-ha-architecture/2010/08/06/using-flashback-in-a-data-guard-environment/
    Kind regards
    Uwe Hesse
    http://uhesse.wordpress.com

  • Query in Oracle 10.2.0.2  Patch application

    Hi All,
    I need to apply patch for Oracle 10.2.0.2 on HP-Unix IA 64-bit server and when i saw SAP Marketplace, found latest CPU Patch of Janauary 2008 (p6646850_10202_HPUX-IA64) as per note #  1140644.
    Along with this i also found 1 note mentioning about Optimizer merge fix patch application as per OSS note # 981875 and so downloaded file p7608184_10202_HPUX-IA64.zip, which is relevant to it.
    Now when i read note # 981875 , i found that, it clashes with above mentioned CPU patch and want this to uninstall it and then apply Optimizer patch. And no where then it is mentioning to apply CPU patch again.
    So i want to know, do i required now only to apply only Optimizer merger fix patch and not CPU Patch as per 981875 note. Just fyi...CPU patch is of Jan 2008 & Optimizer fix patch is of 01/12/2009?
    Please let me know, how to go about it, if anyone has already done this.
    Thanks for your answers in advance

    Hai,
    The answer is already in the SAP Note 1140644.
    'We recommend that ALL SAP customers import the CPU patch only if it is absolutely necessary'
    Risks:
    The main risk when you install the CPU is that, as soon as SAP provides a new patch, this patch could clash with the CPU (it may not clash). If a clash occurs, you must decide between the CPU and the new patch.
    The reason for the clash is the fixes which you apply from the patch as per SAP Note 981875 are already there in the system after the Installation of the CPU, according to SAP, CPU is a fix for security-related areas.
    When you install the CPU patch, you will be informed that this patch is part of the CPU (# are included in the patch currently being installed (6646850). If you continue, they will be rolled back and the new patch (6646850) will be installed ...).
    As far as I know, It is better to apply only the Optimizer merge fixes not the CPU once again.
    Regards,
    Yoganand.V

  • Configuring rman for dataguard environment.

    Hi all,
    Here we have a dataguard environment with db1 as primary and db2 as physical standby database. We configured dataguard in 10g environments and we are not using grid control. Can anyone provide the steps for configuring rman for incremental backups in this environment? We want to schedule the backups to be taken in standby db, (that is applicable in case of swithover too). In the case of swithover to db2 what all do we need to do in rman manually to resume backups in db1?
    Thanks

    Hello;
    A Standby database is a copy of the Primary so if you try to register it RMAN will probably tell you its already registered. I would start with this :
    Standby based backup
    1. Enable auto backup of the control file and server parameter file. CONFIGURE CONTROLFILE AUTOBACKUP ON.
    2. Skip backups on datafiles already backup. CONFIGURE BACKUP OPTIMIZATION.
    3. Set the archive deletion policy. CONFIGURE DELETION POLICY TO NONE.
    You have to decide on the exact RMAN script you want to use, but since the database is registered you can perform backup on either the Primary or the Standby as the need arises.
    See "Using RMAN to Back Up and Restore Files" in "Data Guard Concepts and Administration 10g Release 2 (10.2) B14239-05"
    http://docs.oracle.com/cd/B19306_01/server.102/b14239/rman.htm
    Example in this post
    How to manage primary and standby database backups using rman catalog
    How to use standby backup to restore primary db
    http://alexzeng.wordpress.com/2008/09/13/how-to-use-standby-backup-to-restore-primary-db/
    Best Regards
    mseberg

  • Reduce downtime required for support patch application

    Dear Experts,
    I would like to know if there are any tips / notes we need to follow during application of
    support patches to reduce the downtime window ( as during patch application , system is not
    usable for normal users ) , any temparary parameter changes to Oracle RDBMS which we can
    activate before appication of support patch and then revert the same once Patches are loaded
    for normal Day operations.
    Is there any note which talks specific settings which could enhance the performance
    of support patch application process on Oracle RDBMS.
    Regards,
    RR

    To my understanding if i select Downtime minimized some phases of Patch application could
    be carried out when users are online and for others would get notified in SPAM for downtime
    , so we just need to lock users and perform start for those rest of Import phases.
    Yes this is correct, theoretically you can apply single patches with downtime minimized one after another. But this does not make a lot of sense obviously, because you will have several distinct downtimes then. So to apply one queue containing all packages is the way to go.
    Regarding your questions on the benefits, i am afraid the answer here is: it depends, as for most performance tuning options you will have to test carefully if the are working.
    For the db_cache_size consider:
    - is my db_cache_size smaller than 1000M?
    - do i have enough free memory on my server?
    - am i seeing low buffer hit ratio while applying support packages?
    If all questions are a yes, then i recommend you increase it to 2000M, it is easy to do. But if you don't have free memory on the server, then you will severly hurt performance by causing paging. If you don't have low buffer hit ratio (or you have lightspeed disks , then the tuning will not speed up anything.
    As you see, you have options, but there isn't a single speed button that solves your problem.
    Regards, Michael

  • 11.5.10 CU2 patch application unable to locate LoadDTDToClob.class

    Hi All,
    I am applying the 11.5.10 CU2 patch
    In between the patch application paused and I got the messgae like this:
    ATTENTION: All workers either have failed or are waiting:
    FAILED: file LoadDTDToClob.class on worker 1.
    FAILED: file LoadXSLTToClob.class on worker 2.
    FAILED: file LoadDTDToClob.class on worker 3.
    FAILED: file LoadDTDToClob.class on worker 4.
    FAILED: file LoadDTDToClob.class on worker 5.
    FAILED: file LoadXSLTToClob.class on worker 6.
    ATTENTION: Please fix the above failed worker(s) so the manager can continue.
    I found that the fix for the above said is to set the classpath variable in the ieoenv.sh
    I found the ieoenv.sh in the following location:
    /d01/oracle/visappl/ieo/11.5.0/admin/scripts/VIS_vision/ieoenv.sh
    and the content of the ieoenv.sh is as follows:
    IEO_TOP=/d01/oracle/visappl/ieo/11.5.0
    I could not find the jdbc111.zip file in this location
    How can i proceed further to fix this
    Many thanks and best regards...

    plz post the adworkxx.log and try to following also
    1- backup your adovars.env file
    2- modify your adovar.env file and substitute appbsorg2.zip by appsborg.zip
    3-restart the patch
    the jdbc111.zip is under
    appl_top/abm/11.5.0/jar/jdbc111.zip
    appl_top/fnd/11.5.0/java/3rdparty/stdalone/jdbc111.zip
    fadi
    http://oracle-magic.blogspot.com

  • OWB 10.2.0.4 patch application failed and seek advice.

    Hi,
    I have read some posts in this forum and tried to solve my problem with OWB 10.2.0.4 patch application. My basic situation is: OWB 10.2.0.3 was installed by someone before. Now developer only can get OWB 10.2.0.4 client. It can not access into existing OWB 10.2.0.3 repository because the version is not matched. I have to apply OWB patch 10.2.0.4 to OWB server. Installing patch is OK. After that, I need to create a test repository to upgrade OWB 10.2.0.3 repository to 10.2.0.4. When I tried to do so. I failed to either a new test repository or even accessed into existing repository. I got different errors as INS0009, ORA-01017 and LRM-00109 with the message as 'unable to connect to database with user SYS, invdlid username/password' Then I followed advices from another thread. Done these steps:
    1. SQLNET.AUTHENTICATION SERVICES=(NTS)
    2. INIT.ORA, remote_login_passwordfile=exclusive.
    3. shutdown database
    4. recreate password by using orapwd.
    5. startup database and connect as: sys/new_sys_password as sysdba, I connected.
    6. select * from v$pwfile_users; I got ' no rows selected'
    7. I guess the sys might not have sysdba privilege, Grant SYSDBA to sys; I was feedbacked with ' password file missing or disabled'
    I haven't used OWB before and don't know where is the problem that I cannot create a new test repository or access current repository. The password file has been recreated and verified. Why login process failed. By the way, I still use OWB client 10.2.0.3 on my desktop (old) and I have no problem to access into exisiting repository. Please help me to figure out the problem and upgrade my OWB server. Thanks in advance.

    You don't answer to my question (about name of password file), maybe your problem is caused by incorrect filename.
    Also please show instance name with select from v$instance:
    select instance_name from v$instance;
    Do you show me how to check this?What is the filesystem type where Oracle software installed?
    In Windows Explorer open directory ORACLE_HOME\database, rightclick on password file and select Properties from menu.
    Select Security tab and select (in Groups ans users list) the user under which Oracle instance service is executed (by default it is user SYSTEM),
    in the bottom list (Permissions for ...) check granted rights.

  • How to test failover of dataguard environment?

    I would like to test failover (not switchover ) in dataguard environment.
    How to achieve that?
    Thanks.

    Hello;
    Happy to share my test notes :
    http://www.visi.com/~mseberg/Data_Guard_Failover_Test_using_SQL.pdf
    These oracle notes may also help :
    Can We Use Manual SQL*PLUS Steps For (switchover,Failover,etc....), If DataGuard Broker Has Already Activated And GridControl Is Also Used? [ID 744396.1]     
    Oracle10g: Data Guard Switchover and Failover Best Practices [ID 387266.1]
    Step by Step Guide on How To Reinstate Failed Primary Database into Physical Standby [ID 738642.1]
    Best Regards
    mseberg

  • Setups in Database installation or patch application

    Hi all,
    In the database installation or patch application, in the unzipped directories you have multiple
    setup.exe files along with oui.exe.
    For example: in 10g
    you have one setup.exe under directory 10gR2_server\database
    also you have one setup.exe and one oui.ex under directory 10gR2_server\database\install.
    I am wondering what are the differences among those setup.exe and oui.exe. Sometimes we tried the setup.ex in one directory it throw some error and tried another one it works. I am kind of confused.
    Thanks a lot for your help,
    Shirley

    Hi Shirley
    As far as I know setup.exe is starting the Oracle Universal installer and the oui.exe is called by the setup.exe.
    Sometimes your can perform silent install as this:
    oui.exe -waitforcompletion -nowait -force -silent -responseFile response_file.rsp
    Regards,
    Hub

  • How to run java application without having java environment in  a machine

    can i run java application without having java environment(JVM) in a machine.I mean i dont have installed j2se or jdk in my machine.And i have an j2ee application running on another host which is built in swings.I want to access that application in my machine
    can any one help regarding my problem

    If you only need to access the program from one machine and you are running a Unix-like operating system (e.g., Linux, Solaris), you can use the remote display capabilities of X11. In this case you have to choose the host where the app will be displayed when you start it:
    $ DISPLAY=<hostname>:0.0
    $ export DISPLAY
    $ java ...
    If you want to be able to display it on both machines at the same time, or if you are using windows, then try something like VNC (http;//www.realvnc.com). Or if you are running windows and your version supports it, you can use windows remote desktop.

  • Error message: 'you can't open the application because the Classic environment is no longer supported'

    I get the error message 'you can't open the application because the Classic environment is no longer supported', when will this issue be fixed? I need to use a program to analyse videos called 'J watcher' that is vital for my thesis. It worked in the last operating system but refuses to open in this one. When will this issue be fixed/what can I do about it?

    Is there any way to fix this?
    Yes, but it's not easy.
    I've only tested this on Snow Leopard, but I think it will work in Lion. You need to have Java installed, which it's not by default in Lion. Since I'm not using Lion myself, I can't tell you how to do that.
    Download the Java/Mac version (1.0) of the application from JWatcher Downloads. You'll get a zip archive. Expand it. Now you have an application called "JWatcher_V1.0." This is only the installer. It won't run, because it has PowerPC-only version of the Java application stub.
    Select the line of text below in your browser and copy it to the clipboard:
    /System/Library/Frameworks/JavaVM.framework/Versions/A/Resources/MacOS
    In the Finder, select Go > Go to Folder... from the menu bar (this menu may be slightly different in Lion.) Paste the clipboard contents into the text box. You should now see a folder with two files in it, one of which is named "JavaApplicationStub." Leave that window open.
    Now right-click on the icon of JWatcher_V1.0 and select "Show Package Contents" from the contextual menu. A new Finder window opens. Open the folder called "MacOS". Inside that folder is a file also named "JWatcher_V1.0". Move it to the Trash. Drag the file JavaApplicationStub to where it was. Rename the file (it will be copied, not moved) JWatcher_V1.0. Close the Finder window.
    Now double-click the installer. It should launch. Install the application wherever you choose. You're not done yet.
    The installer creates a folder named, once again, "JWatcher_V1.0". Inside it is an application. That, too, is named "JWatcher_V1.0". Select it, and do exactly the same thing you did before with the installer: replace the binary inside with a copy of JavaApplicationStub.
    You should now be able to run it.

Maybe you are looking for

  • Static abstract methods - how can I avoid them?

    Hi everybody, just found out that java doesn't allow static abstract methods nor static methods in interfaces. Although I understand the reasons, I can't think of how to change my design to gain the required behavior without the need of static abstra

  • Adobe Creative Suite 6: Design  & Web Premium (software download card)

    I purchased Adobe Creative Suite 6: Design & Web Premium (software download card), the download package appeared on my destop. Then the zip files: Adobe Creative Suite 6 Design & Web Premium MAC.zip and Adobe Creative Suite 6 Design & Web Premium MAC

  • How to save incoming email images?

    I have a Mac desktop running on Lion OS X. When someone sends me an email with photo attachment, how do I save the photo? I tried right clicking the image and in the drop down box I am prompted to either Copy image or Save Attachment. I tried Copy Im

  • CVP DBLookup cursor/concurrency type

    I was just wondering if anyone has used the standard DBLookup step in CVP against an SQL 2005 database. I have developed a simple CVP application which does database lookup on the DTMF digits entered, to select a single field from the database based

  • Pls help me to recreate the OKR of Ideapad U330

    I changed my driver C and the OKR is no longer working. And now, I install a fresh Windows in my driver C. And I would like to make a Recovery for my fresh windows. How could I do? Thanks U very much!