[Pacemaker] DRBD Management Console 0.6.0

Cristian Mammoli - Apra Sistemi c.mammoli at apra.it
Mon Mar 1 06:10:13 EST 2010


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:

<shortdesc lang="en">vmware-vim-cmd path</shortdesc>
<content type="string" default="/usr/bin/vmware-vim-cmd"/>

Anyway the resulting configuration is:

primitive res_VMwareVM_1 ocf:apra:VMwareVM \
         params vmxpath="/datastore1/openfiler/openfiler.vmx" \
         operations $id="res_VMwareVM_1-operations" \
         op stop interval="0" timeout="900" \
         op start interval="0" timeout="900" \
         meta target-role="stopped"

There is no "vimshbin" parameter. It should be:

params 
vmxpath="/datastore1/openfiler/openfiler.vmx"vimshbin="/usr/bin/vmware-vim-cmd" 
\

As a consequenze the resource fails to start with 
res_VMwareVM_1_monitor_0 (node=srvha01.apra.it, call=251, rc=2, 
status=complete): invalid parameter



-- 
Cristian Mammoli
APRA SISTEMI srl
Via Brodolini,6 Jesi (AN)
tel dir. 0731 719822

Web   www.apra.it
e-mail  c.mammoli at apra.it




More information about the Pacemaker mailing list