I am trying to setup leanest possible configuration of Percona XtraDB cluster. I am planning to run multiple clusters comprising of 2 real nodes each. According to Percona documentation, it is strongly advised to have odd number of nodes in each cluster to avoid split brain, so I will need to add garbd to each cluster. My question is: is it possible to run garbd on one of the two real nodes of cluster? For example, cluster has two real nodes (two servers): node1 and node2. What if I run garbd on node1? In case if node1 and node2 loose network connectivity between each other, node1 (which also runs garbs) will have the quorum and continue service, whereas node2 will have service stopped… Am I missing something here?
If this is still not advised, what if I run multiple garbd daemons for my multiple clusters on one dedicated server? is it possible to run multiple garbds on one server? Do I understand correct that in this case garbds will need to use different ports? Do I understand correct that bandwidth requirement for this server will have to be equal to sum of bandwidths of all clusters for which it runs garbds?
Thank you very much in advance!