Re: [Pacemaker] [Problem]A monitor of Master stops when crm command repeat the movement of the resource.

2011-11-10 Thread renayama19661014
Hi All, In the first place lrmd does not return the result of the cancellation request that made pending. However, a result of the cancellation is necessary for crmd. Will not the following correction be necessary? (The correction does not consider errors properly; is temporary.) example : (s

Re: [Pacemaker] Live migration with order constraints

2011-11-10 Thread Andreas Kurz
Replying to myself On 11/11/2011 12:43 AM, Andreas Kurz wrote: > On 11/10/2011 07:59 PM, Dmitry Golubev wrote: > Actually, it's called ManageVE. Well, I wonder what else an RA > could do other than manage :-> ah, yes .. ManageVE ... thx >>> >>> What I meant to say is that i

Re: [Pacemaker] Live migration with order constraints

2011-11-10 Thread Dmitry Golubev
> ManageVE has migration support using chkpt/restore since resource-agents > version 1.0.4. but if I understand the OpenVZ migration concept > correct ... please someone correct me if I'm wrong! ... there is no need > for a shared storage. > > The vzmigrate script rsyncs complete data, config

Re: [Pacemaker] Live migration with order constraints

2011-11-10 Thread Andreas Kurz
On 11/10/2011 07:59 PM, Dmitry Golubev wrote: Actually, it's called ManageVE. Well, I wonder what else an RA could do other than manage :-> >>> >>> ah, yes .. ManageVE ... thx >> >> What I meant to say is that it's really hard to recall such a >> name. > > With all due respect, ManageVE

Re: [Pacemaker] Repeating Log entries of ping resource

2011-11-10 Thread Andreas Kurz
On 11/10/2011 04:28 PM, Senftleben, Stefan (itsc) wrote: > Thx, i tried to tune the parameter, but the errors still arrived. > After restarting the corosysnc-daemon on each node the errors disappeared. Restarting corosync for changes to take effect? Should really not be necessary. > > The brings

[Pacemaker] problem with location and role

2011-11-10 Thread Marcus
Hi there, I have a problem with pacemaker 1.0.9 on heartbeat on a 2 node cluster. I created some resources and a dummy resource to move around. here is the config: node $id="07c9653f-22c3-47be-8b52-cd8da183ce2e" debian60-clnode1 node $id="f97d4817-7043-4644-bcf0-57159233acea" debian60-clnode2

Re: [Pacemaker] Live migration with order constraints

2011-11-10 Thread Dmitry Golubev
> > > Actually, it's called ManageVE. Well, I wonder what else an RA > > > could do other than manage :-> > > > > ah, yes .. ManageVE ... thx > > What I meant to say is that it's really hard to recall such a > name. With all due respect, ManageVE does not have live migration. It just manages st

Re: [Pacemaker] Pure-FTPd resource script is wrong (at least on ubuntu and probably debian)

2011-11-10 Thread Mailing List SVR
Il 10/11/2011 16:30, Dejan Muhamedagic ha scritto: On Tue, Nov 08, 2011 at 07:24:48PM +0100, Mailing List SVR wrote: Il 08/11/2011 16:30, Dejan Muhamedagic ha scritto: Hi, On Mon, Nov 07, 2011 at 06:48:22PM +0100, Mailing List SVR wrote: Hi, thanks for your answer Il 07/11/2011 18:27, Dejan

Re: [Pacemaker] Live migration with order constraints

2011-11-10 Thread Dejan Muhamedagic
On Thu, Nov 10, 2011 at 04:10:29PM +0100, Andreas Kurz wrote: > On 11/10/2011 03:45 PM, Dejan Muhamedagic wrote: > > Hi, > > > > On Thu, Nov 10, 2011 at 01:01:12PM +0100, Andreas Kurz wrote: > >> On 11/10/2011 12:48 PM, Dmitry Golubev wrote: > >>> Hi, > >>> > > I am trying to make a live migra

Re: [Pacemaker] Reloading a resource after a failover

2011-11-10 Thread Max Williams
Sorry to bump an old thread but I just thought I'd post an update as to how I solved this issue with Pacemaker. I bit of a work-around but it does work I configured a "ocf:heartbeat:anything" resource that runs "rndc reload", like this: primitive rndc_reload ocf:heartbeat:anything params bin

Re: [Pacemaker] Pure-FTPd resource script is wrong (at least on ubuntu and probably debian)

2011-11-10 Thread Dejan Muhamedagic
On Tue, Nov 08, 2011 at 07:24:48PM +0100, Mailing List SVR wrote: > Il 08/11/2011 16:30, Dejan Muhamedagic ha scritto: >> Hi, >> >> On Mon, Nov 07, 2011 at 06:48:22PM +0100, Mailing List SVR wrote: >>> Hi, >>> >>> thanks for your answer >>> >>> Il 07/11/2011 18:27, Dejan Muhamedagic ha scritto: >>>

Re: [Pacemaker] Repeating Log entries of ping resource

2011-11-10 Thread Senftleben, Stefan (itsc)
Thx, i tried to tune the parameter, but the errors still arrived. After restarting the corosysnc-daemon on each node the errors disappeared. The brings me to next question: --> How do I activate new configurations, that I have made wir crm-cmd to a resource? Regards, Stefan -Ursprüngliche

Re: [Pacemaker] Live migration with order constraints

2011-11-10 Thread Andreas Kurz
On 11/10/2011 03:45 PM, Dejan Muhamedagic wrote: > Hi, > > On Thu, Nov 10, 2011 at 01:01:12PM +0100, Andreas Kurz wrote: >> On 11/10/2011 12:48 PM, Dmitry Golubev wrote: >>> Hi, >>> > I am trying to make a live migration of virtual machines (custom resource > agent). The idea is to suspend

Re: [Pacemaker] Live migration with order constraints

2011-11-10 Thread Dejan Muhamedagic
Hi, On Thu, Nov 10, 2011 at 01:01:12PM +0100, Andreas Kurz wrote: > On 11/10/2011 12:48 PM, Dmitry Golubev wrote: > > Hi, > > > >>> I am trying to make a live migration of virtual machines (custom resource > >>> agent). The idea is to suspend the virtual machine on one node, remount a > >>> files

Re: [Pacemaker] Repeating Log entries of ping resource

2011-11-10 Thread Andreas Kurz
On 11/10/2011 01:26 PM, Senftleben, Stefan (itsc) wrote: > Okay, need I have to tune something to get rid oft he log entries? increase the interval or tune the timeout/retry settings for your ping resources ... I guess the defaults in your ping RA version don't fit when using such a short interval

Re: [Pacemaker] Question: 2 node cluster in two datacenters - how to avoid split brain

2011-11-10 Thread Senftleben, Stefan (itsc)
After discussions with a teammate exists a second network connection to the other datacenter. so my question is answered. thanks to all. -Ursprüngliche Nachricht- Von: Andreas Kurz [mailto:andr...@hastexo.com] Gesendet: Donnerstag, 10. November 2011 13:26 An: pacemaker@oss.clusterlabs.or

Re: [Pacemaker] Resources are not started

2011-11-10 Thread Matti Linnanvuori
Dejan: > How long does the monitor take? I didn't see your configuration, > but if it takes longer than the interval you set for monitor, > this looks like exactly that case. I have run monitor several times and it has never taken as long as monitor. Under heavy load it might take as long, I su

Re: [Pacemaker] Question: 2 node cluster in two datacenters - how to avoid split brain

2011-11-10 Thread Andreas Kurz
On 11/10/2011 10:21 AM, Senftleben, Stefan (itsc) wrote: > Hello, > > first of all I want to say hello all recipients of the pacemaker > mailinglist! > > I manage a two node active-passive cluster with an ms-drbd-resource and > a depending resource. > Each node is located in a separate datacent

Re: [Pacemaker] Repeating Log entries of ping resource

2011-11-10 Thread Senftleben, Stefan (itsc)
Okay, need I have to tune something to get rid oft he log entries? thx and regards Stefan -Ursprüngliche Nachricht- Von: Andreas Kurz [mailto:andr...@hastexo.com] Gesendet: Donnerstag, 10. November 2011 12:53 An: pacemaker@oss.clusterlabs.org Betreff: Re: [Pacemaker] Repeating Log entrie

Re: [Pacemaker] Question: 2 node cluster in two datacenters - how to avoid split brain

2011-11-10 Thread Michael Schwartzkopff
> Thanks, > what is your opinion to this: > I configure a third node and let the quorum votes decide which node is > active? > > Regards > Stefan You would need a third host in a third datacenter and two independent links to the other both datacenters. So I doubt this will work in your case if y

Re: [Pacemaker] What's the default monitor on-fail action?

2011-11-10 Thread JiaQiang Xu
2011/11/10 Andreas Kurz : > hello, > > On 11/10/2011 10:29 AM, JiaQiang Xu wrote: >> Hi, >> >> I'm running pacemaker 1.0.9. >> I configured a resource and want it to be stopped if monitor returns >> OCF_ERR_GENERIC. >> But I found pacemaker tries to restart the resource if monitor fails. >> And if

Re: [Pacemaker] Live migration with order constraints

2011-11-10 Thread Andreas Kurz
On 11/10/2011 12:48 PM, Dmitry Golubev wrote: > Hi, > >>> I am trying to make a live migration of virtual machines (custom resource >>> agent). The idea is to suspend the virtual machine on one node, remount a >>> filesystem (on top of DRBD) on another node and resume the virtual machine. >> >> Ma

Re: [Pacemaker] Live migration with order constraints

2011-11-10 Thread Dmitry Golubev
Hi, > > I am trying to make a live migration of virtual machines (custom resource > > agent). The idea is to suspend the virtual machine on one node, remount a > > filesystem (on top of DRBD) on another node and resume the virtual machine. > > May I ask: Why? There is already the VirtualDomain RA

Re: [Pacemaker] Repeating Log entries of ping resource

2011-11-10 Thread Andreas Kurz
hello, On 11/10/2011 11:35 AM, Senftleben, Stefan (itsc) wrote: > Hello again, > > on a two node active passive cluster runs a clone of ping resources. > > In the corosync.log following entries reappear in short time phrases. Is this > an error? as the logs explain, it's an info ;-) > > Rega

Re: [Pacemaker] Live migration with order constraints

2011-11-10 Thread Andreas Kurz
On 11/09/2011 10:46 PM, Dmitry Golubev wrote: > Hi, > > I am trying to make a live migration of virtual machines (custom resource > agent). The idea is to suspend the virtual machine on one node, remount a > filesystem (on top of DRBD) on another node and resume the virtual machine. May I ask: Wh

Re: [Pacemaker] What's the default monitor on-fail action?

2011-11-10 Thread Andreas Kurz
hello, On 11/10/2011 10:29 AM, JiaQiang Xu wrote: > Hi, > > I'm running pacemaker 1.0.9. > I configured a resource and want it to be stopped if monitor returns > OCF_ERR_GENERIC. > But I found pacemaker tries to restart the resource if monitor fails. > And if I configure monitor on-fail action to

[Pacemaker] Repeating Log entries of ping resource

2011-11-10 Thread Senftleben, Stefan (itsc)
Hello again, on a two node active passive cluster runs a clone of ping resources. In the corosync.log following entries reappear in short time phrases. Is this an error? Regards, Stefan. log entries: Nov 10 11:29:38 lxds07 lrmd: [5478]: info: perform_op:2883: postponing all ops on resource

[Pacemaker] Repeating Log entries

2011-11-10 Thread Senftleben, Stefan (itsc)
Hello again, on a two node active passive cluster runs a clone of ping resources. In the corosync.log following entries reappear in short time phrases. Is this an error? Nov 10 11:29:38 lxds07 lrmd: [5478]: info: perform_op:2883: postponing all ops on resource pri_ping:1 by 1000 ms Nov 10 11:2

Re: [Pacemaker] Question: 2 node cluster in two datacenters - how to avoid split brain

2011-11-10 Thread Senftleben, Stefan (itsc)
Thanks, what is your opinion to this: I configure a third node and let the quorum votes decide which node is active? Regards Stefan -Ursprüngliche Nachricht- Von: Michael Schwartzkopff [mailto:mi...@schwartzkopff.org] Gesendet: Donnerstag, 10. November 2011 10:37 An: The Pacemaker cluste

Re: [Pacemaker] Multinode cluster question

2011-11-10 Thread Andreas Kurz
On 11/09/2011 12:04 AM, Attila Megyeri wrote: > -Original Message- > From: Attila Megyeri [mailto:amegy...@minerva-soft.com] > Sent: 2011. november 8. 16:13 > To: The Pacemaker cluster resource manager > Subject: Re: [Pacemaker] Multinode cluster question > > -Original Message- >

Re: [Pacemaker] Question: 2 node cluster in two datacenters - how to avoid split brain

2011-11-10 Thread Michael Schwartzkopff
> Hello, > > first of all I want to say hello all recipients of the pacemaker > mailinglist! > > I manage a two node active-passive cluster with an ms-drbd-resource and a > depending resource. Each node is located in a separate datacenter, > connected by a single dwdm-connection, a second network

[Pacemaker] What's the default monitor on-fail action?

2011-11-10 Thread JiaQiang Xu
Hi, I'm running pacemaker 1.0.9. I configured a resource and want it to be stopped if monitor returns OCF_ERR_GENERIC. But I found pacemaker tries to restart the resource if monitor fails. And if I configure monitor on-fail action to "stop" manually, the resource gets stopped on fail. As I read in

[Pacemaker] Question: 2 node cluster in two datacenters - how to avoid split brain

2011-11-10 Thread Senftleben, Stefan (itsc)
Hello, first of all I want to say hello all recipients of the pacemaker mailinglist! I manage a two node active-passive cluster with an ms-drbd-resource and a depending resource. Each node is located in a separate datacenter, connected by a single dwdm-connection, a second network connection is