.. test documentation master file. You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. 文本检索 Elasticsearch ----------------------------- 在本章节将介绍Elasticsearch的可视化及命令行安装方式。 建议至少准备3台主机,各节点的角色信息及配置如下所示: ========= ============= ============= ============= 角色主机 oushu-es1 oushu-es1 oushu-es3 --------- ------------- ------------- ------------- IP 192.168.1.11 192.168.1.12 192.168.1.13 --------- ------------- ------------- ------------- ES Master 是 是 否 --------- ------------- ------------- ------------- ES Data 否 是 是 ========= ============= ============= ============= * ES Master 角色的节点将作为候选主节点,集群启动后会在其中选举出主节点 * ES Data 角色的节点将作为数据存储的节点 * 集群规模较小的情况下,单个主机可同时承担Master和Data节点的角色,如果集群规模较大,建议将Master和Data节点分离部署 .. note:: **每个节点都需要配置/etc/hosts,上表中的主机名称需要在每台机器的/etc/hosts中追加** .. code-block:: 192.168.1.11 oushu-es1 192.168.1.12 oushu-es1 192.168.1.13 oushu-es3 .. toctree:: :maxdepth: 2 es_installation_ui.md es_installation_cli.md es_upgrade.md