John Zdunczyk wrote:
Hi,

I’m currently trying to set up a heartbeat cluster that fails over an IPaddress on a specific virtual interface (eth1:1 in my case). The task is accomplished by using the following line in my haresources file:

blue04 IPaddr2::192.168.5.5/24/eth1:1

This works just fine in release 2.0.3-9, but after having recently upgraded to 2.0.5-1, I noticed that a nasty error message is now printed every time the resource is checked (every 5 seconds in this case):

I can understand how that might be annoying ;-).

BUT, you should also understand that I think the code doesn't pay any attention to that parameter. Unless I'm mistaken, you got that virtual interface more by luck than anything else...

You might consider using IPaddr2 instead. By default it doesn't assign any name to the interface. Since it doesn't try and find a free interface number, it allows you to specify it instead as parameter.

I don't understand why it's calling findif for the monitor operation though... That sounds like a distinct bug :-( [Otherwise it wouldn't be called often]. Findif is designed to find an (unaliased) interface to put the resource on.

I see the bug :-(.

I'll file a bugzilla...

http://www.osdl.org/developer_bugzilla/show_bug.cgi?id=1259
[Of course, I could be wrong ;-)]

BUT, this isn't to say that the command has ever done what you wanted - except by coincidence. Unless I'm mistaken, that's still only working by the sheerest of coincidences.

--
    Alan Robertson <[EMAIL PROTECTED]>

"Openness is the foundation and preservative of friendship... Let me claim from you at all times your undisguised opinions." - William Wilberforce
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to