Ho Thiago,

Heartbeat is deprecated and has not been developed in some time. There are no plans to restart development, either. It is _strongly_ advised that new setups use corosync + pacemaker. You can use the IPv6 resource agents with it, too.

The best place to look is on clusterlabs.org's "Cluster from Scratch" tutorial. It covers as the first example setting up an (IPv4) virtual IP address. It should be easy to adapt that to your IPv6 implementation. You will see two versions; One for crmsh and one for pcs. I would recommend the crmsh version for Ubuntu.

Cheers

On 06/17/2013 11:35 AM, lis...@adminlinux.com.br wrote:
Hi,


I'm using Ubuntu 12.04 + Heartbeat 3.0.5-3ubuntu2 to provide high
availability for some IP addresses.
I want to configure an IPv6 address on my haresources. I did this:

File /etc/heartbeat/haresources:

server.domain.com \
    192.168.2.62/32/eth1 \
    192.168.2.64/32/eth1 \
    192.168.2.72/32/eth1 \
    IPv6addr::2001:db8:38a5:8::2006/48/eth1 \
    MailTo::a...@domain.com

The IPv4 addresses work fine, but I'm not getting success with the IPv6
address.
My logs shows this message:
ResourceManager[22129]: info: Running /etc/ha.d/resource.d/IPv6addr
2001:db8:38a5:8 2006/48/eth1 start
ResourceManager[22129]: CRIT: Giving up resources due to failure of
IPv6addr::2001:db8:38a5:8::2006/48/eth1
ResourceManager[22129]: info: Running /etc/ha.d/resource.d/IPv6addr
2001:db8:38a5:8 2006/48/eth1 stop
ResourceManager[22129]: info: Retrying failed stop operation
[IPv6addr::2001:db8:38a5:8::2006/48/eth1]

Apparently there is a conflict between the characters '::' inside the
IPv6 address and the separator '::' used in the haresources. But I would
not like have to expand the IPv6 address.
Does anyone know a way to avoid this conflict?

Thanks!
--
Thiago Henrique
www.adminlinux.com.br







_______________________________________________
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


--
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

Reply via email to