[Pacemaker] Exchanging data between resource agent instances
Lars Ellenberg
lars.ellenberg at linbit.com
Mon Mar 18 21:28:28 UTC 2013
On Mon, Mar 18, 2013 at 08:49:41PM +0100, Riccardo Bicelli wrote:
> Hello,
> anyone knows if is it possible to exchange data between two instances of a
> resource agent?
>
> I have a Master/Slave resource agent that, when slave, has to create a
> dummy device in same size of a given block device (DRBD) running on Master.
Why?
What do you want to achieve?
> Since the block device is not accessible when the resource is slave, I was
> wondering if master could read size of device and report it to the slave.
does cat /proc/partitions help?
> I don't like the idea of putting that size in the cib.
--
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com
More information about the Pacemaker
mailing list