-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, Jan 31, 2008 at 12:21:51PM +0100, Stephan Berlet wrote:

>Node1: defas1, RIP=172.30.4.150(eth0), VIP=172.30.4.170
>Node2: defas2, RIP=172.30.4.160(eth0), VIP=172.30.4.170
>The active linux director holds the VIP on eth0:0,
>the passive linux director holds the VIP on lo:0.

I don't let the passive directory hold the VIP at all.

>Here my configuration steps (on both nodes):
># cat /etc/sysctl.conf

I do it with this simplified config:
[EMAIL PROTECTED] ~]# tail -n 4 /etc/sysctl.conf
# For load balanced machines
net.ipv4.conf.all.arp_ignore = 1
net.ipv4.conf.all.arp_announce = 2

># cat /etc/sysconfig/network-scripts/ifcfg-lo:0

You should let heartbeat manage bringing up the IPs.  Do not assign the
VIP to the loopback, do not assign it to any eth interfaces.  Let
heartbeat manage the IPs (and only on the eth interfaces).

For DR operation, the VIP should be on loopback devices on the real
servers, not on the directors.

># cat /etc/ha.d/ha.cf

Looked good.

># cat /etc/ha.d/ldirectord.cf

Looked good.

>The /var/lib/heartbeat/crm/cib.xml I created by conversion from a
>haresources file like this:

I can't help you with that, someone else will have to answer that.  I
only use hb_gui to configure my heartbeat nodes, so I have zero
operational experience with cib.xml files.

- -- 
Regards...              Todd
  We should not be building surveillance technology into standards.
  Law enforcement was not supposed to be easy.  Where it is easy, 
  it's called a police state.             -- Jeff Schiller on NANOG
Linux kernel 2.6.22-14-generic   6 users,  load average: 0.00, 0.00, 0.00
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHoiFQY2VBGxIDMLwRAsb9AJ4l6NZkdO9CJQrNYgw8esRcjf4t/gCeK8BT
kpfqK42S7XKjphdTbnxHvQo=
=Hk92
-----END PGP SIGNATURE-----
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to