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

_______________________________________________
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org

Reply via email to