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-data. >> >> So e.g. >> OCF_ROOT=/usr/lib/ocf /usr/lib/ocf/resource.d/apra/w2003R2-1 meta-data >> should print out valid xml, describing itself and its parameters. > > The script was buggy indeed: if called without the required variables > set it hang indefinitely. Now it0s fixed but still it doesn't work in DMC: > > [r...@srvha01 ~]# OCF_ROOT=/usr/lib/ocf > /usr/lib/ocf/resource.d/apra/VMwareVM meta-data
Is there any particular reason why you are rolling your own RA, when you could be using ocf:heartbeat:vmware? Just my two cents. Florian
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker