How to achieve failover when the master definition site is down ?

I have two Oracle 8i instances in a multi-master async replication environment. Two J2EE application servers connect to each of the Oracle instance respectively. When one of the oracle instance is down, I'd like to have my J2EE application failover to the second Oracle instance automatically without human intervention. I understand I can use OCI driver to allow my J2EE app to connect to the other Oracle instance when the first is down. But here are some questions:
1. If I understand it correctly, there's only one master definition site. Let's say my master definition site sits with the first Oracle instance. If this server is down, the DBA has to go in to config the second Oracle instance to be the master definition site. Can this be done automatically without the DBA ?
2. If the master definition site is down and the DBA is yet to come in, will the second Oracle instance still work ? I do understand the replication won't work, but will normal database read/write work ? What happens between the master definition site down and the master definition site reconfigured ?
3. Are there any low cost third party tools can handle what I wanted ?
Thanks in advance,

To answer your questions.
1. Yes there is only one master def site, it is not important to relocate the master def site, in the event of its failure. The def site is used as a the source for replication definition generation.
2. It depends upon what type of multi-master replication you have implemented. If you are using asynch replication, the site that is up will continue to allow updates and will queue the transactions. When the other site(s) are active again, it will forward the transactions. Note, this can cause untold problems if you have a heavy used system, and narrow bandwidth. If on the other hand you are using synchanous replication, when one site goes down, the other site(s) lock their tables to prevent dml/ddl changes. Then you have to decide whether or not you can wait for the down site to be restored, or break replication to continue operations.
3. Yes, there are a few, one that comes to mind, I believe is Shareplex.

Similar Messages

  • How to achieve SUBMIT for the current page when I click other tab?

    Problem: How to achieve SUBMIT for the current page when I click other tab?
    Description: I have a two-page application and each page associates with a tab. Say page1 associates tab1 and page2 associates tab2. In each page, I have a submit button, a after submit process associated to the submit button, and a tabular form. For page1, I fill out the fields and hit the button. The page1 will appear again and I can see the data I have insert. However, If I fill out the fields and click the tab2 (page 2) instead. when I come back to page1, the data I filled out are all gone. Is there any way in HTML DB to force the submit in the current page after you click other page. If use JavaScript, what is code looks like.
    Appreciate your time and your answer.
    Mike

    Scott,
    just for clarity, if I understood correctly what you said there are two possibilities:
    1) keep the standard tab branch and give up the possibility of validating page items. Below you can find an example of such cases.
    2) Replace the template substitution string and perform a "custom" button-like submit also adding a branch to the main page associated with the tab. Page items will be validated if the branch firing point is set after the validations.
    I couldn't find an example of the latter, but I found easily an example of the former:
    it's the "Report attributes", page 420 of app 4000.
    If you enter 'aaa' in the "Number of rows" form field and then you press "apply changes", htmldb correctly displays an inline error message saying that the value must be numeric. On the contrary, if you click on the "Region Definition" tab, htmldb takes you to a page showing an oracle exception:
    ORA-20001: Error in DML: p_rowid=4785927011172906402, p_alt_rowid=ID, p_rowid2=, p_alt_rowid2=. ORA-20001: Invalid numeric value aaa for column PLUG_QUERY_NUM_ROWS
    Bye,
    Flavio

  • How can I sync up the IDOC definitions between PI/XI and R3?

    XI/PI gurus,
    We just applied SAP enhancement packs 4 to our R3 and some XI patches to our XI/PI and now we did not see the messages in our XI  QA box after the IDOC was sent out from R3.
    We think one possible cause was the IDOC definition are different between our XI and R3.
    How can I sync up the IDOC definitions between PI/XI and R3 and not mess up our existing mappings in XI?
    Should I just remove the import objects and reipmort the IDOCS from R3 again?
    Thanks in advance!
    Fisher Li

    Use transaction IDX2. The metadata must be deleted from the cache in IDX2, this can be done by selecting the appropriate system from the list, drilling  down the affected IDOC type and chosing delete
    The next time an IDOC is sent or received, the cache will be refreshed.

  • With a PDF Dynamic form using show/hide actions, how to ensure that when the completed form is saved, closed and re-opened, the form still show the fields as before it was closed?

    With a PDF Dynamic form using show/hide actions, how to ensure that when the completed form is saved, closed and re-opened, the form still show the fields as before it was closed?
    I have developed a form with fields hidden by default, that become visible based on box ticked or radio button selections.
    My problem is that, when I close the form and re-open it, it comes back to it's default presentation, regardless of the information already recorded in the form (including in the now hidden fields.
    How to correct that
    Thanks in advance for any hint you can provide.

    I've had the same problem. This solved it...
    Go to the "Form properties..." in the File-menu. Select "Run-time" to the left and in the box "Scripting" Preserve scripting changes to form when saved: choose Automatically (Script-based state changes are saved locally in an insecure fashion. This option cannot be used for certified forms).
    Hope it works for you to...

  • How do I know when the buffer flushed all the data out?

    I am using a very high sampling rate (500000 Hz) and acquire 1024 data points continuously.   It takes 370000 data points in 10 second.   I use a counter to help with the retrigger PFI line.   I have a huge buffer so that I can make sure that the buffer is not overflowed.  The code is attached below.  My problem is that the data acquisition is done so fast (in 10 seconds)  but the processing of the data is not.  In :nEvent, I basically save and plot the data.  The saving process is not slow.   However, our videocard is so SSSSLOOOW and can not keep up with realtime data display.    After the user is done collecting the data, they do not want to wait for the screen to plot the data from the buffer.   So after the data collection is done, I basically stop the plotting process but we still need to flush the data out from the buffer for saving.  My question is that how can I tell when the buffer is empty.
    Thanks,
    Yajai
    m_task = std::auto_ptr<CNiDAQmxTask>(new CNiDAQmxTask("aiTask"));
    m_counter = std::auto_ptr<CNiDAQmxTask>(new CNiDAQmxTask("coTask"));
    m_task->Stream.Timeout = -1;
    //Create a channel
    m_task->AIChannels.CreateVoltageChannel(physicalChannel, "",
    static_cast<DAQmxAITerminalConfiguration>(DAQmxAITerminalConfigurationRse), minimum, maximum,
    DAQmxAIVoltageUnitsVolts);
    m_task->Timing.ConfigureSampleClock(counterSource, sampleRate,DAQmxSampleClockActiveEdgeRising,DAQmxSampleQuantityModeContinuousSamples, samplesPerChannel);
    m_task->Stream.Buffer.InputBufferSize = samplesPerChannel * 2000;
    m_counter->COChannels.CreatePulseChannelFrequency(counterChannel, "coChannel", DAQmxCOPulseFrequencyUnitsHertz, DAQmxCOPulseIdleStateLow, 0, sampleRate, 0.5);
    m_counter->Timing.ConfigureImplicit(DAQmxSampleQuantityModeFiniteSamples, samplesPerChannel);
    m_task->Control(DAQmxTaskVerify);
    m_counter->Control(DAQmxTaskVerify);
    m_counter->Triggers.StartTrigger.ConfigureDigitalEdgeTrigger(
    referenceTriggerSource, DAQmxDigitalEdgeStartTriggerEdgeRising);
    m_counter->Triggers.StartTrigger.Retriggerable = true;
    m_taskRunning = true;
    m_counter->Start();
    // Set up the graph
    m_Graph.Plots.RemoveAll();
    for (unsigned int i = 0; i < m_task->AIChannels.Count; i++)
    m_Graph.Plots.Add();
    m_Graph.Plots.Item(i+1).LineColor = m_colors[i % 8];
    // Create Multi-channel Reader
    m_reader = std::auto_ptr<CNiDAQmxAnalogMultiChannelReader>(new CNiDAQmxAnalogMultiChannelReader(m_task->Stream));
    m_reader->InstallEventHandler(*this, OnEvent);
    m_reader->ReadMultiSampleAsync(samplesPerChannel, m_data);

    Yajai,
    I'm a little confused about your acquisiton. Do you intend for it to be
    finite, or continuous? I'm also unclear about your rates. You state
    that you are acquiring 1024 samples at 500kHz, yet you get only 370k
    samples in 10 seconds. Are you periodically acquiring 1024 samples at
    500kHz?  Do you do any reads other than the final m_reader->ReadMultiSampleAsync(samplesPerChannel, m_data)? Could you provide the code where you stop the plotting process?
    Thanks,
    Ryan V.
    Ryan Verret
    Product Marketing Engineer
    Signal Generators
    National Instruments

  • How we can see when the condition records created.

    Hi,
    How we can see when the condition records created ( Valid from and Valid to ) ? And also how we can see the changes made in the Condition records?
    Regards,
    jyothi.

    Hello,
    you can display the condtion records in transaction VK13.
    Here you have the posibillity to display the changes of the condtion records.
    Please goto VK13
    > Enter your selection criteria
       > Enviroment
          > changes
    But you can also create a condtion list. and the you can display more than one condition record:
    Please have a look at the transation V/LD - Pricing Report
    For example: conditon list 14 for taxes.
    Here you get an overview of tax condtions.
    I hope that the information are helpful.
    Regards
    Claudia
    If you are satisfied with the answer, please give Reward Points.

  • HT1459 My I pod is not responding  how do I know when the ipod had actually died?????

    my ipod has the green lights however when i try to listen to music ....nothing ....i tried several head sets. how do i know when the ipod is finally dead

    Read the manual for a solution - iPod Manuals

  • How do we know, when the service contract is last modified ?

    How do we know, when the service contract is last modified and by whom ?
    thanks
    siva
    Edited by: sivapara on Nov 24, 2008 3:14 PM

    To add also in OKC_K_HISTORY_B for some actions.
    Thanks
    Nagamohan

  • HT4623 in the process of updating to ioS6, how do i respond when the screen says choose a network?

    in the process of updating iphone5 to ioS6, how do I respond when the screen says choose a network?

    Your device is in recovery mode. Connect the device to iTunes and the computer and follow the instructions in this support document. http://support.apple.com/kb/HT1808

  • How do I get around the "Master Password" window?

    Since I'm the only user at this sight, I don't think that I need a Master Password.
    So How do I get around the "Master Password" window so I can get some work done?
    The Box is not marked, but setup still refuses to go any further.

    Hi warp4dennis,
    Thank you for your question, I understand that you would like to get around the master password dialogue. [[Master Password]] specifically [https://support.mozilla.org/en-US/kb/use-master-password-protect-stored-logins#w_removing-the-master-password how to remove it]
    I hope this helps!

  • How do I get to the Object Definition Editor?

    I know this has got to be a beyond basic questions and I feel kind of stupid for asking, but how do I utilize the SDK? I am new to working in a Java environment and it's a bit confusing to me at times.
    So, I downloaded the SDK. I know how to add new QPACS in Workflow designer, but, for example, how do I get to the Object Definition Editor?
    Thank you,
    Jennifer

    Hi
    The 7.0.0 version of the ODE was missing a couple of jar files, and this caused some of the functionality to not work properly, specifically "synchronize". (This may have been fixed in later versions, I haven't checked.)
    In order to fix this, copy all .jar files from the WF designer's lib directory to the ODE's lib directory (no overwrite if the file already exists).
    Howard
    http://www.avoka.com

  • How to get group when the data source from system instead of UME database

    Hig guys,
    How to get group when the data source comes from backend system instead of UME database?
    I tried to use
    IUMPrincipal RefGroup = WPUMFactory.getGroupFactory().getGroup(groupName);
    But I was not able to get the group. But in "UserAdministrator", I can find this groupName.
    Which kind of API can I use?
    Thanks in advance!
    Regards,
    Liying
    Message was edited by:
            Liying Wang

    Ok,
    try this:
    com.sapportals.portal.security.usermanagement.IGroupFactory ep5GroupFactory = userManagementService.getGroupFactory();
    IGroupFactory groupFactory = UMFactory.getGroupFactory();
    com.sap.security.api.IGroup group = groupFactory.getGroupByUniqueName(groupName);
    IUMPrincipal ep5Principal = ep5GroupFactory.getEP5Group(group);
    This should do the trick,
    Romano
    PS: and thanks for the stars!

  • How do you know when the music is synced to an ipod classic? I don't see it showing it in the window.

    how do you know when the music is synced to the ipod?the lod version would show it syncing in the window at the top of the screen this version doesn't.

    If you have access to a Mac couldn't you receive your verification via iMessage and work to view you iCloud Account?

  • I ordered a battery for my laptop because it said to replace battery soon.  How long can I let the new battery sit around as I wait for the old one to run out of more charge?

    I ordered a battery for my laptop because it said to replace battery soon.  How long can I let the new battery sit around as I wait for the old one to run out of more charge?  Will the new one become less effective if it sits around too long?

    How much capacity is remaining on your current battery?
    Check your power status
    From the  menu: Hold OPTION and click System Information... èHardware è Power
    Copy and Paste in your reply.
    The new battery will become less effective if you store it in a hot or humid environment. It should be stored at room temperature (22 C).
    Long term storage (6 months):
    Apple recommends that you store the battery with a 50% charge. If you store a battery when it’s fully discharged, it could fall into a deep discharge state, which renders it incapable of holding any charge. Conversely, if you store it fully charged for an extended period of time, the battery may experience some loss of battery capacity, meaning it will have a shorter life.
    http://www.apple.com/batteries/

  • Whwhat do when the iPad will not power down??

    What to do when the Ipad does not power down, it just freezes.

    Hold down on the sleep button and the home button at the same time for about 10 seconds until the Apple logo appears on the screen and let go of the buttons. Ignore the red slider if it appears. Let the iPad fully restart, then try to turn it off again.

Maybe you are looking for

  • Reader

    Hi I downloaded reader for my MAC  I can only open PDF's in Safari and not firefox  what can I do to fix this??

  • Read method calls from a file.

    I am working on an event driven program that has various events listed in a file that are supposed to be read in and used. I can go through the pain staking process of using StringTokenizer and .substring to figure which event is which, but I want to

  • Can not update IPAD to version 5.0.1. - Itunes website frozen

    I am trying to update my IPAD to version 5.0.1.  I have my ipad connected to my personal computer, per the instructions.  When I click on my Ipad in the itunes menu on my personal computer, it shows me the option to download and update.  I select and

  • Dual Booting & Recovery Partition

    Hi all, I am going to dual-boot Windows 7 and Lubuntu on my Satellite A505-S6009. I am sure some people severely disagree with dual-booting, but this is what I want to do with my machine (my mind is made up). I have installed and used Linux before. I

  • Log in when hit enter

    Hello group, I have a log in form on my website that was built mostly in asp I want to set the form so when someone enters a username and password and hits enter it submits. Currently it just refreshes the page. I am guessing this is easy to do, but