# Initial\_master\_nodes case-sensitive to capitalized hostnames on Windows for v7.7.1

**URL:** <https://discuss.elastic.co/t/initial-master-nodes-case-sensitive-to-capitalized-hostnames-on-windows-for-v7-7-1/260264>\
**Category:** Elasticsearch\
**Tags:** windows\
**Created:** [January 6, 2021, 12:59am UTC](https://discuss.elastic.co/t/initial-master-nodes-case-sensitive-to-capitalized-hostnames-on-windows-for-v7-7-1/260264 "2021-01-06T00:59:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cjcjameson](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cjcjameson/32/77560_2.png) [@cjcjameson](https://discuss.elastic.co/u/cjcjameson)\
**Post date:** [January 6, 2021, 12:59am UTC](https://discuss.elastic.co/t/initial-master-nodes-case-sensitive-to-capitalized-hostnames-on-windows-for-v7-7-1/260264/1 "2021-01-06T00:59:12Z")

</div>

Hi there,

We have a cluster on Windows where we're trying to launch Elasticsearch v7.7.1 . We are using `cluster.initial_master_nodes` , setting it to the host-names (we think). We are not setting `node.name` . We are being careful to only use bare hostnames, per [https://www.elastic.co/guide/en/elasticsearch/reference/7.3/modules-discovery-bootstrap-cluster.html](https://www.elastic.co/guide/en/elasticsearch/reference/7.3/modules-discovery-bootstrap-cluster.html)

We get the error message:

```auto
[2021-01-04T18:23:02,463][WARN][o.e.c.c.ClusterFormationFailureHelper] [ANALYT1-PROD] master not discovered yet, this node has not previously joined a bootstrapped (v7+) cluster,
and this node must discover master-eligible nodes [Analyt1-Prod, Analyt2-Prod] to bootstrap a cluster:
have discovered [{ANALYT1-PROD}{pau7r42ARxaVPFvtH2HskQ}{9oWHmVkrSJkuVQpTASeCEw}{10.42.0.4}{10.42.0.4:8598}{dimr}, {ANALYT2-PROD}{PbXE1nPZRIKmekDYhPABgQ}{bwAUFvkqTSkt6oxs4-7hsQ}{10.42.0.5}{10.23.0.5:8598}{dimr}];
discovery will continue using [[fe80::b5f1:4242:c149:20e]:8598, 10.42.0.5:8598] from hosts providers and [{ANALYT1-PROD}{pau7r42ARxaVPFvtH2HskQ}{9oWHmVkrSJkuVQpTASeCEw}{10.42.0.4}{10.42.0.4:8598}{dimr}] from last-known cluster state;
node term 0, last-accepted version 61 in term 0

```

This is a little surprising, because we're used to DNS resolution not being case-sensitive.

However, we understand that this isn't DNS resolution. It just happens to be using host names because we aren't setting node.name .

Is the right workaround to use node.name to be sure that we're getting the matching case for both ? Or should Elasticsearch be more tolerant of case-sensitivity in the default-case where the node.name is a host-name?

Or are we facing another issue?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [January 6, 2021, 2:20am UTC](https://discuss.elastic.co/t/initial-master-nodes-case-sensitive-to-capitalized-hostnames-on-windows-for-v7-7-1/260264/2 "2021-01-06T02:20:50Z")

</div>

Can you share your config (or the relevant snippet of it)?

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [January 6, 2021, 6:39am UTC](https://discuss.elastic.co/t/initial-master-nodes-case-sensitive-to-capitalized-hostnames-on-windows-for-v7-7-1/260264/3 "2021-01-06T06:39:36Z")

</div>

> [@cjcjameson](#):
>
> Is the right workaround to use node.name to be sure that we're getting the matching case for both ?

That's what I'd suggest, or else fix the case of the `cluster.initial_master_nodes` setting. See the **NOTE** further down the page you linked:

> **NOTE** : The node names used in the `cluster.initial_master_nodes` list must exactly match the `node.name` properties of the nodes. By default the node name is set to the machine’s hostname...

As you say, this isn't DNS resolution, this is simple string equality.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 3, 2021, 6:39am UTC](https://discuss.elastic.co/t/initial-master-nodes-case-sensitive-to-capitalized-hostnames-on-windows-for-v7-7-1/260264/4 "2021-02-03T06:39:45Z")

</div>

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