Re: [Pacemaker] crmsh resource update issue

2012-10-02 Thread Vladislav Bogdanov
03.10.2012 08:57, Vladislav Bogdanov wrote: > 03.10.2012 01:53, Andrew Beekhof wrote: > ... >> >> Do you mean get the LSB and/or systemd metadata from the new lrmd? >> That should work already. > > Is there an utility which implements new lrm API? Answering to myself. lrmd_test It allows to do

Re: [Pacemaker] crmsh resource update issue

2012-10-02 Thread Vladislav Bogdanov
03.10.2012 01:53, Andrew Beekhof wrote: ... > > Do you mean get the LSB and/or systemd metadata from the new lrmd? > That should work already. Is there an utility which implements new lrm API? ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org

Re: [Pacemaker] Exiting corosync-notifyd results in shutting down of pacemakerd

2012-10-02 Thread Andrew Beekhof
On Wed, Oct 3, 2012 at 2:51 AM, Grüninger, Andreas (LGL Extern) wrote: > I am currently investigating the monitoring of corosync/pacemaker with snmp. > crm_mon used with the OCF resource ClusterMon works as it should. > > But corosync-notifyd can't be used in our case. > I start corosync-notifyd i

Re: [Pacemaker] crmsh resource update issue

2012-10-02 Thread Andrew Beekhof
On 03/10/2012, at 6:26 AM, Vladislav Bogdanov wrote: > 02.10.2012 17:40, Dejan Muhamedagic wrote: > ... >>> One more patch to fix lrmadmin disfunction with 1.1.8. >> >> But this fixes support for RH fence-agents, if I'm not wrong. > > Yes btw. > >> >>> It is a little bit intrusive, but I'm d

Re: [Pacemaker] crmsh resource update issue

2012-10-02 Thread Vladislav Bogdanov
02.10.2012 17:40, Dejan Muhamedagic wrote: ... >> One more patch to fix lrmadmin disfunction with 1.1.8. > > But this fixes support for RH fence-agents, if I'm not wrong. Yes btw. > >> It is a little bit intrusive, but I'm definitely not a python coder :) > > That's no problem. > >> You can j

Re: [Pacemaker] migration only between nodes with identical hardware

2012-10-02 Thread Arnold Krille
On Tue, 2 Oct 2012 10:02:05 + James Harper wrote: > > > > On Mon, Oct 1, 2012 at 5:49 PM, James Harper > > wrote: > > >> > > >> On 2012-09-28 16:24, James Harper wrote: > > >> > I have two nodes running identical hardware which run Xen > > >> > VM's, and want > > >> to add a third node to t

[Pacemaker] Exiting corosync-notifyd results in shutting down of pacemakerd

2012-10-02 Thread LGL Extern
I am currently investigating the monitoring of corosync/pacemaker with snmp. crm_mon used with the OCF resource ClusterMon works as it should. But corosync-notifyd can't be used in our case. I start corosync-notifyd in the foreground as follows corosync-notifyd -f -l -s -m 10.50.235.1 When I sto

Re: [Pacemaker] Fencing of KVM virtual machines

2012-10-02 Thread Raoul Bhatia [IPAX]
On 2012-10-02 07:56, Masopust, Christian wrote: Hi all, I've running several pacemaker clusters in KVM virtual machines (everything based on Debian 6) and now it's up to configure fencing... I've found that I have to use "fence-virt" for that task (http://www.clusterlabs.org/wiki/Guest_Fencing) b

Re: [Pacemaker] Can't issue 'crm configure' commands under privileged user

2012-10-02 Thread Dejan Muhamedagic
On Tue, Oct 02, 2012 at 01:12:51PM +0100, Colin McCormack wrote: > Hi Dejan, > I see that's some kind of workaround in pacemaker code - but how do i Right. You'd need to patch the code. Since it's python, you can also patch the installed version. > affect a workaround? > But i need a workaround f

Re: [Pacemaker] crmsh resource update issue

2012-10-02 Thread Dejan Muhamedagic
Hi, On Tue, Oct 02, 2012 at 03:41:32PM +0300, Vladislav Bogdanov wrote: > Hi Dejan, > > 28.09.2012 14:07, Dejan Muhamedagic wrote: > ... > > > > OK. Silly me. Sorry for the non-vi users ;-) Thanks for the > > patch! > > > > Dejan > > > > One more patch to fix lrmadmin disfunction with 1.1.8.

Re: [Pacemaker] crmsh resource update issue

2012-10-02 Thread Vladislav Bogdanov
02.10.2012 15:41, Vladislav Bogdanov wrote: ... > for req_op in self.required_ops: > if req_op not in n_ops: > -n_ops[req_op] = {} > +if not (self.ra_class == "stonith" and op in ("start", > "stop")): s/ op/ req_op/ > +n_o

Re: [Pacemaker] crmsh resource update issue

2012-10-02 Thread Vladislav Bogdanov
Hi Dejan, 28.09.2012 14:07, Dejan Muhamedagic wrote: ... > > OK. Silly me. Sorry for the non-vi users ;-) Thanks for the > patch! > > Dejan > One more patch to fix lrmadmin disfunction with 1.1.8. It is a little bit intrusive, but I'm definitely not a python coder :) You can just take it as a

Re: [Pacemaker] Static vs dynamic IPs

2012-10-02 Thread Lars Marowsky-Bree
On 2012-10-02T13:00:40, Borja Gª de Vinuesa Ordovás wrote: > But, corosync can run with unicast aswell right? I'm deploying it on AWS > (Amazon Web Services) and they don't allow multicast. That is going to be a hassle with massaging all corosync.conf files and reloading all nodes. Regards,

Re: [Pacemaker] Can't issue 'crm configure' commands under privileged user

2012-10-02 Thread Colin McCormack
Hi Dejan, I see that's some kind of workaround in pacemaker code - but how do i affect a workaround? But i need a workaround from the terminal/bash So when i do: crm configure... it won't hang on me Cheers again Col On 10/02/12 12:04, pacemaker-requ...@oss.clusterlabs.org wrote: Ah, it's v

Re: [Pacemaker] Fencing of KVM virtual machines

2012-10-02 Thread Masopust, Christian
Hi Michael, thank's a lot for that link! Will give it a try!! br, christian > -Ursprüngliche Nachricht- > Von: Michael Schwartzkopff [mailto:mi...@clusterbau.com] > Gesendet: Dienstag, 02. Oktober 2012 08:22 > An: The Pacemaker cluster resource manager > Betreff: Re: [Pacemaker] Fenci

Re: [Pacemaker] Can't issue 'crm configure' commands under privileged user

2012-10-02 Thread Andrew Beekhof
On Tue, Oct 2, 2012 at 6:52 PM, Colin McCormack wrote: > Hi again, > > > "OK. This seems to be a deficiency in lrmd which got fixed later. But > there was a workaround in crm shell for almost two years (iirc since > pacemaker v1.1.5)." > > What was this workaround - sorry for such low-level questi

Re: [Pacemaker] Static vs dynamic IPs

2012-10-02 Thread Borja Gª de Vinuesa Ordovás
But, corosync can run with unicast aswell right? I'm deploying it on AWS (Amazon Web Services) and they don't allow multicast. 2012/10/2 Lars Marowsky-Bree > On 2012-10-02T19:28:28, Andrew Beekhof wrote: > > > > What are the implications of running Pacemaker with dynamic IP nodes? > The IP > >

Re: [Pacemaker] Static vs dynamic IPs

2012-10-02 Thread Lars Marowsky-Bree
On 2012-10-02T19:28:28, Andrew Beekhof wrote: > > What are the implications of running Pacemaker with dynamic IP nodes? The IP > > would change on restart and all configuration would be wrong. Can it be done > > at all? > Nope. Not because of pacemaker, but the underlying messaging layer > (hear

Re: [Pacemaker] Every line produced with ocf_log is written twice

2012-10-02 Thread LGL Extern
-Ursprüngliche Nachricht- Von: Andrew Beekhof [mailto:and...@beekhof.net] Gesendet: Dienstag, 2. Oktober 2012 12:18 An: The Pacemaker cluster resource manager Betreff: Re: [Pacemaker] Every line produced with ocf_log is written twice On Thu, Sep 27, 2012 at 2:19 AM, Grüninger, Andreas

Re: [Pacemaker] Can't issue 'crm configure' commands under privileged user

2012-10-02 Thread Dejan Muhamedagic
Hi, On Tue, Oct 02, 2012 at 09:52:39AM +0100, Colin McCormack wrote: > Hi again, > > "OK. This seems to be a deficiency in lrmd which got fixed later. But > there was a workaround in crm shell for almost two years (iirc since > pacemaker v1.1.5)." > > What was this workaround - sorry for such lo

Re: [Pacemaker] Every line produced with ocf_log is written twice

2012-10-02 Thread Andrew Beekhof
On Thu, Sep 27, 2012 at 2:19 AM, Grüninger, Andreas (LGL Extern) wrote: > Pacemaker 1.1.8 (Build: bdd3f2e): ncurses libqb-logging libqb-ipc > lha-fencing upstart systemd heartbeat corosync-native snmp libesmtp > resource-agents 3.9.3.113-a796f3-dirty > > I use in a resource script the logging

Re: [Pacemaker] migration only between nodes with identical hardware

2012-10-02 Thread James Harper
> > On Mon, Oct 1, 2012 at 5:49 PM, James Harper > wrote: > >> > >> On 2012-09-28 16:24, James Harper wrote: > >> > I have two nodes running identical hardware which run Xen VM's, and > >> > want > >> to add a third node to the cluster which can access the same clvm and > >> iscsi resources, but

Re: [Pacemaker] migration only between nodes with identical hardware

2012-10-02 Thread Andrew Beekhof
On Mon, Oct 1, 2012 at 5:49 PM, James Harper wrote: >> >> On 2012-09-28 16:24, James Harper wrote: >> > I have two nodes running identical hardware which run Xen VM's, and want >> to add a third node to the cluster which can access the same clvm and iscsi >> resources, but it will not be identical

Re: [Pacemaker] fencing when stonith-enabled="false"

2012-10-02 Thread Andrew Beekhof
On Tue, Oct 2, 2012 at 12:02 AM, Dejan Muhamedagic wrote: > Hi, > > On Mon, Oct 01, 2012 at 11:30:19AM +, James Harper wrote: >> I am trying to configure stonith. ipmilan was a complete disaster as it >> kept passing port 623 as the hostname, > > Interesting, > >> so now I'm trying external/

Re: [Pacemaker] Fencing of KVM virtual machines

2012-10-02 Thread Andrew Beekhof
On Tue, Oct 2, 2012 at 3:56 PM, Masopust, Christian wrote: > Hi all, > > I've running several pacemaker clusters in KVM virtual machines (everything > based on > Debian 6) and now it's up to configure fencing... > > I've found that I have to use "fence-virt" for that task > (http://www.clusterlabs

Re: [Pacemaker] Static vs dynamic IPs

2012-10-02 Thread Andrew Beekhof
On Tue, Oct 2, 2012 at 1:24 AM, Borja Gª de Vinuesa Ordovás wrote: > Hello, > > What are the implications of running Pacemaker with dynamic IP nodes? The IP > would change on restart and all configuration would be wrong. Can it be done > at all? Nope. Not because of pacemaker, but the underlying

Re: [Pacemaker] setting up NFS resources on systemd based Linux distributions

2012-10-02 Thread Andrew Beekhof
On Tue, Oct 2, 2012 at 5:42 AM, Lonni J Friedman wrote: > On Sun, Sep 30, 2012 at 7:19 AM, Andrew Beekhof wrote: >> On Fri, Sep 28, 2012 at 6:13 AM, Lonni J Friedman wrote: >>> On Thu, Sep 27, 2012 at 6:24 AM, David Vossel wrote: - Original Message - > From: "Lonni J Friedman"

Re: [Pacemaker] Can't issue 'crm configure' commands under privileged user

2012-10-02 Thread Colin McCormack
Hi again, "OK. This seems to be a deficiency in lrmd which got fixed later. But there was a workaround in crm shell for almost two years (iirc since pacemaker v1.1.5)." What was this workaround - sorry for such low-level questions - but googling for this isn't very useful - they're all re-posts