[Logo] Terracotta Discussion Forums (LEGACY READ-ONLY ARCHIVE)
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
network interruption  XML
Forum Index -> General
Author Message
hnanda

neo

Joined: 06/30/2008 13:27:19
Messages: 4
Offline

If there is a temp disruption between the two L2s ...then the passive will become ACTIVE.
When the disruption is over we will end up with two Actives..won't this cause a split brain?
How do you send notifications/alarms if there is a network disruption between the two l2s?
tgautier

seraphim

Joined: 06/05/2006 12:19:26
Messages: 1781
Offline

Have a look at this thread:

http://forums.terracotta.org/forums/posts/list/1148.page

[WWW]
hnanda

neo

Joined: 06/30/2008 13:27:19
Messages: 4
Offline

Yes that helps.
I tried adding these properties to start doing some tests
l2.l1reconnect.enabled = true
l2.l1reconnect.timeout.millis = 60000

l2.nha.tcgroupcomm.reconnect.enabled = true
l2.nha.tcgroupcomm.reconnect.timeout = 30000


It seems like when I have the l2.l1.reconnect.enabled = true... I can't start my tc servers.
I have added the same l2.l1 properties to my client.
l2.nha test works.... the passive waits for the specified amount of the time before becoming active

The stack trace that I am getting is

com.tc.util.TCAssertionError: object was not null
at com.tc.util.Assert.failure(Assert.java:60)
at com.tc.util.Assert.assertNull(Assert.java:139)
at com.tc.util.Assert.assertNull(Assert.java:129)
at com.tc.async.impl.StageManagerImpl.addStage(StageManagerImpl.java:98)
at com.tc.async.impl.StageManagerImpl.createStage(StageManagerImpl.java:92)
at com.tc.net.groups.TCGroupManagerImpl.init(TCGroupManagerImpl.java:180)
at com.tc.net.groups.TCGroupManagerImpl.<init>(TCGroupManagerImpl.java:141)
at com.tc.net.groups.TCGroupManagerImpl.<init>(TCGroupManagerImpl.java:112)
at com.tc.l2.ha.L2HACoordinator.basicInit(L2HACoordinator.java:127)
at com.tc.l2.ha.L2HACoordinator.init(L2HACoordinator.java:108)
at com.tc.l2.ha.L2HACoordinator.<init>(L2HACoordinator.java:101)
at com.tc.objectserver.impl.DistributedObjectServer.start(DistributedObjectServer.java:788)
at com.tc.server.TCServerImpl.startDSOServer(TCServerImpl.java:358)
at com.tc.server.TCServerImpl.access$500(TCServerImpl.java:68)
at com.tc.server.TCServerImpl$StartAction.execute(TCServerImpl.java:325)
at com.tc.lang.StartupHelper.startUp(StartupHelper.java:39)
at com.tc.server.TCServerImpl.startServer(TCServerImpl.java:351)
at com.tc.server.TCServerImpl.start(TCServerImpl.java:164)
at com.tc.server.TCServerMain.main(TCServerMain.java:28)

Thanks.




 
Forum Index -> General
Go to:   
Powered by JForum 2.1.7 © JForum Team