On Nov 27, 2007, at 7:44 PM, Guilsson . wrote:

My HA setup works like a charm.

Two nodes (in fact, firewalls):
Physical: 192.168.0.1 (node1) and 192.168.0.10 (node2)
Virtual: 192.168.0.100 (node1) and 192.168.0.200 (node2)
If both internet links are up, 100 stays with 1, 200 stays with 10
If one of then goes down, the virtual migrates correctly. And failback
accordingly.
100% Ok.

I´d like to know if I can determine in CFG one IP (for example:
192.168.0.101) that can only be UP on node1 if it has his own resource (
192.168.0.100).


assuming you have v2 with the crm enabled....

get the latest interim build and add::

colocate(101, 100)
rsc_location(101, node2, -INFINITY)


In the same way, other IP (for example: 192.168.0.201) that can only be UP
on node2 if it has his own resource (192.168.0.200).
Ie, 192.168.0.101 will NOT be available in the network when link 1 is down.

likewise:
colocate(201, 200)
rsc_location(201, node1, -INFINITY)



Why this ?
My NMS can only send pings.
In this way, pinging 192.168.0.101 I can determine if HA on node1 was down.


Does HA support this ?

-Guilsson
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

_______________________________________________
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