This is an old revision of the document!


Note: Fibre channel - cheap stuff!!!

Requirements

Install ELRepo repository on your both system:

rpm -Uvh http://www.elrepo.org/elrepo-release-6-6.el6.elrepo.noarch.rpm

Update both repo:

yum update -y

Install DRBD:

[root@node1 ~]# yum -y install drbd84-utils kmod-drbd84
[root@node2 ~]# yum -y install drbd84-utils kmod-drbd84

Insert drbd module manually on both machines or reboot:

/sbin/modprobe drbd

Partition DRBD on both machines (the ugly way):

[root@node1 ~]# fdisk -cu /dev/sdb
[root@node2 ~]# fdisk -cu /dev/sdb

and the right way:

[root@node1 ~]# lvcreate -L 4GB -n mail_disk vg_jahoda
[root@node2 ~]# lvcreate -L 4GB -n mail_disk vg_boruvka

drbdadm – –overwrite-data-of-peer primary repdata

drbdadm – –overwrite-data-of-peer primary repdata

 
linux/skoleni/ha.1424911055.txt.gz · Last modified: 2015/02/26 01:37 by admin