-
1. Re: Help on configuration of cross site replication: 5.2 User Guide on cross site replication is not complete and accurate
nadirx Mar 6, 2013 3:52 AM (in response to dex80526)Hi Dex,
I checked the https://docs.jboss.org/author/display/ISPN/Cross+site+replication page and the attachments were there, it's just that they weren't linked in the page. I now have done so.
Indeed the GUI Demo config files are broken, I have created a Jira: https://issues.jboss.org/browse/ISPN-2893
You can find configuration examples in https://github.com/tristantarrant/infinispan/tree/master/core/src/test/resources
-
2. Re: Help on configuration of cross site replication: 5.2 User Guide on cross site replication is not complete and accurate
dex80526 Mar 6, 2013 11:59 AM (in response to nadirx)Hi Tristan: thanks for the quick response.
There are couple areas unclear to me:
1) the relationship between the <sites> definitions in inifinispan.xml and <sites> of relay2.xml.
Do they have to match on the names? The samples linked in the docs have the names matched, but the siteId are not.
I am wondering why we have site information in 2 seprate places. This is not good for maintance either.
2) In the jgroups-relay2.xml, what should I specify in the initial_hosts list?
Should I include all nodes from all sites?
For example, site LON {node1, node2}, NYC {node3, node4}, do I have to add all 4 nodes to the initial_hosts?
In addition, do I have to use the same port for jgroups.xml (local cluster) and jgroups-relay2.xml (bridge cluster)?
Thanks for the help.
Dex
-
3. Re: Help on configuration of cross site replication: 5.2 User Guide on cross site replication is not complete and accurate
dex80526 Mar 6, 2013 1:26 PM (in response to nadirx)Another question: ISPN 5.2.1 uses Jgroups 3.1 or 3.2?
The sample (jgroups.xml) you give on the wiki site uses jgroups 3.1 schemea.
Thanks,
dex
-
4. Re: Help on configuration of cross site replication: 5.2 User Guide on cross site replication is not complete and accurate
dex80526 Mar 6, 2013 3:56 PM (in response to nadirx)Hi Trisan:
Just let you known that I tried the configuration after the samples linked in the wiki page, and found that the infinispan.xml is not correct. The <sites> element under <global> is NOT allowed.
Dex
-
5. Re: Help on configuration of cross site replication: 5.2 User Guide on cross site replication is not complete and accurate
dan.berindei Mar 21, 2013 5:19 AM (in response to dex80526)dex chen wrote:
Another question: ISPN 5.2.1 uses Jgroups 3.1 or 3.2?
The sample (jgroups.xml) you give on the wiki site uses jgroups 3.1 schemea.
Can't say anything about the cross-site stuff, but ISPN 5.2 does use JGroups 3.2. I think JGroups doesn't care too much about the schema, it's there only to help with editing in the IDE, not for validation.
-
6. Re: Help on configuration of cross site replication: 5.2 User Guide on cross site replication is not complete and accurate
dex80526 Mar 21, 2013 10:50 AM (in response to dan.berindei)Hi Dan, thanks for the response.
Could you take a look at another issue I posted related to jgroups-tcp.xml 3.2 configuration (fail to create JGroups channel with jgroups-tcp 3.2 configuraion)?
I ran into a problem when I update my jgroups-tcp configure to 3.2.
Thanks,
dex