ElasticSearch: Starting Multiple Cluster -
i started 2 clusters of elasticsearch different names other 1 won't show either in marvel or querying health manually.
curl 'http://127.0.0.1:9200/_cat/health?v' epoch timestamp cluster status node.total node.data shards pri relo init unassign pending_tasks max_task_wait_time active_shards_percent 1501062768 15:22:48 cove_dev_cluster yellow 1 1 8 8 0 0 8 0 - 50.0% but it's running on screen.
i assuming running both clusters (single nodes believe in case) on same machine... in case nodes have default port range setting of 9200-9300 , configured bind first available port in specified range. more details available in network settings documentation.
so in case other cluster running on port 9201 likely. if check marvel or query health manually on port 9201 should find other cluster.
however, if want have 2 nodes participating in same cluster, make sure cluster name matches in configuration of both instances of elasticsearch have running.
hope helps.
Comments
Post a Comment