On 29 November 2010 15:24, Mia Lueng <[email protected]> wrote: > Hi: > I have configured a cluster with two nodes. Lan setting is > A > eth0: 192.168.10.110 > eth1: 172.16.0.1 > > B > eth0:192.168.10.111 > eth1: 172.16.0.2 > > I have configured a resource ip_0 192.168.10.100 on eth0. But when I > unplug the eth0 link on A, the resource can not be taken over to B and no > any log output. > > I've checked the /usr/lib/ocf/resource.d/heartbeat/IPaddr2 script and found > there are no codes for nic link status checking. > > How can i monitor the nic link status to protect the virtual ip address? > Thanks.
I thought that at the moment you have monitor operation enabled on IPaddr2 primitive resource, pacemaker will cause a failure in case anything goes wrong on the IP resource ( ip del xxxx for instance) and on the interface (ip link set dev down and layer1 problem). So far I have used heartbeat/pacemaker on VM as port of Proof on Concept project and I have successfully used ip del to simulate a failure on IPaddr2 primitive resource. Now I am going to deploy it on real systems and I was surprised:-( when I saw your mail. Cheers, Pavlos _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
