Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,360,976
Community Members
 
Community Events
168
Community Groups

Confluence cluster setup

admin I'm New Here Aug 17, 2022

Infra 

  • EFS (/share directory)
  • 2 application aws nodes
  • application loadbalancer
  • postgresql (aws rds)

The above infra is setup in aws. Started with single node and then followed cluster setup document.

Node1 comes up and when trying to start node2 , node1 goes down with http 500 error.

If restarted service on node1 , node2 reports http 500 error.

node 2 (conf_access_log_

04.0.0.0 Safari/537.36
[17/Aug/2022:16:45:35 +0000] admin http-nio-8090-exec-1 10.0.254.143 GET /index.action HTTP/1.1 200 14175ms 9316 http://epo-ness-03b9c9.mvision-gpnes.local:8090/login.action?os_destination=%2Findex.action&permissionViolation=true Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36

 

node1(conf_access_log)

[17/Aug/2022:17:17:16 +0000] - http-nio-8090-exec-8 10.0.188.214 GET /status HTTP/1.1 500 2ms 17 - ELB-HealthChecker/2.0
[17/Aug/2022:17:17:16 +0000] - http-nio-8090-exec-4 10.0.235.214 GET /status HTTP/1.1 500 2ms 17 - ELB-HealthChecker/2.0
[17/Aug/2022:17:17:36 +0000] - http-nio-8090-exec-3 10.0.188.214 GET /status HTTP/1.1 500 1ms 17 - ELB-HealthChecker/2.0
[17/Aug/2022:17:17:36 +0000] - http-nio-8090-exec-5 10.0.235.214 GET /status HTTP/1.1 500 1ms 17 - ELB-HealthChecker/2.0
[17/Aug/2022:17:17:56 +0000] - http-nio-8090-exec-9 10.0.188.214 GET /status HTTP/1.1 500 2ms 17 - ELB-HealthChecker/2.0
[17/Aug/2022:17:17:56 +0000] - http-nio-8090-exec-6 10.0.235.214 GET /status HTTP/1.1 500 2ms 17 - ELB-HealthChecker/2.0
[17/Aug/2022:17:18:16 +0000] - http-nio-8090-exec-8 10.0.188.214 GET /status HTTP/1.1 500 2ms 17 - ELB-HealthChecker/2.0

 

node 1 (catalina.out)

 

 ... 70 more
Caused by: com.hazelcast.core.HazelcastInstanceNotActiveException: Hazelcast instance is not active!
at com.hazelcast.instance.HazelcastInstanceProxy.getOriginal(HazelcastInstanceProxy.java:321)
at com.hazelcast.instance.HazelcastInstanceProxy.getCluster(HazelcastInstanceProxy.java:219)
at jdk.internal.reflect.GeneratedMethodAccessor115.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)
at com.sun.proxy.$Proxy83.getCluster(Unknown Source)
at com.hazelcast.hibernate.HazelcastTimestamper.nextTimestamp(HazelcastTimestamper.java:38)
at com.hazelcast.hibernate.AbstractHazelcastCacheRegionFactory.nextTimestamp(AbstractHazelcastCacheRegionFactory.java:76)
at org.hibernate.internal.AbstractSharedSessionContract.<init>(AbstractSharedSessionContract.java:142)
at org.hibernate.internal.AbstractSessionImpl.<init>(AbstractSessionImpl.java:29)
at org.hibernate.internal.SessionImpl.<init>(SessionImpl.java:253)
at org.hibernate.internal.SessionFactoryImpl$SessionBuilderImpl.openSession(SessionFactoryImpl.java:1229)
at org.hibernate.internal.SessionFactoryImpl.openSession(SessionFactoryImpl.java:449)
at com.atlassian.confluence.impl.core.persistence.hibernate.SwitchableCachingSessionFactory.openSession(SwitchableCachingSessionFactory.java:117)
at jdk.internal.reflect.GeneratedMethodAccessor245.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)
at com.sun.proxy.$Proxy87.openSession(Unknown Source)
at com.atlassian.hibernate.adapter.bridge.factory.SessionFactoryV2orV5BridgeProxy.openSession(SessionFacto

 

I need active active cluster. But 2 nodes are not active at same time.

 

0 comments

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in Confluence

Watch 4 Confluence apps compete for Best App Demo in September's Appy Hours

Calling all collaborators! Appy Hours on the Atlassian Community is a monthly event where 4 Partner and app vendor presenters go head-to-head with 5-minute demos for the title of Best App Demo. I...

573 views 0 13
Read article

Atlassian Community Events