[Pacemaker] DRBD Management Console 0.6.0
Rasto Levrinc
rasto.levrinc at linbit.com
Mon Mar 1 12:16:13 UTC 2010
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 agent has:
>
> <shortdesc lang="en">vmware-vim-cmd path</shortdesc>
> <content type="string" default="/usr/bin/vmware-vim-cmd"/>
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.
I've checked other RA's and they use both methods. Probably it would safer
if the DRBD-MC would store the default values anyway.
On the other hand your RA could use something like that though:
VIMSHBIN="${OCF_RESKEY_vimshbin-/usr/bin/vmware-vim-cmd}"
I still don't know what is the right approach, I will have a look at it
later.
Rasto
--
: Dipl-Ing Rastislav Levrinc
: DRBD-MC http://www.drbd.org/mc/management-console/
: DRBD/HA support and consulting http://www.linbit.com/
DRBD(R) and LINBIT(R) are registered trademarks of LINBIT, Austria.
More information about the Pacemaker
mailing list