[Pacemaker] Reg. Breaking dependency loop

2014-08-21 Thread ESWAR RAO
Hi All. I have a 3 node setup which runs corosync+pacemaker. # corosync -v Corosync Cluster Engine, version '2.3.3' Copyright (c) 2006-2009 Red Hat, Inc. # pacemakerd --version Pacemaker 1.1.10 I am getting Breaking dependency loop errors. But from below configuration I don't see any dependancis

[Pacemaker] process not getting started after a failure

2014-07-22 Thread ESWAR RAO
Hi All, I have a 3 node cluster (node1,node2,node3). The oc_pluginhandler resource is running in clone mode on 2 nodes as: primitive oc_pluginhandler lsb:pluginhandler \ meta allow-migrate="tr

[Pacemaker] monitor operation

2014-06-18 Thread ESWAR RAO
Hi All, I am having a setup of 3 nodes custer (HB+pacemaker) If I add a resource to the cluster, just wanted to know if the monitor operation is invoked periodically from DC node (or) local node itself does monitor and report status to DC node. >From logs I could see, for successful monitor oper

[Pacemaker] one node not always joining the 3-node cluster[Welcome reply not received from: node3]

2014-06-10 Thread ESWAR RAO
Hi, I have a 3 node cluster [node1 ,node2, node3] HB+pacemaker setup. All config files and auth files are same on all the 3 nodes. But strangely always node3 is unable to join cluster group. In the ha logs of DC node, node2 I could see below logs: Jun 03 11:19:27 node2 crmd: [9637]: ERROR: crm_t

[Pacemaker] /usr/lib/ocf/resource.d//heartbeat/IPaddr2: Cannot fork

2014-06-03 Thread ESWAR RAO
eta_notify=[false] CRM_meta_clone_node_max=[1] CRM_meta_clone=[0] CRM_meta_clone_max=[2] CRM_meta_interval=[15000] ip=[192.168.101.68] nic=[lo] CRM_meta_globally_unique=[false] cancelled May 23 16:19:02 nvsd-59 lrmd: [15878]: info: rsc:oc_nvp_vip:0 stop[189] (pid 27111 Thanks Eswar Rao

Re: [Pacemaker] location anti affinity rule not working

2014-05-01 Thread ESWAR RAO
14.el6_5.3-368c726 \ cluster-infrastructure="classic openais (with plugin)" \ expected-quorum-votes=3 \ stonith-enabled=false \ cluster-recheck-interval=3min Thanks Eswar On Fri, May 2, 2014 at 10:21 AM, Andrew Beekhof wrote: > > On 2 May 2014, at 2:40 pm,

Re: [Pacemaker] location anti affinity rule not working

2014-05-01 Thread ESWAR RAO
: > 02.05.2014 03:47, ESWAR RAO wrote: > > Hi All, > > > > I am working on 3 node cluster with corosync+pacemaker on RHEL 6. > > Eventhough I applied anti-affinity the app is still trying to run on 3rd > > node. > > > > # rpm -qa|grep corosync > > corosy

[Pacemaker] location anti affinity rule not working

2014-05-01 Thread ESWAR RAO
Hi All, I am working on 3 node cluster with corosync+pacemaker on RHEL 6. Eventhough I applied anti-affinity the app is still trying to run on 3rd node. # rpm -qa|grep corosync corosync-1.4.1-17.el6_5.1.x86_64 corosynclib-1.4.1-17.el6_5.1.x86_64 # rpm -qa | grep -i pacemaker pacemaker-1.1.10-14.e

[Pacemaker] [Could not determin the current cluster type] in heartbeat+pacemaker on rhel6

2014-04-29 Thread ESWAR RAO
Hi All, I am trying to install heartbeat and pacemaker on RHEL system. The same configuration was working correctly on ubuntu. Can someone please help me to correct the configuration?? # cat /etc/ha.d/ha.cf debugfile /var/log/ha-d

Re: [Pacemaker] Remote node not responding error

2014-03-19 Thread ESWAR RAO
Hi Andrew, thanks for the response. I configured the resources only when all the 3 nodes were online and DC was elected. heartbeat 3.0.5 pacemakerd --version Pacemaker 1.1.7 thanks Eswar On Thu, Mar 20, 2014 at 2:47 AM, Andrew Beekhof wrote: > > On 20 Mar 2014, at 12:03 am, ESWAR RAO

[Pacemaker] Remote node not responding error

2014-03-19 Thread ESWAR RAO
: .. its dumping the entire xml file I have the quorum as 2 . May I know what could be the reasons for this error and how can I avoid them?? Thanks Eswar Rao ___ Pacemaker mailing list: Pacemaker

Re: [Pacemaker] host came online but it was ignored

2013-12-17 Thread ESWAR RAO
Hi All, Can someone help me how to narrow down the problem?? Thanks Eswar On Wed, Dec 11, 2013 at 9:35 AM, ESWAR RAO wrote: > Hi Andrew, > > # pacemakerd --version > Pacemaker 1.1.7 > Written by Andrew Beekhof > > # ps -aef|grep heart > root 8926 1 0

[Pacemaker] monitoring redis in master-slave mode

2013-12-13 Thread ESWAR RAO
Hi All, I have a 3 node setup with HB+pacemaker. I wanted to run redis in master-slave mode using an ocf script. https://groups.google.com/forum/#!msg/redis-db/eY3zCKnl0G0/lW5fObHrjwQJ But with the below configuration , I am able to start in master-slave mode but pacemaker is not monitoring the r

Re: [Pacemaker] restart resources in clone mode on a single node

2013-12-12 Thread ESWAR RAO
Thanks Andreas . Its working. On Fri, Dec 13, 2013 at 3:53 AM, Andreas Kurz wrote: > On 2013-12-12 18:06, ESWAR RAO wrote: > > Hi All, > > > > Can someone please help me in restarting all resources of clone on > > single node. > > > > On 3 node setup w

[Pacemaker] restart resources in clone mode on a single node

2013-12-12 Thread ESWAR RAO
Hi All, Can someone please help me in restarting all resources of clone on single node. On 3 node setup with HB+pacemaker. I have configured all 3 resources in clone mode with max as 2 to start only on node1 and node2. +++ + crm configure primitive res_dummy_1

Re: [Pacemaker] Reg. violate uniqueness for parameter

2013-12-11 Thread ESWAR RAO
, emmanuel segura wrote: > why you have cluster-ip and nvp_vip primitivies with same ip address and > after that you cloned nvp_vip, what would you archive? > > > 2013/12/11 ESWAR RAO > >> small update. >> I could enforce changes using -F option so that I could get rid of &q

Re: [Pacemaker] Reg. violate uniqueness for parameter

2013-12-11 Thread ESWAR RAO
small update. I could enforce changes using -F option so that I could get rid of " Do you still want to commit?" On Wed, Dec 11, 2013 at 11:04 AM, ESWAR RAO wrote: > Hi All, > > When I ran below configuration on a 3 node HB+pacemaker setup I am getting > WARNING: Resour

[Pacemaker] Reg. violate uniqueness for parameter

2013-12-10 Thread ESWAR RAO
Hi All, When I ran below configuration on a 3 node HB+pacemaker setup I am getting WARNING: Resources cluster-ip,nvp_vip violate uniqueness for parameter "ip": "192.168.101.205" Do you still want to commit? y ++ # crm configure primitive clu

Re: [Pacemaker] Reg. trigger when node failure occurs

2013-12-10 Thread ESWAR RAO
de failure occurs the script should be triggered so that I can know OFFLINE nodes. Thanks Eswar On Tue, Dec 10, 2013 at 1:06 PM, Michael Schwartzkopff wrote: > Am Dienstag, 10. Dezember 2013, 12:19:25 schrieb ESWAR RAO: > > Hi All, > > > > Can someone please let me know if t

Re: [Pacemaker] host came online but it was ignored

2013-12-10 Thread ESWAR RAO
tag. I am installing through apt-get install Thanks Eswar On Wed, Dec 11, 2013 at 6:18 AM, Andrew Beekhof wrote: > version of pacemaker? > > On 10 Dec 2013, at 10:41 pm, ESWAR RAO wrote: > > > Hi Micheal, > > > > There are no firewall rules. > > > >

Re: [Pacemaker] host came online but it was ignored

2013-12-10 Thread ESWAR RAO
Schwartzkopff wrote: > Am Dienstag, 10. Dezember 2013, 14:30:32 schrieb ESWAR RAO: > > Hi All, > > > > I had a 3 node HB+pacemaker setup. When I restarted the nodes, all the > > nodes have HB restarted but they are not joining ONLINE group in "crm > >

[Pacemaker] host came online but it was ignored

2013-12-10 Thread ESWAR RAO
Hi All, I had a 3 node HB+pacemaker setup. When I restarted the nodes, all the nodes have HB restarted but they are not joining ONLINE group in "crm status". #vim /etc/ha.d/ha.cf .. node nvsd-1 nvsd-2 nvp-common crm respawn Dec 10 14:13:48 nvp-common

Re: [Pacemaker] Reg. trigger when node failure occurs

2013-12-09 Thread ESWAR RAO
Hi All, Can someone please let me know if there is a clean to trigger any script by pacemaker if HB on a node has stopped/node failed occurred if I ran HB+pacemaker on a 3 node setup?? Thanks Eswar On Mon, Dec 9, 2013 at 5:16 PM, ESWAR RAO wrote: > Hi All, > > I have a 3 node ( nod

[Pacemaker] Reg. trigger when node failure occurs

2013-12-09 Thread ESWAR RAO
Hi All, I have a 3 node ( node1, node2, node3 ) setup on which HB+pacemaker runs. I have resources running on clone mode on node1 and node2. Is there anyway to get a trigger when a node failure occurs i.e., can i trigger any script if the node3 fails (on which no resource runs) ??? Thanks Eswar

Re: [Pacemaker] Reg. clone and order attributes

2013-12-07 Thread ESWAR RAO
did clone for the 3 primitives But I couldn't understand why pacemaker is giving errors with this type of configuration. Thanks Eswar On Sat, Dec 7, 2013 at 2:47 PM, Vladislav Bogdanov wrote: > 06.12.2013 14:07, ESWAR RAO wrote: > > Hi Vladislav, > > > > I used the bel

Re: [Pacemaker] Reg. clone and order attributes

2013-12-06 Thread ESWAR RAO
2 and dummy_3 on node1. With a score of 500: it stopped only dummy_2 and restarted dummy_2 on node2. Thanks Eswar On Fri, Dec 6, 2013 at 12:20 PM, ESWAR RAO wrote: > > Thanks Vladislav. > I will work on that. > > Thanks > Eswar > > On Fri, Dec 6, 2013 at 11:05 AM

Re: [Pacemaker] Reg. cone and order attributes

2013-12-05 Thread ESWAR RAO
Thanks Vladislav. I will work on that. Thanks Eswar On Fri, Dec 6, 2013 at 11:05 AM, Vladislav Bogdanov wrote: > 06.12.2013 07:58, ESWAR RAO wrote: > > Hi All, > > > > Can someone help me with below configuration?? > > > > I have a 3 node HB setup (node1, node

[Pacemaker] Reg. cone and order attributes

2013-12-05 Thread ESWAR RAO
Hi All, Can someone help me with below configuration?? I have a 3 node HB setup (node1, node2, node3) which runs HB+pacemaker. I have 3 apps dummy1, dummy2 , dummy3 which needs to be run on only 2 nodes among the 3 nodes. By using the below configuration, I was able to run 3 resources on 2 nodes

Re: [Pacemaker] disable migration after the faicount

2013-11-26 Thread ESWAR RAO
Hi All, Even I tried with meta allow-migrate="false", but still the resource is migrating to another node. Thanks Eswar On Tue, Nov 26, 2013 at 12:55 PM, ESWAR RAO wrote: > Hi All, > > Can someone help me in the below configuration?? > > primitive oc_graphite lsb:

[Pacemaker] Reg. Current DC in crm status

2013-06-11 Thread ESWAR RAO
Hi All, I have a 3 node setup with heartbeat+pacemaker. After some time I observed that "Current DC:" keeps on changing between the 3 nodes. I also observed that the monitoring of resources is not happening correctly once the DC changes are observed. Any help on this issue. Thanks

Re: [Pacemaker] running same resource on both nodes through clone

2013-06-07 Thread ESWAR RAO
just associate a VIP with the active/active model. Thanks Eswar On Fri, Jun 7, 2013 at 9:04 PM, Dejan Muhamedagic wrote: > Hi, > > On Fri, Jun 07, 2013 at 08:47:19PM +0530, ESWAR RAO wrote: > > Hi Dejan, > > > > Thanks for the response. > > > > In our se

Re: [Pacemaker] running same resource on both nodes through clone

2013-06-07 Thread ESWAR RAO
2013 at 12:49:49PM +0530, ESWAR RAO wrote: > > Hi All, > > > > I am trying to run same RA on both nodes using clone. > > My set up is a 2 node cluster with HB+pacemaker. > > > > The RA aren't started aut

[Pacemaker] running same resource on both nodes through clone

2013-06-07 Thread ESWAR RAO
Hi All, I am trying to run same RA on both nodes using clone. My set up is a 2 node cluster with HB+pacemaker. The RA aren't started automatically. They are started through pacemaker only. + #crm configure primitive ha_vip ocf:IPaddr2 param

Re: [Pacemaker] target: 7 vs. rc: 0 error

2013-06-06 Thread ESWAR RAO
per http://linux-ha.org/wiki/LSB_Resource_Agents Please let me know if there's any chance that I can monitor the already running resources ? Thanks Eswar On Thu, Jun 6, 2013 at 7:06 PM, Florian Crouzat wrote: > Le 06/06/2013 11:40, ESWAR RAO a écrit :

[Pacemaker] target: 7 vs. rc: 0 error

2013-06-06 Thread ESWAR RAO
Hi All, Can someone help me in my below setup: I am trying to monitor RA on a 2 node cluster setup. The resources are already running before start of HB+pacemaker. + #crm configure primitive oc_d1 lsb::testd1 meta allow-migrate="true" mi

[Pacemaker] reg. clone/master-slave

2013-06-05 Thread ESWAR RAO
Hi All, Can someone please help me in below scenario: I want my daemon running on 2 nodes to be monitored using HB+pacemaker. The daemon is already running before the RA is configured using crm, #crm configure primitive my_daemon lsb::testd meta allow-migrate="true" is-managed="false" migration-

Re: [Pacemaker] resource running on both nodes

2013-06-03 Thread ESWAR RAO
proxyapp I couldn't find anywhere about one shot configuring the clone resource instead of primitive configuration first. Thanks Eswar On Mon, Jun 3, 2013 at 6:54 PM, Lars Marowsky-Bree wrote: > On 2013-06-03T18:22:39, ESWAR RAO wrote: > > > Hi All, > > > > Can s

[Pacemaker] resource running on both nodes

2013-06-03 Thread ESWAR RAO
Hi All, Can someone please help me in my below setup?? I have 2 node setup with HB+pacemaker. I have my app running on both the nodes before the start of HB and pacemaker. Later I configured the crm as below: # crm configure primitive havip ocf:IPaddr2 params ip=192.168.101.205 cidr_netmask=32