DataGuard configuration in production

Hi friends,

I have to configure my production environment (primary) to a database of pending. I have a question for this I need to make some changes in the file(spfile/pfile) parameter any time will I have to bounce my primary database or it need the downtime?

Thank you and best regards,

Arya

Hello

To configure dataguard, must actually DB bounce we configure dataguard in my company without rebound. All the required parameters can be defined using the alter system command to set the primary database memory, even if you use on startup pfile. When using pfile don't forget to edit to carry all the settings that have been defined on the primary database to configure dataguard so that when the DB is rebound later or to scheduled maintenance window, the settings will be retained and it posed problems for the installation of dataguard.

Tags: Database

Similar Questions

  • DataGuard configuration

    Hello

    Operating system of my main server is 32-bit Windows. The backup server operating system is 64-bit Windows. Can I configure the Dataguard configuration. It works perfectly?

    Thanks in advance.

    Operating system of my main server is 32-bit Windows. The backup server operating system is 64-bit Windows. Can I configure the Dataguard configuration. It works perfectly?

    You did not mention the version of the database that you could use. 11 g, Yes, it is possible to have different primary and eve of binary OS.

    You can refer to this https://docs.oracle.com/cd/E11882_01/server.112/e41134/standby.htm#SBYDB00067

    HTH

    -Jonathan Rolland

  • demote the Group patch 3 10.2.0.5 in dataguard configuration

    Hello

    We run in running in linux x86_64 5 update 7 dataguard configuration.

    primary database "single instance": 10.2.4.4 (downgraded to 10.2.0.5)

    STANDBY database "2xnode CARS": 10.2.0.5 (need to downgrade)

    primary database successfully downgraded after slaughter again shipping services, etc...

    in 10.2.0.5 readme group of hotfixes, I can't find a note dealing with the ' how to make to delete/uninstall only from binaries group of patches as in dataguard we must not to run one of the scripts what database keys.

    thanking you in anticipation.

    Kind regards

    -Ahmad

    Hi Andre,

    It is not possible to uninstall a group of patches. Either Oracle home must be restored from Oracle home or install it again. Once this is done, you can simply enable log shipping and it should take care of database backup.

    334598.1 - how to restore a group of patches

    Thank you

    Ashish

  • Dataguard Configuration database upgrade

    Hello

    I have some doubts regarding the upgrade of database in dataguard configuration. Could someone help me please.

    -How update occurs in the dataguard configuration?
    -Is that we must install only different OH in both? And once the catupgrade script is run on the primary, it will automatically update pending as well?
    - Or is to upgrade the two separately? That is to say, first aid and then primary or vice versa
    -Can reduce us downtime by breaking the dataguard config. Do a permutation, and do secondary as main and primary upgrade first?
    And once the upgrade is complete in the primary, raise and improve the day before. And later once the upgrade completed on standby, primary synch and sleep.

    Please share your ideas and your thoughts!

    Thank you!

    First of all, - steps may differ about the version upgrade but - my post with the following link might help clarify the concept.
    http://emrebaransel.blogspot.com/2009/02/10204-upgrade-with-DataGuard.html

    user1982050 wrote:
    Hello

    I have some doubts regarding the upgrade of database in dataguard configuration. Could someone help me please.

    -How update occurs in the dataguard configuration?

    First you patch the binary Oracle both primary and standby. Then open services dataguard and upgrade the primary, standby database will update already.

  • DataGuard Configuration problem / ORA-16047

    So last night I decided to set up a test of physical database paused. I had everything working properly and when I started to play with the Data Guard Broker I started having a few problems. Now I can't get the logs to be shipped from the primary to the day before.

    Version: Primary and Standby
    BANNER
    --------------------------------------------------------------------------------
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE    11.2.0.1.0    Production
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    OS: Primary and Standby
    [oracle@dgdb0 trace]$ uname -a
    Linux dgdb0.localdomain 2.6.32-100.28.5.el6.x86_64 #1 SMP Wed Feb 2 18:40:23 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
    First of all, I noticed a problem with a gap in the sequence numbers.

    Standby
    SQL> SELECT sequence#, applied from v$archived_log order by sequence#;
    
     SEQUENCE# APPLIED
    ---------- ---------
         8 YES
         9 YES
        10 YES
        11 YES
        12 YES
        13 YES
        14 YES
    
    7 rows selected.
    Primary
    SQL> archive log list;
    Database log mode           Archive Mode
    Automatic archival           Enabled
    Archive destination           USE_DB_RECOVERY_FILE_DEST
    Oldest online log sequence     37
    Next log sequence to archive   39
    Current log sequence           39
    Here are the configuration on the primary information:
    SQL> show parameter db_name
    
    NAME                     TYPE     VALUE
    ------------------------------------ ----------- ------------------------------
    db_name                  string     dgdb0
    SQL> show parameter db_unique_name
    
    NAME                     TYPE     VALUE
    ------------------------------------ ----------- ------------------------------
    db_unique_name                 string     dgdb0
    SQL> show parameter log_archive_config
    
    NAME                     TYPE     VALUE
    ------------------------------------ ----------- ------------------------------
    log_archive_config             string     dg_config=(dgdb0,dgdb1)
    SQL> show parameter log_archive_dest_2
    
    NAME                     TYPE     VALUE
    ------------------------------------ ----------- ------------------------------
    log_archive_dest_2             string     service=dgdb1 async valid_for=
                             (online_logfile,primary_role)
                             db_unique_name=dgdb1
    Sleep settings
    SQL> show parameter db_name
    
    NAME                     TYPE     VALUE
    ------------------------------------ ----------- ------------------------------
    db_name                  string     dgdb0
    SQL> show parameter db_unique_name
    
    NAME                     TYPE     VALUE
    ------------------------------------ ----------- ------------------------------
    db_unique_name                 string     dgdb1
    So I proceeded to run this query:
    SQL> SELECT error from v$archive_dest WHERE dest_name='LOG_ARCHIVE_DEST_2';
    
    ERROR
    -----------------------------------------------------------------
    ORA-16047: DGID mismatch between destination setting and target
    database
    The error description is:
    Cause:       The DB_UNIQUE_NAME specified for the destination does not match the DB_UNIQUE_NAME at the destination.
    Action:     Make sure the DB_UNIQUE_NAME specified in the LOG_ARCHIVE_DEST_n parameter defined for the destination matches the DB_UNIQUE_NAME parameter defined at the destination.
    As you can see above the DB_UNIQUE_NAME in the parameter LOG_ARCHIVE_DEST_2 to match that of the database pending.

    Also DG_BROKER_START is false on the back-end databases and relief.

    Finally, I deleted all the files DRC * the directory $ORACLE_HOME/dbs on primary servers and intelligence to make sure that the broker is not configured.

    Where am I wrong? How can I get the standby caught up and working properly again?

    I apologized if I missed something. I'm relatively new to databases in waiting.

    Centinul;

    I noticed a few things

    1. If you run the query below the sleep mode, you will probably always get the results you've posted

    SELECT sequence #, applied to the order of v$ archived_log by sequence #.

    What to do if run it from primary school and I add the "DEST_ID" column to the query.

    2. you may have more luck finding GAPS using these queries:

    Select max(sequence#) from v$ archived_log in case of application = 'YES ';

    Choose the process, status from v$ managed_standby;

    SELECT * FROM V$ ARCHIVE_GAP;

    3. you mix SQL result with data broker, which can bite you. You don't know where you went wrong, but I would create PFILE file versions before trying to broker data at both ends. You can view each setting and avoid problems before adding the data broker. Data broker will take control and you can even find that it adds entries to your settings file.

    The ORA-16047 is probably related database parameter and that should help at least answer the question. For example you might miss log_archive_config on the standby or soething. In comparing the two PFILE should refine this

    I checked my notes from data broker, but did not find an ORA-16047, ORA-01031, ORA-16675, ORA-12514 and ORA-16608, I managed.

    For me I decided it was a good idea to run Data Guard without data broker at first, until I got the impression using SQL.

    Finally if you have not already consider the purchase of Larry 'Oracle Data Guard 11g Handbook' Carpenter IMHO its worth every penny and more.

    Best regards

    mseberg

  • DataGuard configuration question.

    I need suggestion about the configuration of the dg.
    primary-
    OS - linux
    DB - 10.2
    data files - OMF (db_create_file_dest and db_create_online_log_dest_n)
    FRA is configured.
    archiving of FRA.

    Backup site.
    OS - Linux
    DB - 10.2
    already have a stand-alone single instance running on ASM. with two DATA and FRA

    So my question is can I create instance watch on ASM?
    primary means no EAM with omf and Eve on ASM for?
    Please notify. Thanks in advance.

    You can... but I wouldn't... and here's why. Assuming that, even if you did not, it is not logical and physical.

    The point of the physical standby, is that it is 100% identical to your production by all means server. Shell scripts, run on one should run without modification or other tests on the other. It is the same for all aspects of infrastructure. Make it different and you invite problems or need to up on all aspects of the tests.

    In case you, to all the less, your upgrade paths, and other names must be different. Of course, I would move one spfile to another.

    Why not move the primary to ASM, and then to implement the strategy of DR?

  • Agent upgrade on the DataGuard configuration

    Hello

    Win x 64 server
    Oracle 10.2.0.3.0
    Agent 10.2.0.3.0 (go 10.2.0.5)

    Last days I've been patching all the agents out there, nothing complicated on this matter, but now I came to our configuration dataguard, for me, it seems that this will not matter, I have found no documentation contends it would be different, since the agent are separated from data bases itself.

    #shut to the bottom of the agent
    #patch

    Grateful for answers,.

    There is nothing special dataguard / agency relationship. As usual, upgrade after upgrade test, and if you find any problems you will need to remove the target, and add it again.

  • 'Jumbo mtu system' configuration during production?

    Hello.

    Will be changing

     system mtu jumbo 

    from 9000 to 1500 disrupt the network if performed during production?

    Kind regards

    Martin

    Martin-Reset the switch then that the MTU change be taken into account.

    Thank you

    Ajay

  • Vanity URL configuration for production

    Hi all

    I'm working on vanity url and remove my custom URL assembler. I know that Vanity URLS have a higher preference the custom URL. So I'll keep both.

    Now we put sites.environment = "management" in futuretense.ini to the management. So my problem is that when I'm going to production, should I change this variable to 'production' of production futuretense.ini. Also, how will create new webroot in production, as management webroot aura environment in webroot will be 'management' while production is expected to be 'production '.

    Hello

    If you have not set sites.environment, it will not use the URL of virtual webroot. It will use the defined root at the top URL. When you publish the root Web of Production, Production will use the same URL (assuming that the production is not set sites.environment).

    If you set sites.environment to a value, you MUST create a virtual webroot for this value, otherwise you will get errors.

    Basically, the virtual webroots are a lookup table for the URL to use as the value of sites.environment.

    Kind regards

    Stephan.

  • RMAN archive deletion problem in the dataguard configuration

    I have a weird problem in all our databases with dataguard. When we issue "delete archivelog all saved on the drive; 1 times"the archiving that have not been backed up logs are also appear as candidates for deletion.

    To confirm these observations, I did a test in our lab.

    (A)

    On a stand alone DB, I took a backup and then move the log files.

    archivelog all list, any backup archivelog 1 times the disk device type from the list and delete archivelog all saved 1 time on device type disk - all these three orders the results expected. Especially the third command showed only archived newspapers backed up as candidates for deletion

    (b) then I installed dataguard, save on primary and switched some log files.

    Now, list archivelog all and list archivelog all saved 1 time on device type disk yielded expected results.

    BUT delete archivelog all saved 1 time on device type disk shows the newspaper archive, even those that have not been backed up as candidates for deletion. It's curious me as far as command list gives the current results.


    Everyone saw this behavior. Let me know if you need any o/p for this problem. Thanks for your help...

    If someone is after that, there is a bug/patch for 11.2.0.4. Patch has solved the problem for me.

    Bug 16692232 - RMAN backup archivelog all not backed up / remove any entry does not work as expect you (Doc ID 16692232.8) Down
  • How can I configure a product search?

    There is a post on the establishment of a search of product here:http://docs.businesscatalyst.com/user-manual/e-Commerce/Products/how-to-setup-a-product-se arch , however, I'm having some trouble following the instructions.

    "I got lost on the" ''edition price range criteria " article, how to create the search form with ' search in ', 'Keyword', 'Price' and ' sort by '? The post office only gave me the html code to change the price. If it is the product default search engine, how can I activate it?

    Hi Richard,

    You can add the search engine produces directly from the module Manager, I've tweaked the article you mentioned a little bit to make it easier to follow, please have another look and let me know if you need additional information.

    Thank you

    Mihai

  • How to disable the dataguard configuration?

    Hello


    env: Oracle 10 g 2 (10.2.0.5), RHEL 5.8


    I created a database waiting for a prim. Now I have to spend the day before the "Prim", stop the original role "prim" and disable all DG related configuration.


    I think to take following steps (in the order listed):


    Switch to standby mode (stdby will become prim and prim will become Stdby). Then:

    On Stdby (which now is prim):

    Change the setting: Enable, Disable LOG_ARCHIVE_DEST_STATE_2


    'Set null' all these parameters:

    LOG_ARCHIVE_DEST_STATE_2

    LOG_ARCHIVE_DEST_2

    FAL_SERVER

    FAL_CLIENT

    LOG_ARCHIVE_CONFIG

    The Prim (which isn't Stdby):

    Shutdown


    It is that OR is it more than that?


    Please let me know if there is no error or if I missed something?


    Best regards

    Hello;

    It should work. You need not to stop the primary database for this.

    On Oracle 11, you can use:

    ALTER DATABASE GUARD NONE;

    I don't know if it works on Oracle 10 and all my databases Oracle 10 disappeared.

    Best regards

    mseberg

  • ANALYZING listener 11 GR 2 and AMT DataGuard configuration for RAC nodes

    By oracle paper MAA for 11 GR 1 material to configure Oracle Networking, they recommend to configure listener_hostname on each host (2 Guest CARS on primary, 2 Guest CARS standby in standby mode). Like Listener_europa, Listener_callisto, Listener_dione, Listener_hyperion.

    I installed two primary databases grid/oracle RAC and now try to configure both nodes to backup CARS. I couldn't find any documents on how to configure the network files. 3 SCAN listeners were now configured and running on the main nodes of the rac.

    so the configuration of listner.ora, how to set up listner_hostname? or should I use scan listener?

    Can someone tell me exactly how I can configure tns entries in such situation?

    Thank you

    Hello;

    So I think Yes 10 5 (per node) If you have two.

    See the document Oracle B28282-02

    2.6.4.6 use of standby Redo Logs and configure the appropriate size

    Best regards

    mseberg

  • OfficeJet pro L7780 all-in-one: full functionality of the driver and the software crashes to configure product.

    Windows Home Premium 64 bit operating system. Download full feature software and driver and follow the installation instructions. All software and drivers seemed to install but at the last stage (configure the product), it crashes after a few minutes and a fatal exception message (no error number). After this, uninstall all the software.  I took the following troubleshooting steps:

    Disabled all the normal startup items and services (except Microsoft) in MSCONFIG. As an administrator, and under Vista compatibility also led installation.  In addition, tried a basic installation.  My computer is a Dell PHE 8500 and is wireless. I tried installing several times in respect of the connection of the USB cable directly and wireless, but all had the same result. Completed all the steps except the last where the fatal error message appears after a few minutes.  Help

    Thought I would give it another chance: I've done the following:

    Ran L4uninstall.bat

    American ran Care System: registry clean and disk cleanup

    Connected accessories/tools disk cleaning system

    Restarted

    Insured that lates version of Adobe Flash Player has been installed

    Latest version of the software downloaded to the printer

    Went into MSCONFIG unchecked load startup under selected startup items checked "Hide all Microsoft Services" and disabled the rest of services under services,

    Restarted

    A ran another check of the register with the American healthcare system

    Ran disk clean again

    Off DSL modem

    Firewall and AntiVirus disabled Norton

    Restarted

    At installation of the printer as follows: first of all installed drivers

    Restarted

    A ran the remaining printer one by one with Solution Center last softerware

    Restarted

    Is surprised that Solution Center has worked without problem

  • DataGuard folder names

    Hi all

    9i

    RHEL5

    I am currently dataguard configuration.

    I just copied all our production configuration to the backup target server so everything is identical with its folder names. Their init.ora is who is different.

    The instance_name source is PROD, while the eve instance_name target is STBY.

    My question is: is it OK to remember all the names of folders as is? for example, the folder


    / U01/oradata/prod where all dbf and control files are located, is it OK to keep such what? one does not change for/u01/oradata/STBY?



    Thank you all,

    JC

    Hello Jenna:

    Controlfiles are defined by the parameter control_files in initSTBY.ora.

    For the data files (and logs), if db_file_name_convert (log_file_name_convert) in initSTBY.ora. parameter is empty, then PROD and STBY directories must be the same on both computers.

    in the case of initSTBY.ora. you define db_file_name_convert = ' / u01/oradata/PROD ', ' / u01/oradata/STBY ", then all data files who prod/u01/oradata/PROD, in STBY machine are in/u01/oradata/STBY.

    Don t forget to do the same in initPROD.ora, IE.

    db_file_name_convert = ' / u01/oradata/STBY ", ' / u01/oradata/PROD.

    and the same for log_file_name_convert.

    Kind regards.

Maybe you are looking for