我在 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,2,3]
- 将证书添加到每个节点上的信任库 [1,3]
- 编辑 cassandra.yaml 以打开节点到节点加密(将客户端到节点留到另一天)[1,3]
- 编辑 address.yaml 以打开 datastax-agent [4] 的加密
- 重启所有节点
'nodetool status' 显示所有节点都正常启动。opscenter 显示节点,但给出错误消息“已连接 3 个代理中的 0 个” 还需要做什么才能允许 opscenter 与代理对话?Opsecenter 安装在其中一个节点上,它不会与同一机器上的代理通信。