VMware Networking Community
neel_mani
Contributor
Contributor
Jump to solution

NSX cluster controller question.

Folks, I am pretty new to the NSX and in process of going through some documents for learning.

I keep hearing that we need 3 cluster controllers deployed for the NSX environment. Why do we need 3? I mean for redundancy we can have just 2, right?

Is rolling out 3 cluster managers mandatory?

Thanks!!

N.

0 Kudos
1 Solution

Accepted Solutions
Sreec
VMware Employee
VMware Employee
Jump to solution

Firstly controllers are required only if we are in need of Logical Switching,Distributed routing and for arp optimization purpose. Recommended numbers for controller deployment is 3 ,however for test/poc you can run with 1 controller as well but don't go above 3 controllers for whatever reason .All three controllers is assigned with set of roles (API,Persistence server,Logical Manager,Switch manager and director server).

.

pastedImage_0.png

In order to avoid split brain scenario which is highly possible in any clustering technology(In our case controller clusters) there is a master for each of these roles and behind the scene a voting takes place to select the master.For leader election a majority of all cluster nodes are needed and in that case 3 controllers are perfect rather than 1,2 etc . If you go with 2 controllers,considering one of the  failure scenario both the controllers wont be the able to communicate each other. You should certainly read "Control Cluster Topic"

https://www.vmware.com/content/dam/digitalmarketing/vmware/en/pdf/products/nsx/vmw-nsx-network-virtu...

Cheers,
Sree | VCIX-5X| VCAP-5X| VExpert 7x|Cisco Certified Specialist
Please KUDO helpful posts and mark the thread as solved if answered

View solution in original post

0 Kudos
1 Reply
Sreec
VMware Employee
VMware Employee
Jump to solution

Firstly controllers are required only if we are in need of Logical Switching,Distributed routing and for arp optimization purpose. Recommended numbers for controller deployment is 3 ,however for test/poc you can run with 1 controller as well but don't go above 3 controllers for whatever reason .All three controllers is assigned with set of roles (API,Persistence server,Logical Manager,Switch manager and director server).

.

pastedImage_0.png

In order to avoid split brain scenario which is highly possible in any clustering technology(In our case controller clusters) there is a master for each of these roles and behind the scene a voting takes place to select the master.For leader election a majority of all cluster nodes are needed and in that case 3 controllers are perfect rather than 1,2 etc . If you go with 2 controllers,considering one of the  failure scenario both the controllers wont be the able to communicate each other. You should certainly read "Control Cluster Topic"

https://www.vmware.com/content/dam/digitalmarketing/vmware/en/pdf/products/nsx/vmw-nsx-network-virtu...

Cheers,
Sree | VCIX-5X| VCAP-5X| VExpert 7x|Cisco Certified Specialist
Please KUDO helpful posts and mark the thread as solved if answered
0 Kudos