How to configure HttpNode on elasticsearch


(Ganesh) #1

HI,
I want to create one httpnode on elasticsearch. How can i configure that in elasticsearch.yml Please anyone can help me on this.


(Yashasvi Raj Pant) #2

If you are refering to setting the ip of your node, you can set it in the key:
network.host

Also, you can set the custom port in the key:
http.port


(Ganesh) #3

Thanks for your reply,

in my configuration i have mentioned this both,
network.bind_host: 0.0.0.0
network.publish_host: 10.3.237.23


(Mark Walkom) #4

Use only network.host.


(Ganesh) #5

Thanks for your reply

and please find my configuration below and correct if any wrong in that,

cluster.name: "txnlogging-E1"
node.name: datanode1-lp20036.phx.com
node.master: false
node.data: true
node.ingest: false
node.ml: false
xpack.ml.enabled: true
network.host: 0.0.0.0
#network.bind_host: 0.0.0.0
#network.publish_host: 10.3.237.3
transport.tcp.port: 9311
discovery.zen.ping.unicast.hosts: ["10.3.237.3:9300","10.3.237.3:9301"]
discovery.zen.minimum_master_nodes: 1

what about node setting whether i have to set anything on node like master or data or ingest


(Mark Walkom) #6

What exactly are you trying to do? What problems are you having? What errors are you seeing?

You seem to be setting a lot of things without my clarity around what you are trying to solve.


(Ganesh) #7

i have 3 linux server, each contain 1 master and 10 data node all are in cluster and status of cluster is green.

I need to run one http node in each server how can i configure that .


(Mark Walkom) #8

Why not run all nodes as http? If you are using Monitoring (which you should be, it's free), then it uses the APIs.


(Christian Dahlqvist) #9

How large are the servers given you are running so many data nodes?

If you have 3 master nodes in the cluster, this should be set to 2.


(Ganesh) #10

Ya that modification has done .

Seriously i'm not aware of httpnode setting. i can do master and data node but i dont know how configure httpnode.

All the master and data node created by docker container


(Mark Walkom) #11

Given http is enabled by default, it's still not clear what problem you are having.


(Ganesh) #12

First of all i want to know

what is http node.


(Tim Vernum) #13

Http Node is not a term that we use - it's a term that you brought into the conversation, so perhaps it's going to be easiest if you explain what problem you're trying to solve and why you think "http node" is the solution to that


(system) #14

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.