Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Philipp, Disabling the whole firewall of your computers may be risky (it all depends). Please consider modifying the iptables rules to allow drbd connections. It is actually rather simple. If you use a dedicated network card connected through a cross-over cable then you can actually allow the full interface to be opened as I explained in my previous e-mail. Just determine which interface you use for drbd, then add to iptables -A RH-Firewall-1-INPUT -i ethX -j ACCEPT where ethX is your interface. If you are using Fedora or RHEL then the iptables configuration file is: /etc/sysconfig/iptables If you are using only one interface in each node for both network connections and drbd, then find out which ports you configured for drbd on /etc/drbd.conf and then adjust according to the other computer's IP address: On your primary you will add (assuming the IP of the primary is 10.0.0.1 and secondary 10.0.0.2) -A RH-Firewall-1-INPUT -s 10.0.0.2 -m multiport -p tcp --dports 7789,7790 -j ACCEPT On the secondary you will add -A RH-Firewall-1-INPUT -s 10.0.0.1 -m multiport -p tcp --dports 7789,7790 -j ACCEPT Then start iptables in both systems and you should be fine. Diego Philipp F. wrote: > hi diego, > > thank you, it is working now. my firewall was active - so I disabled the > "iptables"-service and now, it works ;-) > >> From: Diego Julian Remolina <diego.remolina at ibb.gatech.edu> >> To: "Philipp F." <phunky_p7 at hotmail.com> >> CC: drbd-user at linbit.com >> Subject: Re: [DRBD-user] DRBD doesn't work >> Date: Fri, 17 Mar 2006 07:37:29 -0500 >> >> Here is one possibility... >> >> Do your servers have a firewall? >> >> Have you opened the firewall for the interface used for DRBD or at >> least the required port on each one of the machines? >> >> I use eth3 for drbd and since the interfaces are connected through a >> crossover cable, I added this to my iptables to allow all traffice on >> eth3: >> >> -A RH-Firewall-1-INPUT -i eth3 -j ACCEPT >> >> Diego >> >> Philipp F. wrote: >> >>> hi all, >>> >>> I made the Tutorial on http://linux-ha.org/DRBD/QuickStart07 >>> step-by-step, but DRBD won't work. The Sync doesn't start (that >>> should start after the "ssh $left -- 'dmesg | tail ; cat >>> /proc/drbd'"-Command). The Outputs of the /proc/drbd (after the >>> Tutorial) are: >>> >>> node1: >>> [root at node1]# cat /proc/drbd >>> version: 0.7.17 (api:77/proto:74) >>> SVN Revision: 2093 build by root at node1, 2006-03-13 14:26:13 >>> 0: cs:WFConnection st:Primary/Unknown ld:Consistent >>> ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 >>> >>> node2: >>> [root at node2]# cat /proc/drbd >>> version: 0.7.17 (api:77/proto:74) >>> SVN Revision: 2093 build by root at node1, 2006-03-13 14:26:13 >>> 0: cs:WFConnection st:Secondary/Unknown ld:Inconsistent >>> ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 >>> >>> I really don't know what's the problem here! Can somebody help me? >>> >>> >>> _______________________________________________ >>> drbd-user mailing list >>> drbd-user at lists.linbit.com >>> http://lists.linbit.com/mailman/listinfo/drbd-user >> >> > >