1

我在 ubuntu 上的 AWS 中在 3 节点 datastax 企业 4.5.2 集群中设置节点到节点加密。我遵循了这些文档-

[1] - http://www.datastax.com/documentation/datastax_enterprise/4.5/datastax_enterprise/sec/secNodeNodeEncryp.html [2] - http://www.datastax.com/documentation/datastax_enterprise/4.5/datastax_enterprise/sec /secPrepareCerts.html [3] - https://github.com/PatrickCallaghan/datastax-ssl-secure-cluster [4] - http://datastax.com/documentation/opscenter/5.0/opsc/configure/opscEnableSSLpkg.html

  1. 我创建了证书和密钥库。[1,2,3]
  2. 将证书添加到每个节点上的信任库 [1,3]
  3. 编辑 cassandra.yaml 以打开节点到节点加密(将客户端到节点留到另一天)[1,3]
  4. 编辑 address.yaml 以打开 datastax-agent [4] 的加密
  5. 重启所有节点

'nodetool status' 显示所有节点都正常启动。opscenter 显示节点,但给出错误消息“已连接 3 个代理中的 0 个” 还需要做什么才能允许 opscenter 与代理对话?Opsecenter 安装在其中一个节点上,它不会与同一机器上的代理通信。

4

1 回答 1

1

opscenterd 守护程序未能正确启动。检查 /var/log/opscenter/opscenterd.log 显示以下内容:

exceptions.ImportError:libssl.so.0.9.8:无法打开共享对象文件:没有这样的文件或目录

首先,我尝试了链接 ln -s /lib/x86_64-linux-gnu/libssl.so.1.0.0 /lib/x86_64-linux-gnu/libssl.so.0.9.8 和 ln -s /lib 的简单解决方案/x86_64-linux-gnu/libcrypto.so.1.0.0 /lib/x86_64-linux-gnu/libscrypto.so.0.9.8

但这没有用。解决方案是在运行 opscenter $ sudo apt-get install libssl0.9.8 的服务器上安装 libssl0.9.8

顺便说一句,这是 opscenter 5.0.1。

于 2014-11-04T19:04:32.520 回答