Re: [Pacemaker] [pacemaker][patch 3/4] Simple changes for "Pacemaker Explained", Chapter 6 CH_Constraints.xml

2011-05-19 Thread Andrew Beekhof
On Tue, May 17, 2011 at 12:26 PM, Dejan Muhamedagic wrote: > On Mon, May 09, 2011 at 11:07:37AM +0200, Andrew Beekhof wrote: >> On Fri, May 6, 2011 at 12:29 PM, Dejan Muhamedagic >> wrote: >> > On Fri, May 06, 2011 at 09:47:29AM +0200, Andrew Beekhof wrote: >> >> On Thu, May 5, 2011 at 5:20 PM,

Re: [Pacemaker] problem with ocf:pacemaker:pingd

2011-05-19 Thread Dejan Muhamedagic
On Thu, May 19, 2011 at 01:46:49PM +0800, delube cheng wrote: > crm ra list can find the pacemaker pingd resource too. > [root@CWS-centos1 ~]# crm ra list ocf pacemaker > ClusterMon Dummy HealthCPU HealthSMART Stateful > SysInfo SystemHealthcontroldo2cb

Re: [Pacemaker] Dont start LVM or FS on DRBD Standalone

2011-05-19 Thread Pierre BLONDEAU
Hi, Can i detect the standalone connexion state of drbd with the primitive ocf:linbit:drbd ? Regards Le 17/05/2011 10:49, Pierre BLONDEAU a écrit : > Hi, > > I can't find how to configure pacemaker to don't put drbd on primary > mode when one of my nodes is standalone. > > If i have a standalo

Re: [Pacemaker] Announce: Hawk (HA Web Konsole) 0.4.1

2011-05-19 Thread Lars Marowsky-Bree
On 2011-05-18T18:54:27, "Daugherity, Andrew W" wrote: > > This is to announce version 0.4.1 of Hawk, a web-based GUI for managing > > and monitoring Pacemaker High-Availability clusters. > > ... > > As before, packages for various SUSE-based distros can be obtained from > > the network:ha-clust

Re: [Pacemaker] Dont start LVM or FS on DRBD Standalone

2011-05-19 Thread Lars Ellenberg
On Thu, May 19, 2011 at 09:25:43AM +0200, Pierre BLONDEAU wrote: > Hi, > > Can i detect the standalone connexion state of drbd with the primitive > ocf:linbit:drbd ? You can not. Use drbd fencing mechanisms to achieve what I think you probably want. http://www.drbd.org/users-guide/s-pacemaker-f

[Pacemaker] Required resources for stateful clones

2011-05-19 Thread Eamon Roque
Hi, I've put together a cluster of two nodes running a databank without shared storage. Both nodes replicate data between them, which is taken care of by the databank itself. I have a resource for the databank and ip. I then created a stateful clone from the databank resource. I created coloca

Re: [Pacemaker] problem with ocf:pacemaker:pingd

2011-05-19 Thread delube cheng
1. ls output: [root@CWS-centos1 pacemaker]# ls -l /usr/lib/ocf/resource.d/pacemaker -rwxr-xr-x 1 root root 7029 05-11 11:39 ClusterMon -rwxr-xr-x 1 root root 5468 05-11 11:39 controld -rwxr-xr-x 1 root root 5035 05-11 11:39 Dummy -rwxr-xr-x 1 root root 5878 05-11 11:39 HealthCPU -rwxr-xr-x 1 ro

Re: [Pacemaker] problem with ocf:pacemaker:pingd

2011-05-19 Thread delube cheng
I just found a solutin: the ocf-shellfuncs was installed at the location /usr/lib/ocf/lib/heartbeat/ (I don't know why), I added the soft link: ln -s /usr/lib/ocf/lib/heartbeat/ocf-shellfuncs /usr/lib/ocf/resource.d/heartbeat/.ocf-shellfuncs then tried to add the ocf:pacemaker:pingd by

Re: [Pacemaker] problem with ocf:pacemaker:pingd

2011-05-19 Thread delube cheng
I just found a solutin: the ocf-shellfuncs was installed at the location /usr/lib/ocf/lib/heartbeat/ (I don't know why), I added the soft link: ln -s /usr/lib/ocf/lib/heartbeat/ocf-shellfuncs /usr/lib/ocf/resource.d/heartbeat/.ocf-shellfuncs then tried to add the ocf:pacemaker:pingd by

Re: [Pacemaker] "crm node online" restarting both resources in a clone

2011-05-19 Thread Jamie L Sammons
Hi Andrew, I have seen the issue both on Pacemaker 1.0.9 and 1.1.5 on CentOS 5 using the Clusterlabs repo. Thank you, Jamie Sammons Web Portal Architect Phone: (515) 246-4275 From:        Andrew Beekhof To:        The Pacemaker cluster resource manager Date:        05/19/2011 01:35 AM Subjec

Re: [Pacemaker] problem with ocf:pacemaker:pingd

2011-05-19 Thread Dejan Muhamedagic
Hi, On Thu, May 19, 2011 at 08:04:09PM +0800, delube cheng wrote: > I just found a solutin: the ocf-shellfuncs was installed at the location > /usr/lib/ocf/lib/heartbeat/ (I don't know why), I added the soft link: > ln -s /usr/lib/ocf/lib/heartbeat/ocf-shellfuncs > /usr/lib/ocf/resour

Re: [Pacemaker] Problems with jboss on pacemaker

2011-05-19 Thread Benjamin Knoth
Hi Nakahira, i use only modified running jboss, which i used with my application, which runs on jboss. I set also the parms with the right directories. I got everytime the same error, if i think the parms configuration should be ok. Now i modified the orginal used LSB script and now i think it shou

Re: [Pacemaker] Required resources for stateful clones

2011-05-19 Thread Serge Dubrouski
On Thu, May 19, 2011 at 5:05 AM, Eamon Roque wrote: > Hi, > > I've put together a cluster of two nodes running a databank without shared > storage. Both nodes replicate data between them, which is taken care of by > the databank itself. > > I have a resource for the databank and ip. I then created

[Pacemaker] Using Pacemaker/Corosync to do status based upon a web page output

2011-05-19 Thread Phil Hunt
Hi Our application suite generates a full suite webpage for status. If it comes up cleanly, it means things are running and the pieces each report on the page. Is there anyway to scrape a webpage and get a status that can trigger failovers, etc? Something like: primitive webCheck o

Re: [Pacemaker] [PATCH] crm shell (configure node) for Heartbeat stack

2011-05-19 Thread Dejan Muhamedagic
Hi Kazunori-san, On Thu, May 12, 2011 at 03:22:31PM +0900, Kazunori INOUE wrote: > Hi all, > > We found that crm shell (configure node) failed on Heartbeat-3.0.4 stack. > I attached a patch for crm shell in Pacemaker-1.1 (e872eeb39a5f). > > [failed case] > (1) Set node's attributes/utilization w

[Pacemaker] postfix resource agent using unsupported "status" command

2011-05-19 Thread Noah Rømer
The pacemaker resource agent (downloaded from https://github.com/raoulbhatia/resource-agents/blob/master/heartbeat/postfix) has a function called "running" that attempts to determine if the requested postfix instance is running by doing: "$binary $OPTION_CONFIG_DIR status >/dev/null 2>&1" This ca

Re: [Pacemaker] problem with ocf:pacemaker:pingd

2011-05-19 Thread delube cheng
Hi Dejan: A few more question: * I don't know exactly where to get rpm package for resource-agent (or how to build it). "make rpm" resturns error: hg not found. The current version I used is 3.0.4. any tip for newbie? * I check resource-agents.spec file and link ocf-binaries, ocf-directori

[Pacemaker] Load Balancing & Failover with Pacemaker

2011-05-19 Thread Sachin Gokhale
Hello, I have two nodes active/passive cluster created using documentation from clusterlabs. Replication is working fine on my setup. I am using this for Postgresql database. But, I am getting how I configure or test Faileover scenario & how can I add load balancing feature for my Postgres datab