Hi Tom, try to use IPaddr2 rather then IPaddr and in the haresources add netmask - something like : SOME-IP-ADDR/24. Is your eth0 UP and RUNNING? Which version of HA do you have?
HTH Nikita Michalko Am Samstag, 25. Juli 2009 22:52 schrieb Tom Potwin: > I know I just have something wrong in my setup, but I'm too new at this to > figure out why heartbeat fails immediately after starting. I know it's > because it's trying to assign IP addresses that are already assigned, but I > do get how else to do it. > > My haresources file looks like this: > web1.tlthost.net 192.168.31.202 192.168.31.203 192.168.31.204 > 192.168.31.205 httpd apache2 > The .202 address is the shared primary address, and the rest are used by > sites that have SSL's. > > What happens is when I start heartbeat on my primary server, I get: > ResourceManager[7647]: 2009/07/25_16:07:43 info: Running > /etc/ha.d/resource.d/IPaddr 192.168.31.202 start > IPaddr[7750]: 2009/07/25_16:07:43 INFO: Using calculated nic for > 192.168.31.202: eth0 > IPaddr[7750]: 2009/07/25_16:07:43 INFO: Using calculated netmask for > 192.168.31.202: 255.255.255.0 > IPaddr[7750]: 2009/07/25_16:07:43 INFO: eval ifconfig eth0:0 > 192.168.31.202 netmask 255.255.255.0 broadcast 192.168.31.255 > IPaddr[7750]: 2009/07/25_16:07:43 ERROR: Could not add 192.168.31.202 to > eth0: 255 > IPaddr[7733]: 2009/07/25_16:07:43 ERROR: Unknown error: 255 > ResourceManager[7647]: 2009/07/25_16:07:43 ERROR: Return code 1 from > /etc/ha.d/resource.d/IPaddr > ResourceManager[7647]: 2009/07/25_16:07:43 CRIT: Giving up resources > due to > failure of 192.168.31.202 > ResourceManager[7647]: 2009/07/25_16:07:43 info: Releasing resource > group: > web1.tlthost.net 192.168.31.202 192.168.31.203 192.168.31.204 > 192.168.31.205 httpd apache2 > ResourceManager[7647]: 2009/07/25_16:07:43 info: Running > /etc/ha.d/resource.d/apache2 stop > > How do I set it up to use these address when they are already running? > > Thanks, Tom > > _______________________________________________ > 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
