zoukankan      html  css  js  c++  java
  • CentOS7配置crate集群

    一:编辑配置文件:

      1.1配置文件:

        vim /etc/crate/crate.yml

      1.2编辑crate.yml 的集群名称在166行附近:

        cluster.name: crate-xxx

      1.3编辑node节点名称202行附近:

        node.name: node-01

      1.4主节点设置209行附近与1.9master高可用互相匹配:

        node.master: true

      1.5集群接口400行附近:

        transport.tcp.port: 4300

      1.6后备恢复点425行附近:

        #值要大于discovery.zen.minimum_master_nodes且小于等于gateway.expected_nodes

        gateway.recover_after_nodes: 2

      1.7集群总节点数434行附近:

        gateway.expected_nodes: 3

      1.8Discovery集群发现510行附近:

        discovery.zen.ping.unicast.hosts:

        - 192.168.x.x:4300
        - 192.168.x.y:4300
        - 192.168.x.z:4300

      1.9master高可用526行附近:

        # We highly recommend to set the minimum master nodes as follows:

        # minimum_master_nodes: (N / 2) + 1 where N is the cluster size

        # That will ensure a full recovery of the cluster state.

        discovery.zen.minimum_master_nodes: 2

        要配置218行附近的

          node.master: true

  • 相关阅读:
    原生js可爱糖果数字时间特效
    jQuery绑定事件的四种方式
    jQuery选择器总结
    正则表达式
    this对象
    网页瀑布流效果实现的几种方式
    关于DOM
    SparkSQL读写外部数据源--数据分区
    SparkSQL读写外部数据源-通过jdbc读写mysql数据库
    SparkSQL读写外部数据源-基本操作load和save
  • 原文地址:https://www.cnblogs.com/jackyzm/p/10298744.html
Copyright © 2011-2022 走看看