Re: [Pacemaker] Fencing of KVM virtual machines

2012-10-02 Thread Michael Schwartzkopff
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) but it seems that it only will work in

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

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 netll...@gmail.com wrote: On Sun, Sep 30, 2012 at 7:19 AM, Andrew Beekhof and...@beekhof.net wrote: On Fri, Sep 28, 2012 at 6:13 AM, Lonni J Friedman netll...@gmail.com wrote: On Thu, Sep 27, 2012 at 6:24 AM, David Vossel dvos...@redhat.com

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 borjavinue...@gmail.com 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,

Re: [Pacemaker] Fencing of KVM virtual machines

2012-10-02 Thread Andrew Beekhof
On Tue, Oct 2, 2012 at 3:56 PM, Masopust, Christian christian.masop...@siemens.com 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

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

2012-10-02 Thread Andrew Beekhof
On Tue, Oct 2, 2012 at 12:02 AM, Dejan Muhamedagic deja...@fastmail.fm 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

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 james.har...@bendigoit.com.au 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

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 james.har...@bendigoit.com.au 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

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) andreas.gruenin...@lgl.bwl.de 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

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 low-level

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] Static vs dynamic IPs

2012-10-02 Thread Lars Marowsky-Bree
On 2012-10-02T19:28:28, Andrew Beekhof and...@beekhof.net 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

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 l...@suse.com On 2012-10-02T19:28:28, Andrew Beekhof and...@beekhof.net wrote: What are the implications of running Pacemaker with

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 colin.mccorm...@openet.com 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

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] Fencing

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

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 borjavinue...@gmail.com 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

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] 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_ops[req_op]

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. But this fixes

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 from

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)

[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

Re: [Pacemaker] crmsh resource update issue

2012-10-02 Thread Andrew Beekhof
On 03/10/2012, at 6:26 AM, Vladislav Bogdanov bub...@hoster-ok.com 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

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) andreas.gruenin...@lgl.bwl.de 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