<div dir="ltr">I am attempting to setup DRBD for the very first time on a pair of test systems running CentOS4.6. I created a logical volume on each system and the "drbdadm create-md" ran successfully on both systems. But when I attempt to attach, I get "Connection refused". I do not have the firewall running on either system and iptables -L shows that this is the case. I am only following the on-line documentation. Gethostbyname returns the same hostnames that are in the drbd.conf files. I can't find any references to this error in the documention or in the archives for this list. <br>
<br># drbdadm attach r0<br>send() failed: Connection refused<br>send() failed: Connection refused<br><br>global {<br> usage-count yes;<br>}<br>common {<br> protocol C;<br>}<br>resource r0 {<br> on ctest01d {<br> device /dev/drbd1;<br>
disk /dev/VolGroup00/drbd_test_lv;<br> address <a href="http://10.10.1.10:7789">10.10.1.10:7789</a>;<br> meta-disk internal;<br> }<br> on ctest02d {<br> device /dev/drbd1;<br> disk /dev/VolGroup00/drbd_test_lv;<br>
address <a href="http://10.10.1.20:7789">10.10.1.20:7789</a>;<br> meta-disk internal;<br> }<br>}<br><br>Thanks,<br>-Mike<br></div>