# HA Architecture for 12 nodes

**URL:** <https://forums.suse.com/t/ha-architecture-for-12-nodes/15031>\
**Category:** SUSE Rancher Prime\
**Created:** [August 12, 2019, 3:13pm UTC](https://forums.suse.com/t/ha-architecture-for-12-nodes/15031 "2019-08-12T15:13:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nohaj](https://avatars.discourse-cdn.com/v4/letter/n/f6c823/32.png) [@nohaj](https://forums.suse.com/u/nohaj)\
**Post date:** [August 12, 2019, 3:13pm UTC](https://forums.suse.com/t/ha-architecture-for-12-nodes/15031/1 "2019-08-12T15:13:27Z")

</div>

Hello,

Rancher recommend to split workers from controleplane and etcs roles ([https://rancher.com/docs/rancher/v2.x/en/cluster-provisioning/production/](https://rancher.com/docs/rancher/v2.x/en/cluster-provisioning/production/))

I have a 12 nodes cluster with 40 CPU and 128 GO memory each.

For the moment, i have 3 nodes with controleplane, etcd and worker roles and 9 nodes with worker role.

What should I do to have a better architecture ?

- can i use external virtual machines to host controleplane and etcd roles ?
- 3 controleplane/etcd are enough for a 12 nodes cluster ?
- is it really bad to mix worker role with etcd and controleplane ?

Regards,

Johan

---

<div class="post-metadata">

**Author:** ![catherineluse](https://avatars.discourse-cdn.com/v4/letter/c/cc9497/32.png) [@catherineluse](https://forums.suse.com/u/catherineluse)\
**Post date:** [August 13, 2019, 12:19am UTC](https://forums.suse.com/t/ha-architecture-for-12-nodes/15031/2 "2019-08-13T00:19:47Z")

</div>

There’s a [best practices guide](https://rancher.com/docs/rancher/v2.x/en/best-practices/management/#tips-for-scaling-and-reliability) that covers this to some extent.

To answer your questions:

- Yes, it’s good to put controlplane and etcd on VMs.
- Yes, three etcd nodes is a good number. Chris Kim, an engineer at Rancher, says “the number of etcd nodes you have for a cluster actually really only increases your fault tolerance, rather than increasing performance. Conventionally speaking, 3 is the magic number because you need a majority of nodes live and talking in order to maintain quorum, and I wouldn’t necessarily recommend scaling past 5 or 7”
- It’s better to put worker roles on a separate host so that you can get more scalability

---

<div class="post-metadata">

**Author:** ![nohaj](https://avatars.discourse-cdn.com/v4/letter/n/f6c823/32.png) [@nohaj](https://forums.suse.com/u/nohaj)\
**Post date:** [August 13, 2019, 7:11am UTC](https://forums.suse.com/t/ha-architecture-for-12-nodes/15031/3 "2019-08-13T07:11:55Z")

</div>

Hello Catherine,

Thanks for the answers.

Regards,

Johan
