# Unable to form a ES cluster in windows environment

**URL:** <https://forum.opensearch.org/t/unable-to-form-a-es-cluster-in-windows-environment/6743>\
**Category:** Open Source Elasticsearch and Kibana\
**Created:** [August 10, 2021, 6:43am UTC](https://forum.opensearch.org/t/unable-to-form-a-es-cluster-in-windows-environment/6743 "2021-08-10T06:43:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shaimoh](https://avatars.discourse-cdn.com/v4/letter/s/4da419/32.png) [@shaimoh](https://forum.opensearch.org/u/shaimoh)\
**Post date:** [August 10, 2021, 6:43am UTC](https://forum.opensearch.org/t/unable-to-form-a-es-cluster-in-windows-environment/6743/1 "2021-08-10T06:43:15Z")

</div>

Hi Team,

I am trying to configure a 3 node cluster using ODFE. (1 master and 2 data nodes) however after following the steps given in [Cluster Formation - Open Distro Documentation](https://opendistro.github.io/for-elasticsearch-docs/docs/elasticsearch/cluster/) , Im not able to form the cluster.

I started the ES services on all 3 nodes after updating the yml file and tried with [http://masternodeip:9200](http://masternodeip:9200) but it says “Page cannot be displayed” however when Im trying with a single node using Localhost, it seems to be working.

Please note I havent done any changes to the certificates or the security options. Im using the demo certificates by default.

Im quite new to ELK. please help

---

<div class="post-metadata">

**Author:** ![shaimoh](https://avatars.discourse-cdn.com/v4/letter/s/4da419/32.png) [@shaimoh](https://forum.opensearch.org/u/shaimoh)\
**Post date:** [August 10, 2021, 6:43am UTC](https://forum.opensearch.org/t/unable-to-form-a-es-cluster-in-windows-environment/6743/2 "2021-08-10T06:43:59Z")

</div>

**below is the yml file of master node** \*

---------------------------------- Cluster -----------------------------------

# 

# Use a descriptive name for your cluster:

# 

cluster.name: test-cluster

# 

# ------------------------------------ Node ------------------------------------

# 

# Use a descriptive name for the node:

# 

node.name: test-master  
node.master: true  
node.data: false

# Add custom attributes to the node:

# 

#node.attr.rack: r1

# 

# ----------------------------------- Paths ------------------------------------

# 

# Path to directory where to store the data (separate multiple locations by comma):

# 

path.data: C:\ELK\opendistroforelasticsearch\_1.13.2\lib\elasticsearch

# 

# Path to log files:

# 

path.logs: C:\ELK\opendistroforelasticsearch\_1.13.2\logs\elasticsearch

# 

# ----------------------------------- Memory -----------------------------------

# 

# Lock the memory on startup:

# 

bootstrap.memory\_lock: true

# 

# Make sure that the heap size is set to about half the memory available

# on the system and that the owner of the process is allowed to use this

# limit.

# 

# Elasticsearch performs poorly when the system is swapping the memory.

# 

# ---------------------------------- Network -----------------------------------

# 

# Set the bind address to a specific IP (IPv4 or IPv6):

# 

network.host: 10.200.59.33

# 

# Set a custom port for HTTP:

# 

http.port: 9200

# 

# For more information, consult the network module documentation.

# 

# --------------------------------- Discovery ----------------------------------

# 

# Pass an initial list of hosts to perform discovery when this node is started:

# The default list of hosts is [“127.0.0.1”, “[::1]”]

# 

discovery.seed\_hosts: [“10._._._" , "10._._._”]

# 

# Bootstrap the cluster using an initial set of master-eligible nodes:

# 

cluster.initial\_master\_nodes: [“test-master”]

# 

# For more information, consult the discovery and cluster formation module documentation.

# 

# ---------------------------------- Gateway -----------------------------------

# 

# Block initial recovery after a full cluster restart until N nodes are started:

# 

#gateway.recover\_after\_nodes: 3

# 

# For more information, consult the gateway module documentation.

# 

# ---------------------------------- Various -----------------------------------

# 

# Require explicit names when deleting indices:

# 

#action.destructive\_requires\_name: true

######## Start OpenDistro for Elasticsearch Security Demo Configuration ########

# WARNING: revise all the lines below before you go into production

opendistro\_security.ssl.transport.pemcert\_filepath: esnode.pem  
opendistro\_security.ssl.transport.pemkey\_filepath: esnode-key.pem  
opendistro\_security.ssl.transport.pemtrustedcas\_filepath: root-ca.pem  
opendistro\_security.ssl.transport.enforce\_hostname\_verification: false  
opendistro\_security.ssl.http.enabled: true  
opendistro\_security.ssl.http.pemcert\_filepath: esnode.pem  
opendistro\_security.ssl.http.pemkey\_filepath: esnode-key.pem  
opendistro\_security.ssl.http.pemtrustedcas\_filepath: root-ca.pem  
opendistro\_security.allow\_unsafe\_democertificates: true  
opendistro\_security.allow\_default\_init\_securityindex: true  
opendistro\_security.authcz.admin\_dn:

- CN=kirk,OU=client,O=client,L=test, C=de

opendistro\_security.audit.type: internal\_elasticsearch  
opendistro\_security.enable\_snapshot\_restore\_privilege: true  
opendistro\_security.check\_snapshot\_restore\_write\_privileges: true  
opendistro\_security.restapi.roles\_enabled: [“all\_access”, “security\_rest\_api\_access”]  
opendistro\_security.system\_indices.enabled: true  
opendistro\_security.system\_indices.indices: [“.opendistro-alerting-config”, “.opendistro-alerting-alert\*”, “.opendistro-anomaly-results\*”, “.opendistro-anomaly-detector\*”, “.opendistro-anomaly-checkpoints”, “.opendistro-anomaly-detection-state”, “.opendistro-reports-_", ".opendistro-notifications-_”, “.opendistro-notebooks”, “.opendistro-asynchronous-search-response\*”]  
cluster.routing.allocation.disk.threshold\_enabled: true  
node.max\_local\_storage\_nodes: 2

---

<div class="post-metadata">

**Author:** ![shaimoh](https://avatars.discourse-cdn.com/v4/letter/s/4da419/32.png) [@shaimoh](https://forum.opensearch.org/u/shaimoh)\
**Post date:** [August 10, 2021, 7:15am UTC](https://forum.opensearch.org/t/unable-to-form-a-es-cluster-in-windows-environment/6743/3 "2021-08-10T07:15:37Z")

</div>

![image](https://us1.discourse-cdn.com/flex019/uploads/mauve_hedgehog/original/2X/0/00081305de734b6e26e68490b30e08a195a15055.png)

This is the error I get after entering the masternodeip:9200
