Re: [Pacemaker] Trouble getting two node cluster to failover when network lost

2014-04-03 Thread Andrew Beekhof
On 21 Mar 2014, at 4:15 am, Aaron Wilson wrote: > OK, I tried the ping RA but my VIPs do not migrate when ping connection is > lost. I placed my two VIPs in a group and I believe I must have something > wrong with the scoring or location rules. Should I be using clone for the > ping RA? >

Re: [Pacemaker] Trouble getting two node cluster to failover when network lost

2014-03-20 Thread Aaron Wilson
Sorry... I sent the last message early by accident. L syslog line: Mar 20 09:59:53 baymaster-67 cib: [1846]: debug: cib_process_xpath: cib_query: //cib/status//node_state[@id='baymaster-67']//transient_attributes//nvpair[@name='pingd'] does not exist On Thu, Mar 20, 2014 at 10:15 AM, Aaron Wils

Re: [Pacemaker] Trouble getting two node cluster to failover when network lost

2014-03-20 Thread Aaron Wilson
OK, I tried the ping RA but my VIPs do not migrate when ping connection is lost. I placed my two VIPs in a group and I believe I must have something wrong with the scoring or location rules. Should I be using clone for the ping RA? What is a good way to check is ping is failing or succeeding and

Re: [Pacemaker] Trouble getting two node cluster to failover when network lost

2014-03-20 Thread Aaron Wilson
Thanks! On Thu, Mar 20, 2014 at 12:29 AM, Jan Friesse wrote: > Aaron Wilson napsal(a): > > Stefan, thanks for the reply. > > > > Having two nics is not for redundancy in my case. Resources on the > primary > > server are being accessed from both subnets at the same time. The > secondary > > ser

Re: [Pacemaker] Trouble getting two node cluster to failover when network lost

2014-03-20 Thread Jan Friesse
Aaron Wilson napsal(a): > Stefan, thanks for the reply. > > Having two nics is not for redundancy in my case. Resources on the primary > server are being accessed from both subnets at the same time. The secondary > server is to be a failover if the server goes down or if any of the > Ethernet por

Re: [Pacemaker] Trouble getting two node cluster to failover when network lost

2014-03-19 Thread Stefan Bauer
So you want to setup a ping ressource in each subnet. if your active node can not reach the ping node in one subnet, its an indication, that the node have lost its connectivity in that network. Mit freundlichen Grüßen Stefan Bauer -- Cubewerk GmbH Herzog-Otto-Straße 32 83308 Trostberg 08621 -

Re: [Pacemaker] Trouble getting two node cluster to failover when network lost

2014-03-19 Thread Aaron Wilson
Stefan, thanks for the reply. Having two nics is not for redundancy in my case. Resources on the primary server are being accessed from both subnets at the same time. The secondary server is to be a failover if the server goes down or if any of the Ethernet ports become disconnected for any reaso

Re: [Pacemaker] Trouble getting two node cluster to failover when network lost

2014-03-19 Thread Stefan Bauer
If you dont care about the second nics status, why do you even use it redundant? Stefan > Am 19.03.2014 um 19:13 schrieb "Aaron Wilson" : > > Hello, > > This is my first post and I am new to HA clusters. Let me start by thanking > everyone for their contributions to such a great project. >

[Pacemaker] Trouble getting two node cluster to failover when network lost

2014-03-19 Thread Aaron Wilson
Hello, This is my first post and I am new to HA clusters. Let me start by thanking everyone for their contributions to such a great project. I am really hoping to get pointed in the right direction so I can stop with the guessing. On Ubuntu 12.04 I am using corosync, cman and pacemaker I have t