# How to create multiple nodes with c#

**URL:** <https://discuss.elastic.co/t/how-to-create-multiple-nodes-with-c/203643>\
**Category:** Elasticsearch\
**Created:** [October 15, 2019, 12:07pm UTC](https://discuss.elastic.co/t/how-to-create-multiple-nodes-with-c/203643 "2019-10-15T12:07:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gurjit\_buck](https://avatars.discourse-cdn.com/v4/letter/g/4af34b/32.png) [@gurjit\_buck](https://discuss.elastic.co/u/gurjit_buck)\
**Post date:** [October 15, 2019, 12:07pm UTC](https://discuss.elastic.co/t/how-to-create-multiple-nodes-with-c/203643/1 "2019-10-15T12:07:25Z")

</div>

Hi, as per my requirement I require to keep the data per client, so I am planning to create a separate node for every client (In same cluster),  
Please share

- How I can create new node with c#
- How to search data in particular node in c#

---

<div class="post-metadata">

**Author:** ![Tek\_Chand](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tek_chand/32/34318_2.png) [@Tek\_Chand](https://discuss.elastic.co/u/Tek_Chand)\
**Post date:** [October 15, 2019, 12:15pm UTC](https://discuss.elastic.co/t/how-to-create-multiple-nodes-with-c/203643/2 "2019-10-15T12:15:25Z")

</div>

@gurjit_buck,

> [@gurjit\_buck](#):
>
> o I am planning to create a separate node for every client (In same cluster),

You can keep multiple data node in single cluster. But as per my knowledge its not possible to keep the data of a client on a specific data node in cluster. Because data store in shards which are stored on different-2 data node. Same with replica.

So your single piece of data divided into multiple shards and then store over data node.

Thanks.

---

<div class="post-metadata">

**Author:** ![gurjit\_buck](https://avatars.discourse-cdn.com/v4/letter/g/4af34b/32.png) [@gurjit\_buck](https://discuss.elastic.co/u/gurjit_buck)\
**Post date:** [October 15, 2019, 1:05pm UTC](https://discuss.elastic.co/t/how-to-create-multiple-nodes-with-c/203643/3 "2019-10-15T13:05:00Z")

</div>

Thanks for your reply,

what you suggest to keep separate data for each client in same machine

---

<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:** [November 12, 2019, 1:05pm UTC](https://discuss.elastic.co/t/how-to-create-multiple-nodes-with-c/203643/4 "2019-11-12T13:05:01Z")

</div>

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