Replication With CentOS 6.4

Home » CentOS » Replication With CentOS 6.4
CentOS 2 Comments

Hi, I need to create a real-time replication of a partition between two servers with CentOS 6.4, I am researching and finding difficulty with drbd, corosync, someone indicate material, do not need to run script automatically if a node drops only replicate. Grateful.

2 thoughts on - Replication With CentOS 6.4

  • —– Original Message —–
    | Hi,
    | I need to create a real-time replication of a partition between two
    | servers
    | with CentOS 6.4, I am researching and finding difficulty with drbd,
    | corosync,
    | someone indicate material, do not need to run script automatically if
    | a node
    | drops only replicate.
    | Grateful.
    |
    | —
    | Sergio.Alex

    You just want replication or *block level* replication? GlusterFS offers replication but it is not block level.


    James A. Peltier Manager, IT Services – Research Computing Group Simon Fraser University – Burnaby Campus Phone : 778-782-6573
    Fax : 778-782-3045
    E-Mail : jpeltier@sfu.ca Website : http://www.sfu.ca/itservices

    “A successful person is one who can lay a solid foundation from the bricks others have thrown at them.” -David Brinkley via Luke Shaw

  • What problem are you having with DRBD? I use DRBD on CentOS 6 with corosync + cman + rgmanager. If you need simple fail-over, it’s easy. If you want concurrent access from both nodes, you’ll need a cluster-aware filesystem like GFS2.

    The only real trick is to be sure you use fencing. This prevents both nodes from trying to use the storage when they think the other node is dead (a condition called a “split-brain”).

    I have a tutorial that covers all of this. It’s designed for running VMs on DRBD, but you can ignore the VM part;

    https://alteeve.ca/w/2-Node_Red_Hat_KVM_Cluster_Tutorial

    digimer

LEAVE A COMMENT