How to change the replication group information after db files are created

Since group information is persisted in the database, I am wondering if there is a way to update the information.
We want to implement some kind of Berkeley DB master relay mechanism for our two data centers, which has slow link in between. Basically have one master populating a database file and launch another two node as master to replay that to other nodes of its own group. It will be much efficient this way so we don't have to copy the data multiple times over the slow link.
We periodically (once a day) update the Berkeley DB content from customer's feed on a backend node and upload (rsync) the Berkeley DB File to two the data centers. We would like to have a master node in each data center to read the pre-populated data file, replicate the changes to the web node (read only) while they are still running. I simulated local and if I trick the nodeName and nodeHostPort setting, it should work (basically, fake the replication node on the backend node using tampered hostfile so they get registerred). However, it is not very convenient and definitely a dangerous hack on the production servers.
If there is a way, after the creation, to update the group information (for example, change all the nodes information) without corrupt the log file/replication stream, it will be much easier for us. Basically, we would like to have the node/group information and data file de-coupled?
Any ideas how to do that, or is there a better way to design such a replay of data using Berkeley DB?
Thanks in advance!

2. You mentioned to not clean up the log file. Is there a point where I can safely call clean up on the environment when BDB is still online as I can imagine we will run out of space very soon if we don't clean up.The approach outlined above (steps 1 to 5) will ensure that no log files are deleted on A while you are updating B and C. The use of DbBackup ensures this. For more information on how this works, see the DbBackup javadoc.
Whether this causes you to run out of disk space on A is something you'll have to evaluate for yourself. It depends on the write rate on A and how long it takes to do the copy to B and C. If this is a problem, you could make a quick local copy of the environment on A, and then transfer that copy to B/C. But you must prohibit log file deletion during the copy, using DbBackup, or the copy will be invalid.
You should perform explicit JE log cleaning (including a checkpoint) before doing the copy to B/C. This will reduce the number of files that are copied to B/C, and will reduce the likelihood that you'll fill the disk on A. See the javadoc for Environment.cleanLog for details on how to do an explicit log cleaning.
In your earlier post, it sounded like the updates to A were in batch mode -- done all at once at a specific time of day. If so, you can do the copy to B/C after the update to A. In that case, I don't understand why you are afraid of filling the disk on A, since updates would not be occurring during the copy to B/C.
--mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • Compressor is not working. When I export to compressor from FCP to encode DVD, FCP freezes and Compressor appears to be working but the progress bar never fills no files are created. I'm using a MacBook Pro 10.6.7 version 2.66 GHz core 2 Duo 4GB 1067 MH

    Compressor is not working. When I export to compressor from FCP to encode DVD, FCP freezes and Compressor appears to be working but the progress bar never fills no files are created. I'm using a MacBook Pro 10.6.7 version 2.66 GHz core 2 Duo 4GB 1067 MH. I'm not new at this. I re-installed FCP successfully. I trashed the preferences. Please help.

    Do you have any filters applied to your clips?
    This happened to me before, I accidently had applied a broadcast safe filter to a color matte that was black....
    I figured it out by duplicating my sequence and deleting items from my timeline 1 by 1 until I was able to export a reference movie.
    Anywho, export again, this time with "self contained" movie selected.
    Then try to import to Compressor.

  • How to change the material group in existing PO

    Hi
    I want to change the material group in already exist PO. like one material have the material group 1002. i have changed the material group in material master i.e. 0022.
    In already existed PO for this material, material group is not changing. how do we do this.
    Thanks
    Pankaj Garg

    if ur po is processed then it is not possible
    if it is not processed for gr then just delete the existing material and give new entry of material in same po
    regards
    kunal
    award if helpful

  • How to change the account group of a customer master?

    Would like to change Ship-to's to Sold-to's.  I know the transaction XD07, but when trying to promote a SH to SP, I receive the error
    The planned change is not allowed as the following field groups would be masked by the new account group.
    Below the error the table displays Group Name PO Box City and Address.
    How do i bypass this and successfully change the ship-to to a sold-to?

    Hi ,
        Chek out ur new account group for Sold to party ,whether all the fields in address tab is marked either optional /required. It should not be in display /supress mode then only u can successfully change ur SH account to SP account.
          I think , Number ranges should be same.
    if itz not  da same number range system will give the message ,but it will allow to change the account group.
    As I successfully worked in this issue earlier.
    As we all know, we only change the account group from lower to heigher,
    ie. sh,bp,py to SP only not viceversa.
    *rewards if it helps

  • How to change the Mesure Group ID, without losing the existing partitions in cube developement

    Hello all,
    I am creating my cube and i created measure groups and partitions for those Measure Groups. The problem is now i want to change the measure group id. but when i do that, i am losing my partitions and aggregations on those partitions. is there way to change
    the measure group id with out effecting/losing the partitions? please let me know your thoughts.
    Thanks in advance.
    Prajwal
    prajwal kumar potula

    Though its not my question, but just curious, where these references might be? What are we looking for?
    Are you talking of permissions in Roles etc or its somewhere additional we might have references?
    Not it will not be in permissions or roles. Off the top of my head you would be looking for references to "Measure Group1" in child objects of the measure group, so partitions and aggregations and maybe calculated measures. They would most likely look something
    like the following:
    <MeasureGroupID>Measure Group1</MeasureGroupID>
    http://darren.gosbell.com - please mark correct answers

  • How to change the response of human task if we are using the skip rule

    Hi,
    We have developed the request workflow in OIM11g for this we are using the Beneficiary Manager approval composite to approve the request by his manager.
    We are using the skip rule in the human task component to skip the user if the requester is beneficiary manager.
    After the skip rule is executing the the request is going to failed state because of the response it is sending to the OIM
    The skip rule is working as expected but the response sending to OIM is COMPLETED instead of APPROVE.
    Please let us know the steps to change the response to Approve after the skip rule is executed or how to add the response COMPLETED in OIM.
    Thanks

    You will have to write a conditional block outisde the task where you would check if the skip condition is met and if yes then you will have to hard code the approved conditions into the payload for the task outcome.
    <assign name="SetAutoApproveConditions">
                            <copy>
                                <from expression="string('APPROVE')"/>
                                <to variable="ApprovalTask_1_globalVariable"
                                    part="payload"
                                    query="/task:task/task:systemAttributes/task:outcome"/>
                            </copy>
                            <copy>
                                <from expression="string('COMPLETED')"/>
                                <to variable="ApprovalTask_1_globalVariable"
                                    part="payload"
                                    query="/task:task/task:systemAttributes/task:state"/>
                            </copy>
                        </assign>HTH,
    BB

  • How to change the value of variable in .bpel file

    Hi,
    How can i change the value of variable in .bpel file at time of deployment.
    Can it be possible with configplan.xml or deployment descriptor?
    Thanks
    Richa

    You cannot change the value of variable in .bpel file using config plan. If you want to change value at runtime , you can use Preference variable. Below is the blog to help you understand more.
    http://eelzinga.wordpress.com/2009/10/28/oracle-soa-suite-11g-setting-and-getting-preferences/
    Cheers,
    Durga
    Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.

  • How to change the argument input in a jnlp file?

    A question associated with the following few lines of jnlp codes:
    <application-desc main-class="Main">
    <argument>arg</argument>
    </application-desc>
    My question is: "How can 'arg' be changed dynamically?
    Thanks for help.

    Thank Dietz for help.
    I tried the following jsp code. But it can launch the application only when "test2.jnlp" file exists. "argument to change" can't be passed to the application.
    Thanks.
    <% response.setContentType("application/x-java-jnlp-file");
    out.println("<?xml version=\"1.0\" encoding=\"utf-8\"?>");
    out.println("<jnlp ");
    out.println("spec=\"1.0+\" ");
    out.println("codebase=\"http://tang:8080/examples/rtla/\"");
    out.println("href=\"test2.jnlp\">");
    out.println("<information> ");
    out.println("<title>RTLAFrame viewer</title> ");
    out.println("<vendor>XXX, Inc.</vendor> ");
    out.println("<description>RTLAviewer Application Demo</description>");
    out.println("<description kind=\"short\">A viewer.</description> ");
    out.println("<offline-allowed/> ");
    out.println("</information> ");
    out.println("<security> ");
    out.println("<all-permissions/>");
    out.println("</security> ");
    out.println("<resources> ");
    out.println("<j2se version=\"1.3+\"/>");
    out.println("<jar href=\"test.jar\"/> ");
    out.println("</resources> ");
    out.println("<application-desc main-class=\"RTLAFrame\">");
    out.println("<argument>argument to change</argument>");
    out.println("</application-desc> ");
    out.println("</jnlp> ");
    %>

  • How to change the prompt message in a open file box

    Hello
    In my VI the user has to introduce several file path. They are sequenced so we know which one is requested. Is there an easy way to change the message on the "choose file to read" window in order to have "choose xxx file to read" etc... Is this through some VB programming or does labview have some tools for that ?

    There are two solutions:
    OBN's solution uses a function to get the file name.
    My solution uses the file control. You have to click on the browse button to select the file.
    Both solutions will open the system Open File dialog where the user can select the file. OBN's solution is more obvous to change the parameters. In my solution you have to use property nodes.
    See the VI (LV7.0) how my solution works.
    Waldemar
    Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
    Don't forget to give Kudos to good answers and/or questions
    Attachments:
    Select File.vi ‏15 KB

  • How to change the internal order type when it has been created?

    There is an internal order, when it being created, the user chose the incorrect order type and save it. but the internal order number is useful. so we just want to change the order type or delete the order to release the number.  so can you give me some solutions to solve it. I can not find the way neither change the order type nor delete it.  thanks very much.

    You are unable to change the internal order type once an internal order has been created, however you can delete the IO if there haven't been any postings made.
    In change mode (tcode KO02), go into the internal order.  Go into the following menu:  Edit > Deletion Flag > Set.    Before you exit the IO, save the master record.
    Depending upon your archiving settings, you should then be able to select the menu path:  Edit > Set Deletion Indicator.
    If the IO isn't deleted, you can "clobber" it by going into the IMG and deleting the IO using the function "Delete Test Data".  This should only be done by a technical person to ensure that a mass-delete doesn't occur.
    Please note that if the IO was an internally assigned number, you might just want to block it and re-use it later.
    Hope this helps.
    Kylie

  • How to change the "Download" word indicated for a File browse item ?

    Hi,
    I have a File Browse item. It displays "Download". And works fine too ! i want to change the Message "Download" by "Télécharger". Where can I find this ?
    Thank you for your kind help !
    Christian

    Hello Christian,
    If you are referring to the DOWNLOAD on an interactive report that is set to download a blob (for example), you can change the word Download to be anything you wish in the Download Format Mask. The very last entry is the Download Message.
    DOWNLOAD:TABLE_NAME:BLOB_CONTENTS_COLUMN:PRIMARY_KEY_1:PRIMARY__KEY_2:MIME_Type_COlumn:FILENAME_COLUMN:LAST_UPDATE_DATE:CHARACTER_SET:CONTENT_DISPOISITION:DOWNLOAD_LINK_TEXT
    For example:
    DOWNLOAD:TABLE_Of_CONTENTS:TOC_PAGES:BOOK_ID:::PDF_FILENAME:MOD_DATE::ATTACHMENT:Click Here To Download This Book
    The message "Click Here To Download This Book" will appear for each link.
    Good luck,
    Don.
    You can reward this reply by marking it as either Helpful or Correct :)

  • How to change the result status "Failed" after the test to "Passed"

    We make a picture of a LCD screen and look if its all working. Sometimes the LCD screen is working propper but the Step Failed. In case automatic LCD test fails we show the picture from the camera to the user and he can decide if the LCD screen passed or failed. So when the user decide that the screen is working propper we should overwrite the status of the automatic test that in the report and database shows lcd screen test passed. I tried with 
    RunState.SequenceFile.Data.Seq["Check_LCD_V3-0"].M​ain["154 Execute - All Horizontal Segments On"].Result.Status="Passed",
    RunState.SequenceFile.Data.Seq["Check_LCD_V3-0"].M​ain["154 Execute - All Horizontal Segments On"].Result.PassFail="True",
    But in the database the Status of this step is still "Failed"
    What i do wrong?
    Thanks
    Solved!
    Go to Solution.

    Alteschwed wrote:
    We make a picture of a LCD screen and look if its all working. Sometimes the LCD screen is working propper but the Step Failed. In case automatic LCD test fails we show the picture from the camera to the user and he can decide if the LCD screen passed or failed. So when the user decide that the screen is working propper we should overwrite the status of the automatic test that in the report and database shows lcd screen test passed. I tried with 
    RunState.SequenceFile.Data.Seq["Check_LCD_V3-0"].M​ain["154 Execute - All Horizontal Segments On"].Result.Status="Passed",
    RunState.SequenceFile.Data.Seq["Check_LCD_V3-0"].M​ain["154 Execute - All Horizontal Segments On"].Result.PassFail="True",
    But in the database the Status of this step is still "Failed"
    What i do wrong?
    Thanks
    I recommend the following:
    1) Make the automated LCD test an Action step rather than a Pass/Fail step and instead set a local variable to whether the automatic LCD test failed (e.g. Locals.AutomatedLCDFailed).
    2) Create a new Pass/Fail test (using the none adapter) that takes both the local variable and the user's input into account to determine it's pass/fail status (e.g. Set the step's data source to an expression like: !(Locals.AutomatedLCDTestFailed && Locals.UserLCDTestFailed)
    As an alternative to making 1) an Action step you could leave it a pass/fail step and uncheck the step setting on it for "Step failure causes sequence failure". Then you could use the status of that step instead of Locals.AutomatedLCDTestFailed. The one difference is that the automated test will still show up as failed in your report even though the sequence can still be passed. It's somewhat a matter of preference.
    Hope this helps,
    -Doug

  • Re:How to change the RBKP-BKTXT field after MIRO invoice is saved

    Hi ALL
    i forgot to fill doc header text for several invoices. Is there any way to edit RBKP-BKTXT field.
    Thanks
    Steve

    Daer Anup,
    Check the below link where you can capture the current transaction in MIRO.
    http://forums.sdn.sap.com/thread.jspa?threadID=1416227&tstart=0
    CONSTANTS: c_vorgang(23) TYPE c VALUE '(SAPLMR1M)RM08M-VORGANG'.
      FIELD-SYMBOLS: <fs_vorgang> TYPE ANY.
      ASSIGN (c_vorgang) TO <fs_vorgang>.
    CASE <fs_vorgang>.
      WHEN '1'.
      WHEN '3'.
      WHEN OTHERS.
    ENDCASE.
    Based on the value of field symbol you can differentiate.
    Thanks to Pablo who has given this solution in the above mentioned thread.
    The BADI you can use is INVOICE_UPDATE and method AT SAVE .
    Regards,
    Deepak.

  • How to change the path of an Access .mdb file @ runtime in Visual Studio 2012

    Hello,
      I'm hoping my question is simple enough to merit a quick answer.  I will lay out the details:
      I am writing a WindowsForms App in VB 2012.  I have a Crystal Report that points to an Access .mdb at design time in order to get the proper structure and layout correctly.
      However, during runtime, I need to point to a completely different .mdb file with the same identical structure.  How do I do this?  I've tried everything I could find on the net with no success and mostly because the answers are for C programmers.  I mean, I can pretty much decipher it, but have gotten zero results.
      Thank you for your time.
    -Mike

    ok. The code needs some small modifications.
    I gave it a quick try and here is the InProc RAS SDK code which works for me. Add the assembly references to the app for all those assemblies used in the 'imports' statements in the code.
    Imports CrystalDecisions.ReportAppServer.ClientDoc
    Imports CrystalDecisions.ReportAppServer.DataDefModel
    Imports CrystalDecisions.ReportAppServer.ReportDefModel
    Imports CrystalDecisions.CrystalReports.Engine
    Imports CrystalDecisions.Web
    Imports CrystalDecisions.Shared
    Partial Class _Default
        Inherits System.Web.UI.Page
        Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
            Dim ClientDoc As ISCDClientDocument
            Dim logonPb As New CrystalDecisions.ReportAppServer.DataDefModel.PropertyBag()
            Dim table_Old As New CrystalDecisions.ReportAppServer.DataDefModel.Table()
            Dim table_New As New CrystalDecisions.ReportAppServer.DataDefModel.Table()
            'Open the report object to initialize the ReportClientDocument
            Dim rd As New CrystalDecisions.CrystalReports.Engine.ReportDocument()
            rd.Load("C:\Users\Administrator\Desktop\Report1.rpt")
            ClientDoc = rd.ReportClientDocument()
            table_old = ClientDoc.Database.Tables(0)
            'Clone the original table in the report
            table_new = table_old.Clone(True)
            ' Get the connection information from the report document for the first table in the collection.
            logonPb = table_new.ConnectionInfo.Attributes("QE_LogonProperties")
    'set the path for new mdb
            logonPb.Item("Database Name") = "C:\Users\Administrator\Desktop\New folder\efashion1.mdb"
            ' Set a new table for the report, set the old table to the new one.
            ClientDoc.DatabaseController.SetTableLocation(table_old, table_new)
            'view the report
            CrystalReportViewer1.ReportSource = rd
        End Sub
    End Class
    Hope this clears the doubts

  • How to change the display ratio of a video file in OSMF

    Hi all
    The video file I want to play has an incorrect width and height embedded in the video meta file (if you get the metadata of that video file, the width and height are incorrect). I'm now able to get the correct width and height, but I don't know how to apply them to OSMF. I'm using the MediaContainer for video display, the default behavior of that container keeps the original (which is incorrect) ratio (get from the video metadata) even I set the width and height. I'd appreciate if anyone can provide suggestion on how to do it.
    Thanks.

    You can modify the OSMF library's ScaleModeUtils class to do this, here's the path:
    OSMF > org.osmf > layout > ScaleModeUtils.as .
    My code to implement the 16:9 and 4:3 ratios.
                                                     case ScaleMode.STRETCH:
                                                      result
                                                                = new Point
                                                                          ( availableWidth
                                                                          , availableHeight
                                                      break;
                                            case ScaleMode.NONE:
                                                      result
                                                                = new Point
                                                                          ( intrinsicWidth          || availableWidth
                                                                          , intrinsicHeight          || availableHeight
                                                      break;
                                                     // ****custom begin
                                            case ScaleMode.FourToThree:
                                                      var availableRatio1:Number= availableWidth/ availableHeight;
                                                      if(availableRatio1 > 4/3){
                                                                result = new Point( availableHeight * 4/3, availableHeight);
                                                      }else{
                                                                result = new Point( availableWidth , availableWidth * 3/4);
                                                      break;
                                            case ScaleMode.SixteenToNine:
                                                      var availableRatio2:Number= availableWidth/ availableHeight;
                                                      if(availableRatio2 > 16/9){
                                                                result = new Point( availableHeight * 16/9, availableHeight);
                                                      }else{
                                                                result = new Point( availableWidth , availableWidth * 9/16);
                                                      break;
                                            // ****custom end
    And then you can set the container's scalemode to apply a ratio:
    layoutMetadata.scaleMode = ScaleMode.STRETCH;
    Or
    layoutMetadata.scaleMode = ScaleMode.FourToThree;

Maybe you are looking for

  • Can't see the sales area in XD01( in all sales area) even  OVXG has defined.

    Hi, In XD01 while creating cusotmer master in all sales area system is not showing  7800-90-01( sales area)even though it is defined in OVXG. This is the  reason why may be am not able to create customer in 7800-90-01sales area. here is the screen sh

  • Setting Isolate Report/Page sections and Isolate Group sections using SDK

    Hi all, Has anyone exported the report to CSV format, by setting Isolate Report/Page sections and Isolate Group sections programmatically. If so, to which object should i set, and what are the methods to do this ? The CSV exported report contains lot

  • Hiding Password in URL

    I have the url's to the reports embedded in our entranet web page. The problem is anyone can do a view source and see passwords. How can i hide those userid's and passwords??

  • Mac OS X 10.6.3 Update says it needs much more space than the download size

    I used the combo update it weighed in at 784MB Software update is that delta? said i think I needed 744MB Ok here is the thingy when I installed the combo after clicking the disc image and agree to all licencing etc stuff it asked destination etc it

  • E51 - USB Modemm connections drop

    Hello, Im using my E51 with usb cable to my laptop to access the internet. After 20 minutes or so the connection drops (I still se the connected icon, but no internet). This is solved if a click on disconnect on the PC Suite and the reconect again. H