OpsCenter 5.1 添加现有集群

OpsCenter 5.1 添加现有集群

我最近删除了旧的 opscenter 并安装了新的 opscenter Opscenter 5.1。当我尝试将现有集群添加到 opscenter 时,我不断收到错误“创建集群时出错:添加集群时超时。请查看日志以了解问题的详细信息。”

opscenter 日志

2015-03-06 21:37:56+0000 []  WARN: Unable to find a matching cluster for node with IP        [u'xx.xxx.x.177', u'fe80:0:0:0:8d1:ff:fe01:a40e%2', u'0:0:0:0:0:0:0:1%1', u'127.0.0.1'];
the message was [u'5.1.0', u'/1540438085/conf']. 
This usually indicates that an OpsCenter agent is still running on an old node that was decommissioned or is part of a cluster that OpsCenter is no longer monitoring.

此消息不断重复

datastax 代理日志

ERROR [Initialization] 2015-03-06 21:41:42,414 Can't connect to Cassandra, retrying
com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query      failed (tried: /127.0.0.1:9042 (com.datastax.driver.core.TransportException: [/127.0.0.1:9042] Cannot connect))
at com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:220

尽管代理说无法连接到 Cassandra,但我能够使用 DevCenter 连接到集群。nodetool 状态看起来不错。

我尝试重新启动代理和 opscenter,但没有成功

在升级到 OpsCenter 5.1 之前,以前的 opscenter 版本运行良好,使用的 Datastax cassandra 版本:4.0.1

谢谢,穆拉利

答案1

我在新的 aws 实例上安装了全新的 opscenter 5.1,opscenter 能够正常连接到代理。但是,我们仍然在代理日志中看到无法连接到 cassandra 的错误。这似乎是我们拥有的 dse 版本的问题,似乎在更高版本中已修复

然后,我们尝试使用 Dse 版本 4.0.4 和 opscenter 5.1,并成功从 opscenter 备份。由于备份涉及代理和 cassandra 之间的通信,我认为此问题在更高版本的 dse 中不存在。

相关内容