Elasticsearch Cluster

Elasticsearch Cluster

MattW

Well-known member
MattW submitted a new resource:

Elasticsearch Cluster - Setting up 2 nodes on same network

Install Elasticsearch as per previous instructions.

Master Node - Internal IP 192.168.153.196
Data Node - Internal IP 192.168.154.160

Config File
/root/elasticsearch/config/elasticsearch.yml

Master Node
Settings which I needed to set (bind to internal IP address):

Code:
cluster.name: z22se

node.name: "Astra"
node.master: true
node.data: true
network.host: 192.168.153.196

Data Node
Settings which I needed to set...

Read more about this resource...
 
distributed
Elasticsearch allows you to start small, but will grow with your business. It is built to scale horizontally out of the box. As you need more capacity, just add more nodes, and let the cluster reorganize itself to take advantage of the extra hardware.

I've done this purely to see if I could, as I've got a 2nd Linode running for my test site, and have put Memcached and Elasticsearch on both of them to have them distributed. My site doesn't need this set up, but at least I know how to do it now ;)
 
  • Like
Reactions: rdn
Back
Top Bottom