Mailing List Archive

does heartbeat 3.0.4 use IP aliases under CentOS 6.5?
Under CentOS 5.9 (PAE kernel), I'm used to seeing an IP alias managed
by heartbeat 2.1.3, as seen from heartbeat's logs, here 'bond0:0':

2014/01/03_17:20:00 INFO: eval ifconfig bond0:0 172.20.242.52
netmask 255.255.0.0 broadcast 172.20.255.255

And as seen by 'ifconfig':

# ifconfig bond0:0
bond0:0 Link encap:Ethernet HWaddr 00:15:5D:0A:3E:D7
inet addr:172.20.242.52 Bcast:172.20.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500
Metric:1

But, on a CentOS 6.5 64-bit box, I'm provisioning, when I configure
heartbeat to manage an IP address as a resource, the IP is bound
to my interface (in this example, 172.20.217.250 is the managed resource.)

# /sbin/ip -o -f inet addr show
1: lo inet 127.0.0.1/8 scope host lo
6: bond0 inet 172.20.240.98/16 brd 172.20.255.255 scope global bond0
6: bond0 inet 172.20.217.250/16 brd 172.20.255.255 scope global secondary
bond0

There is no ip alias on 'bond0:0', and this managed IP is not seen
at all with 'ifconfig'. (It does seem to be receiving traffic.)

I've heard scuttle that Fedora Core is pushing the use of 'ip' over
'ipconfig', but I'm surprised to see ifconfig not reveal this
information at all.

Anyway, my question is: is this behavior (not using IP aliases) a
feature of heartbeat 3.0.x, or is this an artifact of the CentOS
plumbing the heartbeat invokes? I didn't see anything in the
changelog in a quick perusal.

My environment:

# cat /etc/redhat-release
CentOS release 6.5 (Final)
# rpm -q heartbeat
heartbeat-3.0.4-2.el6.x86_64

As per https://bugzilla.redhat.com/show_bug.cgi?id=1028127 I've
installed heartbeat-3.0.4-2 from EPEL. (Wonder why 3.0.5 isn't
available yet?)

Thanks for any feedback you may have...

--
Brian Reichert <reichert@numachi.com>
BSD admin/developer at large
_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems
Re: does heartbeat 3.0.4 use IP aliases under CentOS 6.5? [ In reply to ]
On 01/03/2014 04:44 PM, Brian Reichert wrote:

> Anyway, my question is: is this behavior (not using IP aliases) a
> feature of heartbeat 3.0.x, or is this an artifact of the CentOS
> plumbing the heartbeat invokes? I didn't see anything in the
> changelog in a quick perusal.

I think it's a side-effect of RedHat going all entrerprisey with
OpenStack (RDO) and having to bite the pacemaker bullet as a result. I'm
told heartbeat resource scripts have been just wrappers around
pacemaker's resource-agents for some time -- but RedHat's packages
haven't been touched in years. Until now.

--
Dimitri Maziuk
Programmer/sysadmin
BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu
Re: does heartbeat 3.0.4 use IP aliases under CentOS 6.5? [ In reply to ]
On 03/01/14 06:31 PM, Dimitri Maziuk wrote:
> On 01/03/2014 04:44 PM, Brian Reichert wrote:
>
>> Anyway, my question is: is this behavior (not using IP aliases) a
>> feature of heartbeat 3.0.x, or is this an artifact of the CentOS
>> plumbing the heartbeat invokes? I didn't see anything in the
>> changelog in a quick perusal.
>
> I think it's a side-effect of RedHat going all entrerprisey with
> OpenStack (RDO) and having to bite the pacemaker bullet as a result. I'm
> told heartbeat resource scripts have been just wrappers around
> pacemaker's resource-agents for some time -- but RedHat's packages
> haven't been touched in years. Until now.

It's also a reflection that heartbeat itself hasn't been developed in
years, and there is no plan to restart development either. Linbit still
maintains the existing code and provides support for it, but anyone
starting on new projects should really consider corosync + pacemaker.

Even Red Hat's cman + rgmanager is gone in RHEL 7.

This is a result of a long merger process that started in 2008. The two
independent HA stacks (RHCS and Linux-HA) was dividing the community and
causing a lot of reinvention of the wheel. In the last 5~6 years, both
teams have been working hard to unify under one common open-source HA
stack. Pacemaker + corosync v2+ is the result of all that hard work. :)

--
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without
access to education?
_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems
Re: does heartbeat 3.0.4 use IP aliases under CentOS 6.5? [ In reply to ]
On 2014-01-03T20:56:42, Digimer <lists@alteeve.ca> wrote:

> causing a lot of reinvention of the wheel. In the last 5~6 years, both teams
> have been working hard to unify under one common open-source HA stack.
> Pacemaker + corosync v2+ is the result of all that hard work. :)

Yes. We know finally have one stack everywhere. Yay!

To keep our spirits up, we just admin it completely differently ;-)



Regards,
Lars

--
Architect Storage/HA
SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde

_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems
Re: does heartbeat 3.0.4 use IP aliases under CentOS 6.5? [ In reply to ]
On 1/4/2014 10:39 AM, Lars Marowsky-Bree wrote:
> On 2014-01-03T20:56:42, Digimer <lists@alteeve.ca> wrote:
>
>> causing a lot of reinvention of the wheel. In the last 5~6 years, both teams
>> have been working hard to unify under one common open-source HA stack.
>> Pacemaker + corosync v2+ is the result of all that hard work. :)
>
> Yes. We know finally have one stack everywhere. Yay!

Yah, ein stack uber alles! You'd note that even the cpu market has
settled on two kinds of music, not one...

Dima

_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems
Re: does heartbeat 3.0.4 use IP aliases under CentOS 6.5? [ In reply to ]
On 04/01/14 11:39 AM, Lars Marowsky-Bree wrote:
> On 2014-01-03T20:56:42, Digimer <lists@alteeve.ca> wrote:
>
>> causing a lot of reinvention of the wheel. In the last 5~6 years, both teams
>> have been working hard to unify under one common open-source HA stack.
>> Pacemaker + corosync v2+ is the result of all that hard work. :)
>
> Yes. We know finally have one stack everywhere. Yay!
>
> To keep our spirits up, we just admin it completely differently ;-)
>
>
>
> Regards,
> Lars

Hahahaha! :D

*Something* had to be different, and there could have been worse places
for it. :)

--
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without
access to education?
_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems