Re: [Pacemaker] Updated VMwareVM resource agent

2010-02-28 Thread Cristian Mammoli - Apra Sistemi
I merged in the script the modifications made by the developer (Andrew?) at the time of the inclusion. Bye! -- Cristian Mammoli APRA SISTEMI srl #!/bin/sh # # VMware OCF resource agent # # Copyright (c) 2010 Apra Sistemi s.r.l. #All Rights Reserved. # # Description: Manage

[Pacemaker] Updated VMwareVM resource agent

2010-02-28 Thread Cristian Mammoli - Apra Sistemi
In 2008 I posted on the linux-ha ML a resource agent script for vmware server 2 virtual machines. It has been slightly modified and shipped with heartbeat and (now) pacemaker. Actually the script is broken: the script is named "vmware" while the "resource-agent name" is set to "vmwarevm". They sho

Re: [Pacemaker] DRBD Management Console 0.6.0

2010-02-28 Thread Cristian Mammoli - Apra Sistemi
Rasto Levrinc wrote: This name is all lowercase unlike the file name. Have to check what OCF-specification says about it. Ok, setting (same as the file-name) fixed the problem: now the virtual machines show up in the gui. Sorry for the noise and thanks for the time. -- Cristian Mammoli AP

Re: [Pacemaker] DRBD Management Console 0.6.0

2010-02-28 Thread Cristian Mammoli - Apra Sistemi
Cristian Mammoli - Apra Sistemi wrote: Cause I am the one who wrote it in the first place and the version I use has some minor improvement and fixes. And the version shipped with pacemaker is different from the one I posted 2 years ago on the Linux-HA ML. It's broken, don't use it. I'll issu

Re: [Pacemaker] DRBD Management Console 0.6.0

2010-02-28 Thread Cristian Mammoli - Apra Sistemi
Rasto Levrinc wrote: This name is all lowercase unlike the file name. Have to check what OCF-specification says about it. Which one do you use in your config file? primitive w2003R2-2 ocf:apra:VMwareVM \ Did you copy the fixed ra on all nodes? I did, I'll try to change the name of the scri

Re: [Pacemaker] DRBD Management Console 0.6.0

2010-02-28 Thread Cristian Mammoli - Apra Sistemi
Florian Haas wrote: Is there any particular reason why you are rolling your own RA, when you could be using ocf:heartbeat:vmware? Cause I am the one who wrote it in the first place and the version I use has some minor improvement and fixes. -- Cristian Mammoli APRA SISTEMI srl Via Brodolin

Re: [Pacemaker] DRBD Management Console 0.6.0

2010-02-28 Thread Rasto Levrinc
On Sun, February 28, 2010 4:52 pm, Cristian Mammoli - Apra Sistemi wrote: > Rasto Levrinc wrote: > > > > > [r...@srvha01 ~]# OCF_ROOT=/usr/lib/ocf > /usr/lib/ocf/resource.d/apra/VMwareVM meta-data > > > This name is all lowercase unlike the file name. Have to check what OCF-specification says

Re: [Pacemaker] DRBD Management Console 0.6.0

2010-02-28 Thread Florian Haas
On 02/28/2010 04:52 PM, Cristian Mammoli - Apra Sistemi wrote: > Rasto Levrinc wrote: > >> It should work with different providers for sure. One thing that DRBD-MC >> requires is that the resource agent implements meta-data argument, so >> this >> could be the problem, or something in the meta-dat

Re: [Pacemaker] DRBD Management Console 0.6.0

2010-02-28 Thread Cristian Mammoli - Apra Sistemi
Rasto Levrinc wrote: It should work with different providers for sure. One thing that DRBD-MC requires is that the resource agent implements meta-data argument, so this could be the problem, or something in the meta-data. So e.g. OCF_ROOT=/usr/lib/ocf /usr/lib/ocf/resource.d/apra/w2003R2-1 meta

Re: [Pacemaker] DRBD Management Console 0.6.0

2010-02-28 Thread Rasto Levrinc
On Sun, February 28, 2010 1:37 pm, Cristian Mammoli - Apra Sistemi wrote: > Rasto Levrinc wrote: > > It still doesn't support custom resource agents placed outside the usual > "heartbeat" and "pacemaker" directory. > > ... > APPWARNING: w2003R2-1: could not find hb script > APPWARNING: w2003R2-4

Re: [Pacemaker] book on Pacemaker / Xen / OCFS2 /cLVM and so on.

2010-02-28 Thread Sander van Vugt
> Though, then where does the 0.7 come from... SLES 11 ships with DRBD 8. > But no matter, anyways, you don't really use it in the main body > of the book, so why should you you advertise it. > Appendixes are nice to fill pages. The book is available in print also; a 138 page book looks good. A 11

Re: [Pacemaker] DRBD Management Console 0.6.0

2010-02-28 Thread Cristian Mammoli - Apra Sistemi
Rasto Levrinc wrote: Hi, This is the next DRBD-MC beta release 0.6.0. DRBD-MC is a Java GUI that helps to configure DRBD/Pacemaker/Corosync/Openais/Heartbeat clusters. It is compatible with Heartbeat 2.1.3 to the latest and greatest Pacemaker with both communication stacks and DRBD 8. It

[Pacemaker] DRBD Management Console 0.6.0

2010-02-28 Thread Rasto Levrinc
Hi, This is the next DRBD-MC beta release 0.6.0. DRBD-MC is a Java GUI that helps to configure DRBD/Pacemaker/Corosync/Openais/Heartbeat clusters. It is compatible with Heartbeat 2.1.3 to the latest and greatest Pacemaker with both communication stacks and DRBD 8. Along couple of visual improv