[afnog] NEED HELP

Phil Regnauld regnauld at nsrc.org
Thu Feb 28 10:15:49 UTC 2013

Johan Bernhardsson (johan) writes:
> If databases are replicated so they exists on both nodes then i
> would go for a HA solution with heartbeat or one virtual machine
> that can be booted on two nodes.
> The heartbeat solution would move the ip between the machines if one
> goes down and activate the application on it. And one can move the
> ip back if the master comes to live and database has been synced
> again.
> But the simplest solution is manual fail over.

	Also, application code will need to be replicated - plus, replication of
	the DB needs to be tested in both directions, after the slave replica is
	promoted to master.

	If we know the application's name, we might be able to come up with some
	useful advice about others who may have done the work before.

	Alternatively, use lxc/linux-vserver or jails as lightweight virtualization
	combined with regular replication of the content from node A to node B (the
	entire machine).


More information about the afnog mailing list