One primary and two Physical standby

Hi everyone,
I want configure two separate Physical standby one work in Redo apply and one in log apply mode.
is it posible?

user011232 wrote:
Hi everyone,
I want configure two separate Physical standby one work in Redo apply and one in log apply mode.
is it posible?Yes it can possible very much. You have to configure as below in remote destinations.
Example_:-
Log_archive_dest_2='service= stby1 lgwr async ';
Log_archive_dest_3='service= stby2 arch async ';
What is the plan behind that? just for testing purpose? Even me too not tested but you can try configuring as above. :)
Edited by: CKPT on Feb 14, 2012 5:46 PM

Similar Messages

  • One primary and two physical standby database creation

    hi
    i want to create two standby (physical) and one primary dataguard.
    so please tell me what is sequence for db_file_name_convert and db_file_name_convert.
    i mean how i will give database name or path in this parameter.

    Hello;
    One option is Data Guard Cascading Standby.
    Here are my complete test notes if it help :
    http://www.visi.com/~mseberg/Data_Guard_Cascading_Standby_Setup_and_Test.pdf
    Best Regards
    mseberg

  • Lost one primary and two extended partitions - testdisk isn't working

    Hey everyone... long time no see. I needed a break
    ("Conclusion" below if the following is TL;DR)
    Background:
    First up... don't pull the plug on your PC, even if you are over-fatigued, and try to minimize the number of times you have to force-switch your system off. Read on if you would like to know why.
    About four days ago, I was working on something, and everything was all good. Nothing was wrong, awry, or weird, and the only thing I could've written home about my partition structure was that cfdisk showed all the metadata for my extended entries.
    That all changed one simple reboot later.
    Three days ago, I greeted a system that booted up perfectly, and before entering X I decided to work on a document in textmode. Once I'd had enough of that, I fired up X and continued working on some changes to the QEMU VGA BIOS that makes it look like an old 512K VGA card from 1991 that I have. Or rather, tried to. I fired up my editor and a console and tried to compile... and /stuff, /dev/sda4, wasn't mounted. No problem; it isn't in my fstab. I should get around to adding it one da--whoa, what the...? /dev/sda4 is SWAP?!
    It got worse from there. Three days ago I was extremely fatigued because I left a CRT plugged in that I don't usually plugged in (and I didn't know until the next morning!), and being tragically sensitive to radiation, I was rather unreasonable (and had been all day, even while away from the computer), so didn't think clearly about what I did next.
    First, I proceeded to use cfdisk to change the partition type from 82 (Swap/Solaris) to 83 (Linux). The partition table decided not to "catch", so cfdisk pointed out that the prudent thing to do would be to reboot, which I ignored (major failure #1) and fired up TestDisk to try and fix (major failure #2) and was like "Enter, enter, enter, enter, enter, enter, ^C, reboot" (catastrophic failure #1).
    ***************** FILESYSTEM CHECK FAILED ****************
    * Please repair manually and reboot. Note that the root *
    * file system is currently mounted read-only. To remount *
    * it read-write type: mount -n -o remount,rw / *
    * When you exit the maintenance shell the system will *
    * reboot automatically. *
    The rest was history, unfortunately.
    I had a 26GB "hole" of free space in my hard disk and... eek. Deciding I'd done enough damage, I fought off my OCD/Autistic "GAH, the computer is DEAD, DO SOMETHING" and got some sleep.
    The next day (the day I discovered the CRT was off but plugged in) I decided to have a crack at fixing the problem.
    Conclusion:
    Worst case scenario, I thought, would be that the 26GB of data was simply gone, and best case, I'd have a ~5GB hole in the disk someplace that would hold my two Syllable AFS partitions (partition type 2A), which I was sure no utility I knew of would be able to figure out. I was almost completely correct: I got my 17GB /storage partition back (WHEW), but I lost my two Syllable partitions as well as a third primary partition of unknown filesystem type.
    Here's my evidence:
    Going through /var/log reveals files showing lines like
    messages.log.2:May 14 10:27:53 hornet sda1 sda2 sda3 < sda5 sda6 sda7 sda8 sda9 sda10 sda11 sda12 sda13 > sda4
    This proves that sda4 did once exist as a real partition and wasn't mountable as the result of a freak accident on the disk.
    In addition, sda4 is indicated to be a primary partition at the end of my extended partitions. This makes me wonder what on earth's happened here, because I only have a single "Free Space" hole inside my extended header, not after it. Did the extended partition header somehow manage to get resized? :S
    I remember - and have the .bash_history to prove - that I chowned and chgrp'd /stuff (ie /dev/sda4) such that I could read/write it as my own user, and this isn't possible with FAT* partitions - you have to dive into /etc/fstab to make them user-writable, and I know I didn't do that. So this partition is possibly ext2, ext3, or JFS (and I'm thinking JFS).
    While probably not useful, the fact that the "Free Space" hole is after sda9 but before sda10 lines up with the fact that I had to move sda12 and 13 (a FAT32 partition as well as a JFS partition, the one I mount at /storage) down two notches in order for my system to boot up without complaint.
    TestDisk is only listing what I've already got fixed and in working order at this point. In other words, it isn't seeing the other partition. Incidentally, PhotoRec, a program analogous to TestDisk, probably wouldn't be useful here since I doubt that partition contains images.
    -dav7
    Last edited by dav7 (2009-06-24 04:10:59)

    You really got yourself into a big mess ....
    As for the partitions magically changing places .... have you recently used gparted (or parted which I believe is the program that actually does the changes) to resize or move any partitions? If you have that's the reason why the partition table is so messed up.
    If testdisk can't fix that I have no idea of what can ... once I had a similar problem and testdisk saved the day but I had only ntfs/ext3/swap/extended primary partitions and logical ext3/ntfs partitions.

  • Major release with two logical stbys and two physical stbys

    I have a 300G 11g database in production with two physical standby and 2 logical standby databases. We are planning for a major release which include heavy data load and ddls. What would be the best way to salvage my standbys while running the release scripts.
    I am afraid that we have 70/30 chance of successfully releasing the release, which means that I have 30% possibility to "restart" the release process from the point 0. Someone in my shop suggested using flashback, but I don't know if my server have that much of space to assign to the flashback recovery area. The upgrade/release takes approximately two days to run.
    I was thinking of stopping the log transfer to all the standby database locations while running the load and once I am done, then transfer all the logs and re-enable the standby to "catch up", but would it work for logical standby, too?
    I could not just disable all the standbys and re-create them once the release is completed because two of the standby databases are located at off-site with the limited network speed, and re-creating standby through network takes too long for us to do so.
    Any thoughts would be appreciated.
    Thanks,

    I have a 300G 11g database in production with two physical standby and 2 logical standby databases. We are planning for a major release which include heavy data load and ddls. What would be the best way to salvage my standbys while running the release scripts. What would be the approximate size of data size it is going to load?
    If its very huge then see the disadvantages:
    1) Log of redo
    2) in equal size of Archive logs
    3) FRA/arch space issues at OS Level
    4) Network traffic to 4 sites(2 physical + 2 logical)
    5) Lot of archives on Standby databases too
    6) How fast standby can fetch & apply?
    I am afraid that we have 70/30 chance of successfully releasing the release, which means that I have 30% possibility to "restart" the release process from the point 0. Someone in my shop suggested using flashback, but I don't know if my server have that much of space to assign to the flashback recovery area. The upgrade/release takes approximately two days to run.Its production, When you flashback database it will open database in resetlogs then your complete DR setup is in trouble.
    is it flashback or restorepoint with flashback?
    Restore Points in Oracle10g Release2 [ID 330535.1] --> applicable for 11g too.
    I was thinking of stopping the log transfer to all the standby database locations while running the load and once I am done, then transfer all the logs and re-enable the standby to "catch up", but would it work for logical standby, too?That is the good plan. Mseberg already given Documents which you can refer for logical standby.
    BTW what is your protection mode?
    You can refer below links for physical standby
    http://docs.oracle.com/cd/B28359_01/server.111/b28294/rman.htm#CIHIAADC
    http://www.idevelopment.info/data/Oracle/DBA_tips/Data_Guard/DG_53.shtml#Physical%20Standby%20Database%20Lags%20Far%20Behind%20the%20Primary%20Database
    I could not just disable all the standbys and re-create them once the release is completed because two of the standby databases are located at off-site with the limited network speed, and re-creating standby through network takes too long for us to do so.Re-creating standby is bad thinking, when you have other options.
    Think how much time you can spend on performing rollforward &
    how much time to re-create standbys?
    Hope you have answer for this.

  • Exec "alter system" and setup UTL_MAIL on Primary and replicate to Standby

    Hi!
    I have the next configuration:
    DGMGRL> show configuration verbose;
    Configuration - work_DataGuardConfig
    Protection Mode: MaxAvailability
    Databases:
    primary - Primary database
    physical1 - Physical standby database
    physical2 - Physical standby database
    Properties:
    FastStartFailoverThreshold = '30'
    OperationTimeout = '30'
    FastStartFailoverLagLimit = '30'
    CommunicationTimeout = '180'
    FastStartFailoverAutoReinstate = 'TRUE'
    FastStartFailoverPmyShutdown = 'TRUE'
    BystandersFollowRoleChange = 'ALL'
    Fast-Start Failover: DISABLED
    Configuration Status:
    SUCCESS
    How to properly setup UTL_MAIL package in my configuration (Primary and Standby Servers), e.g.:
    1. If I execute " @$ORACLE_HOME/rdbms/admin/utlmail.sql " on Primary, it will replicate to Standby?
    2. If I execute " alter system set smtp_out_server='smtp.server.local' scope=both " on Primary, it will replicate to Standby?
    3. If I execute
    begin
    dbms_network_acl_admin.create_acl (
    acl => 'utl_mail.xml',
    description => 'Allow mail to be send',
    principal => 'SCOTT',
    is_grant => TRUE,
    privilege => 'connect'
    commit;
    end;
    on Primary, this changes will replicate to Standby?

    user12024575 wrote:
    Hi!
    I have the next configuration:
    DGMGRL> show configuration verbose;
    Configuration - work_DataGuardConfig
    Protection Mode: MaxAvailability
    Databases:
    primary - Primary database
    physical1 - Physical standby database
    physical2 - Physical standby database
    Properties:
    FastStartFailoverThreshold = '30'
    OperationTimeout = '30'
    FastStartFailoverLagLimit = '30'
    CommunicationTimeout = '180'
    FastStartFailoverAutoReinstate = 'TRUE'
    FastStartFailoverPmyShutdown = 'TRUE'
    BystandersFollowRoleChange = 'ALL'
    Fast-Start Failover: DISABLED
    Configuration Status:
    SUCCESS
    How to properly setup UTL_MAIL package in my configuration (Primary and Standby Servers), e.g.:
    1. If I execute " @$ORACLE_HOME/rdbms/admin/utlmail.sql " on Primary, it will replicate to Standby?
    2. If I execute " alter system set smtp_out_server='smtp.server.local' scope=both " on Primary, it will replicate to Standby?
    3. If I execute
    begin
    dbms_network_acl_admin.create_acl (
    acl => 'utl_mail.xml',
    description => 'Allow mail to be send',
    principal => 'SCOTT',
    is_grant => TRUE,
    privilege => 'connect'
    commit;
    end;
    on Primary, this changes will replicate to Standby?Hi,
    In all cases (1,2,3) you are doing only system changes. System changes is not effective on standby database.
    For example in your case : alter system set smtp_out_server='smtp.server.local' scope=both;
    this script only set a parameter of database, how to you think this parameter must be chaged on standby?
    Is it logically?
    Then when we change log_archive_dest_2 for transport redo to standby, then this parameter will change on standby. is it true?
    Regards
    Mahir M. Quluzade
    http://www.mahir-quluzade.com

  • One sender and two receiver

    Hi All,
    I have a scenario in which there is only one outbound Message interface and 2 inbound message interfaces ( one sender and two receiver). In XI, how can i configure the interface determination for this? Shall i need to put * for receiver and add 2 inbound message interfaces and interface mappings.
    Thanks
    Michael

    Use xpath in your interface determination in case you have some conditions, else u can *** multiple interfaces in your int. det.. also ref:
    /people/suraj.sr/blog/2006/01/05/multiple-inbound-interfaces-within-a-service

  • I have one Iphone and two computers. How do i get my ringtones off of one computer and onto the other?, I have one Iphone and two computers. How do i get my ringtones off of one computer and onto the other?

    I have one Iphone, and two computers. They both have different purchases on them. One is older than the other. and one was my moms. How do i get the ringtones off of my computer and onto my moms computer to use all of them on my Iphone?

    Copy them to a cd/dvd/flash drive/external drive/etc,  then to the other computer.
    E-mail them.

  • In my family we have 3IPhones 4S, one IPhone5, one IPad3, one IPadMini and two IPad 4. Is it possible to use the same energieadapter for all of those ?

    In my family we have 3IPhones 4S, one IPhone5, one IPad3, one IPadMini and two IPad 4. Is it possible to use the same energieadapter for all of those ?

    Yes but the iPhone chargers will struggle to charge the iPads ,they need more power than the iPhone chargers produce and with an iPad will charge VERY slowly
    The iPad chargers whether 10w or 12 will happily charge all your devices and Apple confirms the compatibility on the relevant web page.

  • POSDM Diff Between : One Step and Two Step Processing Tasks

    Hi All,
    Can you pl give some points on difference between "One Step and Two Step Processing Tasks in POSDM ??
    Thanks!!

    Please consult the SAP Note 980272 on the service marketplace. It gives a detailed description of the difference.

  • We have one iPod and two iPhones; we have not been able to transfer our music from Ipod to IPhones, via iTunes, please assist?

    We have one iPod and two iPhones; we have been unable to transfer our music from the Ipod via iTunes to the iPhones, please assist.

    did you right click the ipod/iphone and click transfer purchases

  • Trade-off between the one-arm and two-arm WAE designs

    We are configuring a WAE (model 512) for a branch office and I was wondering if someone could please tell me the trade-off between the one-arm and two-arm WAE designs..
    thanks..
    greg..

    if you are using WCCP then the WAE becomes the client withing the servcie groups 61, 62. In order to accelerate both vlans then apply the ip redirect 61 in on the client vlan ineterfaces to the one interface.
    If inline, you can use both 2 port groups for each client interface or trunk all to a single inetrface and configure which vlans you would like to accelerate.
    Now in terms of of using both GE inetrfaces, I would have to check. A topology diagram would help

  • DataGuard (1 primary and 2 physical stdby)

    Hi everybody,
    could someone be so kind to point me to a doc explaining how to set up DataGuard with a primary and 2 physical stdbys ?
    we have to modify the current configuration (1 primary and 1 physical stdby), adding a second physical stdby, and I'm not sure about whether there are 'special steps' to follow...
    Thanks in advance.

    uhm guess you're referring to section E Cascaded Destinations...
    quite honestly, I have always skipped this part, at least so far, since I've never had to use this
    i'll read this section then
    thanks

  • Hash with one key and two values

    Hello,
    In java can i have a hash or similar data type than can have one value and two keys?
    thanks,
    jd

    Eh, I'd avoid arrays, personally.
    The reason why is that in my experience, once you start doing things like this, you end up adding an arbitrary number of additional elements for each key. Fixed-size arrays would be a pain.
    If you don't want/need to create an object that encapsulates the two values, why not just use a java.util.Collection as the value in the hash? The Collection -- say, a LinkedList (you decide) -- would hold the two values you want associated with the key.

  • Steps for Data Guard with one primary and 2 standby

    Hi,
    Database :10.2.0.4, 11.2.0.1
    Os: Windows , Unix
    A ----------------> Primary database
    B ----------------> Standby Database 1
    C ----------------> Standby Database 2
    I want to configure *2 standby* databases for single primary database.
    Lets take, A ,B and C are my machines.My data guard configuration will be like,*archive logs will be moving* from A to B and A to C.
    If i do any switchover in between A and B , now B is primary and remaining A and C are standby databases.At this stage also , archive logs should move from B to A and B to C. Also, same should happen from C to A and C to B,If i do switchover in between B and C.If everything is fine , then i will do switchback to main Primary database(A).
    How do i have to mention PFILE in all machines ,the parameters like
    LOG_ARCHIVE_DEST_1=LOCATION=<PATH> -- LOCAL ARCHIVE PATH
    LOG_ARCHIVE_DEST_2=SERVICE=
    LOG_ARCHIVE_DEST_3=SERVICE=
    FAL_SERVER=
    FAL_CLIENT=
    STANDBY_FILE_MANAGEMENT=
    In my tnsnames.ora , primary,standby1 and standby2 are my service entries and these are same in all of my machines.
    Please suggest me , how do i can configure my pfiles in all machines ?.
    Thanks,
    Sunand

    Not yet, but now you have me interested.
    Please consider Flashback.
    I still have to test but here's my take:
    PRIMARY SETTINGS
    *.FAL_SERVER=STANDBY
    *.FAL_CLIENT=PRIMARY
    *.STANDBY_FILE_MANAGEMENT=AUTO
    *.DB_UNIQUE_NAME=PRIMARY
    *.LOG_FILE_NAME_CONVERT='STANDBY','PRIMARY'
    *.log_archive_dest_1='LOCATION=USE_DB_RECOVERY_FILE_DEST VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=PRIMARY'
    *.log_archive_dest_2='SERVICE=STANDBY LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=STANDBY'
    *.log_archive_dest_3='SERVICE=STANDBY2 LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=STANDBY2'
    *.LOG_ARCHIVE_DEST_STATE_1=ENABLE
    *.LOG_ARCHIVE_DEST_STATE_2=ENABLE
    *.LOG_ARCHIVE_DEST_STATE_3=ENABLE
    *.LOG_ARCHIVE_MAX_PROCESSES=30
    STANDBY 1 SETTINGS
    *.FAL_SERVER=PRIMARY
    *.FAL_CLIENT=STANDBY
    *.STANDBY_FILE_MANAGEMENT=AUTO
    *.DB_UNIQUE_NAME=STANDBY
    *.LOG_FILE_NAME_CONVERT='PRIMARY','STANDBY'
    *.log_archive_dest_1=LOCATION=USE_DB_RECOVERY_FILE_DEST VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=STANDBY'
    *.log_archive_dest_2='SERVICE=PRIMARY LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=PRIMARY'
    *.log_archive_dest_3='SERVICE=STANDBY2 LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=STANDBY2'
    *.LOG_ARCHIVE_DEST_STATE_1=ENABLE
    *.LOG_ARCHIVE_DEST_STATE_2=DEFER
    *.LOG_ARCHIVE_DEST_STATE_3=DEFER
    *.LOG_ARCHIVE_MAX_PROCESSES=30
    STANDBY2 SETTINGS
    *.FAL_SERVER=PRIMARY
    *.FAL_CLIENT=STANDBY2
    *.STANDBY_FILE_MANAGEMENT=AUTO
    *.DB_UNIQUE_NAME=STANDBY2
    *.LOG_FILE_NAME_CONVERT='PRIMARY','STANDBY2'
    *.log_archive_dest_1=LOCATION=USE_DB_RECOVERY_FILE_DEST VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=STANDBY2'
    *.log_archive_dest_2='SERVICE=STANDBY LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=STANDBY'
    *.log_archive_dest_3='SERVICE=PRIMARY LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=PRIMARY'
    *.LOG_ARCHIVE_DEST_STATE_1=ENABLE
    *.LOG_ARCHIVE_DEST_STATE_2=DEFER
    *.LOG_ARCHIVE_DEST_STATE_3=DEFER
    *.LOG_ARCHIVE_MAX_PROCESSES=30
    Edited by: mseberg on Nov 29, 2010 9:39 AM
    The first test slapped me. Looking at 409013.1 Cascaded Standby Databases
    Edited by: mseberg on Nov 29, 2010 12:49 PM

  • Local logical standby and remote physical standby

    Dear All,
    My database version is 10.2.0.1.0(production) and Operating System Linux x86-64 OS Version Red Hat Enterprise 4
    Below is my configuration details:
    Rprimary Database:Two Nodes RAC
    StandBy Database LOCAL:Standalone database
    Standby Database Remote:Two Node RAC
    So,my question is, i want my local physical DR to convert into logical standby and
    Remote DR will operate as physical standby as it IS.
    sql>EXECUTE DBMS_LOGSTDBY.BUILD
    After executing the above statement in my production primary database will there be any performance HIT.
    And another important is that my above statement shouldn't affect my remote physical DR database.
    Just the local DR should get converted into logical standby database
    Thanks and Regards
    Monoj Das

    monoj wrote:
    Dear All,
    My database version is 10.2.0.1.0(production) and Operating System Linux x86-64 OS Version Red Hat Enterprise 4
    Below is my configuration details:
    Rprimary Database:Two Nodes RAC
    StandBy Database LOCAL:Standalone database
    Standby Database Remote:Two Node RAC
    So,my question is, i want my local physical DR to convert into logical standby and
    Remote DR will operate as physical standby as it IS.
    sql>EXECUTE DBMS_LOGSTDBY.BUILD
    After executing the above statement in my production primary database will there be any performance HIT.
    And another important is that my above statement shouldn't affect my remote physical DR database.
    Just the local DR should get converted into logical standby database
    Thanks and Regards
    Monoj DasIn any Data Guard environment, you can have either physical or logical or even mixed[physical + logical]
    There will be no performance issue if you run the package for logical standby DBMS_LOGSTDBY.BUILD , This package provides you to manage even logical standby database.

Maybe you are looking for

  • HP Envy 15-q004tx Touchpad Issues

    Alright so I've been having some issues with my HP Envy 15-Q004TX and the touchpad. I recently purchased the laptop, and it was going fine. I decided to speed up the laptop and bought a 500GB SSD to put inside, and install windows. Altough this lapto

  • How do I use my internet via airport and my printers in windowsXP.

    Boot Camp works well but Now in widows I can not connect to the internet using my already established wireless internet. My printers are set up via airport as well and I can't get that to work. The windows recognizes there is a signal to use and it s

  • CCM 2.0 - Files Storage for high volume of files

    Hi all, I have seen in one message the following information: <i>1. Files storage. My point is that I think you've created a virtual folder on the SRM Server in SICF, which means that all your files are stored internally in the database, and not phys

  • Moving files in Lr - very slow

    I'm sure this has been discussed before, but the search on "move" does not return anything. My issue: moving files between folders (on the same drive) seems to be very slow in Lr. Is there anyway to improve performance. The current performance I am s

  • Checkconstraint for Email Addresses

    Hello, iam kind of new in oracle and i wanted to know, how to create a check-constraint for email addresses? I just want to check, if there is an @ and a . within the given varchar. I thought about something like CHECK email in ('@' AND '.') But that