...
Info |
---|
ImportantMake sure that Elasticsearch nodes are not accessible externally; only the Swarm nodes and Gateway servers should be able to access Elasticsearch. |
Install RHEL/CentOS 7 or RHEL/Rocky Linux 8 and apply any required updates. Contact DataCore Support for questions about enabling or disabling IPv6.
Tip |
---|
Best PracticeUse 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. |
Configure the servers with static IP addresses.
Configure DNS, if desired.
Adjust the server firewall rules. See firewalld.org.
Adjust the rules to permit the following ports if on CentOS 7 7, install and runiptables
:Allow public access on these ports:
Search the Support portal for SwarmNFS 2.x - Access to Elasticsearch (IPTables) for SwarmFS access.Code Block language bash firewall-cmd --permanent --zone=public --add-port=9200/tcp firewall-cmd --permanent --zone=public --add-port=9300/tcp firewall-cmd --reload
Info |
---|
InfoElasticsearch 7 bundles Java so there is no need to install OpenJDK for it. Use the below command to remove that installed OpenJDK package if already installed earlier for Elasticsearch 6. |
...