---------------------drbd.conf--------------------- resource drbd0 { protocol C; incon-degr-cmd "echo '!DRBD! pri on incon-degr' | wall ; sleep 60 ; halt -f" ; startup { degr-wfc-timeout 120; # 2 minutes. } disk { on-io-error pass_on; } net { # TODO: Should these timeouts be relative to some heartbeat settings? # timeout 60; # 6 seconds (unit = 0.1 seconds) # connect-int 10; # 10 seconds (unit = 1 second) # ping-int 10; # 10 seconds (unit = 1 second) on-disconnect reconnect; } syncer { rate 1000M; group 1; al-extents 257; } on apolo-master { device /dev/drbd0; disk /dev/sda3; address 192.168.2.120:7788; meta-disk internal; } on apolo-slave { device /dev/drbd0; disk /dev/sda3; address 192.168.2.121:7788; meta-disk internal; } } ---some inf about the nodes------------ apolo-master eth0 192.168.2.104 eth1 192.168.2.120 apolo-slave eth0 192.168.2.107 eth1 192.168.2.121 /etc/hosts in both apolo-master 192.168.2.104 apolo-slave 192.168.2.107 -----------------cib.xml-------------