How to change replication manager ack policy?

Hello all
I have installed my Berkley_db and I enabled replication using the following command:
-enable-pthread-api
Now, I would like to change my replication manager ack policy and perform some tests.
I know that I have to use this method:
repmngr_set_ack_policy
However, I don't know how to call the above method...
Shall I insert an entry in a specific file?
Shall I give it as a command line?
I must note that I replicate some data in other three servers. The change of the ack policy will automatically work and affect all three servers or will I have to perform the changes manually on every one of them?
Thank you in advance!
Edited by: user546168 on 10 Δεκ 2011 1:13 πμ

Hello,
You can read about:
DB_ENV->repmgr_set_ack_policy() at:
http://docs.oracle.com/cd/E17076_02/html/api_reference/C/repmgrset_ack_policy.html
A few points to note are:
0. You can set the ack policy programmatcially or via an environment
DB_CONFIG file. If using a DB_CONFIG enter "repmgr_set_ack_policy"
a blank space and the ack_policy parameter required. For example:
repmgr_set_ack_policy DB_REPMGR_ACKS_ALL
A DB_CONFIG file is read when the database environment is opened,
so it will overrule any configuration done before that time.
1. All sites in a replication group need to be configured with the
same acknowledgement policy.
2. The DB_ENV->repmgr_set_ack_policy() method configures the database
environment, not only the operations performed using the specified
DB_ENV handle.
3. You can invoke DB_ENV->repmgr_set_ack_policy() method at any time
during the life of the application.
Thank you,
Sandra

Similar Messages

  • How to change the management agent to use new management service ?

    RDBMS Version:: 10.2.0.3
    Operating System and Version:: AIX 5L
    OEM Console Operating System and Version:: AIX 5L
    Configuring the Management Agent to Use a New Management Service
    Hi,
    I am trying to change the management agent to use new management service using following process.
    1. Stop management agent.
    2. Change in file Agent_home/sysman/config/emd.properties
    For values REPOSITORY_URL and emdWalletSrcUrl and emdWalletDest
    3. Delete all the files in the following directories:
    AGENT_HOME/sysman/emd/upload/
    AGENT_HOME/sysman/emd/state/
    4. Start the management agent.
    ./emctl status agent is showing the new URL for management server (OMS).
    But I am not able to locate the new host on the Web console at the OEM console where it is changed to.
    Can you suggest me workaround for the same?
    Thanks
    Dilipkumar Patel

    Hi,
    I am getting following error when trying to upload.
    tb152 /appl/oracle/oem/10.2.0/bin> ./emctl upload agent
    Oracle Enterprise Manager 10g Release 10.2.0.1.0.
    Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
    EMD upload error: uploadXMLFiles skipped :: OMS version not checked yet..
    tb152 /appl/oracle/oem/10.2.0/bin>
    Regards
    Dilipkumar Patel.

  • How to change replication frequency

    Server2012R2, how can I change the hyper-v replication frequency after replication has already been enabled? When I set it up I set it to 30secs but I am finding that is too frequent and would like to increase that to 5mins or 15mins.
    davidh

    Hi its easy, open the settings of the Virtual Server which is being replicated.
    Go to the Management Section > Replication
    on this page there is a tab to select the replication time,
    click apply
    regards
    Mark

  • How to change WCS management IP without instlation

    please

    I assume you can just change the IP address on the server that the WCS is running on without having to unistall and reinstall the software.
    I would recommend backing up the WCS database before making any changes.
    You may also have to reassosciate the controller with WCS because of the SNMP traps.
    Good luck

  • How to change MANAGED-BEAN-SCOPE??????

    Hi Gurus,
    How to change the managed-bean-scope? In my ADF application I have created one backing bean which has attched with the page fragment. I cant able to set the bean scope other than REQUEST....
    If I set the bean scope request, then page and the inside fragment is rendering without any error. But I need to make that bean scope to pageFlow... but if I do, getting the below error. Non of the scopes are working except request... Please help me how to set the other scope which will solve my major development issue!!!!
    Error:
    Error trying to include:viewId:/advsearch-flow-definition/advUserSearch uri:/app/advUserSearch.jsffjavax.faces.FacesException: javax.el.PropertyNotFoundException: Target Unreachable, identifier 'UserSearch' resolved to null
    My ADFC-Config.xml:
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
    <managed-bean>
    <managed-bean-name>backing_app_idm</managed-bean-name>
    <managed-bean-class>edu.syr.oim.backing.app.Idm</managed-bean-class>
    <managed-bean-scope>backingBean</managed-bean-scope>
    <!--oracle-jdev-comment:managed-bean-jsp-link:1app/idm.jspx-->
    </managed-bean>
    <managed-bean>
    <managed-bean-name>backing_app_userMgmt</managed-bean-name>
    <managed-bean-class>edu.syr.oim.backing.app.UserMgmt</managed-bean-class>
    <managed-bean-scope>backingBean</managed-bean-scope>
    <!--oracle-jdev-comment:managed-bean-jsp-link:1app/userMgmt.jspx-->
    </managed-bean>
    *<managed-bean>*
    *<managed-bean-name>UserSearch</managed-bean-name>*
    *<managed-bean-class>edu.syr.oim.backing.app.UserSearch</managed-bean-class>*
    *<managed-bean-scope>request</managed-bean-scope>*
    *</managed-bean>*
    </adfc-config>
    -kln
    Edited by: klogube on Jan 14, 2010 7:23 AM

    *public class UserSearch {*
    private RichTable searchResultTable;
    private Row currentRow;
    private String selectedNetID;
    private RichInputText inputOne;
    private RichInputText inputTwo;
    private RichInputText inputThree;
    private RichSelectOneChoice choiceOne;
    private RichSelectOneChoice choiceTwo;
    private RichSelectOneChoice choiceThree;
    private RichRegion region;
    private String choiceOneVal;
    private String choiceTwoVal;
    private String choiceThreeVal;
    DCBindingContainer bindings;
    int choiceOneRowIndex;
    int choiceTwoRowIndex;
    int choiceThreeRowIndex;
    Row choiceOnerw;
    Row choiceTworw;
    Row choiceThreerw;
    String choiceOneUserSelected = null;
    String choiceTwoUserSelected = null;
    String choiceThreeUserSelected = null;
    static String  txnTypeOne  = null;
    static String  txnTypeTwo  = null;
    static String  txnTypeThree  = null;
    String netid;
    RequestContext requestContext = RequestContext.getCurrentInstance();
    HashMap rcBackupHM = new HashMap();
    FacesContext facesContext = FacesContext.getCurrentInstance();
    Application app = facesContext.getApplication();
    ExpressionFactory elFactory = app.getExpressionFactory();
    ELContext elContext = facesContext.getELContext();
    FacesContext fc = FacesContext.getCurrentInstance();
    HttpServletRequest request = (HttpServletRequest)fc.getExternalContext().getRequest();
    HttpSession session = request.getSession();
    *public UserSearch() {*
    *public String userSelected() {*
    FacesCtrlHierNodeBinding binding = (FacesCtrlHierNodeBinding) searchResultTable.getSelectedRowData();
    currentRow = binding.getRow();
    selectedNetID = (String) currentRow.getAttribute("netid");
    requestContext.getPageFlowScope().put("netid",selectedNetID);
    return "goToDetails";
    ** Invoke this method when user double click the row in searchResult*
    *public void doDbClick(ClientEvent clientEvent) {*
    FacesCtrlHierNodeBinding binding = (FacesCtrlHierNodeBinding) searchResultTable.getSelectedRowData();
    currentRow = binding.getRow();
    selectedNetID = (String) currentRow.getAttribute("netid");
    requestContext.getPageFlowScope().put("netid",selectedNetID);
    *try{*
    FacesContext facesCtx = FacesContext.getCurrentInstance();
    NavigationHandler nh = facesCtx.getApplication().getNavigationHandler();
    nh.handleNavigation(facesCtx, "", "goDetails");
    *// Refresh the current region; advse1 is the id of the region component inside jspx page*
    AdfFacesContext.getCurrentInstance().addPartialTarget(region);
    *catch(Exception e){ }*
    *public void setSearchResultTable(RichTable searchResultTable) {*
    this.searchResultTable = searchResultTable;
    *public RichTable getSearchResultTable() {*
    return searchResultTable;
    *public void setInputOne(RichInputText inputOne) {*
    this.inputOne = inputOne;
    *public RichInputText getInputOne() {*
    return inputOne;
    *public void setInputTwo(RichInputText inputTwo) {*
    this.inputTwo = inputTwo;
    *public RichInputText getInputTwo() {*
    return inputTwo;
    *public void setInputThree(RichInputText inputThree) {*
    this.inputThree = inputThree;
    *public RichInputText getInputThree() {*
    return inputThree;
    *public void setChoiceOne(RichSelectOneChoice choiceOne) {*
    this.choiceOne = choiceOne;
    *public RichSelectOneChoice getChoiceOne() {*
    return choiceOne;
    *public void setChoiceTwo(RichSelectOneChoice choiceTwo) {*
    this.choiceTwo = choiceTwo;
    *public RichSelectOneChoice getChoiceTwo() {*
    return choiceTwo;
    *public void setChoiceThree(RichSelectOneChoice choiceThree) {*
    this.choiceThree = choiceThree;
    *public RichSelectOneChoice getChoiceThree() {*
    return choiceThree;
    *public void setChoiceOneVal(String choiceOneVal) {*
    this.choiceOneVal = choiceOneVal;
    *public String getChoiceOneVal() {*
    return choiceOneVal;
    *public void setChoiceTwoVal(String choiceTwoVal) {*
    this.choiceTwoVal = choiceTwoVal;
    *public String getChoiceTwoVal() {*
    return choiceTwoVal;
    *public void setChoiceThreeVal(String choiceThreeVal) {*
    this.choiceThreeVal = choiceThreeVal;
    *public String getChoiceThreeVal() {*
    return choiceThreeVal;
    *public void setRegion(RichRegion region) {*
    this.region = region;
    *public RichRegion getRegion() {*
    return region;
    Can you please explain how to define the 2nd bean in the pageFlowScope and injnect?...bacially my problem is I am loosing the pageFlowScope value when I navigate from first page to next page which I am setting by this above class....I need to carry forward the netid which I am losing ...any idea plz

  • How can i change users management panel?

    Hello can someone tell me how to change users management panel, from this...
    to this?
    it's very urgent and i need it to manage the users with a better control also, i like this panel the best.
    please help me

    Hi Rufus,
    Thank you for posting in Windows Server Forum.
    I have performed a test in my lab and found that the way which you want to manage the user account is possible when system is in Workgroup; but when system is joined to domain you don’t get the required management panel. You will only get panel as per your
    1st snap. 
    Workgroup:
    Domain:
    Hope it helps to understand!
    Thanks.
    Dharmesh Solanki

  • How to disable Office 2010 Upgrade Policy prompts for users in a Remote Desktop environment

    I have deployed Office 2010 to our Terminal Server.
    When users login to their Remote Desktops and start Office apps they are greeted with making choices for Upgrade Policies:
    Recommended
    Only Updates
    Don't Make Any Changes
    How can I centrally manage this policy and disable this prompt for users?

    Hi,
    From the description, what you mentioned is the Opt-in or First things first prompt when you launch Office program for the first time.
    If you want to disable the prompt, we can use Office Customization Tool or Group Policy to achieve this goal. For more information, please refer to the following blog:
    https://blogs.technet.com/b/odsupport/archive/2012/11/13/how-to-manage-the-opt_2d00_in-or-first-things-first-prompt-when-microsoft-office-2013-applications-are-first-launched.aspx
    Hope this helps.
    Regards,
    Steve Fan
    TechNet Community Support

  • How to change from member to owner 800 # dont work no promps for that

    how to change from manager to owner 800# don't work

    oops, that was a typo ;  prepaid accounts only have Account Members.

  • How to change exchange rate rounding

    Hello guys,
    our customer requires to have exchange rates rounded to 3 decimal places. For direct FX rates it is not problem. But, the customer also requires to have rounded to 3 decimal places calculared cross FX rates (ie. FX rates calculated by SAP through reference currency) and not to 5 decimal places as offers SAP standard. Can anybody help how to change FX rates rounding policy?
    Thanks a lot.

    Hi,
    This cannot be done by a setting.  The currency rate field has 5 decimals and it cannot be changed.
    There are rounding rules you can set with OB90, but even that is not what you are looking for.
    The only option you have is to not let the cross rate be calculated by the system but is explicity entered or uploaded in OB08.  In this way you can ensure that no rate enters with decimals more than 3.
    Cheers.

  • How to change Font Size of Object Explorer in "SQL Server Management Studio"

    Dear Team,
    "SQL Server Management Studio" is a fantastic IDE for the database.
    There are so many customization options available but one thing many users missing is that " How to change Font Size of Object Explorer?"
    Can you please accumulate this feature in IDE ASAP?
    Many Thanks,
    Bhavesh

    Its there
    Go to Tools -> Options
    Then under Environment you've fonts and colors tab where you can specify a higher font size.
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • How big effort it is to setup Change Request Management?

    We are interested in implementing Change Request Management into our Solution manager 7.0.
    What size of an effort in mandays it actually is and what kind of professional roles are required to set it up? Some background information for your responses:
    implementation project is already there in Solman (SOLAR01/02) and is already live
    satellite system connections within SMSY are already active
    no central CTS/CTS+ is currently in use
    when having CHARM it is assumed that also CTS+ should be used
    So, I guess we are in a typical situation where implementation project has ended and live and support organisation and tools are being setup. There we need CHARM and CTS+.
    I have read lots of SDN threads and blogs, but did not get a clear picture how big effort setting up CHARM is. Please note, I not looking for config guides now, just your experiences. Even if am not interested in config guides, could you at least describe the main steps that are necessary in setting up CHARM?
    br Kim

    Hi
    Adding more to it
    Use the following link,
    /people/dolores.correa/blog/2008/07/26/first-steps-to-work-with-change-request-management-scenario
    https://websmp202.sap-ag.de/~sapdownload/011000358700000657692007E/ECTS_CHARM_SP12.PDF
    Regular correction
    https://websmp202.sap-ag.de/~sapidb/011000358700000086572008E.sim
    Later login to solman enter tcode SPRO and goto scenario specific Change Request management node and start configuring by
    going through the IMG Help and as per requirement.
    Create a maintenance project and Activate Charms
    https://websmp202.sap-ag.de/~sapidb/011000358700005479242006E.sim
    Regards
    Uday

  • How to Change Open Item Management Field in GL Master Record

    Hi,
    How to change the field Open Item Management becz eventhough I tried through in norrmal way of making it that GL balance to 0 and made the change after that it not allowing to save and throwing the following errors,
    Account Balance = 0 but open items exist is the error coming,
    Can any one plz advice ?

    Hi,
    Once transaction data is posted, GL Account cannot be made into an open item managed account. However, you can consider the following options:
    1. GL Account Balance is ZERO: If the GL Account balance is ZERO, the GL Master record can be changed to Open Item managed Account or vice versa. But this will not change the transaction data already posted. Only future transaction data will be open item managed.
    2. Until SAP version 4.0B SAP has provided a program to convert a GL Account to open item managed account after transaction data is posted (or vice versa). You can execute this program by blocking the GL Account and this will make the required changes in tables and also change GL Master record.
    But this program is not available for execution in higher versions. Hence, you can copy the program into a Z Program and execute it. The name of the standard program is RFSEPA02.
    Thanks
    Murali.

  • How to change the worklist in schedule manager in production system

    we are using schedule manager (SCMA) to arrange the daily process in SAP system. but we have to config the worklist and transport it to the production system every time cause in production system if we press edit worklist there would be a message called " TK430 The system administrator has set your logon client to the 'not modifiable' status.Client-specific objects can not be changed in this client."
    Is there any way that I can directly change the worklist in production system?
    Thanks.
    Jiajia

    Hi SUN,
    Take a look at 11g Grid Control: Steps for Migrating the 11g Grid Control Repository from One Database to Another [ID 1302281.1]. Step 4.7
    and
    http://gavinsoorma.com/2010/10/11g-grid-control-how-to-change-the-oms-repository-database-listener-port-or-hostname/
    ps Stop the OMS first.
    Eric

  • How to change host name for management agent.

    Hi,
    I 've installed management agent for oracle, it's a part of Oracle Management Framework, but I have to change host name.
    I know how to change port number, but I've no idea how to change host name.
    Have you got any idea?
    Thank you in advance.
    Matin

    Hi,
    you can change it in System Landscape directory.
    Go to the http:yourportal.com:50000/sld
    then click on the Landscape and update the new host name.
    Raghu

  • How to change the from name in worflow flow notification to manager

    Hi ,
    I want to change a from_role name in notification message to approval in Internet Expenses workflow.
    Requirements is like this: In Internet expense  a supervisor create a expense report behalf of  his subordinates. when he submit for the manager approval. in the notification of Manager approval it shows the subordinate name in the 'from'  this is the standard.. but i need to display the name of creator that is supervisor name in the from.
    please provide a solution for this,,.. your early response will be highly appreciated..
    Thanks and Regards
    Mohsin

    I am not sure about how to change SERVICE_NAME in PL/SQL Developer (if at all it can be done in that ), but you will have to change the SERVICE_NAME in the TNSNAMES.ORA file.
    1. Locate the entry for PLSExtProc in the file tnsnames.ora at:
    $ORACLE_HOME/network/admin/tnsnames.ora
    2. Change the SERVICE_NAME = ORCL
    3. Save and reconnect
    Aalap Sharma :)

Maybe you are looking for