[Linux-HA] Heartbeat IPv6addr OCF

2013-03-24 Thread tubaguy50035
I'm trying to add an IPv6 address to a load balancer cluster. I set up the primitives like so: primitive ip3 ocf:heartbeat:IPv6addr \ params ipv6addr=2600:3c00::0034:c007 nic=eth0:3 \ op monitor interval=5s \ meta target-role=Started primitive ip3arp ocf:heartbeat:SendArp \

Re: [Linux-HA] Heartbeat IPv6addr OCF

2013-03-24 Thread Thomas Glanzmann
Hello, ipv6addr=2600:3c00::0034:c007 from the manpage of ocf_heartbeat_IPv6addr it looks like that you have to specify the netmask so try: ipv6addr=2600:3c00::0034:c007/64 assuiming that you're in a /64. Cheers, Thomas ___ Linux-HA

Re: [Linux-HA] Heartbeat IPv6addr OCF

2013-03-24 Thread Nick Walke
Thanks for the tip, however, it did not work. That's actually a /116. So I put in 2600:3c00::0034:c007/116 and am getting the same error. I requested that it restart the resource as well, just to make sure it wasn't the previous error. Nick On Sun, Mar 24, 2013 at 3:55 AM, Thomas

Re: [Linux-HA] Heartbeat IPv6addr OCF

2013-03-24 Thread emmanuel segura
Hello Nick Try to use nic=eth0 instead of nic=eth0:3 thanks 2013/3/24 Nick Walke tubaguy50...@gmail.com Thanks for the tip, however, it did not work. That's actually a /116. So I put in 2600:3c00::0034:c007/116 and am getting the same error. I requested that it restart the resource

Re: [Linux-HA] Heartbeat IPv6addr OCF

2013-03-24 Thread Thomas Glanzmann
Hello Nick, Thanks for the tip, however, it did not work. That's actually a /116. So I put in 2600:3c00::0034:c007/116 and am getting the same error. I requested that it restart the resource as well, just to make sure it wasn't the previous error. now, I had to try it: node

[Linux-HA] Many Resources Dependent on One Resource Group

2013-03-24 Thread Robinson, Eric
I've asked this question on the list before and never received a good answer, so here goes again. I've also read the Pacemaker documentation, but I just cannot seem to get this. I have a drbd resource, p_drbd0. I have a resource group, g_clust01, which consists of a filesystem (p_fs_clust01)

Re: [Linux-HA] Many Resources Dependent on One Resource Group

2013-03-24 Thread Robinson, Eric
In the simplest terms, we currently have resources: A = drbd B = filesystem C = cluster IP D thru J = mysql instances. Resource group G1 consists of resources B through J, in that order, and is dependent on resource A. This fails over fine, but it has the serious disadvantage that if you stop

Re: [Linux-HA] Heartbeat IPv6addr OCF

2013-03-24 Thread Greg Woods
On Sun, 2013-03-24 at 01:36 -0700, tubaguy50035 wrote: params ipv6addr=2600:3c00::0034:c007 nic=eth0:3 \ Are you sure that's a valid IPV6 address? I get headaches every time I look at these, but it seems a valid address is 8 groups, and you've got 5 there. Maybe you mean

Re: [Linux-HA] Heartbeat IPv6addr OCF

2013-03-24 Thread Nick Walke
I don't know what I'm doing wrong then. I copied exactly what you put in and now I'm getting these errors: ipv6test_start_0 (node=tek-lin-lb1, call=25, rc=1, status=complete): unknown error ipv6test_start_0 (node=tek-lin-lb2, call=20, rc=1, status=complete): unknown error Looking in my syslog I

Re: [Linux-HA] Heartbeat IPv6addr OCF

2013-03-24 Thread Thomas Glanzmann
Hello Nick, Anything I need to do to allow IPv6... or something? I agree with Greg here. Have you tried setting the address manually? ip -6 addr add ip/cidr dev eth0 ip -6 addr show dev eth0 ip -6 addr del ip/cidr dev eth0 ip -6 addr show dev eth0 (node-62) [~] ip -6 addr add

Re: [Linux-HA] Heartbeat IPv6addr OCF

2013-03-24 Thread Nick Walke
From the first node: nick@tek-lin-lb1:~$ sudo ip -6 addr add 2600:3c00::34:c007/116 dev eth0 nick@tek-lin-lb1:~$ sudo ip -6 addr show dev eth0 3: eth0: BROADCAST,MULTICAST,UP,LOWER_UP mtu 1500 qlen 1000 inet6 2600:3c00::34:c007/116 scope global valid_lft forever preferred_lft forever

Re: [Linux-HA] Many Resources Dependent on One Resource Group

2013-03-24 Thread David Coulson
On 3/24/13 12:58 PM, Robinson, Eric wrote: In the simplest terms, we currently have resources: A = drbd B = filesystem C = cluster IP D thru J = mysql instances. Resource group G1 consists of resources B through J, in that order, and is dependent on resource A. This fails over fine,

Re: [Linux-HA] Heartbeat IPv6addr OCF

2013-03-24 Thread Thomas Glanzmann
Hello Nick, I shouldn't be able to do that if the IPv6 module wasn't loaded, correct? that is correct. I tried modifying my netmask to copy yours. And I get the same error, you do: ipv6test_start_0 (node=node-62, call=6, rc=1, status=complete): unknown error So probably a bug in the

Re: [Linux-HA] Heartbeat IPv6addr OCF

2013-03-24 Thread Nick Walke
This the correct place to report bugs? https://github.com/ClusterLabs/resource-agents Nick On Sun, Mar 24, 2013 at 10:45 PM, Thomas Glanzmann tho...@glanzmann.dewrote: Hello Nick, I shouldn't be able to do that if the IPv6 module wasn't loaded, correct? that is correct. I tried

Re: [Linux-HA] Many Resources Dependent on One Resource Group

2013-03-24 Thread Robinson, Eric
meta ordered=false Wouldn't it that make it se we could not be sure that the filesystem and cluster IP start before the MySQL instances? Or you could take the MySQL instances out of the group and make them each individually dependent on drbd/filesystem with a collocation/order