Page tree

Welcome to FreeSoftwareServers Confluence Wiki

Skip to end of metadata
Go to start of metadata

Install on Both Nodes

rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org 
rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm 
yum install -y kmod-drbd84 drbd84-utils 
semanage permissive -a drbd_t
modprobe drbd

Configure Global Parameters

sudo mv /etc/drbd.d/global_common.conf /etc/drbd.d/global_common.conf.bak
cat << EOL >/etc/drbd.d/global_common.conf
global {
        usage-count no;
 }
common {
        handlers {
                split-brain "/usr/lib/drbd/notify-split-brain.sh root";
        }
        options {
		 on-no-data-accessible io-error;
        }
        disk {
                resync-rate 30M;        
	}
        net {
		protocol C;
		csums-alg sha1;
		shared-secret sync_disk;
  }
}
EOL
  • No labels