# How can I set up cluster\_Id for my dremio cluster

**URL:** <https://community.dremio.com/t/how-can-i-set-up-cluster-id-for-my-dremio-cluster/1244>\
**Category:** Uncategorized\
**Created:** [June 5, 2018, 10:48am UTC](https://community.dremio.com/t/how-can-i-set-up-cluster-id-for-my-dremio-cluster/1244 "2018-06-05T10:48:41Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![chenlini12345](https://avatars.discourse-cdn.com/v4/letter/c/5daacb/32.png) [@chenlini12345](https://community.dremio.com/u/chenlini12345)\
**Post date:** [June 5, 2018, 10:48am UTC](https://community.dremio.com/t/how-can-i-set-up-cluster-id-for-my-dremio-cluster/1244/1 "2018-06-05T10:48:41Z")

</div>

There is already a dremio cluster named ‘dremio’ now, I want to generate another cluster named ‘dremio2’. How can I do this?  
if I can create a new cluster, how to set the path for Multiple Dremio Clusters Using a Single Zookeeper Cluster?

[https://docs.dremio.com/advanced-administration/zookeeper.html](https://docs.dremio.com/advanced-administration/zookeeper.html)

---

<div class="post-metadata">

**Author:** ![christy](https://avatars.discourse-cdn.com/v4/letter/c/e68b1a/32.png) [@christy](https://community.dremio.com/u/christy)\
**Post date:** [June 5, 2018, 11:28am UTC](https://community.dremio.com/t/how-can-i-set-up-cluster-id-for-my-dremio-cluster/1244/2 "2018-06-05T11:28:46Z")

</div>

Hey there,

Would you mind elaborating on your question. What of the documentation isn’t clear? The documentation describes how to configure each Dremio cluster to point to an external zookeeper cluster. Are you asking how to configure your external zookeeper cluster?

Christy

---

<div class="post-metadata">

**Author:** ![chenlini12345](https://avatars.discourse-cdn.com/v4/letter/c/5daacb/32.png) [@chenlini12345](https://community.dremio.com/u/chenlini12345)\
**Post date:** [June 5, 2018, 3:17pm UTC](https://community.dremio.com/t/how-can-i-set-up-cluster-id-for-my-dremio-cluster/1244/3 "2018-06-05T15:17:18Z")

</div>

hi, Thanks for your reply. I just want to know how to identified the clusterID. I need many dremio clusters, and each cluster have one master node. When I start dremio, the default clusterId is ‘dremio’ and I did not find somewhere to redefine it.

---

<div class="post-metadata">

**Author:** ![anthony](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/anthony/32/670_2.png) [@anthony](https://community.dremio.com/u/anthony)\
**Post date:** [June 5, 2018, 3:21pm UTC](https://community.dremio.com/t/how-can-i-set-up-cluster-id-for-my-dremio-cluster/1244/4 "2018-06-05T15:21:45Z")

</div>

[https://docs.dremio.com/advanced-administration/zookeeper.html#multiple-dremio-clusters-using-a-single-zookeeper-cluster](https://docs.dremio.com/advanced-administration/zookeeper.html#multiple-dremio-clusters-using-a-single-zookeeper-cluster)  
You are able to change this to your needs, for example -

> zookeeper: “host:2181/new\_cluster\_id,host:2181/new\_cluster\_id,host:2181/new\_cluster\_id”

You are correct - “When no ZooKeeper path is specified, Dremio defaults to /dremio”

---

<div class="post-metadata">

**Author:** ![chenlini12345](https://avatars.discourse-cdn.com/v4/letter/c/5daacb/32.png) [@chenlini12345](https://community.dremio.com/u/chenlini12345)\
**Post date:** [June 5, 2018, 4:01pm UTC](https://community.dremio.com/t/how-can-i-set-up-cluster-id-for-my-dremio-cluster/1244/5 "2018-06-05T16:01:21Z")

</div>

That’s OK! Thank you! The dremio should be installed, configured and started at each host, is that right?

---

<div class="post-metadata">

**Author:** ![chenlini12345](https://avatars.discourse-cdn.com/v4/letter/c/5daacb/32.png) [@chenlini12345](https://community.dremio.com/u/chenlini12345)\
**Post date:** [June 5, 2018, 4:18pm UTC](https://community.dremio.com/t/how-can-i-set-up-cluster-id-for-my-dremio-cluster/1244/6 "2018-06-05T16:18:32Z")

</div>

what if the master node is not in the host list?

for example, master node is server1, and the conf file is just like follows, how server1 knows the cluster\_id of itself is dremio2? :

services: {  
coordinator.enabled: true,  
coordinator.master.enabled: true,  
executor.enabled: false  
}  
zookeeper: “server2:2181/dremio2,server3:2181/dremio2”

---

<div class="post-metadata">

**Author:** ![anthony](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/anthony/32/670_2.png) [@anthony](https://community.dremio.com/u/anthony)\
**Post date:** [June 5, 2018, 4:35pm UTC](https://community.dremio.com/t/how-can-i-set-up-cluster-id-for-my-dremio-cluster/1244/7 "2018-06-05T16:35:47Z")

</div>

Can you talk a little about your environment and deployment?

Since you are using an external ZK, am I correct to assume you have a Hadoop cluster? If so, you can deploy the executors via our UI, so you will only need to install Dremio on 1 node that will be the master coordinator node.  
For deployments without Hadoop, we would recommend using our internal built-in ZK, where then you would have the other nodes point to the master coordinator’s internal ZK.

---

<div class="post-metadata">

**Author:** ![chenlini12345](https://avatars.discourse-cdn.com/v4/letter/c/5daacb/32.png) [@chenlini12345](https://community.dremio.com/u/chenlini12345)\
**Post date:** [June 6, 2018, 3:43am UTC](https://community.dremio.com/t/how-can-i-set-up-cluster-id-for-my-dremio-cluster/1244/8 "2018-06-06T03:43:24Z")

</div>

hi,

when I set conf like:  
zookeeper: “host1:5181/dremio2,host2:5181/dremio2,host3:5181/dremio2”

the log is:  
DEBUG c.d.s.coordinator.zk.ZKClusterClient - Connect: host1:5181, zkRoot: dremio2,host2:5181/dremio2,host3:5181, clusterId: dremio

you can see that the clusterId is still dremio

---

<div class="post-metadata">

**Author:** ![chenlini12345](https://avatars.discourse-cdn.com/v4/letter/c/5daacb/32.png) [@chenlini12345](https://community.dremio.com/u/chenlini12345)\
**Post date:** [June 6, 2018, 5:23am UTC](https://community.dremio.com/t/how-can-i-set-up-cluster-id-for-my-dremio-cluster/1244/9 "2018-06-06T05:23:54Z")

</div>

I have a Hadoop cluster. And I can add a maprfs source of my cluster. But I did not find where I can deploy the executors in UI

---

<div class="post-metadata">

**Author:** ![yufeldman](https://avatars.discourse-cdn.com/v4/letter/y/c77e96/32.png) [@yufeldman](https://community.dremio.com/u/yufeldman)\
**Post date:** [June 6, 2018, 5:58am UTC](https://community.dremio.com/t/how-can-i-set-up-cluster-id-for-my-dremio-cluster/1244/10 "2018-06-06T05:58:30Z")

</div>

Look under “Provisioning” tab on Admin
