PDA

View Full Version : Create Cluster IP with crm configure



christianHu
22-Dec-2011, 21:36
Hey, I setup a cluster ip using crm configure. When one node is booting,
the ressource is switching to the other node.

But is it possible to check, wether the interface does have a link or
is down ?

I like to switch the ressource to the 2nd node, when the interface goes
down (ifdown) or when the cable gots unplugged.

Any ideas how to realize ?

CHris


--
christianHu
------------------------------------------------------------------------
christianHu's Profile: http://forums.novell.com/member.php?userid=121669
View this thread: http://forums.novell.com/showthread.php?t=449952

MoserHans
23-Dec-2011, 09:46
christianHu;2163337 Wrote:
> Hey, I setup a cluster ip using crm configure. When one node is booting,
> the ressource is switching to the other node.
>
> But is it possible to check, wether the interface does have a link or
> is down ?
>
> I like to switch the ressource to the 2nd node, when the interface goes
> down (ifdown) or when the cable gots unplugged.
>
> Any ideas how to realize ?
Check for the primitve ping(d) (ocf:pacemaker:ping).
Configure the recource to check for addresses and then combine this
recource to the one you want to migrate to another node when
connectivity on the first node sinks to the level you defined.


--
MoserHans
------------------------------------------------------------------------
MoserHans's Profile: http://forums.novell.com/member.php?userid=53101
View this thread: http://forums.novell.com/showthread.php?t=449952