[Pacemaker] Not seeing VIF/VIP on pacemaker system

Leonard Smith lrsmith at gmail.com
Thu Jul 28 14:09:46 EDT 2011


I have a very simply cluster configuration where I have a Virtual IP
that is shared between two hosts. It is working fine, except that I
cannot goto the hosts, issue an ifconfig command, and see a virttual
IP address or the fact that the IP address is bound to the host.

I would expect to see a VIF or at least the fact that the ip address
is bound to the eth0 interface.

Centos 5.6
pacemaker-1.0.11-1.2.el5
pacemaker-libs-1.0.11-1.2.el5



node $id="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" bos-vs002.foo.bar
node $id="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" bos-vs001.foo.bar

primitive ClusterIP ocf:heartbeat:IPaddr2 \
	params ip="10.1.0.22" cidr_netmask="255.255.252.0" nic="eth0" \
	op monitor interval="10s"

property $id="cib-bootstrap-options" \
	dc-version="1.0.11-1554a83db0d3c3e546cfd3aaff6af1184f79ee87" \
	cluster-infrastructure="Heartbeat" \
	stonith-enabled="false" \
	no-quorum-policy="ignore" \
	default-resource-stickiness="1000"

[root at bos-vs001 ~]# ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:16:36:41:D3:6D
          inet addr:10.1.1.1  Bcast:10.1.3.255  Mask:255.255.252.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:454721 errors:0 dropped:0 overruns:0 frame:0
          TX packets:90795 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:257195727 (245.2 MiB)  TX bytes:160400169 (152.9 MiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:146 errors:0 dropped:0 overruns:0 frame:0
          TX packets:146 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:13592 (13.2 KiB)  TX bytes:13592 (13.2 KiB)




More information about the Pacemaker mailing list