elastic学习-role角色文档整理

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).
作者:风雪十年灯原文地址:https://segmentfault.com/a/1190000043527009

%s 个评论

要回复文章请先登录注册