On Fri, Dec 10, 2010 at 02:52:16PM +0100, Lumir Jasiok wrote:
> Hi,
> 
> I am successfully running HA SMTP server with two nodes on IPv4, but now 
> I want to add support for IPv6 migration between the nodes. What will be 
> right format of line in haresources for one resource (postfix)? I am 
> running heartbeat version 3.0.3.
> 
> Currently I have line:
> 
> smtp-1 10.0.0.1 postfix
> 
> How should look line with IPv6 support? Is possible to specify IPv6 addr 
> on the new line like this:
> 
> smtp-1 IPv6addr::2001:718:10:10:0:0:0:43/64/eth0 postfix
>
> or resource must be unique? Somethink like this:
> 
> smtp-1 10.0.0.1::IPv6addr::2001:718:10:10:0:0:0:43/64/eth0 postfix

No. That does not make sense.

Note that anything that looks like an IPv4 ip address
is just a shorthand for IPaddr, so your first line is actually

smtp-1 IPaddr::10.0.0.1 postfix

you now likely want

smtp-1 IPaddr::10.0.0.1 IPv6addr::2001:718:10:10:0:0:0:43/64/eth0 postfix

you can put those on separate lines, if you want to, using backslash:

smtp-1  IPaddr::10.0.0.1                                \
        IPv6addr::2001:718:10:10:0:0:0:43/64/eth0       \
        postfix

-- 
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
_______________________________________________
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