xtradb galera cluster direct ethernet connection


We are planning to setup percona/galera cluster for master-master sync replication between 2 servers.

Is it possible to use direct Ethernet connection over gigabit ethernet port on the 2 servers?

Is there any settings in the cluster that specifies the ip-address? or will the galera cluster use the default port (which might be connected to overloaded switch)?


This is unusual to use direct host to host ethernet connection for production purposes. Is the planned traffic so huge that you find the network switch as a potential bottleneck?

And yes, there are Galera related settings that will let you specify a particular interface/IP address for replication and state transfers, see documenation:

Btw, you should have at least 3 nodes to maintain quorum in case of any node failure. The 3rd one could be at least an arbitrator one.