Re: [Pacemaker] Few questions

2009-02-09 Thread Dejan Muhamedagic
On Mon, Feb 09, 2009 at 03:09:40PM +0530, Romi Verma wrote: On Mon, Feb 9, 2009 at 2:56 PM, Dejan Muhamedagic deja...@fastmail.fmwrote: On Mon, Feb 09, 2009 at 02:16:42PM +0530, Glory Smith wrote: On Mon, Feb 9, 2009 at 2:06 PM, Dejan Muhamedagic deja...@fastmail.fm wrote: Hi

Re: [Pacemaker] Three questions...

2009-03-19 Thread Dejan Muhamedagic
Hi, On Thu, Mar 19, 2009 at 02:09:57PM +0530, Romi Verma wrote: actually after going through few previous posts i am kinda confused. In 2 nodes cluster , if we configure a ilo stonith (which can control only one node at a time) for a particular node then 1) running it on only one node

Re: [Pacemaker] removing a node from cluster

2009-03-31 Thread Dejan Muhamedagic
On Tue, Mar 31, 2009 at 01:53:33PM +0200, Andrew Beekhof wrote: this is covered in the configuration explained pdf Or one can try: crm node delete mynode Thanks, Dejan 2009/3/31 Priyanka Ranjan priyanka3rd...@gmail.com: Hi all, i am using openais+pacemaker cluster stack. how do we

Re: [Pacemaker] maximum no. of RA

2009-04-03 Thread Dejan Muhamedagic
Hi, On Fri, Apr 03, 2009 at 09:27:55AM +0530, Glory Smith wrote: Hi All, Does Pacemaker has any limit in terms of no. of RA ( maximum no. of RA that can be configured in pacemaker cluster). No. Apart from practical limits in terms of time/space/(computing)resources. Thanks, Dejan

Re: [Pacemaker] compilation problem with last source

2009-04-06 Thread Dejan Muhamedagic
Hi, On Mon, Apr 06, 2009 at 10:46:08AM -0400, Infos E-Blokos wrote: Hi, /usr/bin/ld: cannot find -lltdl collect2: ld returned 1 exit status gmake[1]: *** [pengine] Error 1 gmake[1]: Leaving directory `/usr/src/LAST_CLUSTER/pacemaker/stable-1.0/pengine' make: *** [all-recursive] Error 1

Re: [Pacemaker] ERROR: symlink: [Errno 17] File exists

2009-04-14 Thread Dejan Muhamedagic
Hi, On Sat, Apr 11, 2009 at 06:28:37PM +0300, Juha Heinanen wrote: i returned to testing my basic pacemaker configuration after upgrading to latest debian packages from http://multinet.de: ii pacemaker1.0.3-1 ii heartbeat2.99.2-1

Re: [Pacemaker] Resource won't switch from one node to another during power shutdown

2009-04-24 Thread Dejan Muhamedagic
Hi, On Fri, Apr 24, 2009 at 10:06:24AM +0200, Andrew Beekhof wrote: On Fri, Apr 24, 2009 at 09:49, Juha Heinanen j...@tutpro.com wrote: Andrew Beekhof writes: ? + ? ? ? ?crm_config_err(NOTE: Clusters with shared data need STONITH to ? ensure data integrity); Good! Now crm will also

Re: [Pacemaker] new doc about stonith/fencing

2009-05-13 Thread Dejan Muhamedagic
Hi, On Mon, May 04, 2009 at 11:37:42AM +0200, Peter Kruse wrote: Hi Dejan, Dejan Muhamedagic wrote: As usual, constructive criticism/suggestions/etc are welcome. Thanks for sharing. Allow me to bring up a topic that to my point of view is important. You have written: The lights-out

Re: [Pacemaker] STONITH Deathmatch Explained

2009-05-14 Thread Dejan Muhamedagic
Hi, On Thu, May 14, 2009 at 06:32:00PM +1000, Tim Serong wrote: Greetings, I've written up a brief document entitled STONITH Deathmatch Explained (and Some Hints for Resource Agent Authors and Systems Engineers): http://ourobengr.com/ha It's a description of causes of STONITH

Re: [Pacemaker] Drbd disk don't run

2009-05-14 Thread Dejan Muhamedagic
Hi, On Thu, May 14, 2009 at 03:18:15PM -0300, Rafael Emerick wrote: Hi, I'm tryng to make a cluster with xen-ha using drbd and ocfs2... I want that crm management all resources (xen machines, drbd disks and ocfs2 filesystem ). First, a create a clone lsb resource to init drbd with gui

Re: [Pacemaker] Drbd disk don't run

2009-05-15 Thread Dejan Muhamedagic
. As xml. Thanks, Dejan Thanks, On Thu, May 14, 2009 at 3:43 PM, Dejan Muhamedagic deja...@fastmail.fmwrote: Hi, On Thu, May 14, 2009 at 03:18:15PM -0300, Rafael Emerick wrote: Hi, I'm tryng to make a cluster with xen-ha using drbd and ocfs2... I want that crm management

Re: [Pacemaker] Drbd disk don't run

2009-05-15 Thread Dejan Muhamedagic
at 4:46 AM, Dejan Muhamedagic deja...@fastmail.fmwrote: Hi, On Thu, May 14, 2009 at 05:13:50PM -0300, Rafael Emerick wrote: Hi, Dejan There is no two set of meta-attributes. I remove the ms-drbd11, add again and the error is the same: Error performing operation: Required data

Re: [Pacemaker] Drbd disk don't run

2009-05-15 Thread Dejan Muhamedagic
resource init, the Sonith must be configured? You must have stonith, in particular since it's shared storage. Also, set crm configure property no-quorum-policy=ignore Thanks, Dejan Thank you! On Fri, May 15, 2009 at 7:02 AM, Dejan Muhamedagic deja...@fastmail.fmwrote: Hi, On Fri, May

Re: [Pacemaker] Clone config question

2009-05-19 Thread Dejan Muhamedagic
Hi, On Tue, May 19, 2009 at 10:24:54AM +0200, Mark Schenk wrote: Hi, I am trying to run cloned resources on part of my cluster, however I must be mistaken on how to use the location-directive. This is the relevant part of my config: node $id=8ce10d28-174c-4fc3-bac4-b2bf21ef6a38 apa1

Re: [Pacemaker] Clone config question

2009-05-20 Thread Dejan Muhamedagic
Hi, On Wed, May 20, 2009 at 11:04:49AM +0200, Andrew Beekhof wrote: On Wed, May 20, 2009 at 8:55 AM, Mark Schenk m.m.a.sch...@tudelft.nl wrote: Hello Andrew, ? thanks for the offer, however I'm pretty sure that it's my lack of knowledge that't the problem here and not pacemaker :-) I'll

Re: [Pacemaker] can not handle the failcount for clone resource using crm tool

2009-05-21 Thread Dejan Muhamedagic
Hi Junko-san, On Thu, May 21, 2009 at 06:32:52PM +0900, Junko IKEDA wrote: Hi, I have 4 nodes (dl380g5a, dl380g5b, dl380g5c, dl380g5d), and run 1 clone resource with the following configuration. clone_max=2 clone_node_max=1 (1) Initial state dummy:0 dl380g5a

Re: [Pacemaker] crm command line tool problem

2009-05-25 Thread Dejan Muhamedagic
On Mon, May 25, 2009 at 06:03:20PM +0200, Andrew Beekhof wrote: On Mon, May 25, 2009 at 5:51 PM, Dejan Muhamedagic deja...@fastmail.fm wrote: Hi, On Fri, May 22, 2009 at 08:51:45AM -0700, Joe Armstrong wrote: Hi All, I am playing around with the crm command line tool to create

Re: [Pacemaker] [Fwd: Re: [RfC] Redesigned Debian HA packages, try 2 (was: try 1)]]

2009-05-26 Thread Dejan Muhamedagic
Hi, On Tue, May 26, 2009 at 05:57:26PM +0200, Raoul Bhatia [IPAX] wrote: 8. q. should pacemaker-openais add the service definition for pacemaker to /etc/init.d/openais.conf? I'd say yes. e.g.: service { # Load the Pacemaker Cluster Resource Manager ver: 0 name:

Re: [Pacemaker] 'crm configure delete' behavior changed in 1.0.3?

2009-05-26 Thread Dejan Muhamedagic
Hi, On Tue, May 26, 2009 at 10:01:04AM -0600, Nicholas Dronen wrote: On Tue, May 26, 2009 at 9:55 AM, Dejan Muhamedagic deja...@fastmail.fmwrote: Hi, On Tue, May 26, 2009 at 08:48:26AM -0600, Nicholas Dronen wrote: Normally when I delete a resource group with 'crm configure delete

Re: [Pacemaker] [Fwd: Re: [RfC] Redesigned Debian HA packages, try 2 (was: try 1)]]

2009-05-26 Thread Dejan Muhamedagic
Hi, On Tue, May 26, 2009 at 06:14:29PM +0200, Raoul Bhatia [IPAX] wrote: Dejan Muhamedagic wrote: Perhaps also add use_logd: yes in my configuration (openais), /etc/ha.d/ha.cf does not exist. but ha_logd ist started by /etc/init.d/logd . is this sufficient? Yes. (ha_)logd

Re: [Pacemaker] Managing resources - classes

2009-05-27 Thread Dejan Muhamedagic
Hi, On Wed, May 27, 2009 at 08:42:06AM -0400, Eliot Gable wrote: http://clusterlabs.org/wiki/Documentation First, read this (probably ten times or so, since it won???t make complete sense and you will miss various details the first couple of times):

Re: [Pacemaker] Fwd: classes

2009-05-27 Thread Dejan Muhamedagic
Hi, On Tue, May 26, 2009 at 04:34:43PM -0300, acl1978 wrote: pbr / br /br /Em 26/05/2009 15:46, strongspanacl1978 lt; acl1...@bol.com.br gt;/span/strong escreveu:/p blockquote style=border-left: 2px solid #6868cc; margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;br / pHi everybody,/p pWhen I

Re: [Pacemaker] 'crm configure delete' behavior changed in 1.0.3?

2009-05-28 Thread Dejan Muhamedagic
On Thu, May 28, 2009 at 01:53:37PM +0200, Andrew Beekhof wrote: On Tue, May 26, 2009 at 6:10 PM, Dejan Muhamedagic deja...@fastmail.fm wrote: Hi, On Tue, May 26, 2009 at 10:01:04AM -0600, Nicholas Dronen wrote: On Tue, May 26, 2009 at 9:55 AM, Dejan Muhamedagic deja

Re: [Pacemaker] Install the Pacemaker on Red hat enterprise 5

2009-05-28 Thread Dejan Muhamedagic
Hi, On Thu, May 28, 2009 at 02:18:12PM -0300, George Gomes wrote: Hi Andrew, Before sending this email, I read the Configuration_Explained.pdf, Crm_cli.pdf and I modified the script file according to LSB (Appendix: Is This init Script LSB Compatible?, pg 71). After changing the link

Re: [Pacemaker] Resource does not migrate to another cluster (node2)

2009-06-02 Thread Dejan Muhamedagic
Hi, On Tue, Jun 02, 2009 at 03:34:02PM -0300, George Gomes wrote: Hi all, There is a problem when I run crm ra list stonith. No classes are listed. Does anybody have any idea of what is happening? Classes are not going to be listed, but the set of stonith plugins which are installed. For

Re: [Pacemaker] cibadmin doesn't change cib.xml

2009-06-03 Thread Dejan Muhamedagic
On Tue, Jun 02, 2009 at 07:32:37PM -0400, Infos E-Blokos wrote: Hi, when I try to modify cib.xml with cibadmin -S -x newcib.xml nothing is changed. Do you get an error message? BTW, -S is not the right option, try -R. Thanks, Dejan - 4 nodes - Fedora 10 - heartbeat 2.99-8 - pacemaker

Re: [Pacemaker] cibadmin update

2009-06-05 Thread Dejan Muhamedagic
Hi, On Thu, Jun 04, 2009 at 01:58:20PM -0400, Infos E-Blokos wrote: Hi, when I try to update cib.xml, evreytime it fails Call cib_replace failed (-45): Update was older than existing configuration null I use # cibadmin -R -o cib -x cib.xml Update the epoch fields in the cib tag so that

Re: [Pacemaker] ERROR: provider could not be determined for pingd

2009-06-05 Thread Dejan Muhamedagic
Hi, On Fri, Jun 05, 2009 at 10:41:50AM -0300, George Gomes wrote: Hi all, Anyone knows how to configure the providers? Because when I create a new primitive pingd it shows the message below on crm cli: crm(live)configure# primitive pingd pingd params name=pingd dampen=5s multiplier=100

Re: [Pacemaker] Fw: corosync.conf

2009-06-09 Thread Dejan Muhamedagic
Hi, On Tue, Jun 09, 2009 at 04:00:23PM -0400, E-Blokos wrote: Hi, I try today to stop the use of heartbeat and experiment openais/corosync (package 0.80.5-13 for Fedora10 from opensuse.org repository) and apparently it needs to set bindnetaddr to the real ip of the node and not a network

Re: [Pacemaker] configuring pingd and hbaping with CentOS 5's heartbeat rpms.

2009-06-10 Thread Dejan Muhamedagic
Hi, On Tue, Jun 09, 2009 at 02:44:21PM -0600, Lundgren, Andrew wrote: I am working on configuring my first clusters using Linux HA. I started with 2.99 and ended up falling back to 2.1.3 because I want the snmp functionality provided by hbagent and it seemed to be gone from the newer

Re: [Pacemaker] About a combination with OpenAIS.

2009-06-11 Thread Dejan Muhamedagic
Hi Hideo-san, On Thu, Jun 11, 2009 at 03:17:08PM +0900, renayama19661...@ybb.ne.jp wrote: Hi, I understood the cause of the problem. An init script in WhiteTank was a problem. I work definitely when I use an init script for Pacemaker which Mr. Andrew made. I hope a right init script

Re: [Pacemaker] how to determin crm version / features from within a RA

2009-06-11 Thread Dejan Muhamedagic
On Wed, Jun 10, 2009 at 08:44:20PM +0200, Lars Ellenberg wrote: On Wed, Jun 10, 2009 at 04:42:32PM +0200, Dejan Muhamedagic wrote: On Wed, Jun 10, 2009 at 04:26:31PM +0200, Andrew Beekhof wrote: On Wed, Jun 10, 2009 at 3:53 PM, Lars Ellenberglars.ellenb...@linbit.com wrote: taking

Re: [Pacemaker] how to determin crm version / features from within a RA

2009-06-15 Thread Dejan Muhamedagic
On Thu, Jun 11, 2009 at 03:16:28PM +0200, Lars Ellenberg wrote: On Thu, Jun 11, 2009 at 01:59:56PM +0200, Dejan Muhamedagic wrote: so, to summarize, I hacked up a compare_version. and I think I even avoided bashisms! that is once in a life time :) Exemplary ;-) It may depend on some

Re: [Pacemaker] lrmadmin -T stonith...

2009-06-17 Thread Dejan Muhamedagic
Hi, On Tue, Jun 16, 2009 at 04:58:20PM -0400, Alain St-Denis wrote: Hi, I just built pacemaker-heartbeat 1.0.4 for etch using Martin's source package for lenny. I had to drop snmp support and the gui wouldn't build, but aside from this, it builds and installs. For some reason,

Re: [Pacemaker] ocf_log debug ... doesn't?

2009-06-17 Thread Dejan Muhamedagic
Hi Florian, On Wed, Jun 17, 2009 at 05:23:25PM +0200, Florian Haas wrote: Dejan, On 2009-06-17 16:46, Dejan Muhamedagic wrote: Am I overlooking something blatantly obvious? Did you try logger -p trala.debug ... ? Does that work? If so, then ocf_log debug should work too. ocf_log

Re: [Pacemaker] ocf_log debug ... doesn't?

2009-06-18 Thread Dejan Muhamedagic
Hi, On Thu, Jun 18, 2009 at 09:05:40AM +0200, Florian Haas wrote: Dejan, On 2009-06-17 21:13, Dejan Muhamedagic wrote: Where exactly does it set HA_LOGFACILITY? It should be done by aisexec, i.e. some ais plugin. Oh, Andrew set it to HA_logfacility :( And that in December 2007. OK

Re: [Pacemaker] ocf_log debug ... doesn't?

2009-06-18 Thread Dejan Muhamedagic
On Thu, Jun 18, 2009 at 11:47:59AM +0200, Dejan Muhamedagic wrote: Hi, On Thu, Jun 18, 2009 at 09:05:40AM +0200, Florian Haas wrote: Dejan, On 2009-06-17 21:13, Dejan Muhamedagic wrote: Where exactly does it set HA_LOGFACILITY? It should be done by aisexec, i.e. some ais plugin

Re: [Pacemaker] configuring pingd and hbaping with CentOS 5's heartbeat rpms.

2009-06-19 Thread Dejan Muhamedagic
Hi, On Thu, Jun 18, 2009 at 04:45:29PM -0600, Lundgren, Andrew wrote: Are you sure that the attribute is called pingd? You can check in the CIB status section what is being set. Thanks for your reply Based on your input I looked at the output in the cibstatus. To make sure I was

Re: [Pacemaker] operation negations

2009-06-19 Thread Dejan Muhamedagic
Hi, On Thu, Jun 18, 2009 at 05:06:54PM -0700, ??? wrote: Hi, All! Please help me with the correct negation syntax! In the documentation there is an example how to build a rule that would forbid running a resource on certain node: rsc_location id=dont-run-apache-on-c001n03

Re: [Pacemaker] operation negations

2009-06-19 Thread Dejan Muhamedagic
Hi, On Thu, Jun 18, 2009 at 06:02:19PM -0700, ??? wrote: Hi again! I might have figured this out - if I guess the documentation correctly: eq - is equal to ne - is not equal to gt - is greater than gte - is greater than or equal lte - is less than or equal Then my attempt to

Re: [Pacemaker] Does every resource in a cluster need to be configured on every node?

2009-06-19 Thread Dejan Muhamedagic
Hi, On Thu, Jun 18, 2009 at 06:25:07PM -0700, ??? wrote: Hi, All! I have a Logical Cluster where a set of servers running different server applications provide complex set of services. To make the explanation short a have 8 custom application groups each within a pool of several

Re: [Pacemaker] API for programmatically controlling a heartbeat3cluster?

2009-06-22 Thread Dejan Muhamedagic
Hi, On Mon, Jun 22, 2009 at 11:15:29AM +0200, martin.br...@icw.de wrote: Hi Thomas, what about the following cli tools: - crm - crm_resource - crm_standby - crm_mon - crm_* I know that I can do anything with these tools - but I thought about something more direct, like

Re: [Pacemaker] monitoring events exported through web interface?

2009-06-22 Thread Dejan Muhamedagic
Hi, On Mon, Jun 22, 2009 at 02:48:30PM -0700, ??? wrote: Hi, Everybody! I need to publish certain resource states in my cluster through a web interface which can be accessed remotely by load balancers and other health-checking software. Is there a standard way to do this? I

Re: [Pacemaker] DRBD User's Guide 1.2.0rc1

2009-06-29 Thread Dejan Muhamedagic
Hi, On Fri, Jun 26, 2009 at 10:32:39AM +0200, Florian Haas wrote: Hello everyone, A new version of the DRBD User's Guide is up at http://www.drbd.org/users-guide. As this version has some major additions to the previous release, I've decided to create a release candidate this time, before

Re: [Pacemaker] Simple STONITH config example?

2009-07-01 Thread Dejan Muhamedagic
Hi, On Tue, Jun 30, 2009 at 04:51:58PM +0100, Dave Whitehouse wrote: Does anyone have a simple STONITH config example I can follow. I'm struggling with the documentation at the moment. I have a simple 2 node cluster with NFS and SYSLOG host as resources. I can use IPMI to shoot the

Re: [Pacemaker] Odd cluster constraint behaviour

2009-07-06 Thread Dejan Muhamedagic
Hi, On Mon, Jul 06, 2009 at 03:33:13PM +1000, Oliver Hookins wrote: I'm not sure if I've configured things correctly, as the last time I did this was on Heartbeat 2.0.7 or so. It's either that as a bug (and it's far more likely I've stuffed something up): * there are two resource groups, one

Re: [Pacemaker] Unexpected resource restarts after putting a node in standby mode

2009-07-06 Thread Dejan Muhamedagic
Hi, On Mon, Jul 06, 2009 at 08:00:38AM +0200, Florian Haas wrote: Hello everyone, probably at bad time to ask this as Andrew is out on vacation, but maybe Dejan or Dominik can help shed some light on this one. I'm testing my iSCSITarget and iSCSILogicalUnit agents in a 2-node Pacemaker

Re: [Pacemaker] python bindings

2009-07-07 Thread Dejan Muhamedagic
Hi, On Tue, Jul 07, 2009 at 02:39:31PM +0200, Nikola Ciprich wrote: Hello, I would like to do some extensive scripting with python and pacemaker. According to what I've discovered so far, it seems that there are at least two implemented python bindings - one in Dejan's crm shell and one in

Re: [Pacemaker] Resource agents: parameter type enforcement and normalization

2009-07-07 Thread Dejan Muhamedagic
Hi Florian, On Fri, Jul 03, 2009 at 08:55:21AM +0200, Florian Haas wrote: Hello, continuing a discussion I started, briefly, with Andrew and Dejan yesterday. As I hear from Andrew, when we define parameters in resource agents and describe them in the RA metadata information, then the CRM

Re: [Pacemaker] Unexpected resource restarts after putting a node in standby mode

2009-07-07 Thread Dejan Muhamedagic
Hi, On Mon, Jul 06, 2009 at 01:55:54PM +0200, Florian Haas wrote: Dejan, All those actions are fine, except for those restarts of the rg_iscsivg02 resource group on alice. What am I doing wrong? Not sure if there's anything wrong with the configuration. I would assume there

Re: [Pacemaker] skip resource restart when changing instance attributes

2009-07-09 Thread Dejan Muhamedagic
Hi, On Thu, Jul 09, 2009 at 04:45:32PM +0200, Andreas Kurz wrote: Dejan Muhamedagic wrote: Hi, On Thu, Jul 09, 2009 at 03:51:39PM +0200, Nikola Ciprich wrote: Hello, I'd like to ask small question regarding changing instance attributes. When I change attributes for my resource

Re: [Pacemaker] Syntax error when using binary-op types in crm cli.

2009-07-13 Thread Dejan Muhamedagic
Hi, On Fri, Jul 10, 2009 at 10:09:11AM -0400, Alain St-Denis wrote: Hi, Here's a quick fix (for pacemaker-1.0.4.1+hg20090606): *** crm Wed Jul 8 14:41:46 2009 --- /usr/sbin/crm Fri Jul 10 14:02:21 2009 *** *** 3227,3232 --- 3227,3233 return

Re: [Pacemaker] stonith suice / chaining stonith agents

2009-08-11 Thread Dejan Muhamedagic
Hi, On Thu, Jul 23, 2009 at 05:19:56PM +0200, Bernd Schubert wrote: Hello, for suicides I would prefer to have a stonith agent that resets the system with sysrq-s, sysrq-u and sysrq-b, since that would at least allow to sync filesystems. A suicide stonith plugin is by definition not

Re: [Pacemaker] OCF resource agent: template for python?

2009-08-14 Thread Dejan Muhamedagic
Hi, On Fri, Aug 14, 2009 at 02:57:48PM +0200, martin.br...@icw.de wrote: Hi List, we would like to use a python script as an OCF resource agent script. Do you know any free templates for this? No. All resource agents but one, which is C, are shell scripts. Are there any disadvantages to

Re: [Pacemaker] Please Help - frequent cleanup is required for the resources on failover condition

2009-08-17 Thread Dejan Muhamedagic
Hi, On Mon, Aug 17, 2009 at 07:38:39AM +0530, Abhin GS wrote: Hello, The node1 was chocked due to a big messages file. we have fixed that problem in node1, then we ran a update for SLES11, every required patches were installed properly (service openais stop - was done before patching). We

Re: [Pacemaker] crm_resource problem

2009-08-17 Thread Dejan Muhamedagic
Hi, On Mon, Aug 17, 2009 at 01:46:14PM -0600, Dan Urist wrote: Andrew Beekhof wrote: Possibly, but not in this case. I'd guess you had some constraints that reference the vsvg1 resource. Deleting the resource would therefore leave dangling dependancies which is not allowed.

Re: [Pacemaker] Slave does not get become Master after unplugging power cable at master

2009-08-17 Thread Dejan Muhamedagic
Hi, On Mon, Aug 17, 2009 at 03:08:06PM -0600, hj lee wrote: Hi, I am very simple Master/Slave in RHEL 5.3 with pacemaker 1.0.4 and heartbea 2.99. I unplugged the power cable at the master machine, and I expected the slave becomes master. But the slave stays at slave state. Is this correct

Re: [Pacemaker] Slave does not get become Master after unplugging power cable at master

2009-08-17 Thread Dejan Muhamedagic
very much On Mon, Aug 17, 2009 at 4:00 PM, Dejan Muhamedagic deja...@fastmail.fmwrote: I am very simple Master/Slave in RHEL 5.3 with pacemaker 1.0.4 and heartbea 2.99. I unplugged the power cable at the master machine, and I expected the slave becomes master. But the slave

Re: [Pacemaker] Please Help - frequent cleanup is required for the resources on failover condition

2009-08-18 Thread Dejan Muhamedagic
On Mon, 2009-08-17 at 13:35 +0200, Dejan Muhamedagic wrote: Dejan -- Ukazte svoje fotky na www.zonerama.sk ___ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Re: [Pacemaker] Resource Failover in 2 Node Cluster

2009-08-19 Thread Dejan Muhamedagic
Hi, On Wed, Aug 19, 2009 at 10:19:42AM +0100, darren.mans...@opengi.co.uk wrote: Hello everyone. I'm a little confused about how this set up should work. This is my config: node gihub1 node gihub2 primitive stonith-SSH stonith:ssh \ params hostlist=gihub1 gihub2

Re: [Pacemaker] Problem with drbd 2 primary + OCFS2 + server

2009-08-20 Thread Dejan Muhamedagic
Hi, On Wed, Aug 19, 2009 at 07:51:58PM +0200, cu...@sonet.internetdsl.pl wrote: hj lee pisze: I found two issues in your configuration. 1. Still the last location constraint does not make sense. The server-www is a group, not multistate master/slave, so role=master is wrong. This should

Re: [Pacemaker] non-standby node scores

2009-08-21 Thread Dejan Muhamedagic
On Fri, Aug 21, 2009 at 05:00:17PM +0200, Raoul Bhatia [IPAX] wrote: On 08/21/2009 09:07 AM, Andrew Beekhof wrote: On Thu, Aug 20, 2009 at 8:18 PM, Raoul Bhatia [IPAX]r.bha...@ipax.at wrote: hi, i have a node that is placed in standby mode. when i use showscores.sh, i can see that

Re: [Pacemaker] rc=-2 when executing monitors

2009-08-26 Thread Dejan Muhamedagic
Hi, On Wed, Aug 26, 2009 at 03:15:40PM +0200, Roberto Suarez Soto wrote: El día Wed, 26 Aug 2009 14:54:10 +0200, Dominik Klein d...@in-telegence.net escribía: Is -2 the return code when a monitor command hits a timeout? afaik: yes Ok, thanks, that makes sense. Then, more

Re: [Pacemaker] Feature request: Syntax error prevention

2009-08-26 Thread Dejan Muhamedagic
Hi, On Fri, Aug 21, 2009 at 12:17:39PM +0200, Michael Schwartzkopff wrote: Hi, there just was a mail on the list about an error in a resource. The problem was a simple syntex error: primitive drbd0-block ocf:heartbeat:drbd \ params drbd_resrource=nfs01 It also happened sometimes

Re: [Pacemaker] Drbd primary never on SyncTarget

2009-09-08 Thread Dejan Muhamedagic
Hi, On Thu, Sep 03, 2009 at 02:15:49PM +0200, Jov wrote: Hello, I have been trying to keep my cluster from making the synctarget the drbd primary, but I cannot get it to work. See the end of the email for versions I use. I am using the heartbeat::drbd OCF RA. I had to patch it so

Re: [Pacemaker] crm shell suggestions (was Re: Location rule troubles)

2009-09-08 Thread Dejan Muhamedagic
Hi Florian, On Tue, Sep 08, 2009 at 03:10:05PM +0200, Florian Haas wrote: On 2009-09-04 11:39, Johan Verrept wrote: Hello Florian, thank you for your help, the ptest commands was very useful. Perhaps this could be mentioned in the Pacemaker wiki under a Troubleshooting section? I read

Re: [Pacemaker] Recovering from failed stonith

2009-09-08 Thread Dejan Muhamedagic
Hi, On Fri, Sep 04, 2009 at 04:50:54PM +0200, Erik Hensema / HostingXS wrote: Op vrijdag 04 september 2009 14:41:18 schreef Johan Verrept: On Fri, 2009-09-04 at 14:32 +0200, Florian Haas wrote: If it's not of any concern to you that your hard failover is not automatic, why not go with

Re: [Pacemaker] Arp and configuration advice

2009-09-09 Thread Dejan Muhamedagic
Hi, On Tue, Sep 08, 2009 at 05:03:16PM -0400, j wrote: Greetings, I have a two webserver/two database server clustered setup. I've got ldirector and LVS managed by pacemaker and configured to be able to run on either database machine. I know how to disable ARP for the machine not running

Re: [Pacemaker] How to add new resources to the production cluster

2009-09-11 Thread Dejan Muhamedagic
Hi, On Thu, Sep 10, 2009 at 11:44:32AM +0200, Schmidt, Florian wrote: Hi list, It's my task to add a new resource (and also the corresponding drbddisk and Filesystem resources) to our production cluster. Is this the right way to do this on pacemaker 0.6.5-8.2: You should upgrade to

Re: [Pacemaker] Arp and configuration advice

2009-09-11 Thread Dejan Muhamedagic
Hi, On Wed, Sep 09, 2009 at 01:55:33PM -0400, j wrote: Thanks for your replies. I seemed to have found the solution. Perhaps this will help others, so I'll send along what I've found: I have a VIP on all db servers using IPAddr2. I found this link (to follow) before but executed the

Re: [Pacemaker] A function demand of the new environment.

2009-09-17 Thread Dejan Muhamedagic
Hi, On Thu, Sep 17, 2009 at 02:03:14PM +0900, renayama19661...@ybb.ne.jp wrote: Hi, We test a shift to new environment(Corosync+Pacemaker...) now. A demand was discussed by the next email. * http://marc.info/?l=openaism=124615212603435w=2 Our many users use respawn. These many users

Re: [Pacemaker] pacemaker openais drbd mysql cluster

2009-09-21 Thread Dejan Muhamedagic
On Sat, Sep 19, 2009 at 01:52:52PM +0200, Florian Haas wrote: On 09/19/2009 12:25 PM, Michael Schwartzkopff wrote: Am Samstag, 19. September 2009 11:36:42 schrieb Stefan: Hello all :) Im trying a mysql cluster and followed the instructions on drbd.org and found that the config provided

Re: [Pacemaker] ocf apache problem [SOLVED]

2009-09-21 Thread Dejan Muhamedagic
Hi, On Sat, Sep 19, 2009 at 09:52:31PM -0400, E-Blokos wrote: - Original Message - From: Serge Dubrouski serge...@gmail.com To: pacema...@clusterlabs.org Sent: Tuesday, September 15, 2009 2:23 PM Subject: Re: [Pacemaker] ocf apache problem To help out with pgsql and apache I'll

Re: [Pacemaker] Announce: Clusters From Scratch

2009-09-21 Thread Dejan Muhamedagic
Hi, On Mon, Sep 21, 2009 at 10:59:39AM +0200, Andrew Beekhof wrote: I'm pleased to announce the first of a new series of step-by-step guides for Pacemaker. Great. This installment covers installation, the creation of an active/passive cluster and its conversion to active/active.

Re: [Pacemaker] How to create templates?

2009-09-22 Thread Dejan Muhamedagic
Hi, On Mon, Sep 21, 2009 at 12:33:46PM -0600, Alan Sparks wrote: This is more curiosity at this point, but I note that the crm shell includes a facility to create configurations from templates - but I've found no documentation on how to /create/ such templates. Is such documentation

Re: [Pacemaker] Announce: Clusters From Scratch

2009-09-22 Thread Dejan Muhamedagic
On Mon, Sep 21, 2009 at 07:18:30PM +0200, Andrew Beekhof wrote: On Mon, Sep 21, 2009 at 7:14 PM, Dejan Muhamedagic deja...@fastmail.fm wrote: Thats really weird, my display is bigger than that and it views here fine. What I meant is that PDF text is very small at 100%. But that's

Re: [Pacemaker] How to create templates?

2009-09-22 Thread Dejan Muhamedagic
On Tue, Sep 22, 2009 at 11:08:39AM -0600, Alan Sparks wrote: Dejan Muhamedagic wrote: Is the templating mechanism a real thing in the current release? It is though combining templates had limitations about which I was not sure what to do. Also, there's no guide on how to create

Re: [Pacemaker] /etc/init.d/heartbeat stop hangs (pacemaker1.0.5/heartbeat3/RHEL5.3)

2009-09-23 Thread Dejan Muhamedagic
Hi, On Tue, Sep 22, 2009 at 07:43:08PM -0500, Li, Ling (Ling) wrote: FYI: it took 36 minutes for /etc/init.d/heartbeat stop to finish From: Li, Ling (Ling) Sent: Tuesday, September 22, 2009 8:38 PM To: 'pacema...@clusterlabs.org' Subject:

[Pacemaker] on crm shell templates

2009-09-23 Thread Dejan Muhamedagic
Hello, Alan Sparks yesterday enquired about the crm shell templates. That prompted me to take a look again, since the time at the time :) was rather tight. So, the documentation has been significantly extended and updated. See section 2.2 at

Re: [Pacemaker] Pacemaker - OpenAIS configuration

2009-09-28 Thread Dejan Muhamedagic
Hi, On Fri, Sep 25, 2009 at 10:22:27PM +0200, Joao Carvalho wrote: Hi, I'm trying to build two node cluster and main resource is xen domU. Obviously I'm doing something wrong cause I've manage to configure drbd resource and xen filesystem but I can't get domU to start. $crm_mon

Re: [Pacemaker] Announce: Clusters From Scratch

2009-09-28 Thread Dejan Muhamedagic
On Mon, Sep 28, 2009 at 09:42:08AM +0200, Andrew Beekhof wrote: On Tue, Sep 22, 2009 at 11:28 AM, Dejan Muhamedagic deja...@fastmail.fm wrote: On Mon, Sep 21, 2009 at 07:18:30PM +0200, Andrew Beekhof wrote: On Mon, Sep 21, 2009 at 7:14 PM, Dejan Muhamedagic deja...@fastmail.fm wrote

Re: [Pacemaker] Aisexec use 50% cpu

2009-09-29 Thread Dejan Muhamedagic
Hi, On Mon, Sep 28, 2009 at 02:30:23PM +0200, Marcos Riosalido wrote: Hi, I have instaled a pacemaker 1.0.4.1 in debian lenny with instructions of wiki (http://clusterlabs.org/wiki/Debian_Lenny_HowTo). When openais-legacy starts the aisexec consume 50% of cpu. Yes, openais takes some

Re: [Pacemaker] Aisexec use 50% cpu

2009-09-29 Thread Dejan Muhamedagic
Hi, On Tue, Sep 29, 2009 at 12:09:36PM +0200, Michael Schwartzkopff wrote: Am Dienstag, 29. September 2009 11:56:50 schrieb Dejan Muhamedagic: Hi, On Mon, Sep 28, 2009 at 02:30:23PM +0200, Marcos Riosalido wrote: Hi, I have instaled a pacemaker 1.0.4.1 in debian lenny

Re: [Pacemaker] Low cost stonith device

2009-10-02 Thread Dejan Muhamedagic
Hi, On Fri, Oct 02, 2009 at 05:22:57AM +, Thomas Mueller wrote: Am Thu, 24 Sep 2009 16:24:56 -0600 schrieb Remi Broemeling: Hi Mario -- I was just looking into this myself, today. I think the lowest cost that you'll be able to find is an IPMI card for your motherboard (as long as

Re: [Pacemaker] Stonith questions

2009-10-02 Thread Dejan Muhamedagic
Hi, On Fri, Oct 02, 2009 at 11:18:49AM +0200, Johan Verrept wrote: Hi, I have a master/slave cluster configured with stonith. When I ifconfig down all interfaces on the slave node, the other node stoniths it. This succeeds and the node comes back to the cluster succesfully. Then,

Re: [Pacemaker] build problem: HA_LIBDIR/HA_HBCONF_DIR redefined

2009-10-02 Thread Dejan Muhamedagic
Hi, On Fri, Oct 02, 2009 at 01:55:47PM +0200, Johan Verrept wrote: Hello, I am trying to build pacemaker 1.0.5, I get the following error: How do you try to build? Using rpmbuild here on OpenSUSE 11.2 MS8 works without problems. I don't have debian box available, so I can't test the

Re: [Pacemaker] resource agents: shellfuncs contains @HA_NOARCHDATAHBDIR@

2009-10-02 Thread Dejan Muhamedagic
Hi, On Fri, Oct 02, 2009 at 03:30:58PM +0200, Johan Verrept wrote: Hi, the resource-agents package file heartbeat shellfuncs contains @HA_NOARCHDATAHBDIR@ but this is not replaced. (and not defined in the makefiles). Indeed, @HA_NOARCHDATAHBDIR@ is not replaced, but that shouldn't

Re: [Pacemaker] Low cost stonith device

2009-10-05 Thread Dejan Muhamedagic
Hi, On Mon, Oct 05, 2009 at 10:37:54AM +0200, Johan Verrept wrote: Hello guys, I completed the RA and have attached it. As far as I can tell it is fully functional but I would appreciate it if someone in the know would take a look and gave me some feedback. Many thanks for the

Re: [Pacemaker] Low cost stonith device

2009-10-05 Thread Dejan Muhamedagic
Hi, On Mon, Oct 05, 2009 at 02:01:49PM +0200, Florian Haas wrote: On 2009-10-05 10:37, Johan Verrept wrote: Hello guys, I completed the RA and have attached it. As far as I can tell it is fully functional but I would appreciate it if someone in the know would take a look and gave

Re: [Pacemaker] iscsi OCF RA for Fedora10+

2009-10-07 Thread Dejan Muhamedagic
Hi, On Tue, Oct 06, 2009 at 11:49:20PM -0400, E-Blokos wrote: Hi, attached the OCF of Dejan modified to work with Fedora10 and iscsi-initiators-util RPM package Many thanks for your effort. However, we can't keep versions on the distribution bases, that simply won't scale. If you'll let me

Re: [Pacemaker] Resource stickiness during working hours

2009-10-07 Thread Dejan Muhamedagic
Hi, On Wed, Oct 07, 2009 at 01:58:30PM +0200, Andrew Beekhof wrote: On Fri, Sep 25, 2009 at 11:21 AM, Johan Verrept johan.verr...@able.be wrote: Hi,  I have seen this mentioned in the Configuration Explained manual and it listed the rules to use, but it didn't specify how to actually

Re: [Pacemaker] Trouble migrating heartbeat to openais stack

2009-10-08 Thread Dejan Muhamedagic
Hi, On Thu, Oct 08, 2009 at 12:03:11PM +0200, coolpix...@web.de wrote: Hallo I tried to migrate from heartbeat to openais. The service openais starts, but nothing works and syslog-messages are full of errors and warning. My version situation: cluster-glue-1.0-12.1.x86_64.rpm

Re: [Pacemaker] build problem: HA_LIBDIR/HA_HBCONF_DIR redefined

2009-10-12 Thread Dejan Muhamedagic
Hi, On Sun, Oct 11, 2009 at 09:33:24PM +0200, Andrew Beekhof wrote: On Thu, Oct 8, 2009 at 5:10 PM, Johan Verrept johan.verr...@able.be wrote: On Tue, 2009-10-06 at 17:15 +0200, Andrew Beekhof wrote: Anyway, I committed some changes to glue and hb3 which should fix the problem.

Re: [Pacemaker] crmd segfault on opensuse 11.1

2009-10-12 Thread Dejan Muhamedagic
Hi, On Mon, Oct 12, 2009 at 02:42:25PM +0300, Stratos Zolotas wrote: Hello to the list!!! This is my first question to the list and my first attempt to built a two node cluster on opensuse 11.1 with pacemaker 1.0.5 and openais 0.80.5, so please forgive my lack of knowledge. I'm trying to

Re: [Pacemaker] crmd segfault on opensuse 11.1

2009-10-12 Thread Dejan Muhamedagic
On Mon, Oct 12, 2009 at 02:57:29PM +0300, Stratos Zolotas wrote: On Mon, Oct 12, 2009 at 2:51 PM, Dejan Muhamedagic deja...@fastmail.fmwrote: Hi, On Mon, Oct 12, 2009 at 02:42:25PM +0300, Stratos Zolotas wrote: Hello to the list!!! This is my first question to the list and my

Re: [Pacemaker] crmd segfault on opensuse 11.1

2009-10-12 Thread Dejan Muhamedagic
Hi, On Mon, Oct 12, 2009 at 03:32:15PM +0300, Stratos Zolotas wrote: On Mon, Oct 12, 2009 at 3:10 PM, Dejan Muhamedagic deja...@fastmail.fmwrote: On Mon, Oct 12, 2009 at 02:57:29PM +0300, Stratos Zolotas wrote: On Mon, Oct 12, 2009 at 2:51 PM, Dejan Muhamedagic deja...@fastmail.fm wrote

Re: [Pacemaker] OCF RA VirtualBox

2009-10-12 Thread Dejan Muhamedagic
Hi, On Mon, Oct 12, 2009 at 07:26:38PM +0200, Fausto Lombardi wrote: Hi of all, is there a OCF RA for manage VirtualBox VM? No, though you can try with VirtualDomain which is a universal RA for virtualization which supports libvirt. Thanks, Dejan Thanks!

Re: [Pacemaker] Resource stickiness during working hours

2009-10-13 Thread Dejan Muhamedagic
Hi, On Tue, Oct 13, 2009 at 11:55:38AM +0200, Johan Verrept wrote: Hi Dejan, On Wed, 2009-10-07 at 17:06 +0200, Dejan Muhamedagic wrote: Yes, that's no problem, it's just that I'm not sure about how to design it since the language is, well, rather flat. Might it be possible to at least

Re: [Pacemaker] Human confirmation of dead node?

2009-10-13 Thread Dejan Muhamedagic
Hi, On Tue, Oct 13, 2009 at 05:57:25PM +0200, J Brack wrote: On 10/13/09, Dejan Muhamedagic deja...@fastmail.fm wrote: Hi, On Tue, Oct 13, 2009 at 03:23:11PM +0200, J Brack wrote: Hi, I'm currently using heartbeat. I heard that I'm meant to be using pacemaker. I will switch

Re: [Pacemaker] updating mac address during fail-over

2009-10-14 Thread Dejan Muhamedagic
Hi, On Sat, Oct 10, 2009 at 08:52:36PM -0600, Billy Guthrie wrote: Hello, I am using pacemaker-openais version 1.0.4.1 and I have a question; Is it possible to update the MAC address on fail-over. I would like to keep the MAC address the same from one NIC to the other as I have an

  1   2   3   4   5   6   7   8   9   10   >