You are not logged in.

#1 2015-02-03 15:20:56

skrite
Member
Registered: 2009-09-07
Posts: 160

how to split database to a different network with two NICS per server

hello all.

I have 4 servers running a galera cluster. Each machine has dual nics.
I would like to set up the second network card so that the cluster will connect to each other on its own separate network, with it's own separate switch.
I would like one switch with only the database cluster on it.
However, i don't know where to even begin to look up how to do this.
What would I use as a gateway if they are only connected by a switch?
That network would have no need to reach outside the LAN.

Appreciate any help, thanks.

Offline

#2 2015-02-03 15:59:54

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: how to split database to a different network with two NICS per server

As far as network configuration, just configure IP/netmask of each machine such that all four can communicate eg:

ServerA: 192.168.100.1/24
...
ServerD: 192.168.100.4/24

Gateway etc is unnecessary. Example netctl profile:

Description='DB communication port'
Interface=eth1
Connection=ethernet
IP=static
Address=('192.168.100.1/24')

Configuring the software to only use these ports may not be so easy.


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#3 2015-02-03 16:17:42

skrite
Member
Registered: 2009-09-07
Posts: 160

Re: how to split database to a different network with two NICS per server

This is great, thanks for your help.
The software may not be such a bear, as each node on the cluster communicates via ip address.

Offline

Board footer

Powered by FluxBB