Cannot prevent local node from finding nearby nodes

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Cannot prevent local node from finding nearby nodes

Paul Hobgood
I am having trouble preventing my local node from connecting to nearby nodes.

Here's my elasticsearch_spring.properties 

cluster.name=redowl
index.search.slowlog.level=INFO
index.search.slowlog.threshold.fetch.info=0ms
client.transport.ping_timeout=30s
path.logs=target/elasticsearch/logs
discovery.zen.ping.multicast.enabled=false
node.local=true
index.search.slowlog.threshold.query.info=0ms
http.enabled=true

My local node in this case is Lightmaster

        --> target [[Pressure][rm6wcIwVSy2opNs_4AFFpA][inet[/172.16.1.9:9300]]], master [[Pressure][rm6wcIwVSy2opNs_4AFFpA][inet[/172.16.1.9:9300]]]
2013-06-05 10:58:28,068 [DEBUG] o.e.t.netty [Slf4jESLogger.java:84] [Lightmaster] connected to node [[Pressure][rm6wcIwVSy2opNs_4AFFpA][inet[/172.16.1.9:9300]]]

It was my impression that node.local and discovery.zen.ping.multicast.enabled should prevent my node from finding other nodes, but this doesn't appear to be the case.

How can I prevent my local node from other nearby nodes? Thanks

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply | Threaded
Open this post in threaded view
|

Re: Cannot prevent local node from finding nearby nodes

Ivan Brusic
The easiest solution is to change the name of each cluster. Using zen discovery, only nodes with the same cluster name will connect with each other. The other option is to use unicast discovery and explicitly specify the nodes in the cluster. 

The cluster name is made for your situation.

-- 
Ivan


On Wed, Jun 5, 2013 at 8:17 AM, Paul Hobgood <[hidden email]> wrote:
I am having trouble preventing my local node from connecting to nearby nodes.

Here's my elasticsearch_spring.properties 

index.search.slowlog.level=INFO
client.transport.ping_timeout=30s
path.logs=target/elasticsearch/logs
discovery.zen.ping.multicast.enabled=false
node.local=true
http.enabled=true

My local node in this case is Lightmaster

        --> target [[Pressure][rm6wcIwVSy2opNs_4AFFpA][inet[/172.16.1.9:9300]]], master [[Pressure][rm6wcIwVSy2opNs_4AFFpA][inet[/172.16.1.9:9300]]]
2013-06-05 10:58:28,068 [DEBUG] o.e.t.netty [Slf4jESLogger.java:84] [Lightmaster] connected to node [[Pressure][rm6wcIwVSy2opNs_4AFFpA][inet[/172.16.1.9:9300]]]

It was my impression that node.local and discovery.zen.ping.multicast.enabled should prevent my node from finding other nodes, but this doesn't appear to be the case.

How can I prevent my local node from other nearby nodes? Thanks

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply | Threaded
Open this post in threaded view
|

Re: Cannot prevent local node from finding nearby nodes

kimchy
Administrator
another option is to set network.host to 127.0.0.1 and disable multicast discovery.


On Wed, Jun 5, 2013 at 7:46 PM, Ivan Brusic <[hidden email]> wrote:

The easiest solution is to change the name of each cluster. Using zen discovery, only nodes with the same cluster name will connect with each other. The other option is to use unicast discovery and explicitly specify the nodes in the cluster. 

The cluster name is made for your situation.

-- 
Ivan


On Wed, Jun 5, 2013 at 8:17 AM, Paul Hobgood <[hidden email]> wrote:
I am having trouble preventing my local node from connecting to nearby nodes.

Here's my elasticsearch_spring.properties 

index.search.slowlog.level=INFO
client.transport.ping_timeout=30s
path.logs=target/elasticsearch/logs
discovery.zen.ping.multicast.enabled=false
node.local=true
http.enabled=true

My local node in this case is Lightmaster

        --> target [[Pressure][rm6wcIwVSy2opNs_4AFFpA][inet[/172.16.1.9:9300]]], master [[Pressure][rm6wcIwVSy2opNs_4AFFpA][inet[/172.16.1.9:9300]]]
2013-06-05 10:58:28,068 [DEBUG] o.e.t.netty [Slf4jESLogger.java:84] [Lightmaster] connected to node [[Pressure][rm6wcIwVSy2opNs_4AFFpA][inet[/172.16.1.9:9300]]]

It was my impression that node.local and discovery.zen.ping.multicast.enabled should prevent my node from finding other nodes, but this doesn't appear to be the case.

How can I prevent my local node from other nearby nodes? Thanks

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply | Threaded
Open this post in threaded view
|

Re: Cannot prevent local node from finding nearby nodes

Paul Hobgood
In reply to this post by Paul Hobgood
I've added the following lines to my props and I'm still discovering nearby nodes:

# Disable network
discovery.zen.ping.multicast.enabled=false
node.local=true
network.host=127.0.0.1

What else can I try to completely cut off my node from other nearby nodes? I don't want their data at all for local development

Thanks


On Wednesday, June 5, 2013 11:17:44 AM UTC-4, Paul Hobgood wrote:
I am having trouble preventing my local node from connecting to nearby nodes.

Here's my elasticsearch_spring.properties 

index.search.slowlog.level=INFO
client.transport.ping_timeout=30s
path.logs=target/elasticsearch/logs
discovery.zen.ping.multicast.enabled=false
node.local=true
http.enabled=true

My local node in this case is Lightmaster

        --> target [[Pressure][rm6wcIwVSy2opNs_4AFFpA][inet[/172.16.1.9:9300]]], master [[Pressure][rm6wcIwVSy2opNs_4AFFpA][inet[/172.16.1.9:9300]]]
2013-06-05 10:58:28,068 [DEBUG] o.e.t.netty [Slf4jESLogger.java:84] [Lightmaster] connected to node [[Pressure][rm6wcIwVSy2opNs_4AFFpA][inet[/172.16.1.9:9300]]]

It was my impression that node.local and discovery.zen.ping.multicast.enabled should prevent my node from finding other nodes, but this doesn't appear to be the case.

How can I prevent my local node from other nearby nodes? Thanks

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.