Why Datastax community edition installation turned out to be enterprise?

独自空忆成欢 提交于 2019-12-10 12:12:10

问题


Update

Ok, some more factors discovered, this image was taken after I clicked using "manage existing cluster, and added 127.0.0.1 as host node" so I guess there should be a configuration where I can set the package to be community edition not enterprise.

But If I do create new cluster where I'm able to pick community edition package, the problem is that it tries to install cassandra and datastax-agent over these nodes and finishes with errors dismiss and retry


While trying to fix a cassandra configuration problem I noticed two things in my installation:

  1. The datastax enterprise credentials text fields ? which lead me to 2
  2. That the installed Package: Datastax Enterprise 4.7.0 while I actually installed cassandra and opscenter from Deb community using ansible

Here is the part in ansible config, where the repo link is community:

- name: Add Datastax repository key
  apt_key: url=http://debian.datastax.com/debian/repo_key state=present
  tags:
    - install

- name: Add Datastax repository
  apt_repository: repo='deb http://debian.datastax.com/community stable main' state=present update_cache=yes
  tags:
    - install

- name: Install Cassandra
  apt: name={{ item }} state=present
  with_items:
    - dsc22
    - cassandra-tools
    - opscenter
  tags:
    - install


回答1:


The latest OpsCenter doesn't include the definitions for the latest version of Cassandra Community, and therefore it grays out this screen. Here's how I solved it:

At /etc/opscenter/definitions/ :

  1. Copy dsc-packages-2.1.0.json to dsc-packages-2.3.0.json
  2. Edit packages-1.json, packages-5.1.2.json, and packages-5.2.0.json and duplicated every 2.1.4 line with a 2.2.0 line.


来源:https://stackoverflow.com/questions/32241486/why-datastax-community-edition-installation-turned-out-to-be-enterprise

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!