Re: [Pacemaker] resource sets (rsc_order)

2011-01-14 Thread Dejan Muhamedagic
On Thu, Jan 06, 2011 at 10:05:06AM +, Juergen Hartmann wrote: Hello, I'm new in pacemaker and have a problem which is hopefully to solve easily from someone. I try to configure a cluster where should run a oracle database and a application which needs the DB. Now I go in trouble with the

Re: [Pacemaker] Howto write a STONITH agent

2011-01-14 Thread Dejan Muhamedagic
On Fri, Jan 14, 2011 at 05:10:17PM +0100, Christoph Herrmann wrote: -Ursprüngliche Nachricht- Von: Dejan Muhamedagic deja...@fastmail.fm Gesendet: Fr 14.01.2011 12:31 An: The Pacemaker cluster resource manager pacemaker@oss.clusterlabs.org; Betreff: Re: [Pacemaker] Howto write

Re: [Pacemaker] Speed up resource failover?

2011-01-12 Thread Dejan Muhamedagic
Hi, On Wed, Jan 12, 2011 at 09:33:41AM -0700, Patrick H. wrote: Sent: Wed Jan 12 2011 09:25:39 GMT-0700 (Mountain Standard Time) From: Patrick H. pacema...@feystorm.net To: pacemaker@oss.clusterlabs.org Subject: Re: [Pacemaker] Speed up resource failover? Sent: Wed Jan 12 2011 01:56:31

Re: [Pacemaker] Best stonith method to avoid split brain on a drbd cluster

2011-01-11 Thread Dejan Muhamedagic
Hi, On Wed, Jan 05, 2011 at 05:18:36PM -0700, Devin Reade wrote: Johannes Freygner han...@freygner.at wrote: *) Yes, and I found the wrong setting: Excellent. But if I pull the power cable without a regular shutting down, the powerless node gets status UNCLEAN (offline) and the

Re: [Pacemaker] Two questions about utilization

2011-01-10 Thread Dejan Muhamedagic
Hi, On Fri, Jan 07, 2011 at 05:30:53PM +, Daugherity, Andrew W wrote: Date: Fri, 7 Jan 2011 13:32:49 +0100 From: Michael Schwartzkopff mi...@clusterbau.com To: Pacemaker mailing list pacemaker@oss.clusterlabs.org Subject: [Pacemaker] Two questions about utilization Message-ID:

Re: [Pacemaker] Latest pacemaker-dev - having problems verifing config

2011-01-10 Thread Dejan Muhamedagic
On Sun, Jan 09, 2011 at 05:20:45PM +1100, Angus Salkeld wrote: On Fri, Jan 07, 2011 at 11:44:41AM +0100, Dejan Muhamedagic wrote: Hi, On Thu, Jan 06, 2011 at 01:30:53PM +1100, Angus Salkeld wrote: Hi I am trying to get the latest (in hg) pacemker running on a super simple

Re: [Pacemaker] How to set up logging for CTSlab

2011-01-10 Thread Dejan Muhamedagic
Hi, On Mon, Jan 10, 2011 at 10:46:58AM +0100, Simon Jansen wrote: Hi, I would like to test my cluster with the cluster test suite. I followed the instructions of the README file to set up the logging with syslog-ng. Further I changed the syslog_facility in the corosync.conf file to local7.

Re: [Pacemaker] Antwort: Re: Fw: Antwort: Re: pingd process dies for no reason

2011-01-10 Thread Dejan Muhamedagic
Hi, On Mon, Jan 10, 2011 at 04:50:39PM +0100, patrik.rappo...@knapp.com wrote: i say thx to you, for trying to help me. :) yes i checked it, there is no problem with it, i assume it must be a problem with the ping or the attrd_updater, because as I understand that, the crm gets an timeout

Re: [Pacemaker] Antwort: Re: pingd process dies for no reason

2011-01-10 Thread Dejan Muhamedagic
Hi again, On Fri, Jan 07, 2011 at 04:35:40PM +0100, patrik.rappo...@knapp.com wrote: [...] the ressource is configured in following way: clone id=pingdclone meta_attributes id=pingdclone-meta_attributes nvpair id=pingdclone-meta_attributes-globally-unique

Re: [Pacemaker] Latest pacemaker-dev - having problems verifing config

2011-01-07 Thread Dejan Muhamedagic
Hi, On Thu, Jan 06, 2011 at 01:30:53PM +1100, Angus Salkeld wrote: Hi I am trying to get the latest (in hg) pacemker running on a super simple config. This is simply to run CTS. crm(live) configure# show xml ?xml version=1.0 ? cib admin_epoch=0 cib-last-written=Thu Jan 6 12:33:38

Re: [Pacemaker] Both nodes restart with external/ssh STONITH agent

2011-01-05 Thread Dejan Muhamedagic
Hi, On Wed, Jan 05, 2011 at 09:47:36AM +0100, Simon Jansen wrote: Hi, I configured the external/ssh STONITH agent on my testing cluster that is based on virtual machines. This agent is just for testing purposes and will be replaced by an hardwarebased one when the cluster goes into live

Re: [Pacemaker] Error when trying to create shadow cib

2011-01-05 Thread Dejan Muhamedagic
created but then root couldn't read them? Thanks, Dejan Mick -Original Message- From: Dejan Muhamedagic [mailto:deja...@fastmail.fm] Sent: Tuesday, January 04, 2011 10:26 AM To: The Pacemaker cluster resource manager Subject: Re: [Pacemaker] Error when trying to create shadow cib

Re: [Pacemaker] Error when trying to create shadow cib

2011-01-05 Thread Dejan Muhamedagic
it. Though there's an option to use sudo (crm option user), but I guess that's not the case here. Thanks, Dejan Mick -Original Message- From: Dejan Muhamedagic [mailto:deja...@fastmail.fm] Sent: Wednesday, January 05, 2011 9:46 AM To: The Pacemaker cluster resource manager Subject: Re

Re: [Pacemaker] stonith problems RHEL6

2011-01-04 Thread Dejan Muhamedagic
Hi, On Sun, Jan 02, 2011 at 03:05:58PM +0100, Jocke M wrote: Hello, I just tested to setup a cluster (RHEL6) using Clusters from Scratch found at http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html-single/Clusters_from_Scratch/ Everything worked great and the cluster and all

Re: [Pacemaker] Error when trying to create shadow cib

2011-01-04 Thread Dejan Muhamedagic
Hi, On Fri, Dec 31, 2010 at 12:11:32PM -0600, Michael Hittesdorf wrote: When I try to create a shadow cib I am getting an error. Command output is as follows: [r...@node1 hittesdm]# crm cib new test INFO: test shadow CIB created ERROR: test: no such shadow CIB If I then try to use the

Re: [Pacemaker] Error when trying to create shadow cib

2011-01-04 Thread Dejan Muhamedagic
at the trace file to see where crm_shadow tries to create the file. Thanks, Dejan Thanks. Mick -Original Message- From: Dejan Muhamedagic [mailto:deja...@fastmail.fm] Sent: Tuesday, January 04, 2011 10:07 AM To: The Pacemaker cluster resource manager Subject: Re: [Pacemaker

Re: [Pacemaker] Issues with fence and corosync crash

2011-01-04 Thread Dejan Muhamedagic
Hi again, On Fri, Dec 24, 2010 at 12:05:27PM +0100, Simone Felici wrote: Hi to all! I've an issue with my cluster env. First of all my config: Two Cluster CentOS5.5 Active+Standby with one DRBD partition managing a Nagios service, ip, and storage. The config files at the bottom. I'm

Re: [Pacemaker] Issues with fence and corosync crash

2011-01-04 Thread Dejan Muhamedagic
Hi, On Fri, Dec 24, 2010 at 12:05:27PM +0100, Simone Felici wrote: Hi to all! I've an issue with my cluster env. First of all my config: Two Cluster CentOS5.5 Active+Standby with one DRBD partition managing a Nagios service, ip, and storage. The config files at the bottom. I'm trying

Re: [Pacemaker] syslog_priority ignored?

2010-12-30 Thread Dejan Muhamedagic
Hi, On Thu, Dec 30, 2010 at 09:18:07AM +0100, Martin Spuetz wrote: Hi, On 28.12.2010 18:04, Dejan Muhamedagic wrote: On Tue, Dec 28, 2010 at 02:29:22PM +0100, Martin Spuetz wrote: Hello, I don't know how to disable the flooding of syslog with messages of the various daemons. I

Re: [Pacemaker] syslog_priority ignored?

2010-12-28 Thread Dejan Muhamedagic
Hi, On Tue, Dec 28, 2010 at 02:29:22PM +0100, Martin Spuetz wrote: Hello, I don't know how to disable the flooding of syslog with messages of the various daemons. I only want warnings and errors in syslog. Not a good idea. Your logs won't be useful in case you run into problems. Why

Re: [Pacemaker] syslog_priority ignored?

2010-12-28 Thread Dejan Muhamedagic
On Tue, Dec 28, 2010 at 01:05:12PM -0500, Mike Diehn wrote: On Tue, Dec 28, 2010 at 12:04 PM, Dejan Muhamedagic deja...@fastmail.fmwrote: Hi, On Tue, Dec 28, 2010 at 02:29:22PM +0100, Martin Spuetz wrote: Hello, I don't know how to disable the flooding of syslog with messages

Re: [Pacemaker] colocation issues (isnt it always)

2010-12-15 Thread Dejan Muhamedagic
Hi, On Mon, Dec 13, 2010 at 07:08:52PM -0700, Patrick H. wrote: Sent: Mon Dec 13 2010 15:19:48 GMT-0700 (Mountain Standard Time) From: Pavlos Parissis pavlos.paris...@gmail.com To: The Pacemaker cluster resource manager pacemaker@oss.clusterlabs.org Subject: Re: [Pacemaker] colocation issues

Re: [Pacemaker] continue starting chain with failed group resources

2010-12-15 Thread Dejan Muhamedagic
On Tue, Dec 14, 2010 at 06:18:16PM -0700, Patrick H. wrote: Sent: Tue Dec 14 2010 11:37:06 GMT-0700 (Mountain Standard Time) From: Dejan Muhamedagic deja...@fastmail.fm To: The Pacemaker cluster resource manager pacemaker@oss.clusterlabs.org Subject: Re: [Pacemaker] continue starting chain

Re: [Pacemaker] crmd exits and restarts after failback

2010-12-14 Thread Dejan Muhamedagic
Hi, On Wed, Dec 08, 2010 at 12:56:40PM +0100, Simon Jansen wrote: Hi, I have set up a pacemaker cluster on Ubuntu 10.04 LTS Server. Further I wrote an multistate OCF RA for the Rsyslog service. This RA passes all tests that are run by the ocf-tester tool. Now the problem: When I firstly

Re: [Pacemaker] Best way to check if PM is alive

2010-12-14 Thread Dejan Muhamedagic
Hi, On Thu, Dec 09, 2010 at 02:58:33PM +0300, Evgeniy Ivanov wrote: On Thu, Dec 9, 2010 at 2:32 PM, Andrew Beekhof and...@beekhof.net wrote: On Thu, Dec 9, 2010 at 12:14 PM, Evgeniy Ivanov lolkaanti...@gmail.com wrote: Hi, What is a best way to check if PM is still alive? ps axf |

Re: [Pacemaker] monitor operation stopped running

2010-12-14 Thread Dejan Muhamedagic
Hi, On Tue, Dec 14, 2010 at 12:16:22PM +0200, Chris Picton wrote: Hi I have noticed this happening a few times on various of my clusters. The monitor operation for some resources stops running, and thus resource failures are not detected. If I edit the cib, and change something regarding

Re: [Pacemaker] continue starting chain with failed group resources

2010-12-14 Thread Dejan Muhamedagic
Hi, On Mon, Dec 13, 2010 at 10:43:36PM -0700, Patrick H. wrote: After tinkering with this for a few hours I finally have something working. colocation co-raid inf: ( md_raid iscsi_1 iscsi_2 iscsi_3 ) This should be noop. You'd want something like this, I think: colocation co-raid inf:

[Pacemaker] announcement for glue 1.0.7 and heartbeat 3.0.4

2010-12-06 Thread Dejan Muhamedagic
/glue/archive/glue-1.0.7.tar.bz2 Enjoy! Lars Ellenberg Florian Haas Dejan Muhamedagic ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting started

Re: [Pacemaker] Orphan problem when creating a clone of a group

2010-12-03 Thread Dejan Muhamedagic
Hi, On Mon, Nov 29, 2010 at 06:08:11PM +0100, Uwe Grawert wrote: Zitat von Dejan Muhamedagic deja...@fastmail.fm: Hi, On Mon, Nov 29, 2010 at 02:42:42PM +0100, Uwe Grawert wrote: Was: Re: [Pacemaker] crm resource restart doesn't restart the correct resource Zitat von Dejan Muhamedagic

Re: [Pacemaker] Beginner troubles

2010-12-01 Thread Dejan Muhamedagic
Hi, On Tue, Nov 30, 2010 at 11:39:36AM -0800, Ziri Camden wrote: Things work great as long as I stick to a 2-node setup with STONITH disabled and quorum ignored. As soon as I add a third node, things get odd. The third node isn't seen by the rest of the cluster and doesn't see its peers.

Re: [Pacemaker] anti-placement syntax

2010-11-30 Thread Dejan Muhamedagic
Hi, On Sat, Nov 20, 2010 at 09:40:31AM -0500, Vadym Chepkov wrote: Hi, crm has a nice placement constraint syntax location loc1 res1 inf: node1 which is a shortcut for location loc1 res1 inf: rule #uname eq node1 That's not so. The shortcut is in the XML not the shell. The shell

Re: [Pacemaker] colocation rule not obeyed

2010-11-29 Thread Dejan Muhamedagic
Hi, On Mon, Nov 29, 2010 at 08:43:48AM +0100, Andrew Beekhof wrote: On Mon, Nov 29, 2010 at 6:55 AM, Patrick H. pacema...@feystorm.net wrote: I've got a replicated mysql with vip setup i've been trying to create, and it doesnt seem to be obeying my colocation rule much. Situation: I

Re: [Pacemaker] Orphan problem when creating a clone of a group

2010-11-29 Thread Dejan Muhamedagic
Hi, On Mon, Nov 29, 2010 at 02:42:42PM +0100, Uwe Grawert wrote: Was: Re: [Pacemaker] crm resource restart doesn't restart the correct resource Zitat von Dejan Muhamedagic deja...@fastmail.fm: This is happening, because, when the clone is created, pacemaker stops the primitive but does

Re: [Pacemaker] crm resource restart doesn't restart the correct resource

2010-11-26 Thread Dejan Muhamedagic
Hi, On Thu, Nov 25, 2010 at 11:03:30PM +0100, Pavlos Parissis wrote: On Thu, 25 Nov 2010 07:09:28 -0500 Vadym Chepkov vchep...@gmail.com wrote: On Nov 25, 2010, at 7:01 AM, Pavlos Parissis wrote: On 25 November 2010 12:44, Vadym Chepkov vchep...@gmail.com wrote: On Nov 25,

Re: [Pacemaker] crm resource restart doesn't restart the correct resource

2010-11-26 Thread Dejan Muhamedagic
Hi, On Fri, Nov 26, 2010 at 10:43:07AM +0100, Uwe Grawert wrote: Zitat von Dejan Muhamedagic deja...@fastmail.fm: crm resource restart is broken. It just won't work for groups. The restart is actually a stop followed by start. The start precludes the stop of all but the first resource

Re: [Pacemaker] stonith monitor timeout not restartable

2010-11-24 Thread Dejan Muhamedagic
Hi, On Fri, Nov 19, 2010 at 02:19:02PM -0500, Ron Kerry wrote: I have a customer running pacemaker/openais from the SLE11-HAE distribution. On occasion we have a stonith clone instance timeout. It becomes unrestartable and it is not generally recoverable unless we completely stop openais on

Re: [Pacemaker] ManageRAID Constraints

2010-11-24 Thread Dejan Muhamedagic
Hi, On Mon, Nov 22, 2010 at 12:25:51PM +0100, eugenio wrote: Hi, I'm trying to figure out how to configure constraints for ocf:heartbeat:ManageRAID (RAID5) with iSCSI devices. This is a visual representation of my resources: A: Initiator_6 | B: Initiator_7 | -- D: ManageRAID_MD2

Re: [Pacemaker] Active / Active pacemaker configuration advice

2010-11-24 Thread Dejan Muhamedagic
Hi, On Tue, Nov 23, 2010 at 09:10:58AM +0100, Marko Potocnik wrote: Hi, I am trying to configure a service (ftp for proof of concept) to run in an active / active configuration. A floating IP is used to access this service. What I am trying to achieve is that a floating IP would move to

Re: [Pacemaker] Two stonith agents - stonith_multi and multipdu

2010-11-24 Thread Dejan Muhamedagic
Hi, On Tue, Nov 23, 2010 at 12:37:42PM +0200, Chris Picton wrote: Hi all I had said last week I would post these, but it slipped my mind. I have two stonith scripts here - they may not be complete, but they work in my circumstances. Feel free to take these and update/modify/fix/improve.

Re: [Pacemaker] About the log output in the V1 mode of pacemaker 1.1

2010-11-19 Thread Dejan Muhamedagic
Hi, On Fri, Nov 19, 2010 at 04:48:16PM +0900, nozawat wrote: Hi I output log in /var/log/ha.log by the following setting. It is not output by /var/log/ha.log when I operate this with a V1 mode. In the case of a V1 mode, is not setting enough? V1 mode is Heartbeat only, no pacemaker, no

Re: [Pacemaker] crm resource restart fails to restart the service

2010-11-19 Thread Dejan Muhamedagic
Hi, On Thu, Nov 18, 2010 at 01:35:24PM -0500, Vadym Chepkov wrote: On Wed, Nov 17, 2010 at 1:03 PM, Dejan Muhamedagic deja...@fastmail.fm wrote: Funny, it worked here for me every time for apache, Dummy, Delay, stonith resources. With both pacemaker 1.0 and 1.1. To test it right

Re: [Pacemaker] do_lrm_control: Failed to sign on to the LRM repeatedly!

2010-11-19 Thread Dejan Muhamedagic
Hi, On Fri, Nov 19, 2010 at 08:26:59AM +, Dave Williams wrote: This install is seriously sick. Multiple copies of all our daemons. If I had to guess, I'd say there were version incompatibilities between the various cluster packages. OK - How best to investigate? I quoted

Re: [Pacemaker] About the log output in the V1 mode of pacemaker 1.1

2010-11-19 Thread Dejan Muhamedagic
/introducing-the-pacemaker-master-control-process-for The constitution is as follows. corosync + pacemaker plugin (v1) + mcp I completely misunderstood. Sorry. I think that Andrew can answer this one. Thanks, Dejan Regards, Tomo 2010/11/19 Dejan Muhamedagic deja...@fastmail.fm Hi

Re: [Pacemaker] Stonith Device APC AP7900

2010-11-19 Thread Dejan Muhamedagic
Hi, On Wed, Nov 17, 2010 at 05:01:20PM -0600, Andrew Daugherity wrote: Message: 3 Date: Tue, 16 Nov 2010 11:24:26 +0100 From: Dejan Muhamedagic deja...@fastmail.fm To: The Pacemaker cluster resource manager pacemaker@oss.clusterlabs.org Subject: Re: [Pacemaker] Stonith Device APC

Re: [Pacemaker] Stonith Device APC AP7900

2010-11-19 Thread Dejan Muhamedagic
Hi, On Thu, Nov 18, 2010 at 06:45:01AM +0200, Chris Picton wrote: On 2010/11/18 1:01 AM, Andrew Daugherity wrote: In production I am planning to have 2 separate AP7900 units each plugged into 2 different APC UPS units to achieve that. I would then have the single node name on each, for

Re: [Pacemaker] Problems setting up clone resource syslog-ng - I need help

2010-11-17 Thread Dejan Muhamedagic
Hi, On Wed, Nov 17, 2010 at 11:22:19AM +0100, Senftleben, Stefan, ITSC wrote: Hello everybody, I need help in configuring a cluster resource for syslog-ng. Could anybody give me a hint, what is wrong in the configuration? After crm resource start syslog-ng the output of crm_mon -f -1

Re: [Pacemaker] AP9606 fencing device

2010-11-17 Thread Dejan Muhamedagic
Hi, On Tue, Nov 16, 2010 at 08:15:10PM -0700, Devin Reade wrote: --On Wednesday, October 27, 2010 09:47:14 AM +0200 Pavlos Parissis pavlos.paris...@gmail.com wrote: I have a APC AP9606 PDU and I am trying to find a stonith agent which works with that PDU. I know that this is an old

Re: [Pacemaker] crm resource restart fails to restart the service

2010-11-17 Thread Dejan Muhamedagic
Hi, On Wed, Nov 17, 2010 at 07:35:46AM -0500, Vadym Chepkov wrote: On Nov 17, 2010, at 7:26 AM, Dan Frincu wrote: Hi, r...@cluster1:/# pgrep mysql 961 1127 r...@cluster1:/# crm resource restart mysqld r...@cluster1:/# pgrep -fl mysql 961 1127 The restart command

Re: [Pacemaker] crm resource restart fails to restart the service

2010-11-17 Thread Dejan Muhamedagic
Hi, On Wed, Nov 17, 2010 at 08:30:36AM -0500, Vadym Chepkov wrote: On Wed, Nov 17, 2010 at 8:01 AM, Dejan Muhamedagic deja...@fastmail.fm wrote: RA doesn't support restart action? Most luckily you get OCF_ERR_UNIMPLEMENTED in the log It's actually a resource stop followed by start

Re: [Pacemaker] crm resource restart fails to restart the service

2010-11-17 Thread Dejan Muhamedagic
On Wed, Nov 17, 2010 at 08:30:36AM -0500, Vadym Chepkov wrote: On Wed, Nov 17, 2010 at 8:01 AM, Dejan Muhamedagic deja...@fastmail.fm wrote: RA doesn't support restart action? Most luckily you get OCF_ERR_UNIMPLEMENTED in the log It's actually a resource stop followed by start

Re: [Pacemaker] crm resource restart fails to restart the service

2010-11-17 Thread Dejan Muhamedagic
On Wed, Nov 17, 2010 at 09:56:25AM -0500, Vadym Chepkov wrote: On Nov 17, 2010, at 9:46 AM, Dejan Muhamedagic wrote: On Wed, Nov 17, 2010 at 08:30:36AM -0500, Vadym Chepkov wrote: On Wed, Nov 17, 2010 at 8:01 AM, Dejan Muhamedagic deja...@fastmail.fm wrote: RA doesn't support

Re: [Pacemaker] Stonith Device APC AP7900

2010-11-16 Thread Dejan Muhamedagic
Hi, On Mon, Nov 15, 2010 at 10:41:22AM -0700, Devin Reade wrote: --On Monday, November 15, 2010 08:40:45 AM -0700 Rick Cone rc...@securepaymentsystems.com wrote: In production I am planning to have 2 separate AP7900 units each plugged into 2 different APC UPS units to achieve that. I

Re: [Pacemaker] understanding scores

2010-11-16 Thread Dejan Muhamedagic
Hi, On Mon, Nov 15, 2010 at 05:01:27PM +0100, Pavlos Parissis wrote: On 15 November 2010 16:43, Andrew Beekhof and...@beekhof.net wrote: On Mon, Nov 15, 2010 at 3:18 PM, Pavlos Parissis pavlos.paris...@gmail.com wrote: On 15 November 2010 08:07, Andrew Beekhof and...@beekhof.net wrote:

Re: [Pacemaker] Stonith Device APC AP7900

2010-11-15 Thread Dejan Muhamedagic
Hi, On Sun, Nov 14, 2010 at 09:32:06PM -0700, Devin Reade wrote: Rick Cone rc...@securepaymentsystems.com wrote: Perhaps I'll just use 1 outlet with the node name, with a power splitter to the 2 redundant power supplies to reduce the chances of problems. IMO, if you're going to use a

Re: [Pacemaker] Multistate Resources is not promoted automatically

2010-11-11 Thread Dejan Muhamedagic
Hi, On Thu, Nov 11, 2010 at 11:11:14AM +0100, Andrew Beekhof wrote: On Thu, Nov 11, 2010 at 9:59 AM, Simon Jansen simon.jans...@googlemail.com wrote: Hi everybody, I wrote a multistate resource agent to manage the Rsyslog service in a master/slave setup. In the master role the service

Re: [Pacemaker] Problem with configuring stonith rcd_serial

2010-11-09 Thread Dejan Muhamedagic
On Mon, Nov 08, 2010 at 10:48:13PM +0100, Dejan Muhamedagic wrote: On Thu, Nov 04, 2010 at 10:50:53AM +0100, Eberhard Kuemmerle wrote: On 3 Nov 2010 19:21, Dejan Muhamedagic wrote: There are still some strange entries in /var/log/messages, but the STONITH action is performed correctly

Re: [Pacemaker] colocation that doesn't

2010-11-04 Thread Dejan Muhamedagic
Hi, On Wed, Nov 03, 2010 at 04:24:07PM -0700, Alan Jones wrote: I running with Pacemaker 1.0.9.1 and Corosync 1.2.7. I have a simple config below where colocation seems to have the opposite effect. Note that if you force myprim's location then mystateful's Master will colocate correctly.

Re: [Pacemaker] colocation that doesn't

2010-11-04 Thread Dejan Muhamedagic
Hi, On Thu, Nov 04, 2010 at 06:51:59AM -0400, Vadym Chepkov wrote: On Thu, Nov 4, 2010 at 5:37 AM, Dejan Muhamedagic deja...@fastmail.fm wrote: This should be: colocation mystateful-ms-loc inf: mystateful-ms:Master myprim:Started Interesting, so in this case it is not necessary

Re: [Pacemaker] Problem with configuring stonith rcd_serial

2010-11-03 Thread Dejan Muhamedagic
On Tue, Nov 02, 2010 at 06:45:08PM +0100, Dejan Muhamedagic wrote: On Tue, Nov 02, 2010 at 04:26:40PM +0100, Eberhard Kuemmerle wrote: On 2 Nov 2010 16:15 02.11.2010 16:18, Eberhard Kuemmerle wrote: Hi, here is what you requested: TEST 1: stonith -t rcd_serial -p test /dev/ttyS0

Re: [Pacemaker] Ordering clones and primitives

2010-11-03 Thread Dejan Muhamedagic
Hi, On Tue, Nov 02, 2010 at 04:15:56PM -0400, Lars Kellogg-Stedman wrote: Right now, I don't have a solution for this problem using clones if you're running pacemaker v1.0.x. I went ahead and created two sets of Route resources. Each one has to go into a separate routing table to prevent

Re: [Pacemaker] Stonith Device APC AP7900

2010-11-03 Thread Dejan Muhamedagic
with the node name, with a power splitter to the 2 redundant power supplies to reduce the chances of problems. Perhaps a temporary quirk in the device? Thanks, Dejan Rick -Original Message- From: Dejan Muhamedagic [mailto:deja...@fastmail.fm] Sent: Thursday, October 28, 2010 9:16 AM To: rc

Re: [Pacemaker] Problem with configuring stonith rcd_serial

2010-11-03 Thread Dejan Muhamedagic
Hi, On Wed, Nov 03, 2010 at 05:08:50PM +0100, Eberhard Kuemmerle wrote: On 3 Nov 2010 11:06, Dejan Muhamedagic wrote: On Tue, Nov 02, 2010 at 06:45:08PM +0100, Dejan Muhamedagic wrote: On Tue, Nov 02, 2010 at 04:26:40PM +0100, Eberhard Kuemmerle wrote: On 2 Nov 2010 16:15 02.11.2010 16

Re: [Pacemaker] Problem with configuring stonith rcd_serial

2010-11-02 Thread Dejan Muhamedagic
On Fri, Oct 29, 2010 at 04:52:43PM +0200, Eberhard Kuemmerle wrote: On 29 Oct 2010 14:43, Dejan Muhamedagic wrote: stonith -t rcd_serial -p test /dev/ttyS0 rts 2000 test ** (process:21181): DEBUG: rcd_serial_set_config:called Alarm clock == RESET WORKS! stonith -t rcd_serial hostlist

Re: [Pacemaker] Stonith Device APC AP7900

2010-11-02 Thread Dejan Muhamedagic
Hi, On Tue, Nov 02, 2010 at 08:08:32AM +0100, Pavlos Parissis wrote: On 1 November 2010 15:01, Rick Cone rc...@securepaymentsystems.com wrote: Dejan, Below I had: primitive res_stonith stonith:apcmastersnmp \ params ipaddr=192.1.1.109 port=161 community=sps \ op

Re: [Pacemaker] PE ignores monitor failure of stonith:external/rackpdu

2010-11-02 Thread Dejan Muhamedagic
Hi, On Fri, Oct 29, 2010 at 08:37:04AM +0200, Pavlos Parissis wrote: Hi, I wanted to check what happens when the monitor of a fencing agents fails, thus I disconnected the PDU from network, reduced the monitor interval and put debug statements on the fencing script. here is the debug

Re: [Pacemaker] Stonith Device APC AP7900

2010-11-02 Thread Dejan Muhamedagic
Hi, On Tue, Nov 02, 2010 at 12:10:37PM +0100, Pavlos Parissis wrote: On 2 November 2010 11:04, Dejan Muhamedagic deja...@fastmail.fm wrote: Hi, On Tue, Nov 02, 2010 at 08:08:32AM +0100, Pavlos Parissis wrote: On 1 November 2010 15:01, Rick Cone rc...@securepaymentsystems.com wrote

Re: [Pacemaker] PE ignores monitor failure of stonith:external/rackpdu

2010-11-02 Thread Dejan Muhamedagic
Hi, On Tue, Nov 02, 2010 at 12:13:43PM +0100, Pavlos Parissis wrote: On 2 November 2010 11:22, Dejan Muhamedagic deja...@fastmail.fm wrote: Hi, On Fri, Oct 29, 2010 at 08:37:04AM +0200, Pavlos Parissis wrote: Hi, I wanted to check what happens when the monitor of a fencing

Re: [Pacemaker] clones with regular resources

2010-11-02 Thread Dejan Muhamedagic
Hi, On Fri, Oct 29, 2010 at 01:51:18PM -0700, Alan Jones wrote: I'm trying to configure a simple resource that depends on a local clone. The configuration is below. For those familiar with the Veritas Cluster Server, I'm trying to get something like permanent resources. Unfortunately, the

Re: [Pacemaker] IP Power 9258HP with external/ippower9258

2010-11-02 Thread Dejan Muhamedagic
Hi, On Sat, Oct 30, 2010 at 04:31:38PM +0200, Pavlos Parissis wrote: On 30 October 2010 16:03, Pavlos Parissis pavlos.paris...@gmail.com wrote: Hi, Does anyone know if the fencing agent ippower9258 works with IP Power 9258HP PDU? The readme file of the fencing agent mentions the

Re: [Pacemaker] PE ignores monitor failure of stonith:external/rackpdu

2010-11-02 Thread Dejan Muhamedagic
Hi, On Tue, Nov 02, 2010 at 01:09:02PM +0100, Pavlos Parissis wrote: On 2 November 2010 13:02, Dejan Muhamedagic deja...@fastmail.fm wrote: [...snip...] Definitely not. If you do the monitor action from the command line does that also return the unexpected exit code: from

Re: [Pacemaker] Ordering clones and primitives

2010-11-02 Thread Dejan Muhamedagic
Hi, On Sat, Oct 30, 2010 at 01:55:33PM -0400, Lars Kellogg-Stedman wrote: I have a two node cluster that hosts two virtual ips on the same network:  primitive proxy_0_ip ocf:heartbeat:IPaddr \    params ip=10.10.10.20 cidr_netmask=255.255.255.0 nic=eth3  primitive proxy_1_ip

Re: [Pacemaker] PE ignores monitor failure of stonith:external/rackpdu

2010-11-02 Thread Dejan Muhamedagic
On Tue, Nov 02, 2010 at 01:28:09PM +0100, Pavlos Parissis wrote: On 2 November 2010 13:18, Dejan Muhamedagic deja...@fastmail.fm wrote: Hi, On Tue, Nov 02, 2010 at 01:09:02PM +0100, Pavlos Parissis wrote: On 2 November 2010 13:02, Dejan Muhamedagic deja...@fastmail.fm wrote

Re: [Pacemaker] Ordering clones and primitives

2010-11-02 Thread Dejan Muhamedagic
Hi, On Tue, Nov 02, 2010 at 09:57:12AM -0400, Lars Kellogg-Stedman wrote: You should set the interleave=true meta attribute for the clones. Hope that that would help. You need collocations as well. Dejan, Thanks for the suggestion. Can you elaborate a little? The documentation for

Re: [Pacemaker] Problem with configuring stonith rcd_serial

2010-11-02 Thread Dejan Muhamedagic
On Tue, Nov 02, 2010 at 04:26:40PM +0100, Eberhard Kuemmerle wrote: On 2 Nov 2010 16:15 02.11.2010 16:18, Eberhard Kuemmerle wrote: Hi, here is what you requested: TEST 1: stonith -t rcd_serial -p test /dev/ttyS0 rts 2000 test ** (process:2928): DEBUG: rcd_serial_set_config:called

Re: [Pacemaker] Impossible to add a 4th node to a cluster

2010-10-29 Thread Dejan Muhamedagic
Hi, On Thu, Oct 28, 2010 at 04:09:36PM +0200, Guillaume Chanaud wrote: Hello, i have a cluster of two master/slave drbd server running into a vlan (machines are dedicated servers) (filer1 and filer2) I added a third node to the cluster (a blank node for the moment) correctly (server1)

Re: [Pacemaker] Problem with configuring stonith rcd_serial

2010-10-29 Thread Dejan Muhamedagic
On Fri, Oct 29, 2010 at 02:04:38PM +0200, Eberhard Kuemmerle wrote: On 28 Oct 2010 16:58, Dejan Muhamedagic wrote: Despite that, I tried a stonith reset with that config and the modified rcd_serial.so, but it failed: Oct 28 10:58:56 node1 stonith-ng: [5224]: WARN: parse_host_line

Re: [Pacemaker] AP9606 fencing device

2010-10-28 Thread Dejan Muhamedagic
Hi, On Wed, Oct 27, 2010 at 08:15:09PM +0200, Pavlos Parissis wrote: On 27 October 2010 19:46, Pavlos Parissis pavlos.paris...@gmail.com wrote: I did more testing using the clone type of fencing and worked as I expected. test1 hack init script to return 1 on stop and run a crm resource

Re: [Pacemaker] Stonith Device APC AP7900

2010-10-28 Thread Dejan Muhamedagic
be that the warning message is not issued any more. Thanks, Dejan -Original Message- From: Dejan Muhamedagic [mailto:deja...@fastmail.fm] Sent: Wednesday, October 27, 2010 9:55 AM To: rc...@securepaymentsystems.com; The Pacemaker cluster resource manager Subject: Re

Re: [Pacemaker] Problem with configuring stonith rcd_serial

2010-10-28 Thread Dejan Muhamedagic
Hi, On Thu, Oct 28, 2010 at 03:19:07PM +0200, Eberhard Kuemmerle wrote: On 27 Oct 2010 11:52, Dejan Muhamedagic wrote: Hi, On Tue, Oct 26, 2010 at 09:33:17AM +0200, Eberhard Kuemmerle wrote: Hi, I try to configure stonith and get an error message that I don't understand: crm

Re: [Pacemaker] Problem with configuring stonith rcd_serial

2010-10-27 Thread Dejan Muhamedagic
Hi, On Tue, Oct 26, 2010 at 09:33:17AM +0200, Eberhard Kuemmerle wrote: Hi, I try to configure stonith and get an error message that I don't understand: crm(live)# configure primitive stonith-P stonith::rcd_serial params hostlist=node1 node2 ttydev=/dev/ttyS0 msduration=2000 dtr|rts=rts

Re: [Pacemaker] AP9606 fencing device

2010-10-27 Thread Dejan Muhamedagic
Hi, On Wed, Oct 27, 2010 at 01:58:20PM +0200, Pavlos Parissis wrote: On 27 October 2010 13:43, Vadym Chepkov vchep...@gmail.com wrote: On Oct 27, 2010, at 7:27 AM, Pavlos Parissis wrote: On 27 October 2010 13:12, Vadym Chepkov vchep...@gmail.com wrote: On Oct 27, 2010, at 3:47

Re: [Pacemaker] AP9606 fencing device

2010-10-27 Thread Dejan Muhamedagic
Hi, On Wed, Oct 27, 2010 at 08:34:19AM -0400, Vadym Chepkov wrote: On Oct 27, 2010, at 8:11 AM, Dejan Muhamedagic wrote: Hi, On Wed, Oct 27, 2010 at 01:58:20PM +0200, Pavlos Parissis wrote: On 27 October 2010 13:43, Vadym Chepkov vchep...@gmail.com wrote: On Oct 27, 2010

Re: [Pacemaker] the way to delete resource completely

2010-10-21 Thread Dejan Muhamedagic
Hi, On Thu, Oct 21, 2010 at 01:51:25PM +0800, jiaju liu wrote: Hi everyone I use command crm resource stop Rsc to stop a resource and use crm resource cleanup at last use crm configure delete Rsc to delete resource. However I still found the resource's imformation in XML file. crm

Re: [Pacemaker] WARNING: status: operation not recognized

2010-10-21 Thread Dejan Muhamedagic
Hi, On Thu, Oct 21, 2010 at 02:37:34PM +0800, jiaju liu wrote: when I use crm configure refresh, it shows WARNING: status: operation not recognized What's wrong with it There's no status operation. You should use monitor instead. Thanks, Dejan

Re: [Pacemaker] Migrate resources based on connectivity

2010-10-11 Thread Dejan Muhamedagic
Hi, On Sun, Oct 10, 2010 at 10:27:13PM +0300, Dan Frincu wrote: Hi, I have the following setup: - order drbd0:promote drbd1:promote - order drbd1:promote drbd2:promote - order drbd2:promote all:start - collocation all drbd2:Master - all is a group of resources, drbd{0..3} are drbd ms

Re: [Pacemaker] starting a xen-domU depending on available hardware-resources using SysInfo-RA

2010-10-08 Thread Dejan Muhamedagic
Hi, On Fri, Oct 08, 2010 at 10:10:16AM +0200, Sascha Reimann wrote: Hi Dejan, On 10/07/2010 03:50 PM, Dejan Muhamedagic wrote: The VM won't move elsewhere in case its already running. If it isn't, then the stickiness doesn't apply and it will go to the node with most free RAM. Though I

Re: [Pacemaker] starting a xen-domU depending on available hardware-resources using SysInfo-RA

2010-10-07 Thread Dejan Muhamedagic
/lib/ocf/resource.d/heartbeat/SysInfo /usr/lib/ocf/resource.d/pacemaker/SysInfo Thanks, Vadym On 09/28/2010 12:18 PM, Dejan Muhamedagic wrote: Hi, On Tue, Sep 28, 2010 at 11:00:18AM +0200, Sascha Reimann wrote: howdy! I'm trying to configure a resource (xen-domU) that could

Re: [Pacemaker] stonith resource issue

2010-10-07 Thread Dejan Muhamedagic
of repeatable messages. I 'm in the process of installing Date::parse perl module then I'll send the info from hb_report. Thanks for your help Shravan On Wed, Oct 6, 2010 at 11:26 AM, Dejan Muhamedagic deja...@fastmail.fm wrote: Hi, On Wed, Oct 06, 2010 at 11:04:34AM -0400

Re: [Pacemaker] clone

2010-10-06 Thread Dejan Muhamedagic
Hi, On Wed, Oct 06, 2010 at 11:55:53AM +0200, Cédric Castanet wrote: , *Michael Schwartzkopff* a écrit : Try to configure the resource-stickiness within the resource and not within the clone. Sorry not answering directly to the thread, but i've done a mistake in the mailing list

Re: [Pacemaker] configuration problem: migration no working always

2010-10-06 Thread Dejan Muhamedagic
Hi, On Wed, Oct 06, 2010 at 01:11:20PM +0200, Claus Denk wrote: Dear all, I don't understand the following behaviour. We have and active/passive cluster with drbd, mysql and apache, I attach the configuration. I have devided the resources in two groups (filesystem+mysql in one

Re: [Pacemaker] stonith resource issue

2010-10-06 Thread Dejan Muhamedagic
Hi, On Wed, Oct 06, 2010 at 11:04:34AM -0400, Shravan Mishra wrote: Hi guys, I'm having a weird problem with my stonith resources.They are constantly starting and stopping. I'm using: pacemaker=1.1.3 corosync=1.2.8 glue=glue_1.0-10 Hmm, which version is this really? Can you do

Re: [Pacemaker] Monitor ops do not get cancelled

2010-09-28 Thread Dejan Muhamedagic
Hi, On Tue, Sep 28, 2010 at 11:37:02AM +0200, Andrew Beekhof wrote: On Thu, Sep 23, 2010 at 8:49 PM, Phil Armstrong p...@sgi.com wrote: I posted earlier asking for help because I had a primitive whose monitor operation was not getting canceled at the time that a manual relocation was

Re: [Pacemaker] Can somebody please explain pengine's urge to move all resources?

2010-09-28 Thread Dejan Muhamedagic
On Tue, Sep 28, 2010 at 11:59:50AM +0200, Andrew Beekhof wrote: On Tue, Sep 28, 2010 at 11:48 AM, Raoul Bhatia [IPAX] r.bha...@ipax.at wrote: On 09/23/2010 09:28 AM, Andrew Beekhof wrote: The good news is that 1.1.3 doesn't have that behavior. Lets see how 1.0 goes once all the relevant

Re: [Pacemaker] starting a xen-domU depending on available hardware-resources using SysInfo-RA

2010-09-28 Thread Dejan Muhamedagic
Hi, On Tue, Sep 28, 2010 at 11:00:18AM +0200, Sascha Reimann wrote: howdy! I'm trying to configure a resource (xen-domU) that could start on 2 nodes (preferred on node server01): primitive v01 ocf:heartbeat:Xen \ params xmfile=/etc/xen/conf.d/v01.cfg allow-migrate=true location

Re: [Pacemaker] default timeout for op start/stop

2010-09-27 Thread Dejan Muhamedagic
Hi, On Mon, Sep 27, 2010 at 12:00:19PM +0200, Pavlos Parissis wrote: On 24 September 2010 18:12, Dejan Muhamedagic deja...@fastmail.fm wrote: [...snip...] Default timeout is coded into the resource agent. You safely can ignore the WARNINGs. These are also removed from more recent

Re: [Pacemaker] crm and sudo

2010-09-27 Thread Dejan Muhamedagic
Hi, On Mon, Sep 27, 2010 at 08:50:21AM -0800, Justin Burket wrote: Hi, I'm just getting started using pacemaker and the crm shell but ran into a problem using crm via sudo. Ignore the complaints about no stonith resources, like I said, i'm just getting started :) `-- sudo crm

Re: [Pacemaker] [PATCH 1/8 ] cl_log: Make functions static and remove CircularBuffer

2010-09-24 Thread Dejan Muhamedagic
Hi Bernd, On Thu, Sep 16, 2010 at 12:11:39AM +0200, Bernd Schubert wrote: cl_log: Make functions static and remove CircularBuffer CircularBuffer was added more than 5 years ago and still it is not used. So remove dead code, it can be retrieved from the repository history if required. Also

Re: [Pacemaker] correct permissions for /var/lib/pengine

2010-09-22 Thread Dejan Muhamedagic
Hi, On Wed, Sep 22, 2010 at 12:44:45PM +0200, Raoul Bhatia [IPAX] wrote: in my recent hb_report, i find: WARN: problem with permissions/ownership at wc01: wrong permissions or ownership for /var/lib/pengine: drwxr-xr-x 2 hacluster haclient 5038080 Jul 23 08:58 /var/lib/pengine WARN:

Re: [Pacemaker] Timeout after nodejoin

2010-09-22 Thread Dejan Muhamedagic
Hi, On Wed, Sep 22, 2010 at 04:48:42PM +0300, Dan Frincu wrote: Hi, Raoul Bhatia [IPAX] wrote: hi, On 09/22/2010 02:43 PM, Dan Frincu wrote: When I start openais, I get nodejoin immediately, as seen in the logs below. However, it takes some time before the nodes are visible in crm_mon

Re: [Pacemaker] Problem to support NFS v3

2010-09-17 Thread Dejan Muhamedagic
Hi, On Thu, Sep 16, 2010 at 09:04:29AM -0400, liang...@asc-csa.gc.ca wrote: Somehow this may not get through. Let me try it again. Hi There, I have setup a pair of primary/secondary servers for services such as web, ftp, samba and nfs with pacemaker 1.1.1, drdb-pacemaker 8.3.7, corosync

<    1   2   3   4   5   6   7   8   9   10   >