Re: [Pacemaker] crmsh resource update issue

2012-10-03 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] crm shell issues

2012-10-03 Thread Dejan Muhamedagic
On Tue, Sep 18, 2012 at 04:21:46PM +0200, Dejan Muhamedagic wrote: Hi, On Fri, Sep 14, 2012 at 02:54:56PM +0300, Borislav Borisov wrote: Hi all, Dejan, I am struggling to get the latest crmsh version (812:b58a3398bf11) to work with the latest pacemaker version () and so far I've

Re: [Pacemaker] crmsh resource update issue

2012-10-03 Thread Dejan Muhamedagic
On Wed, Oct 03, 2012 at 09:21:41AM +0300, Vladislav Bogdanov wrote: 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

[Pacemaker] How to gang multiple APC AP7901 outlets together under the same name

2012-10-03 Thread Epps, Josh
Procedure: How to gang multiple APC AP7901 outlets together under the same name Note:Do not include any quote marks. They are used below just to indicate verbatim strings. It may take perhaps 10 seconds for any changes to reflect so be patient (like after clicking Apply or Next)

Re: [Pacemaker] crmsh resource update issue

2012-10-03 Thread Dejan Muhamedagic
On Wed, Oct 03, 2012 at 11:57:47AM +0300, Vladislav Bogdanov wrote: 03.10.2012 11:48, Dejan Muhamedagic wrote: On Wed, Oct 03, 2012 at 09:21:41AM +0300, Vladislav Bogdanov wrote: 03.10.2012 08:57, Vladislav Bogdanov wrote: 03.10.2012 01:53, Andrew Beekhof wrote: ... Do you mean get

Re: [Pacemaker] crmsh resource update issue

2012-10-03 Thread Vladislav Bogdanov
03.10.2012 20:11, Dejan Muhamedagic wrote: On Wed, Oct 03, 2012 at 11:57:47AM +0300, Vladislav Bogdanov wrote: 03.10.2012 11:48, Dejan Muhamedagic wrote: On Wed, Oct 03, 2012 at 09:21:41AM +0300, Vladislav Bogdanov wrote: 03.10.2012 08:57, Vladislav Bogdanov wrote: 03.10.2012 01:53, Andrew

[Pacemaker] apache on too many nodes?

2012-10-03 Thread marvin
Hello, I'm currently testing out a 2 node system with the simple goal of providing failover so that the services are run on one node at a time. I have some of the mysql and apache configuration files in the drbd partition. Without apache everything works as expected drbd and mysql start and

Re: [Pacemaker] apache on too many nodes?

2012-10-03 Thread Jake Smith
- Original Message - From: mar...@nic.fi To: pacemaker@oss.clusterlabs.org Sent: Wednesday, October 3, 2012 4:36:10 PM Subject: [Pacemaker] apache on too many nodes? Hello, I'm currently testing out a 2 node system with the simple goal of providing failover so that the

[Pacemaker] examine ping result

2012-10-03 Thread James Harper
I have a ping resource defined like: primitive p_ping_test ocf:pacemaker:ping \ params name=ping_test host_list=192.168.200.253 \ op monitor interval=10s timeout=60s \ op start interval=0 timeout=60s How can I examine the result of ping_test? Thanks James

Re: [Pacemaker] examine ping result

2012-10-03 Thread Jake Smith
- Original Message - From: James Harper james.har...@bendigoit.com.au To: pacemaker@oss.clusterlabs.org Sent: Wednesday, October 3, 2012 5:04:53 PM Subject: [Pacemaker] examine ping result I have a ping resource defined like: primitive p_ping_test ocf:pacemaker:ping \

Re: [Pacemaker] examine ping result

2012-10-03 Thread Jake Smith
- Original Message - From: Jake Smith jsm...@argotec.com To: The Pacemaker cluster resource manager pacemaker@oss.clusterlabs.org Sent: Wednesday, October 3, 2012 5:34:55 PM Subject: Re: [Pacemaker] examine ping result - Original Message - From: James Harper

Re: [Pacemaker] crmsh resource update issue

2012-10-03 Thread Andrew Beekhof
On Wed, Oct 3, 2012 at 4:21 PM, Vladislav Bogdanov bub...@hoster-ok.com wrote: 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

Re: [Pacemaker] crmsh resource update issue

2012-10-03 Thread Andrew Beekhof
On Thu, Oct 4, 2012 at 7:45 AM, Andrew Beekhof and...@beekhof.net wrote: On Wed, Oct 3, 2012 at 4:21 PM, Vladislav Bogdanov bub...@hoster-ok.com wrote: 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

[Pacemaker] recovering from split brain

2012-10-03 Thread Jane Du (jadu)
Re-send. Will be appreciate if someone could shed some light on this. -Original Message- From: Jane Du (jadu) Sent: Friday, September 28, 2012 4:53 PM To: The Pacemaker cluster resource manager Subject: [Pacemaker] recovering from split brain Hi, Use heartbeat and pacemaker for two node

[Pacemaker] bug in monitor timeout?

2012-10-03 Thread James Harper
It seems like everytime I modify a resource, things start timing out. Just now I changed the location of where a ping resource could run and this happened: Oct 4 07:07:07 bitvs5 lrmd: [3681]: WARN: perform_ra_op: the operation monitor[52] on p_lvm_iscsi:0 for client 3686 stayed in operation

Re: [Pacemaker] examine ping result

2012-10-03 Thread Andrew Beekhof
crm_attribute should be able to do it On Thu, Oct 4, 2012 at 8:25 AM, James Harper james.har...@bendigoit.com.au wrote: - Original Message - From: James Harper james.har...@bendigoit.com.au To: pacemaker@oss.clusterlabs.org Sent: Wednesday, October 3, 2012 5:04:53 PM Subject:

Re: [Pacemaker] emergency pppoe connection

2012-10-03 Thread James Harper
rule 0: ping_gw eq 0 rule -inf: #uname ne node1 and #name ne node2 so the first rule says the resource can run on any location if the gateway can't be pinged, and the second rule says it can't run on any node except node1 and node2. It's an asymmetric cluster.

Re: [Pacemaker] examine ping result

2012-10-03 Thread Nicolai Langfeldt
crm_mon -A (I prefer to use crm_mon -frA) you will probably need more than 24 lines in your terminal window to view this. Nicolai -- Nicolai Langfeldt, OSS Arkitekt Broad|Net - Fiber - the business revolution Fra: James Harper