On Wed, 2010-06-30 at 17:36 +1000, Daniel Pittman wrote: > Roman Haefeli <reduzie...@yahoo.de> writes: > > > We would like to build a mysql-cluster with two mysql-servers in a > > master-master configuration. We're trying to use mysql-mmm [1] for a > > fail-over setup. Both mysql-servers are running in their own container on > > two different host nodes. > > [...] > > > So I tried to use veth instead (according to [2]). I configured on each > > mysql-server a virtual ethernet device. But then I realized that in order to > > make the virtual device on the host node accessible to the world, I need to > > manually add a route on CT0. > > ...or add the veth device on CT0 to a software bridge with the physical > device, which is the most common way to implement this. Look for 'vznetaddbr' > here: http://wiki.openvz.org/Virtual_Ethernet_device > > That way your container VETH behaves as if it is a physical Ethernet device > connected to the external network, which is what you probably want.
Exactly. > Be aware, though: Linux can still apply iptables firewalling to a software > bridge interface, so make sure that doesn't get in the way in your setup, if > CT0 has firewall rules applied. Hm, I indeed have trouble making it work. I'll check the iptables... Many thanks for your help! Roman _______________________________________________ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users