为什么Datastax社区版安装成为企业? [英] Why Datastax community edition installation turned out to be enterprise?

查看:490
本文介绍了为什么Datastax社区版安装成为企业?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

更新



好的,发现了一些更多的因素,这个图像是我点击使用管理现有集群,并添加127.0.0.1作为主机节点之后拍摄的猜猜应该有一个配置,其中我可以设置为社区版本的企业不是企业。



但如果我创建新的集群,我可以选择社区版软件包,问题是它尝试在这些节点上安装cassandra和datastax代理,并且错误关闭并重试






尝试修复

解决方案

t包含Cassandra Community的最新版本的定义,因此它灰化此屏幕。以下是我如何解决它:



在/ etc / opscenter / definitions /下:


  1. 复制 dsc-packages-2.1.0.json dsc-packages-2.3.0.json li>
  2. 编辑 packages-1.json packages-5.1.2.json packages-5.2.0.json ,并且每个2.1.4行与2.2.0行重复。


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

解决方案

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.

这篇关于为什么Datastax社区版安装成为企业?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆