[Linux-cluster] Simple data replication in a cluster

Vallevand, Mark K Mark.Vallevand at UNISYS.com
Fri Apr 4 14:44:26 UTC 2014


Thanks.  I'll check out corosync.


Regards.
Mark K Vallevand   Mark.Vallevand at Unisys.com
May you live in interesting times, may you come to the attention of important people and may all your wishes come true.
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.


-----Original Message-----
From: linux-cluster-bounces at redhat.com [mailto:linux-cluster-bounces at redhat.com] On Behalf Of Digimer
Sent: Thursday, April 03, 2014 04:18 PM
To: linux clustering
Subject: Re: [Linux-cluster] Simple data replication in a cluster

On 03/04/14 04:58 PM, Vallevand, Mark K wrote:
> I'm looking for a simple way to replicate data within a cluster.
>
> It looks like my resources will be self-configuring and may need to push
> changes they see to all nodes in the cluster.  The idea being that when
> a node crashes, the resource will have its configuration present on the
> node on which it is restarted.  We're talking about a few kb of data,
> probably in one file, probably text.  A typical cluster would have
> multiple resources (more than two), one resource per node and one extra
> node.
>
> Ideas?
>
> Could I use the CIB directly to replicate data?  Use cibadmin to update
> something and sync?
>
> How big can a resource parameter be?  Could a resource modify its
> parameters so that they are replicated throughout the cluster?
>
> Is there a simple file replication Resource Agent?
>
> Drdb seems like overkill.
>
> Regards.
> Mark K Vallevand Mark.Vallevand at Unisys.com

If you don't want to use DRBD + gfs2 (what I use), then you'll probably 
want to look at corosync directly for keeping the data in sync. 
Pacemaker itself is a cluster resource manager and I don't think the cib 
is well suited for general data sync'ing.

-- 
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without 
access to education?

-- 
Linux-cluster mailing list
Linux-cluster at redhat.com
https://www.redhat.com/mailman/listinfo/linux-cluster




More information about the Linux-cluster mailing list