Hello,

I tried to get the Heartbeat + Pacemaker working on my new test box which is
running Fedora 14.  It appears that there are some issues and 
http://old.nabble.com/Problem-with-Heartbeat-3.0-%2B-Pacemaker-1.1-ts30629395.html
This Posting  provides more information on the issue I encountered.

For now, I have written my little init script and added it as Resources
Agent to R1 version in order to take care of the floating MAC address
requirement.  I am sure I will revisit the Heartbeat + Pacemaker CRM in near
future as like to take some of the cool functionality it provides.

Thank you for all your help and advice bcnx.

Avestan 



bcnx wrote:
> 
> On Sunday 02 January 2011 00:38:01 Avestan wrote:
>> Hello again,
>> 
>> Let me see if I understanding this correctly. When you talked about
>> Pacemaker heartbeat, you are referring to the Heartbeat daemon combined
>> with a cluster resource manager (CRM) and Pacemaker is used as the
>> cluster
>> resource manager (CRM) for clusters based on Heartbeat.
>> 
>> The heartbeat installed on my machine is "heartbeat - 2.0.8-1" which I
>> believe is capable of taking advantage of CRM. Consequently, I only need
>> to
>> look into pacemaker to provide the Cluster Resource Manager.
>> 
>> As I am reading and searching about the pacemaker  and how adding it to
>> the
>> current heartbeat as the CRM, I appreciate if there is any article,
>> document, or information you can point me.
>> 
>> Thank you very much for your help.
>> 
>> Avestan
>> 
>> bcnx wrote:
>> > On Saturday 01 January 2011 11:55:22 Avestan wrote:
>> >> Hello,
>> >> 
>> >> Thank you for your reply. I have actually looked into IPaddr2 and I am
>> >> not
>> >> sure if this functionality is available in IPaddr2. Here is the
>> >> description
>> >> of the IPaddr2 on my system:
>> >> 
>> >> # Description:  wrapper of OCF RA IPaddr2, based on original heartbeat
>> >> RA.
>> >> #               See OCF RA IPaddr2 for more information.
>> >> #
>> >> # Author:       Xun Sun <[email protected]>
>> >> # Support:      [email protected]
>> >> # License:      GNU General Public License (GPL)
>> >> # Copyright:    (C) 2005 International Business Machines
>> >> #
>> >> #       This script manages IP alias IP addresses
>> >> #
>> >> #       It can add an IP alias, or remove one.
>> >> #
>> >> #       usage: $0
>> >> ip-address[/netmaskbits[/interface[:label][/broadcast]]]
>> >> \ #           {start|stop|status|monitor}
>> >> #
>> >> #       The "start" arg adds an IP alias.
>> >> #
>> >> #       Surprisingly, the "stop" arg removes one.       :-)
>> >> #
>> >> 
>> >> This is how I am using IPaddr in the /etc/ha.d/haresources file for my
>> >> floating IP address:
>> >> 
>> >> IPaddr::192.168.1.9/24/eth0
>> >> 
>> >> What would be line of code in needed in /etc/ha.d/haresources which
>> >> offers
>> >> Floating IP and MAC?
>> >> 
>> >> Thanks,
>> >> 
>> >> Avestan
>> >> 
>> >> bcnx wrote:
>> >> > If you take the IPaddr2 resource agent you can assign a MAC address
>> to
>> >> > your
>> >> > floating IP address.
>> >> > 
>> >> > 
>> >> > B.
>> >> > _______________________________________________
>> >> > Linux-HA mailing list
>> >> > [email protected]
>> >> > http://lists.linux-ha.org/mailman/listinfo/linux-ha
>> >> > See also: http://linux-ha.org/ReportingProblems
>> > 
>> > Hi,
>> > 
>> > I'm referring to the Pacemaker Heartbeat Resource Agent.
>> > I guess you are on the old Heartbeat without CRM. If you look at the
>> > script it
>> > should be possible to change it to have a particular MAC address used.
>> > 
>> > B.
>> > _______________________________________________
>> > Linux-HA mailing list
>> > [email protected]
>> > http://lists.linux-ha.org/mailman/listinfo/linux-ha
>> > See also: http://linux-ha.org/ReportingProblems
> 
> 
> Hi,
> 
> basically you are using Heartbeat V1, while Pacemaker and the resource
> agent I 
> referred to need to be situated within Heartbeat V2. I'm not really
> convinced 
> you  need to switch to V2 to get the MAC thing going, but there are other
> good 
> reasons to do so.
> 
> http://www.clusterlabs.org is the main place to be for this. Personally, I 
> like the docs on the Novell site. 
> 
> A word of caution though: the technology is very powerful and flexible,
> but 
> obviously also more challenging in understanding and setting up. Though 
> sharing an IP address is the simplest thing you can do on it.
> 
> Good luck and feel free to throw questions when the docs are not
> conclusive.
> 
> B.
>  
> 
> 
> 
> 
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Floating-MAC-Address-and-Heartbeat-resources-tp30557859p30642700.html
Sent from the Linux-HA mailing list archive at Nabble.com.

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to