I am exploring corosync/pacemaker to find out a way to send notifications and
replication of small files across cluster nodes by just using corosync
communication
mechanism without having drbd-like setup?

1 - I know corosync replicates cib.xml configuration file; if cib
config changes
on one node it is replicated to other nodes automatically and I think
it replicates
only xdelta.
Is it possible to use the same mechanism to synchronize a user defined file
among cluster nodes? e.g. if files changes on primary node then xdelta could
be communicated to secondaries automatically?

2 - Also, ocf resources can send/receive pre/post notification of any
ocf action;
is it possible to have a resource to send other kind of alerts e.g. file change
notification or any other event happens on the primary that could be
communicated to secondaries/other nodes?
I tried by defining a resource param (e.g ocf:heartbeat:Dummy.fake) and
changing its value in order to trigger notification; this works but it create
a copy of config file every time resource property is changed; that means there
will be a new file (e.g. /var/lib/pengine/*.gz) with every change.

Any suggestion?

thanks,

mumtaz

PS: I have tried to explore the list but could not find something related.
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to