1

我正在努力在 AWS 上设置 DSE 5。我有一个单独的 OpsCenter 6.0.0 节点。我有三个集群节点,a、b 和 c。

每台服务器(OpsCenter 加上 3 个节点)都是安装了 Oracle JDK1.8.0_92 的 Ubuntu 14.04 服务器。

在 OpsCenter 节点上,我安装并启动了 OpsCenter Ok。

我创建了一个集群 好的,但是当我返回 OpsCenter 管理该集群时,代理没有通信。我尝试自动安装代理,但失败了。

我进入 /usr/share/opscenter,运行 bin/setup.py,并将 /usr/share/opccenter/ssl 文件夹和文件复制到 /var/lib/datastax-agent/ssl/ 中的节点

在我的集群节点上,在 agent.log 中,我得到以下信息:

ERROR [StompConnection receiver] 2016-07-18 18:04:24,747 Jul 18, 2016
6:04:24 PM org.jgroups.client.StompConnection connect
INFO: Connected to 52.0.16.77:61620

ERROR [StompConnection receiver] 2016-07-18 18:04:24,747 Jul 18, 2016
6:04:24 PM org.jgroups.client.StompConnection run
SEVERE: JGRP000112: Connection closed unexpectedly:
javax.net.ssl.SSLException: Connection has been shutdown:
   javax.net.ssl.SSLHandshakeException:
sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to
find valid certification path to requested target
at sun.security.ssl.SSLSocketImpl.checkEOF(SSLSocketImpl.java:1541)
at sun.security.ssl.AppInputStream.read(AppInputStream.java:95)
at sun.security.ssl.AppInputStream.read(AppInputStream.java:71)
at java.io.FilterInputStream.read(FilterInputStream.java:83)
at org.jgroups.util.Util.readLine(Util.java:2825)
at org.jgroups.protocols.STOMP.readFrame(STOMP.java:240)
at org.jgroups.client.StompConnection.run(StompConnection.java:274)
at java.lang.Thread.run(Thread.java:745)

Caused by: javax.net.ssl.SSLHandshakeException:
sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to
find valid certification path to requested target

显然,setup.py 没有正确构建 /var/lib/datastax-agent/ssl/agentKeyStore。

我回顾了所有这些步骤,没有出错。

有任何想法吗?

4

0 回答 0