Created attachment 920046 [details]
Working Cross Site Example
Description of problem:
The Cross Site Replication (library mode) example from the JDG 6.2 Admin Guide, Chapter 27, does not work.
Version-Release number of selected component (if applicable):
Cut and paste XML from Chapter 27 for both caches. Backup site will not receive data from primary site.
I am attaching my files for which I was able to get it to work. I notice several differences in the working example.
- Backup site does not have <sites> element and sub elements <backupfor>
- Backup site cache has
<property name="configurationFile" value="jgroups-relay-dc2.xml" />
Whereas the example in the admin guide does not have those tags.
- Backup site has a jgroups-withrelay.xml file
There could be other differences as well. I am not sure which configuration change will cause the admin guide example to work as my VMs have been removed from SALABs.
Radim, I added the transport elements. Please QA.
I don't think this was a bug at all, rather misunderstanding the docs. The ellipsis in configuration excerpts were meant as a placeholder for the transport configuration.
Let's hope this way is it more clear to reader (though too verbose in my opinion).
Thanks Radim. I really appreciate the mod to the documentation. A new user may not totally understand that the transport element needs to be configured. The more that we can explicitly state then more valuable the doc is to the end users.
The fix for this bug is now available on access.redhat.com: