Re: [Linux-ha-dev] [VirtualDomain] Support for native protocol hypervisor drivers

2011-02-08 Thread Cristian Mammoli - Apra Sistemi
On 02/08/2011 03:19 PM, Cristian Mammoli - Apra Sistemi wrote: > Doesn't seem to work... I'll do some test to bypass the authentication > and report back Well, this is depressing :( http://www.redhat.com/archives/libvir-list/2010-July/msg00108.html http://www.mail-archive

Re: [Linux-ha-dev] [VirtualDomain] Support for native protocol hypervisor drivers

2011-02-08 Thread Cristian Mammoli - Apra Sistemi
On 02/08/2011 02:51 PM, Florian Haas wrote: > That's a bit trickier. We could perhaps add a parameter referring to a > password file, and pipe that in? Doesn't seem to work... I'll do some test to bypass the authentication and report back Thank you -- Cristian Mammoli

[Linux-ha-dev] [VirtualDomain] Support for native protocol hypervisor drivers

2011-02-08 Thread Cristian Mammoli - Apra Sistemi
ify=1 start testVM Is there a way to get this configuration supported in the VirtualDomain RA? The first issue is that the above uri has an interactive password prompt... -- Cristian Mammoli APRA SISTEMI srl Via Brodolini,6 Jesi (AN) tel dir. 0731 719822 Web www.apra.it e-mail

Re: [Linux-ha-dev] Vmware resource agent with 1.0.3

2010-04-19 Thread Cristian Mammoli - Apra Sistemi
On 04/19/2010 01:33 PM, Florian Haas wrote: > Yes it does. VMware Server 2 only works with .vmdk images as far as I'm > informed, and can't use raw block devices. Correct -- Cristian Mammoli APRA SISTEMI srl Via Brodolini,6 Jesi (AN) tel dir. 0731 719822 Web www.apra.i

Re: [Linux-ha-dev] Vmware resource agent with 1.0.3

2010-04-19 Thread Cristian Mammoli - Apra Sistemi
Filesystem resource agent, you should raise timeouts there imho... Anyway it doesn't hurt at all. Ask Florian to add your patch in the next release. Bye -- Cristian Mammoli APRA SISTEMI srl Via Brodolini,6 Jesi (AN) tel dir. 0731 719822 Web www.apra.it e-mail c.mamm...@apra.it __

[Linux-ha-dev] Vmware resource agent with 1.0.3

2010-04-15 Thread Cristian Mammoli - Apra Sistemi
I can confirm that it now works like a charm :) Keep up the good work -- Cristian Mammoli APRA SISTEMI srl Via Brodolini,6 Jesi (AN) tel dir. 0731 719822 Web www.apra.it e-mail c.mamm...@apra.it ___ Linux-HA-Dev: Linux-HA-Dev@lists.linux

Re: [Linux-ha-dev] [Pacemaker] Updated VMwareVM resource agent

2010-03-09 Thread Cristian Mammoli - Apra Sistemi
essary, but well. > > So do I assume correctly that current upstream is working OK for you? I'll do more tests this afternoon but I definitely think it's working. -- Cristian Mammoli APRA SISTEMI srl Via Brodolini,6 Jesi (AN) tel dir. 0731 719822

Re: [Linux-ha-dev] [Pacemaker] Updated VMwareVM resource agent

2010-03-09 Thread Cristian Mammoli - Apra Sistemi
Cristian Mammoli - Apra Sistemi wrote: > I checked the source package available on linux-ha.org at > http://hg.linux-ha.org/agents/archive/agents-1.0.2.tar.bz2 > OCF_RESKEY_CRM_meta_interval is not declared in .ocf-shellfuncs.in either. > Added: # Define OCF_RESKEY_CRM_meta_interva

Re: [Linux-ha-dev] [Pacemaker] Updated VMwareVM resource agent

2010-03-09 Thread Cristian Mammoli - Apra Sistemi
Cristian Mammoli - Apra Sistemi wrote: So do I assume correctly that current upstream is working OK for you? I'll do more tests this afternoon but I definitely think it's working. It works, attached is the diff between my .ocf-shellfuncs and upstream .ocf-shellfuns.in -

Re: [Linux-ha-dev] [Pacemaker] Updated VMwareVM resource agent

2010-03-09 Thread Cristian Mammoli - Apra Sistemi
Cristian Mammoli - Apra Sistemi wrote: > [r...@srvha01 ~]# rpm -q --whatprovides > /usr/lib/ocf/resource.d/heartbeat/.ocf-shellfuncs > resource-agents-1.0.2-1 > I checked the source package available on linux-ha.org at http://hg.linux-ha.org/agents/archive/agents-1

Re: [Linux-ha-dev] [Pacemaker] Updated VMwareVM resource agent

2010-03-09 Thread Cristian Mammoli - Apra Sistemi
Florian Haas wrote: > On 2010-03-09 09:58, Cristian Mammoli - Apra Sistemi wrote: >> Lars Ellenberg wrote: >> you please add something like >>> ( >>> date +%F_%T >>> echo "$0 $*" >>> env | grep ^OCF | sort > > Err, that shoul

Re: [Linux-ha-dev] [Pacemaker] Updated VMwareVM resource agent

2010-03-09 Thread Cristian Mammoli - Apra Sistemi
STANCE=w2003R2-mail OCF_RESOURCE_PROVIDER=apra OCF_RESOURCE_TYPE=vmware OCF_ROOT=/usr/lib/ocf Cheers -- Cristian Mammoli APRA SISTEMI srl ___ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/

Re: [Linux-ha-dev] [Pacemaker] Updated VMwareVM resource agent

2010-03-08 Thread Cristian Mammoli - Apra Sistemi
Florian Haas wrote: > Whoa, then maybe we have a bogon in that function. Let me check. > > Cheers, > Florian > Any news? -- Cristian Mammoli APRA SISTEMI srl Via Brodolini,6 Jesi (AN) tel dir. 0731 719822 Web www.apra.it e-mail c.

Re: [Linux-ha-dev] [Pacemaker] Updated VMwareVM resource agent

2010-03-03 Thread Cristian Mammoli - Apra Sistemi
Florian Haas wrote: > On 03/03/2010 11:49 AM, Cristian Mammoli - Apra Sistemi wrote: >> Florian Haas wrote: >> >>> Yes, ocf_is_probe was added in 1.0.2. >>> >>> Florian >> Building 1.0.2. It's taking ages :-( >> I'll test the RA thi

Re: [Linux-ha-dev] [Pacemaker] Updated VMwareVM resource agent

2010-03-03 Thread Cristian Mammoli - Apra Sistemi
Florian Haas wrote: > Yes, ocf_is_probe was added in 1.0.2. > > Florian Building 1.0.2. It's taking ages :-( I'll test the RA this afternoon -- Cristian Mammoli APRA SISTEMI srl Via Brodolini,6 Jesi (AN) tel dir. 0731 719822 Web www.apra.it e-mail

Re: [Linux-ha-dev] [Pacemaker] Updated VMwareVM resource agent

2010-03-03 Thread Cristian Mammoli - Apra Sistemi
pm -qa|grep resource-agents resource-agents-1.0.1-1.el5 -- Cristian Mammoli APRA SISTEMI srl Via Brodolini,6 Jesi (AN) tel dir. 0731 719822 Web www.apra.it e-mail c.mamm...@apra.it ___ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.lin

Re: [Linux-ha-dev] [Pacemaker] Updated VMwareVM resource agent

2010-03-02 Thread Cristian Mammoli - Apra Sistemi
Cristian Mammoli - Apra Sistemi wrote: Cristian Mammoli - Apra Sistemi wrote: Final (hopefully) touches: set OCF_RESKEY_vimshbin as optional. $VIMSHBIN will falback to the standard location (/usr/bin/vmware-vim-cmd) if the var is not declared. Thanks to Rasto for pointing it out on the

Re: [Linux-ha-dev] [Pacemaker] Updated VMwareVM resource agent

2010-03-01 Thread Cristian Mammoli - Apra Sistemi
Cristian Mammoli - Apra Sistemi wrote: I know guys, bash scripting is not exactly rocket science, but I'm doing my best here ;-) Indeed I made a total mess with output redirection inb those functions ... Fixed patch attached :-( -- Cristian Mammoli APRA SISTEMI srl Via Brodolini,6 Jes

Re: [Linux-ha-dev] [Pacemaker] Updated VMwareVM resource agent

2010-03-01 Thread Cristian Mammoli - Apra Sistemi
Florian Haas wrote: Yes. That's what checkbashisms says, at least. :) Although I'm not sure whether it's actually a good idea to just discard stderr on all of these -- your call. vmware-vim-cmd is a bit noisy, it's just to suppress stuff that would go to stdout instead. I kept stderr and only

Re: [Linux-ha-dev] [Pacemaker] Updated VMwareVM resource agent

2010-03-01 Thread Cristian Mammoli - Apra Sistemi
, it would be good to act > differently on probes and monitors. You mean that "probe" is a valid parameter for the RA, and that would be called instead of monitor if present? -- Cristian Mammoli APRA SISTEMI srl Via Brodolini,6 Jesi (AN) tel dir. 0731 719822 Web

Re: [Linux-ha-dev] [Pacemaker] Updated VMwareVM resource agent

2010-03-01 Thread Cristian Mammoli - Apra Sistemi
Dejan Muhamedagic wrote: > Hi, > > On Mon, Mar 01, 2010 at 01:34:35PM +0100, Cristian Mammoli - Apra Sistemi > wrote: >> > > # Check for mandatory files presence and consistency >> > > vmware_validate() { >> > > if [ -z "`pidof vmware-ho

Re: [Linux-ha-dev] [Pacemaker] Updated VMwareVM resource agent

2010-03-01 Thread Cristian Mammoli - Apra Sistemi
n heartbeat/vmware line 96 (should be >word 2>&1): > $VIMSHBIN vmsvc/power.on $1 &> /dev/null > possible bashism in heartbeat/vmware line 101 (should be >word 2>&1): > $VIMSHBIN vmsvc/power.suspend $1 &> /dev/null That means that "&>/de

Re: [Linux-ha-dev] [Pacemaker] Updated VMwareVM resource agent

2010-03-01 Thread Cristian Mammoli - Apra Sistemi
People can configure that if they really > want to, but the RA really shouldn't advertise this Removed I'm working on the changes you suggested P.S. We can't call "validate-all" before "monitor": that causes the script to fai