Re: [Pacemaker] DRBD Management Console 0.6.0

2010-03-08 Thread Rasto Levrinc
On Mon, March 8, 2010 3:30 pm, Lars Marowsky-Bree wrote: > On 2010-03-02T13:12:25, Rasto Levrinc wrote: > >> Thanks lmb. I see a place for Hawk as a lightweight tool to quickly >> make some changes and I could even somehow integrate in the DRBD-MC. > > "Integrate"? I'm not sure how that would wor

Re: [Pacemaker] DRBD Management Console 0.6.0

2010-03-08 Thread Lars Marowsky-Bree
On 2010-03-02T13:12:25, Rasto Levrinc wrote: > > cool stuff. It's sad that we end up with a competing thingy ... Maybe we > > could keep Tim's pure web-ui for the monitoring and most simple bits and > > have drbd-mc replace the python UI. > Thanks lmb. I see a place for Hawk as a lightweight tool

Re: [Pacemaker] DRBD Management Console 0.6.0

2010-03-08 Thread Lars Marowsky-Bree
On 2010-03-02T12:18:44, Michael Schwartzkopff wrote: > > cool stuff. It's sad that we end up with a competing thingy ... Maybe we > > could keep Tim's pure web-ui for the monitoring and most simple bits and > > have drbd-mc replace the python UI. > I'd prefer python-UI AND MC. Some like Java, som

Re: [Pacemaker] DRBD Management Console 0.6.0

2010-03-02 Thread Rasto Levrinc
On Wed, March 3, 2010 3:08 am, Tim Serong wrote: > > Side point: I have it in the back of my mind that I may end up wanting to > communicate directly with libcib if the CLI tools ever become a > performance bottleneck, but this isn't a problem yet (earlier, Hawk was > running crm_resource to get

Re: [Pacemaker] DRBD Management Console 0.6.0

2010-03-02 Thread Tim Serong
On 3/2/2010 at 11:12 PM, "Rasto Levrinc" wrote: > On Tue, March 2, 2010 11:41 am, Lars Marowsky-Bree wrote: > > On 2010-02-28T12:24:26, Rasto Levrinc wrote: > > > cool stuff. It's sad that we end up with a competing thingy ... Maybe we > > could keep Tim's pure web-ui for the monitoring and

Re: [Pacemaker] DRBD Management Console 0.6.0

2010-03-02 Thread Dejan Muhamedagic
On Tue, Mar 02, 2010 at 07:58:45PM +0100, Lars Ellenberg wrote: > On Tue, Mar 02, 2010 at 07:28:07PM +0100, Dejan Muhamedagic wrote: > > Hi, > > > > On Tue, Mar 02, 2010 at 04:19:07PM +0100, Cristian Mammoli - Apra Sistemi > > wrote: > > > Lars Ellenberg wrote: > > > > > > >If a "mandatory" para

Re: [Pacemaker] DRBD Management Console 0.6.0

2010-03-02 Thread Lars Ellenberg
On Tue, Mar 02, 2010 at 07:28:07PM +0100, Dejan Muhamedagic wrote: > Hi, > > On Tue, Mar 02, 2010 at 04:19:07PM +0100, Cristian Mammoli - Apra Sistemi > wrote: > > Lars Ellenberg wrote: > > > > >If a "mandatory" parameter has a default, > > >then I'd think it is no longer mandatory, > > >because

Re: [Pacemaker] DRBD Management Console 0.6.0

2010-03-02 Thread Dejan Muhamedagic
Hi, On Tue, Mar 02, 2010 at 04:19:07PM +0100, Cristian Mammoli - Apra Sistemi wrote: > Lars Ellenberg wrote: > > >If a "mandatory" parameter has a default, > >then I'd think it is no longer mandatory, > >because, if not specified, it has its default > >to fall back to. > > > >Explicitly specifyin

Re: [Pacemaker] DRBD Management Console 0.6.0

2010-03-02 Thread Cristian Mammoli - Apra Sistemi
Lars Ellenberg wrote: If a "mandatory" parameter has a default, then I'd think it is no longer mandatory, because, if not specified, it has its default to fall back to. Explicitly specifying a value that happens to be the same as the default is fine. But to _require_ that you explicitly specif

Re: [Pacemaker] DRBD Management Console 0.6.0

2010-03-02 Thread Rasto Levrinc
On Tue, March 2, 2010 11:41 am, Lars Marowsky-Bree wrote: > On 2010-02-28T12:24:26, Rasto Levrinc wrote: > cool stuff. It's sad that we end up with a competing thingy ... Maybe we > could keep Tim's pure web-ui for the monitoring and most simple bits and > have drbd-mc replace the python UI. Th

Re: [Pacemaker] DRBD Management Console 0.6.0

2010-03-02 Thread Michael Schwartzkopff
Am Dienstag, 2. März 2010 11:41:16 schrieb Lars Marowsky-Bree: > On 2010-02-28T12:24:26, Rasto Levrinc wrote: > > Hi Rasto, > > cool stuff. It's sad that we end up with a competing thingy ... Maybe we > could keep Tim's pure web-ui for the monitoring and most simple bits and > have drbd-mc replace

Re: [Pacemaker] DRBD Management Console 0.6.0

2010-03-02 Thread Lars Ellenberg
On Mon, Mar 01, 2010 at 08:36:32PM -0700, Tim Serong wrote: > On 3/1/2010 at 11:16 PM, "Rasto Levrinc" wrote: > > On Mon, March 1, 2010 12:10 pm, Cristian Mammoli - Apra Sistemi wrote: > > > Hi again... > > > > > > > > > I tried adding a resource with DMC. My script needs 2 mandatory > > > p

Re: [Pacemaker] DRBD Management Console 0.6.0

2010-03-02 Thread Lars Marowsky-Bree
On 2010-02-28T12:24:26, Rasto Levrinc wrote: Hi Rasto, cool stuff. It's sad that we end up with a competing thingy ... Maybe we could keep Tim's pure web-ui for the monitoring and most simple bits and have drbd-mc replace the python UI. Some totally braindead questions (which show more of my ig

Re: [Pacemaker] DRBD Management Console 0.6.0

2010-03-02 Thread Rasto Levrinc
On Tue, March 2, 2010 4:36 am, Tim Serong wrote: > On 3/1/2010 at 11:16 PM, "Rasto Levrinc" > wrote: >> >> The question is, what the default here means. It is something that RA >> would use if nothing is specified or it is suggestion for GUI, what to >> offer as a default value. Obviously the DR

Re: [Pacemaker] DRBD Management Console 0.6.0

2010-03-02 Thread Rasto Levrinc
On Tue, March 2, 2010 12:02 am, Cristian Mammoli - Apra Sistemi wrote: > > As you assumed, it's just a hint for the gui. Anyway I declared it > "mandatory" for a reason. Yes and the GUI uses the "mandatory" hint and does not let you apply if you delete the mandatory argument. That's not the poin

Re: [Pacemaker] DRBD Management Console 0.6.0

2010-03-01 Thread Tim Serong
On 3/1/2010 at 11:16 PM, "Rasto Levrinc" wrote: > On Mon, March 1, 2010 12:10 pm, Cristian Mammoli - Apra Sistemi wrote: > > Hi again... > > > > > > I tried adding a resource with DMC. My script needs 2 mandatory > > parameters: vmxpath and vimshbin > > > > > > In the gui i filled the fie

Re: [Pacemaker] DRBD Management Console 0.6.0

2010-03-01 Thread Cristian Mammoli - Apra Sistemi
Rasto Levrinc wrote: The question is, what the default here means. It is something that RA would use if nothing is specified or it is suggestion for GUI, what to offer as a default value. Obviously the DRBD-MC assumes the former and the vmware RA the latter. As you assumed, it's just a hint fo

Re: [Pacemaker] DRBD Management Console 0.6.0

2010-03-01 Thread Rasto Levrinc
On Mon, March 1, 2010 12:10 pm, Cristian Mammoli - Apra Sistemi wrote: > Hi again... > > > I tried adding a resource with DMC. My script needs 2 mandatory > parameters: vmxpath and vimshbin > > > In the gui i filled the field for vmxpath while vimshbin was already > present because the resource ag

Re: [Pacemaker] DRBD Management Console 0.6.0

2010-03-01 Thread Cristian Mammoli - Apra Sistemi
Hi again... I tried adding a resource with DMC. My script needs 2 mandatory parameters: vmxpath and vimshbin In the gui i filled the field for vmxpath while vimshbin was already present because the resource agent has: vmware-vim-cmd path Anyway the resulting configuration is: primitive r

Re: [Pacemaker] DRBD Management Console 0.6.0

2010-03-01 Thread Florian Haas
On 2010-02-28 21:09, Cristian Mammoli - Apra Sistemi wrote: > 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 > post

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] 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