/
Preparing the Search Cluster

Preparing the Search Cluster

Info

Always use a fresh server. New Elasticsearch install if performed on a server that has old Elasticsearch installations, does not update all the config files (https://caringo.atlassian.net/wiki/spaces/public/pages/2443809957/Configuring+Elasticsearch#Scripted-Configuration). Hence, some leftover config files remain not updated with the new Elasticsearch install.

Perform the following steps to prepare the search servers for Elasticsearch:

  1. Verify the servers against the Hardware Requirements for Elasticsearch.

  2. Appropriately cable the servers to your network infrastructure so they are reachable from the Swarm nodes.

Important

Make sure that Elasticsearch nodes are not accessible externally; only the Swarm nodes and Gateway servers should be able to access Elasticsearch.

  1. Install RHEL/CentOS 7 or RHEL/Rocky Linux 8. System locale set to LANG=en_US.UTF8 and apply any required updates. Contact DataCore Support for questions about enabling or disabling IPv6.

Best Practice

Use RHEL/CentOS/Rocky Linux minimal server with compatibility libraries which is standard for Swarm development and testing. RHEL/CentOS desktop consumes extra resources that Elasticsearch uses and alters the OS configuration to emphasize user interface vs server performance. It also requires additional updating and security maintenance.

  1. Configure the servers with static IP addresses.

  2. Configure DNS, if desired.

  3. Adjust the server firewall rules. See firewalld.org.
    Adjust the rules to permit the following ports if on CentOS 7, install and run iptables:

    • Allow public access on these ports:

      firewall-cmd --permanent --zone=public --add-port=9200/tcp firewall-cmd --permanent --zone=public --add-port=9300/tcp firewall-cmd --reload

 

Related content

Configuring Elasticsearch
Configuring Elasticsearch
More like this
Gateway Requirements
Gateway Requirements
Read with this
Installing Elasticsearch
Installing Elasticsearch
More like this
Setup RHEL/CentOS for SCS
Setup RHEL/CentOS for SCS
Read with this
Configuring Elasticsearch 2.3.3
Configuring Elasticsearch 2.3.3
More like this
Add the Swarm Storage Component
Add the Swarm Storage Component
Read with this

© DataCore Software Corporation. · https://www.datacore.com · All rights reserved.