haresources multiple lines?

Alan Robertson alanr at unix.sh
Wed Mar 20 07:38:49 MST 2002


James Ogley wrote:

> Hi,
> 
> Is it supposed to be ok to have multiple lines in haresources?
> 
> Example:
> 
> director1 10.0.0.1 script1
> director1 10.0.0.2 script2
> 
> Or, does it have to be a single line:
> 
> director1 10.0.0.1 10.0.0.2 script1 script2


It is supposed to be OK to have two independent resource groups for the same 
machine.  Unfortunately, there is a bug in the IPaddr takeover module which 
is exercised when you opt for two lines.  Both of them try and configure 
their IP as eth0:1 (or whatever).

So, until someone sends a patch, don't make two independent resource groups 
which both have IP addresses associated with them.

Of course, you're more than welcome to be the person who sends us that patch ;-)

	-- Alan Robertson
	   alanr at unix.sh




More information about the Linux-HA mailing list