【问题标题】:spring data cassandra connectivity along with datastax opscenterspring data cassandra 连接以及 datastax opscenter
【发布时间】:2016-07-17 23:12:47
【问题描述】:

我已经在 Ubuntu 15.10 中安装了 Cassandra,创建了一个集群并建立了 spring 数据连接。如何使用 Opscenter 监控同一个集群?

【问题讨论】:

    标签: cassandra datastax


    【解决方案1】:

    要使用 opscenter 监控 cassandra 集群,您需要:

    1. 在一台机器上安装 opscenter(不需要是集群中的一个节点)。在 ubuntu 中,您可以只使用 datastax 存储库:

      $ echo "deb http://debian.datastax.com/community stable main" | sudo tee -a /etc/apt/sources.list.d/datastax.community.list

      $ curl -L https://debian.datastax.com/debian/repo_key | sudo apt-key add -

      $ sudo apt-get 更新 $ sudo apt-get install opscenter

      $ sudo service opscenterd start

    您可以通过下一个 url 连接到 opscenter:http://opscenter-host:8888/

    1. 将现有集群添加到 opscenter。

    2. 在每个节点中安装 datastax 代理。这可以通过 opscenter 完成,也可以在每个节点中手动安装:

      $ sudo apt-get 更新 $ sudo apt-get install datastax-agent

    【讨论】:

      猜你喜欢
      • 2014-02-22
      • 2014-02-26
      • 2015-05-13
      • 2015-12-15
      • 2016-08-27
      • 2023-04-07
      • 2015-10-17
      • 2016-11-21
      • 1970-01-01
      相关资源
      最近更新 更多