Michal Vanco created GTNPORTAL-2674:
---------------------------------------
Summary: Clustering isolation is broken on AS7 - usage of JBoss Cache
implementation for JCR/kernel
Key: GTNPORTAL-2674
URL:
https://issues.jboss.org/browse/GTNPORTAL-2674
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Performance, Security
Affects Versions: 3.4.0.Final
Environment: GateIn master (3.5.0-SNAPSHOT) from 15 Oct
Reporter: Michal Vanco
Fix For: 3.5.0.Beta01
Attachments: probe1.txt, probe2.txt
I'm hitting an issue with clustering isolation.
To reproduce:
- use two machines
- start first node with: sh standalone.sh -u 239.1.2.3 -c standalone-ha.xml -b ...
- start second node with: sh standalone.sh -u 239.3.2.1 -c standalone-ha.xml -b ...
(keep in mind that these nodes/ do not share gatein data dir, neither datasources - I
don't want to have them connected, I just want to have them started in cluster
profile)
You will see in log:
12:14:56,760 INFO [org.jboss.cache.RPCManagerImpl] (Incoming-1,null) Received new cluster
view: [perf12-5427|1] [perf12-5427, perf13-30570]
12:14:57,171 INFO [org.jboss.cache.RPCManagerImpl] (Incoming-2,null) Received new cluster
view: [perf12-65192|1] [perf12-65192, perf13-9838]
12:14:59,996 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport]
(Incoming-1,null) ISPN000094: Received new cluster view: [perf12-5984|1] [perf12-5984,
perf13-24868]
12:15:00,614 INFO [org.jboss.cache.RPCManagerImpl] (Incoming-1,null) Received new cluster
view: [perf12-53815|1] [perf12-53815, perf13-10269]
If you really want to join the cluster, you should see something like:
12:26:03,894 INFO [org.jboss.as.clustering] (Incoming-1,null) JBAS010225: New cluster
view for partition web (id: 1, delta: 1, merge: false) : [perf13/web, perf12/web]
12:26:03,894 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport]
(Incoming-1,null) ISPN000094: Received new cluster view: [perf13/web|1] [perf13/web,
perf12/web]
-u parameter (jboss.default.multicast.address) should take care of clusters isolation
(confirmed by EAP QE).
I've also tried to use probe.sh (from epp 5.2) and I'm attaching output
- probe1.txt is after start of first node (on perf12)
- probe2.txt is after start of second node (on perf13)
Clusters are joined during IDM & JCR initialization.
There could be some out-of-date implementation of JBoss Cache for cluster implementation
of JCR and kernel services :/
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira