Last active
March 3, 2019 21:57
-
-
Save glenacota/425252de88b43d73c6fdb9770dc8b22c to your computer and use it in GitHub Desktop.
An exercise to practice with the deployment and configuration of an Elasticsearch cluster.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# GOAL: Deploy an Elasticsearch cluster that satisfies a given set of requirements | |
# INITIAL SETUP: / | |
# Download the latest 6.x version of Elasticsearch and Kibana | |
# Deploy the cluster `eoc-01-cluster`, so that it satisfies the following requirements: (i) has three nodes, named `node1`, `node2`, and `node3`, (ii) all nodes are eligible master nodes | |
# Configure the nodes to avoid the split brain scenario | |
# Configure `node1` so that the node (i) is a data node but not an ingest node, (ii) is bound to the network address "192.168.0.100" and HTTP port "9201", (iii) doesn't allow swapping on its host | |
# Configure the Zen Discovery module of `node2` and `node3` to use the address and default transport port of `node1` | |
# Configure the JVM settings of each node so that it uses a minimum and maximum of 8 GB for the heap | |
# Configure the logging settings of each node so that (i) the logs directory is not the default one, (ii) the log level for transport-related events is set to "debug" | |
# Configure the nodes so as to disable the possibility to delete indices using wildcards |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment