【问题标题】:opscenter can't connect to agents after enabling ssl启用 ssl 后 opscenter 无法连接到代理
【发布时间】:2014-12-31 15:12:45
【问题描述】:

我正在 AWS 上的 ubuntu 上的 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 安装在其中一个节点上,它不会与同一机器上的代理通信。

【问题讨论】:

    标签: cassandra-2.0 datastax-enterprise datastax opscenter


    【解决方案1】:

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

    exceptions.ImportError: libssl.so.0.9.8: cannot open shared object file: No such file or directory

    首先,我尝试了链接的简单解决方案 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 的服务器上安装 libssl0.9.8 $ sudo apt-get install libssl0.9.8

    顺便说一句,这是 opscenter 5.0.1。

    【讨论】:

      猜你喜欢
      • 2015-08-04
      • 2017-03-03
      • 2023-04-07
      • 2015-01-28
      • 1970-01-01
      • 2015-05-13
      • 2015-01-18
      • 1970-01-01
      • 2013-12-23
      相关资源
      最近更新 更多