Forcing master when the machine wants to write

Hello. I would like a few machines on the network and run Berekely DB (XML, if it's important) on each of them. What I want, it's for all of them to be able to write to the database at different times. I was told that I can "force" a machine like a master when he wants to write to the database. But I can't find anything online about it. Is this possible?

Thank you.

-tom

Hmm, usually Berkeley DB replication allows only one master. But that actually means a single master at a time.

You say you want to be able to write in various databases "at different times". Does that mean that you are ready to go to the trouble and complexity of switching control each time to achieve? It's a little bit unorthodox, but it is possible.

To switch masters, firstly, reconfigure the existing master to become a customer, by calling DB_ENV-> rep_start(), by passing the DB_REP_CLIENT flag. Then, on the site that will become the new master, call DB_ENV-> rep_start() with the DB_REP_MASTER flag. Note that you would like to ensure that the new primary site is "caught up" the old master before making the switch: all transactions that had not yet been replicated from the old master would be lost after the switch.

You can also accomplish this by using elections, by manipulating the choice at various sites priority setting. It's a bit safer in the sense that it prevents any transaction to be lost (assuming that the old master participates successfully in the election). What is described on the 'Election' of the reference Guide page (near the bottom of the page). Note that the discussion assumes that a master broke down; in your situation there is no need to restart computers or reopen database environments.

Note that both of these suggestions work only if you use the replication database API. You can't do this if you use replication manager.

Alan Bram
Oracle

Tags: Database

Similar Questions

  • Fan of the cuts even when the machine is cool - Satellite P10 504

    Hello

    On my laptop cooling fan seems to cut in every minute or so, even when the machine is cool and not busy. It is not the quietest fan in the world, which is quite annoying!

    Does anyone else have any experience of this?

    Thank you very much

    Claire

    Hello
    have you checked the parameters energy saver? Normally, you can change the 'method of cooling' quiet.

    Good bye

  • I have a software key, where can I download the programme when the machine does not have the status of a CD

    I have a software Key, where can I download the program when the machine has no status of a CD

    You can download the appropriate software from here if one of them is the program you are looking for:

    Acrobat X, XI | 9, 8 | 7

    Captivate: 8 | 7 | 6 | 5.5, 5 | 1

    Contribute CS5 | CS4, CS3 | 3,2

    FrameMaker 12, 11, 10, 9, 8, 7.2

    Lightroom 5.7.1| 5 | 4 | 3 | 2.7 (win),2.7 (mac)

    Photoshop elements 13, 12, 11, 10 | 9, 8, 7

    First items 13, 12, 11, 10 | 9

    Suites and programs CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4 , CS4 Web Standard | CS3

  • force events of the machine

    Hello

    I started working with new advanced techniques, like spawning clone floating windows, with parent and save/load levels setting these configurations. I know that labview is not the parent funcionallity incorporated, so I use usr32.dll commands.

    My application consists of a main window that creates several different controls in the form of specialized façade of VI and also creates containers, which can be used to organize these controls as parents. I can save/load all these configurations, including the positions of windows.

    The problem is: FP.winBounds is not updating its values when his parents had moved.

    If the user spanws a window control inside a container, then move the container without moving the window control, FP.winBounds is not updated. If the user saves the configuration at this point, the position for this particular control window values will be badly burned.

    I understand that this property is updated only when the window of the façade of the exchange control window, IE, when the user moves or resizes, much like a user event control.

    My question is: if I can force labVIEW to update this value with something similar to the property of signage?

    Thanks in advance,

    Giavonna

    Turns out the problem was easier than I thought. I used one for the write to the variable position only when the graphics window was moving and the container, don't. It would probably fail if the user can move both windows at the same time, but I think that will never happen: Pei

    Thanks for the help!

  • Satellite P20 no charging current when the machine is running

    Hello

    I own a Toshiba Satellite P20. I'm having a problem with the battery. When I turn on my computer and try and charge the battery wilst working, battery is not charging.

    However, when I turn off the machine the battery normally charges.

    This prevents me from working for long periods because it seems that I can't work and load my machine at the same time. Help, please.

    Concerning
    Rudolf

    Hello

    How old is your unit and has been the problem from the beginning?
    In my opinion it is either a problem with the motherboard electronic or battery failure there. The two cases are possible.

    So you could buy a new battery for a check or you will contact the ASP and technicians can find the fault.

    In my opinion, you should first contact the ASP. In this case, you need not spend a lot of money for a battery which could be allowed.

  • In the start-up procedure, how can I remove "press ESC to access the Start Menu" when the machine hangs at the HP logo screen?

    Hello

    I am running 64 Win7HP on a laptop HP dv3, processor Core 2 Duo 4 GB DDR2 Ram, 320 GB HD, just as it came out of the box when purchased directly from HP replaced EXCEPT Vista OS with 64bits Win7HP.  Machine worked fine until the LAST update of Windows, where during the reboot, I got to the HP logo screen and in the lower left corner of the screen appeared the statement (for THE FIRST TIME) "Press ESC for the Start Menu."  Pressing Esc translates into another command "press Esc...".  Break. " When you press ESC, you get a black screen until the machine goes to sleep UNLESS you press Ctrl + Alt + Delete. If you press the 3 key combo, it will continue to start and brings you to the screen of your password for access and then operate nicely, until you turn off the system. So, how can I get rid of the superfluous instructions and get this thing here where he turns and goes directly to the screen of password without intermediate steps?  Restore points are long since gone for immediate access to the front last Win Update.
    The answer may be simple, but until now it has escaped my low range.  Any help is appreciated.
    Creyn1

    Hi Creyn1,

    Welcome to the community Microsoft and thanks for posting the question.

    According to the description, it looks that you are facing a problem when connecting, he would be grateful if you can answer this question in order to help you further.

    Do you receive an error message or error code?

    I suggest trying to boot in safe mode and check if it helps.

    Start your computer in safe mode: http://windows.microsoft.com/en-US/windows7/Start-your-computer-in-safe-mode

    If its working fine with safe mode then put the computer in a clean boot state, then check if that helps you

    Put the computer in a clean boot state and check if any third-party application is causing the problem, as the start-up boot helps eliminate software conflicts.

    How to solve the problem by running the clean boot in Windows 7: http://support.microsoft.com/kb/929135

    Note: Once you have completed troubleshooting, perform the steps in the step 3: to reset the computer as usual.

    If you have any other questions or you need Windows guru, do not hesitate to post your questions and we will be happy to help you.

  • How to stop the circle of blue on the mouse pointer when the machine turns off

    Regarding Photosmart 5510e printer all in one product No.CQ183B... Model No.B111h... Serial number {content removed}

    Cannot get rid of the attatched blue circle to the pointer of the mouse when the computer is turned off, because it is the noisiest printer that I have ever bought, it even guard the neihgbours awake. Thers seems there have much the same complaint of the HP printer owners concerning the blue circle. Advice please, thank you jh

    Most likely the computer is looking for the printer for features such as Scan computer and alerts the ink. Disable these features should stop the blue circle of projection. Double-click the printer on the desktop icon to open the Printer Wizard. Double-click the ink level chart found at the top of the window. Click the Advanced tab. Under Alerts ink make sure the box "only when I print" is selected, and then click close at the bottom of the window. Double click on manage the Scan of the computer. Click on disable. Close all open windows. This should stop the computer from looking for the printer when it is turned off. Let me know what happens.

  • script to force highlights when the user opens the form?

    I wonder if there is a way to ensure that the functionality of highlight in the reader is on when someone opens my form. This will help them see where they enter information. Can I include a script in my form for this?

    Thank you for any assistance.

    Hello

    If you select the root / parent in the hierarchy (form1) and put the following in the docReady event javascript code:

    app.runtimeHighlight = true;
    

    This turn on the light blue shadow in all fields and give a red border for the required fields. It's a good idea to put the following text in the docClose event so that when the user opens a different form, the highest point is turned off.

    app.runtimeHighlight = false;
    

    Hope that helps,

    Niall

  • How to activate the automatic locking function in windows 7 when the machine is idle for say 10 minutes

    I know one of the ways to do that is by going to the option customize then go into screensaver... options and, apart from that it is there another way to do...

    Not that I know of,

    There is no other than the screensavers timer. and the resume session logon screen.

  • HP Pavilion G6 2102TX portable - power-problem of flashing LED when the machine is in shutdown state


    Hi tej

    I've been struggling a lot with this problem and finally replaced hp my laptop battery and I have observed for some time. God forbid I saw this question of the day battery has been replaced.

    I am always observing that and I suggest you to replace your battery.

    was soon... hope you will get some relief.

  • How to start a single group in the remote computer to the machine master

    Hello

    I want to know the command for any machine remote master boot of the machine and how to start a single group for the remote computer to the machine master.

    Thank you
    Amit

    You can start all of the remote machine (after you start the master of the machine) as follows:

    tmboot b -l .

    For all available options tmboot see http://download.oracle.com/docs/cd/E18050_01/tuxedo/docs11gr1/rfcm/rfcmd.html#wp1032112

    Kind regards
    Malcolm.

  • time machine updates when the iMac is in sleep mode

    Should I stop using energy saver, when is my time machine backup. In the past, I noticed that when I was copying files copying stopped when the machine went to sleep snd started again when I woke the machine.

    What is there to back up on your computer when it is ' sleep?

    I put my iMac to sleep every night.  Never a question of backup w/Time Machine because there is nothing to back up!

  • Authentication of the machine does not work after the night of workplace surveillance ovr - ISE - 1.1.1

    I'm running an ISE 1.1.1 patch 2 and authetntication machine Windows XP using PEAP authentication with authentication computer and user.

    The issue is that when a machine is powered on fine machine authentication processes and the user authentication is successful. The problem is that, after that the machine is connected to the left and left unattended for may hours I am bounced in a guest VLAN - ISE newspapers say that they can validate is no longer the machine has been authenticated via AD. If the user reboots the computer, he is well again.

    Are there timers in AD or the machine that are hot flushes the status of RADIUS: WasMachineAuthenticated? Can someone tell me if there is a recommended configuration when the machine authentication is maintained throughout a work day or night?

    Hello rcianci.

    You experience this problem because of your authorization rule "WasMachineAuthenticated." This process (aka MAR - Machine access restrictions) occurs only when a computer is restarted or powered. Once the expiration of the timer to MAR the machine authentication fails until it is restarted again.

    Here are two ways you can try to tackle this problem:

    1. I used MAR in the past and:

    a. set the timer for 168 hours (1 week)

    b. educated users that they must restart their machines per week

    It worked 'OK' but it's still irritating to the end users. It can also cause problems if you do that for cable and because the MAC address will change and ISE/ACS will not see the new authenticated as mac address, which requires the user to perform another reboot

    2. a better way to be rid of MAR all together. If you want to keep things simple, you can just use PEAP machine based authentication using the credentials of the machine. It's not always ideal, but if your ad is correctly locked where only certain users can join computer to a domain then you should be good to go. However, if you want to continue to use the machine + user you will need to look at something a little more complex such as EAP-chaining.

    I hope that this help... Let me know if you have any other questions

    Thanks for the note!

  • How to run vi continuous when the VISA read timeout happens

    Hello

    I'm using LabView 2010 through a series of Agilent 6000 Oscilloscope. The Oscilloscope reads data from another experimental machine which will occasionally fail due to failure of the sample. When the machine breaks down, it ceases to send signals to the oscilloscope and leads to the error timeout of read VISA and the vi It is over.  Is it possible that I can run the vi permanently when the error occurs? For example, when the error occurs, it stores the error in the thread of the error. When the vi read the error code of the wire, it sends a command to stop my experimental machine then stop the vi.

    So far, it stops simply during the execution of the visa, playback function. In that case, why do we mistake in and out? Vi stop just when the error occurs.

    Thank you

    Laurent


  • Computer crashes with blue with "BUGCODE_USB_DRIVER" error screen when the computer is in hibernation.

    Original title: blue screen Crash to Hibernation

    Hello

    My laptop had been for some time and the fan started making a very loud noise, in that there is no generally when the machine is cold, so I decided to Hibernate for awhile. Then, I got the blue screen and a crash report, and I have no idea what this means, or how serious it is. Help, please?
    Signature of the problem:
    Problem event name: BlueScreen
    The system version: 6.0.6002.2.2.0.768.3
    Locale ID: 4105
    More information about the problem:
    BCCode: fe
    BCP1: 00000008
    BCP2: 00000006
    BCP3: 00000001
    BCP4: 86CFE988
    OS version: 6_0_6002
    Service Pack: 2_0
    Product: 768_1
    Files helping to describe the problem:
    C:\WINDOWS\Minidump\Mini022012-01.dmp
    C:\Users\Nick\AppData\Local\Temp\WER-192910-0.SysData.XML
    C:\Users\Nick\AppData\Local\Temp\WERBEBC.tmp.version.txt
    The blue screen, I saw something BUGCODE_USB_DRIVER.
    Thanks for your help!

    The minidump file showed a BUGCODE_USB_DRIVER (fe) error caused by the stop usbhub.sys:

    BUCKET_ID: 0xFE_usbhub! UsbhTrapFatalTimeout_x9f + 28

    The usbhub.sys (by default the USB hub driver) is a Windows system file, but it is quite possible the problem is a third-party driver or hardware related.

    What I would say, is to update the wireless driver by installing the next update:

    http://h10025.www1.HP.com/ewfrf/WC/softwareDownloadIndex?softwareitem=ob-62508-1&CC=US&DLC=en&LC=en&os=2093&Product=3652100&sw_lang=

    You can also benefit from the update all the drivers available from HP for laptop:

    http://h10025.www1.HP.com/ewfrf/wc/softwareCategory?OS=2093&LC=en&cc=us&DLC=en&sw_lang=&product=3652100

    I would also, at least temporarily, uninstall Daemon Tools as his driver, the dtsoftbus01.sys, has been known to cause problems in some configurations.

    You also have to install the following hotfix that should update the USB stack:

    http://support.Microsoft.com/kb/2547549

    If the problem persists can provide you with the files minidump resulting.

Maybe you are looking for

  • Satellite C660-15R - how to connect a TV

    Hello. In the specification I can read that this model can be connected to the TV, so I bought on eBay SCART 15-pin RGB S - VGA male HD LCD TV cable lead [e http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&item=280653117637&ssPageNam = STRK:MEWNX:IT].

  • Tecra M3 - screen problem double

    I have a Tecra M3 with the NVidia drivers installed (using those newer section pilots) and when I activate the option double screen he sets the screen of the laptop as the main screen and opens to all applications on the main screen. I can't change t

  • How to see the names of files in the finder window?

    I have no idea how this setting has changed on me, but I can't figure out how to make it stop. Whenever I have save a file in El Capitan, the first column is at times back up, so I can't see the files that have been saved today. Then, I see the usual

  • Pavilion dv6: looking to upgrade the processor in my laptop

    I was looking to upgrade my current CPU to an i7 which would be compatible with my motherboard are there? CENTRAL PROCESSING UNIT Intel Core i5 2450 M @ 2.50 GHz RAM16.0 GB Dual-Channel DDR3 @ 665 MHz (9-9-9-24) MotherboardHewlett-Packard 17FC (CPU1)

  • Document in the process of disappearance left the office. Cannot display

    When I open a document using Microsoft Word, the document opens and floats off the screen to the left of my office and I can't see it. The tab is still there @ bottom & I can right click on the tab w/option restore or minimize. When I do this it just