- [Show pagesource]
- [Old revisions]
- [[unknown link type]]
- []
This is an old revision of the document!
Note: Fibre channel - cheap stuff!!!
Requirements
- Two disks (preferably same size and my lovely LVM)
- Networking between machines (node1 & node2), Tip: VMPlayer LAN Segments
- Working DNS resolution (/etc/hosts file)
- Selinux disabled
- Iptables ports (7788) allowed
- and lot of patience
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.1424911003.txt.gz · Last modified: 2015/02/26 01:36 by admin