我有三个Jira节点配置为负载均衡器后面的集群。
网络流量(tcpdump等)表明流量被路由到所有三个节点,但是Jira登录页面总是在底部显示node01 (见下面的截图)。
当我检查Jira日志时,它确实表明node01是选举产生的集群主机,但这是否意味着它将为所有请求提供服务?
这些都是我设计出来的,还是我需要重新检查我的集群配置?
谢谢

发布于 2021-09-10 16:02:39
尝试在不同的浏览器中连接,可以看到为您提供了一个不同的节点。没有集群主机的概念。检查“Admin”、“System Info”以查看是否所有节点都处于活动状态以及是否在群集中。仔细检查您的cluster.properties文件在每个节点上是否有不同的名称
我们的cluster.properties模板如下所示:
# This ID must be unique across the cluster
jira.node.id = <nodeid>
# The location of the shared home directory for all JIRA nodes
jira.shared.home = /mnt/abc/jira_data_shared
ehcache.peer.discovery = default
ehcache.listener.hostName = <servername>
我们在每个cluster.properties文件中硬编码主机名,而不是使用多播。欲了解更多信息,请访问https://developer.atlassian.com/server/jira/platform/configuring-a-jira-cluster/
https://stackoverflow.com/questions/69128999
复制相似问题