[DRBD-user] One resource conected, one not?

Rob Morin rob at dido.ca
Tue Apr 8 21:56:39 CEST 2008

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Rob Morin wrote:
> Hello all , i was trying to implement into production last night drbd 
> with heartbeat, i got it working fine in a dev environment, but last 
> night try into production did nto work at all, i am not sure why at 
> the moment, but meanwhile, before i try putting into production last 
> night a few months ago i installed drbd and had that replicating 
> flawlessly... howerver after last nights trial and error i know end up 
> with this...
>
> joe:/etc/init.d# cat /proc/drbd
> version: 8.0.4 (api:86/proto:86)
> SVN Revision: 2947 build by root at joe, 2008-02-15 12:14:56
> 0: cs:StandAlone st:Primary/Unknown ds:UpToDate/DUnknown   r---
>    ns:0 nr:0 dw:827600 dr:3253811 al:1469 bm:1869 lo:0 pe:0 ua:0 ap:0
>        resync: used:0/31 hits:0 misses:0 starving:0 dirty:0 changed:0
>        act_log: used:0/257 hits:205431 misses:1566 starving:0 dirty:97 
> changed:1469
> 1: cs:Connected st:Primary/Secondary ds:UpToDate/UpToDate C r---
>    ns:5959720 nr:0 dw:5959720 dr:2872578 al:12120 bm:231 lo:0 pe:0 
> ua:0 ap:0
>        resync: used:0/31 hits:0 misses:0 starving:0 dirty:0 changed:0
>        act_log: used:0/257 hits:1477810 misses:12398 starving:0 
> dirty:278 changed:12120
>
> What would cause one resource to be connected and another not?
>
> Any ideas?
> I am using drbd 8 on Debian Etch
>
> Thanks...
>
So when i do this on the secondary i see this....

stewie:/etc# netstat -an|grep 7788
tcp        0      0 192.168.1.151:7788      192.168.1.149:35615     
TIME_WAIT
tcp        0      0 192.168.1.151:52632     192.168.1.149:7788      
TIME_WAIT

On the Primary i see this...

joe:/etc# netstat -an|grep 7788

I see no port open for that resource(mail)  the other port 7799 for web 
is fine.....

Any ideas? i tried the split brain solution and still nothing i did a 
disconnect all and then connect all, and nothing....

:(

p.s. since i am using a second nic for the replication(eth0) in this 
case, the broadcast of heartbeat should be on eth0 too right? not the 
public/real IP?

Rob Morin
Dido Internet Inc.
Montreal,Canada
http://www.dido.ca
514-990-4444





More information about the drbd-user mailing list