If you are managing the VIP through Heartbeat, you don't need a ifcfg-eth0:X file for it. Just use an IPaddr or IPaddr2 resource and that's it.
FYI, RedHat-type systems ignore ONBOOT=no for aliases. On 3/28/11 9:13 PM, Neil Aggarwal wrote: > Hello: > > I am trying to set up two load balancers with a shared virtual > IP address. I am using two CentOS 5.5 machines and heartbeat > to manage the virtual IP. > > I created /etc/sysconfig/network-scripts/ifcfg-eth0:0 > on both machines with this content: > > DEVICE=eth0:0 > BOOTPROTO=static > IPADDR=[Virtual IP] > NETMASK=[Netmask] > ONBOOT=no > > I set the ONBOOT to no so they would not come up > automatically. > > But, when I restart the secondary (The primary is running) > and do an ifconfig, I see eth0:0 is up and heartbeat > complains: > > CRITICAL: Resource IPaddr::[VIP] is active, and should not be! > > I checked the ha-debug log and can't see anything else. > > Any ideas how to debug this? > > Thanks, > Neil > > -- > Neil Aggarwal, (281)846-8957, http://UnmeteredVPS.net/centos > Virtual private server with CentOS 5.5 preinstalled > Unmetered bandwidth = no overage charges > > > _______________________________________________ > Please read the documentation before posting - it's available at: > http://www.linuxvirtualserver.org/ > > LinuxVirtualServer.org mailing list - [email protected] > Send requests to [email protected] > or go to http://lists.graemef.net/mailman/listinfo/lvs-users _______________________________________________ Please read the documentation before posting - it's available at: http://www.linuxvirtualserver.org/ LinuxVirtualServer.org mailing list - [email protected] Send requests to [email protected] or go to http://lists.graemef.net/mailman/listinfo/lvs-users
