1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Replication In 11.7

Discussion in 'Database Admin' started by ForEachInvoiceDelete, May 16, 2017.

  1. ForEachInvoiceDelete

    ForEachInvoiceDelete Active Member

    Im trying to turn on the new "Inter-Agent Communication" or "Target Sync". It seems to have multiple names depending on what part of the documentation you find.

    Cant for the life of me find anything about turning it on. Just that you need it and its amazing.

    Anyone point me in the right direction?

    - Jason
  3. Cringer

    Cringer ProgressTalk.com Moderator Staff Member

    There was a load of discussion about it in the ESAP group on Communities but it looks like that's all been deleted which is annoying. I would post up in Communities though. I believe George Potemkin has been using it and there's a couple of others as well. There's obviously the PSC folk around there too.
  4. Rob Fitzpatrick

    Rob Fitzpatrick ProgressTalk.com Sponsor

    I stepped through the exercise in ESAP 3, I think it was. As I recall it wasn't so much a case of turning on a feature as the way you set up the repl.properties. I'll see if I still have the docs from that ESAP to fill you in further.
  5. ForEachInvoiceDelete

    ForEachInvoiceDelete Active Member

    Yeah that would be great. Cant find anything in the documentation still!

    Ill probably set up a Progress communities login later tonight. My progress ID doesnt seem to be working either! :D
  6. Rob Fitzpatrick

    Rob Fitzpatrick ProgressTalk.com Sponsor

    The NeRF manual throws a third term into the mix: Replication Sets. That's what they called it during the ESAP, but I think the new marketing name is Replication Target Synchronization.

    I've gone through my ESAP docs and downloads and it looks like I no longer have the instructions from ESAP 3 that detail how to set up and test a replication set; sorry. I've looked at the 11.7 docs as well and the only reference I can find to this feature is the little blurb in the NeRF manual. There's a two-page marketing sheet on the web site that mentions it but it doesn't contain any real details.
  7. Rob Fitzpatrick

    Rob Fitzpatrick ProgressTalk.com Sponsor

    OK, I've checked again.

    It looks like Marketing and Documentation are not on speaking terms. ;) The docs (apart from NeRF) call this feature Replication Sets. If you search the Replication User Guide for "Replication Set", you'll find lots of hits.
  8. ForEachInvoiceDelete

    ForEachInvoiceDelete Active Member

    OpenEdge 11.7 Documentation

    I found this.

    I still dont see how to create a replication set!/Target Synchronisation/Inter-Agent Communication

    Am i being blind, stupid or a combination of both?
  9. Rob Fitzpatrick

    Rob Fitzpatrick ProgressTalk.com Sponsor

    I see what you're saying. This feature isn't explained as well as it could be. It seems like there is some missing info on Replication Sets in chapter 4, about defining properties files. There are lots of references in the docs like "if you have defined a replication set..." but I can't find any clear instructions on how to do so.

    Chapter 5, page 118 (of the PDF), Transition of a Replication Set has a hint, in this excerpt of a server properties file:
    Code (text):
    1. [transition]
    2. replication-set=1                        <=====
    3. transition-to-agents=agent1,agent2       <=====
    4. database-role=reverse
    5. restart-after-transition=1
    The following pages give a bit more detail, explaining the individual properties. Search for the explanations of "replication-set" and "transition-to-agents".
    LarryD likes this.
  10. ForEachInvoiceDelete

    ForEachInvoiceDelete Active Member

    !! Brilliant. Thanks for finding that hidden nugget of information.

    ill play around with setting these.
  11. DBA_learner

    DBA_learner Member

    Hello All,

    Please help me about replication set. By checking below parameters, it seems like we could have multiple targets synced with one replication source.

    Code (progress):
    3.      [transition]
    4.            replication-set=1                        
    5.            transition-to-agents=agent1,agent2

    We have few replication servers running (one to one mapped) with Live servers and if Live goes down for some reason then we have to stop target database, stop replication as target and run it as source and after that we are able to run (read/update) the application with latest transaction of Live server.

    Please let me know if Replication-set is a better option of accessing Target application.

  12. Rob Fitzpatrick

    Rob Fitzpatrick ProgressTalk.com Sponsor

    The new feature, Replication Sets, doesn't change the number of replication targets you can have. OpenEdge Replication and Replication Plus both let you have either one or two target databases updated by a source.

    Prior to 11.7, a target database could transition to a source or to a normal (non-replicated) database. There are certain things you can automate, like enabling adding AI extents and after-imaging in the new source after transition. But the two targets have no knowledge of each other. After the failure of the original source and the transition, there is a period of time where you have a single point of failure until you set up the former target2 as the new replication target of the new source (which used to be target1).

    The new feature in 11.7 is inter-agent communication, i.e. the agents of targets 1 and 2 are aware of and communicate with each other, when the three are configured as a replication set. When the source fails, target1 transitions to become the new source and target2 also transitions to become its new target, preserving failover capability.
    DBA_learner likes this.
  13. DBA_learner

    DBA_learner Member

Share This Page