关于elasticsearch:elastic学习role角色文档整理

4次阅读

共计 1076 个字符,预计需要花费 3 分钟才能阅读完成。

1. 全副角色

  • master
  • data (包含:data_content, data_hot, data_warm, data_cold, data_frozen)
  • ingest
  • ml
  • remote_cluster_client
  • transform
  • 仅协调角色

2. 各个角色简介

2.1. master eligible node

有资格被选为 master 来治理 cluster

专用的 master 节点

专一于治理集群
健康状况十分重要

2.2. data node

增删改查、搜寻和聚合

CRUD, search, and aggregations

2.3. ingest node

ingest 节点可能对文档利用 ingest pipeline,以便在 index 之前转换和润色文档。在 ingest 负载较重的状况下,单设专用的 ingest 节点 (不设置 master/data) 十分有用;

堆栈监控和 ingest pipeline 须要 ingest 的 role;

2.4. remote_cluster_client node

  1. remote_cluster_client 角色使节点有资格充当近程客户端;
  2. 跨集群搜寻 (ccs) 和跨集群复制 (ccr),须要remote_cluster_client 的 role;

    • ccs= 跨集群搜寻:cross-cluster search
    • ccr= 跨集群复制:cross-cluster replication

2.5. ml

机器学习须要 ml 角色
node.roles: [ml, remote_cluster_client]

remote_cluster_client 角色为可选角色,但强烈推荐应用。否则,在机器学习作业或数据提要中应用跨集群搜寻将失败。

2.6. transform

node.roles: [transform, remote_cluster_client]
Fleet、Elastic Security 应用程序和转换都须要 transform 角色

remote_cluster_client 为可选角色,但强烈推荐应用。否则,在转换中应用跨集群搜寻将失败。

2.7 仅协调节点:Coordinating only node

node.roles: []

  • 路由:smart load balancers
  • 收集整个集群的状态,而后将申请间接路由到适合的节点
  • 大型集群或者可能须要

    They join the cluster and receive the full cluster state, like every other node, and they use the cluster state to route requests directly to the appropriate place(s).

正文完
 0