Re: [Pacemaker] Removing resource from group without disturbing remaining resources in group

2013-06-06 Thread Florian Crouzat
Le 06/06/2013 17:29, Dejan Muhamedagic a écrit : Approximative syntax, do not blame me ! > >* crm configure property maintenance-mode=true >* crm resource stop R1 # it won't stop as it's in maintenance-mode A recent crmsh knows that it can delete a resource if maintenance-mode is set. Oh. Oka

Re: [Pacemaker] failed actions after resource creation

2013-06-06 Thread Andrew Beekhof
On 07/06/2013, at 2:52 AM, andreas graeper wrote: > > thanks awfully for all your answers. > i started reading about ha/cluster/drbd/pacemaker/.. two weeks ago. it is not > yet easy to precise my questions. > > different os on test-environment only, but i already decided to have equal os > f

Re: [Pacemaker] failed actions after resource creation

2013-06-06 Thread andreas graeper
thanks awfully for all your answers. i started reading about ha/cluster/drbd/pacemaker/.. two weeks ago. it is not yet easy to precise my questions. different os on test-environment only, but i already decided to have equal os for testing, too. crm configure < > Hi, > > On Thu, Jun 06, 2013 at 02

Re: [Pacemaker] Removing resource from group without disturbing remaining resources in group

2013-06-06 Thread Andreas Mock
Hi Florian, thank you very much for that method description. It seems that it does exactly what we want. By the way. It's the same use case as yours. Many IP for which we want a constraint handle (group). Thank you! Best regards Andreas Mock -Ursprüngliche Nachricht- Von: Florian Crouz

Re: [Pacemaker] Removing resource from group without disturbing remaining resources in group

2013-06-06 Thread Dejan Muhamedagic
Hi, On Thu, Jun 06, 2013 at 04:50:14PM +0200, Florian Crouzat wrote: > Le 06/06/2013 16:35, Andreas Mock a écrit : >> Hi all, >> >> is there a way to remove a resource from a group without >> disturbing the other resources in the group. >> >> The following example: >> - G1 has R1 R2 R3 >> - All re

Re: [Pacemaker] failed actions after resource creation

2013-06-06 Thread Dejan Muhamedagic
Hi, On Thu, Jun 06, 2013 at 02:28:45PM +0200, andreas graeper wrote: > hi, > in examples using crmsh to create a resource with constraints is an > interactive mode is used > > crm configure edit > > primitive B > > orderB_after_A > > colocation B_on_A > > commit > > end > qui

Re: [Pacemaker] failcount,start/stop-failure in crm_mon

2013-06-06 Thread Florian Crouzat
Le 06/06/2013 16:43, Vadym Chepkov a écrit : On Jun 6, 2013, at 10:29 AM, Wolfgang Routschka wrote: Hi, one question today about deleting start/stop error in crm_mon. How can I delete failure/errors in crm_mon without having to restart/refresh resources? crm resource cleanup some-resour

Re: [Pacemaker] failed actions after resource creation

2013-06-06 Thread Andreas Mock
Hi Andreas, just a comment while I guess what your misunderstanding may come from. When services are clustered you often see a filesystem resource which is moved between the cluster nodes and on top of that filesystem resource is a service (call it S) which is also handled by the cluster

Re: [Pacemaker] Removing resource from group without disturbing remaining resources in group

2013-06-06 Thread Florian Crouzat
Le 06/06/2013 16:35, Andreas Mock a écrit : Hi all, is there a way to remove a resource from a group without disturbing the other resources in the group. The following example: - G1 has R1 R2 R3 - All resources are started - Stopping R1 would cause a stop of R2 R3 - So, the idea was: * crm conf

Re: [Pacemaker] failcount,start/stop-failure in crm_mon

2013-06-06 Thread Vadym Chepkov
On Jun 6, 2013, at 10:29 AM, Wolfgang Routschka wrote: > Hi, > > one question today about deleting start/stop error in crm_mon. > > How can I delete failure/errors in crm_mon without having to restart/refresh > resources? crm resource cleanup some-resource __

Re: [Pacemaker] Announce: Making Resource Utilization Dynamic

2013-06-06 Thread David Vossel
- Original Message - > From: "Michael Schwartzkopff" > To: "The Pacemaker cluster resource manager" > Sent: Wednesday, June 5, 2013 1:44:56 PM > Subject: [Pacemaker] Announce: Making Resource Utilization Dynamic > > > > Hi, > > > > I was not satisfied with the situation that the uti

[Pacemaker] Removing resource from group without disturbing remaining resources in group

2013-06-06 Thread Andreas Mock
Hi all, is there a way to remove a resource from a group without disturbing the other resources in the group. The following example: - G1 has R1 R2 R3 - All resources are started - Stopping R1 would cause a stop of R2 R3 - So, the idea was: * crm configure edit => remove R1 from the group while r

Re: [Pacemaker] failed actions after resource creation

2013-06-06 Thread Florian Crouzat
Le 06/06/2013 16:25, andreas graeper a écrit : hi and thanks. (better sentences: i will give my best) Okay on inactive node there is actually only /etc/init.d/nfs and neither nfs-common nor nfs-kernel-server. is monitor not only looking for the running service on active node, but for the situ

[Pacemaker] failcount,start/stop-failure in crm_mon

2013-06-06 Thread Wolfgang Routschka
Hi, one question today about deleting start/stop error in crm_mon. How can I delete failure/errors in crm_mon without having to restart/refresh resources? Greetings Wolfgang ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.cluster

Re: [Pacemaker] failed actions after resource creation

2013-06-06 Thread andreas graeper
hi and thanks. (better sentences: i will give my best) on inactive node there is actually only /etc/init.d/nfs and neither nfs-common nor nfs-kernel-server. is monitor not only looking for the running service on active node, but for the situation on inactive node, too ? so i would have expected, th

Re: [Pacemaker] failed actions after resource creation

2013-06-06 Thread Florian Crouzat
Le 06/06/2013 15:49, andreas graeper a écrit : p_nfscommon_monitor_0 (node=linag, call=189, rc=5, status=complete): not installed Sounds obvious: "not installed". Node "linag" is missing some daemons/scripts , probably nfs-related. Check your nfs packages and configuration on both nodes,

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

2013-06-06 Thread Florian Crouzat
Le 06/06/2013 15:47, ESWAR RAO a écrit : Please let me know if there's any chance that I can monitor the already running resources ? That sentence makes no sense to me. As I said, you must not start resource from outside the cluster (runlevels). Let the resource-manager (pacemaker) start

[Pacemaker] exportfs monitor interval="10"

2013-06-06 Thread andreas graeper
hi, monitor sends every 10 seconds a message to syslog can i force only bad messages to be logged ? thanks andreas ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.

Re: [Pacemaker] failed actions after resource creation

2013-06-06 Thread andreas graeper
hi, i started lsb:nfs-common lsb:nfs-kernel-server ocf:heartbeat:exportfs everything running on Node0 (drbd:Master, clusterip,filesystem,..) nothing running on Node1 crm_mon shows: Failed actions: p_nfscommon_monitor_0 (node=linag, call=189, rc=5, status=complete): not installed 'linag'

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

2013-06-06 Thread ESWAR RAO
Hi Florian, Thanks fro the mail. In my resource scripts, i never returned with 7. In my lsb script (sample one) start)i created a file status) if file exists exit 0; else exit 3; stop) remove file restart) stop;start force-reload) restart return codes as per

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

2013-06-06 Thread Florian Crouzat
Le 06/06/2013 11:40, ESWAR RAO a écrit : 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_

[Pacemaker] Join my network on LinkedIn

2013-06-06 Thread Alejandro Maluje Aguayo
LinkedIn Alejandro Maluje Aguayo requested to add you as a connection on LinkedIn: -- I'd like to add you to my professional network on LinkedIn. Accept invitation from Alejandro Maluje Aguayo http://www.linkedin.com/e/-hmplp4-hhlz2

[Pacemaker] failed actions after resource creation

2013-06-06 Thread andreas graeper
hi, in examples using crmsh to create a resource with constraints is an interactive mode is used crm configure edit > primitive B > orderB_after_A > colocation B_on_A > commit > end quit when resource B depends on another resource A that is running once on Node0 (or as master

Re: [Pacemaker] Release candidate: 1.1.10-rc3

2013-06-06 Thread Andrew Beekhof
On 06/06/2013, at 3:41 PM, Larry Brigman wrote: > I pulled the git tree but it failed to build in a number of ways when trying > to build on centos 5.9. > > make rpm-dep: > > Checking for new repos for mirrors > Enabling epel-source repository > Enabling rpmfusion-free-updates-testing-sou

[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

Re: [Pacemaker] group resource starting parallel

2013-06-06 Thread Florian Crouzat
Le 05/06/2013 16:23, Wolfgang Routschka a écrit : Hi Guys, one question about group resource for starting parallel configuring with crmshell (Scientific Linux 64 with pacemaker 1.1.8-7, cman-3.0.12.1-49 and crmsh-1.2.5-55). in my 2 node cluster I´ll configured a group with 40 ip-address resou