Re: [Pacemaker] network interface as a cluster resource (solved with patch)

2011-03-14 Thread Dejan Muhamedagic
Hi, On Mon, Mar 14, 2011 at 05:32:19PM +0300, Pavel Levshin wrote: > 14.03.2011 17:00, Klaus Darilion пишет: >> I wonder how IPaddr2's find_interface() behaves if the IP address is >> configured on multiple interfaces. Which netmask do you configure on the >> loopback interface, /24 or the same as

Re: [Pacemaker] network interface as a cluster resource (solved with patch)

2011-03-14 Thread Pavel Levshin
14.03.2011 17:00, Klaus Darilion пишет: I wonder how IPaddr2's find_interface() behaves if the IP address is configured on multiple interfaces. Which netmask do you configure on the loopback interface, /24 or the same as on the physical interface? We use /32 netmask on loopback. And now we do

Re: [Pacemaker] network interface as a cluster resource (solved with patch)

2011-03-14 Thread Klaus Darilion
Am 14.03.2011 12:49, schrieb Pavel Levshin: > 14.03.2011 12:27, Klaus Darilion пишет: 2. before adding the IP address, it will delete the IP address if the address is already configured (on any interface, with any netmask). Thus the "add" will always work. >>> This particular

Re: [Pacemaker] network interface as a cluster resource (solved with patch)

2011-03-14 Thread Klaus Darilion
Am 14.03.2011 12:49, schrieb Pavel Levshin: > 14.03.2011 12:27, Klaus Darilion пишет: 2. before adding the IP address, it will delete the IP address if the address is already configured (on any interface, with any netmask). Thus the "add" will always work. >>> This particular

Re: [Pacemaker] network interface as a cluster resource (solved with patch)

2011-03-14 Thread Pavel Levshin
14.03.2011 12:27, Klaus Darilion пишет: 2. before adding the IP address, it will delete the IP address if the address is already configured (on any interface, with any netmask). Thus the "add" will always work. This particular part is not good. The same address could be configured on other inter

Re: [Pacemaker] network interface as a cluster resource (solved with patch)

2011-03-14 Thread Klaus Darilion
Am 12.03.2011 10:36, schrieb Pavel Levshin: > 10.03.2011 21:25, Klaus Darilion: >> 2. before adding the IP address, it will delete the IP address if the >> address is already configured (on any interface, with any netmask). Thus >> the "add" will always work. > > This particular part is not good

Re: [Pacemaker] network interface as a cluster resource (solved with patch)

2011-03-12 Thread Pavel Levshin
10.03.2011 21:25, Klaus Darilion: 2. before adding the IP address, it will delete the IP address if the address is already configured (on any interface, with any netmask). Thus the "add" will always work. This particular part is not good. The same address could be configured on other interface

Re: [Pacemaker] network interface as a cluster resource (solved with patch)

2011-03-10 Thread Klaus Darilion
I fixed a bug in the patch. regards Klaus Am 10.03.2011 19:25, schrieb Klaus Darilion: > Am 08.03.2011 13:32, schrieb Klaus Darilion: >> Hi! >> >> Instead of adding a virtual IP address to an interface >> (ocf:heartbeat:IPaddr2), how do I manage a physical interface? Are there >> any special reso

Re: [Pacemaker] network interface as a cluster resource (solved with patch)

2011-03-10 Thread Klaus Darilion
Am 08.03.2011 13:32, schrieb Klaus Darilion: > Hi! > > Instead of adding a virtual IP address to an interface > (ocf:heartbeat:IPaddr2), how do I manage a physical interface? Are there > any special resource scripts? Hi! I tried to reuse ocf:heartbeat:IPaddr2 to manage and IP address as primary