[DRBD-user] IP address not found on this host

Andreas Kurz andreas.kurz at gmail.com
Thu Aug 7 23:47:36 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.


On Thursday 07 August 2008, RYAN vAN GINNEKEN wrote:
> Here are the kern.logs entries seems unable to bind to socket seems
> strange??

of course .. if the address you configured in drbd.conf is not bound to an 
interface you get these errors ... so you can forget 
this  'disable-ip-verification' hint ... should have read your first posting 
more thoroughly ;-) 

so  if ns1 is src-nated and the local bound IP is the  192.168.1.202 you have 
to use this IP in your drbd.conf on ns1 and the external 66.144.188.169 in 
drbd.conf on mx1... and vice versa if mx1 has also an private IP ... that 
should do the trick ... never tried such a setup myself.

Regards,
Andreas

>
> Aug  7 15:22:34 ns1 kernel: [42995654.970000] drbd1: conn( StandAlone ->
> Unconnected ) Aug  7 15:22:34 ns1 kernel: [42995654.970000] drbd1: Starting
> receiver thread (from drbd1_worker [15659]) Aug  7 15:22:34 ns1 kernel:
> [42995654.970000] drbd1: receiver (re)started Aug  7 15:22:34 ns1 kernel:
> [42995654.970000] drbd1: conn( Unconnected -> WFConnection ) Aug  7
> 15:22:34 ns1 kernel: [42995654.970000] drbd1: Unable to bind source sock
> (-99) Aug  7 15:22:34 ns1 kernel: [42995655.070000] drbd1: Unable to bind
> source sock (-99) Aug  7 15:22:35 ns1 kernel: [42995655.170000] drbd1:
> Unable to bind source sock (-99) Aug  7 15:22:35 ns1 kernel:
> [42995655.170000] drbd1: Unable to bind sock2 (-99) Aug  7 15:22:35 ns1
> kernel: [42995655.170000] drbd1: conn( WFConnection -> Disconnecting ) Aug 
> 7 15:22:35 ns1 kernel: [42995655.170000] drbd1: Discarding network
> configuration. Aug  7 15:22:35 ns1 kernel: [42995655.170000] drbd1:
> tl_clear()
> Aug  7 15:22:35 ns1 kernel: [42995655.170000] drbd1: Connection closed
> Aug  7 15:22:35 ns1 kernel: [42995655.170000] drbd1: conn( Disconnecting ->
> StandAlone ) Aug  7 15:22:35 ns1 kernel: [42995655.170000] drbd1: receiver
> terminated Aug  7 15:22:35 ns1 kernel: [42995655.170000] drbd1: Terminating
> receiver thread
>
> Computer King & CaN Mail  -  Sales Service Hosting Backup
>
> http://www.computerking.ca     http://www.canmail.org
>
> NEW!!! Custom Service Packages
> Secure IMAP Email - Automated Remote Backups - Photo Blogs - Online
> Accounting Packages
>
> ----- "Andreas Kurz" <andreas.kurz at gmail.com> wrote:
> > On Thursday 07 August 2008, RYAN vAN GINNEKEN wrote:
> > > Computer King & CaN Mail  -  Sales Service Hosting Backup
> > >
> > > http://www.computerking.ca     http://www.canmail.org
> > >
> > > NEW!!! Custom Service Packages
> > > Secure IMAP Email - Automated Remote Backups - Photo Blogs - Online
> > > Accounting Packages
> > >
> > > ----- "Andreas Kurz" <andreas.kurz at gmail.com> wrote:
> > > > sorry for the private mail ... was not my intention
> > >
> > > Not my intention either
> > >
> > > > On Thursday 07 August 2008, RYAN vAN GINNEKEN wrote:
> > > > > Thanks Andreas that did make the warning/error go away but i
> >
> > still
> >
> > > > am
> > > >
> > > > > running in StandAlone mode on host 2
> > > >
> > > > hmm .. what happens when you do a 'drbdadmin connect r0' on the
> > > > secondary?
> > >
> > > Returns me to the command prompt without error but still is in
> >
> > StandAlone
> >
> > > root at ns1:/etc# drbdadm connect r0
> > > root at ns1:/etc# cat /proc/drbd
> > > version: 8.2.6 (api:88/proto:86-88)
> > > GIT-hash: 3e69822d3bb4920a8c1bfdf7d647169eba7d2eb4 build by
> > > root at mx1.canmail.org, 2008-06-30 13:41:01
> > >
> > >  1: cs:StandAlone st:Secondary/Unknown ds:Inconsistent/DUnknown
> >
> > r---
> >
> > >     ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 oos:1572780
> >
> > hard to say what went wrong without kernel logs.
> >
> > > > > ***** This is server one looks ok but this is my first drbd
> >
> > setu
> >
> > > > > p so
> > > >
> > > > not
> > > >
> > > > > exactly sure about how things are supposed to look
> > > > >
> > > > > version: 8.2.6 (api:88/proto:86-88)
> > > > > GIT-hash: 3e69822d3bb4920a8c1bfdf7d647169eba7d2eb4 build by
> > > > > root at mx1.canmail.org, 2008-06-30 13:41:01
> > > > >
> > > > >  1: cs:WFConnection st:Primary/Unknown ds:UpToDate/DUnknown C
> >
> > r---
> >
> > > > >     ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0
> >
> > oos:1572780
> >
> > > > > ***** This is server two again not to sure how things are
> >
> > supposed
> >
> > > > to look
> > > >
> > > > > but according to the doc StandAlone is bad
> > > > >
> > > > > version: 8.2.6 (api:88/proto:86-88)
> > > > > GIT-hash: 3e69822d3bb4920a8c1bfdf7d647169eba7d2eb4 build by
> > > > > root at mx1.canmail.org, 2008-06-30 13:41:01
> > > > >
> > > > >  1: cs:StandAlone st:Secondary/Unknown ds:Inconsistent/DUnknown
> > > >
> > > > r---
> > > >
> > > > >     ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0
> >
> > oos:1572780
> >
> > > > > Computer King & CaN Mail  -  Sales Service Hosting Backup
> > > > >
> > > > > http://www.computerking.ca     http://www.canmail.org
> > > > >
> > > > > NEW!!! Custom Service Packages
> > > > > Secure IMAP Email - Automated Remote Backups - Photo Blogs -
> >
> > Online
> >
> > > > > Accounting Packages
> > > > >
> > > > > ----- "Andreas Kurz" <andreas.kurz at gmail.com> wrote:
> > > > > > On Thursday 07 August 2008, RYAN vAN GINNEKEN wrote:
> > > > > > > Hello again all, I am running DRBD behind a router and
> >
> > between
> >
> > > > two
> > > >
> > > > > > remote
> > > > > >
> > > > > > > machines.  I have the machine DMZed for better access but
> >
> > am
> >
> > > > > > getting
> > > > > >
> > > > > > > errors.  Therefore the address the outside world (as well
> >
> > as
> >
> > > > the
> > > >
> > > > > > other drbd
> > > > > >
> > > > > > > machine) sees is different than what the machine thinks it
> >
> > has.
> >
> > > > > > Outside
> > > > > >
> > > > > > > address is 66.144.188.169 and ifconfig returns
> >
> > 192.168.1.202
> >
> > > > > > > I have tried adding the internal entry to /etc/hosts but it
> >
> > does
> >
> > > > not
> > > >
> > > > > > work
> > > > > >
> > > > > > > hmmmm do i need to setup and internal view using dns? why
> >
> > is
> >
> > > > this
> > > >
> > > > > > not
> > > > > >
> > > > > > > working.  Anyways here is the error!!!!
> > > > > > >
> > > > > > > root at ns1:/etc# drbdadm up r0
> > > > > > > /etc/drbd.conf:14: in resource r0, on ns1.computerking.ca:
> > > > > > >         IP 68.144.188.169 not found on this host.
> > > > > >
> > > > > > have you tried 'disable-ip-verification' in your global
> >
> > section?
> >
> > > > > > Regards,
> > > > > > Andreas
> > > > > >
> > > > > > > I think this is causing drbd to run in standalone mode on
> >
> > this
> >
> > > > host
> > > >
> > > > > > here is
> > > > > >
> > > > > > > proc output
> > > > > > >
> > > > > > > root at ns1:/etc# cat /proc/drbd
> > > > > > > version: 8.2.6 (api:88/proto:86-88)
> > > > > > > GIT-hash: 3e69822d3bb4920a8c1bfdf7d647169eba7d2eb4 build by
> > > > > > > root at mx1.canmail.org, 2008-06-30 13:41:01
> > > > > > >
> > > > > > >  1: cs:StandAlone st:Secondary/Unknown
> >
> > ds:Inconsistent/DUnknown
> >
> > > > > > r---
> > > > > >
> > > > > > >     ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0
> > > >
> > > > oos:1572780
> > > >
> > > > > > > ****** I have included my drbd.conf and my hosts file
> >
> > please
> >
> > > > help
> > > >
> > > > > > > global {
> > > > > > >         usage-count yes;
> > > > > > > }
> > > > > > > common {
> > > > > > >         protocol C;
> > > > > > > }
> > > > > > > resource r0 {
> > > > > > >   on mx1.canmail.org{
> > > > > > >         device    /dev/drbd1;
> > > > > > >         disk      /dev/vg/drbd;
> > > > > > >         address   66.244.200.225:7789;
> > > > > > >         meta-disk internal;
> > > > > > >   }
> > > > > > >   on ns1.computerking.ca {
> > > > > > >         device    /dev/drbd1;
> > > > > > >         disk      /dev/vg/drbd;
> > > > > > >         address   68.144.188.169:7789;
> > > > > > >         meta-disk internal;
> > > > > > >   }
> > > > > > > }
> > > > > > >
> > > > > > > # Do not remove the following line, or various programs
> > > > > > > # that require network functionality will fail.
> > > > > > > 127.0.0.1               localhost.localdomain localhost
> > > > > > >
> > > > > > > ::1             localhost6.localdomain6 localhost6
> > > > > > >
> > > > > > > 192.168.1.202           ns1.computerking.ca ns1
> > > > > > > 68.144.188.169           ns1.computerking.ca ns1
> > > > > > >
> > > > > > >
> > > > > > > Computer King & CaN Mail  -  Sales Service Hosting Backup
> > > > > > >
> > > > > > > http://www.computerking.ca     http://www.canmail.org
> > > > > > >
> > > > > > > NEW!!! Custom Service Packages
> > > > > > > Secure IMAP Email - Automated Remote Backups - Photo Blogs
> >
> > -
> >
> > > > Online
> > > >
> > > > > > > Accounting Packages
> > > >
> > > > _______________________________________________
> > > >
> > > > > > > drbd-user mailing list
> > > > > > > drbd-user at lists.linbit.com
> > > > > > > http://lists.linbit.com/mailman/listinfo/drbd-user
> > > >
> > > > _______________________________________________
> > > > drbd-user mailing list
> > > > drbd-user at lists.linbit.com
> > > > http://lists.linbit.com/mailman/listinfo/drbd-user
> >
> > _______________________________________________
> > drbd-user mailing list
> > drbd-user at lists.linbit.com
> > http://lists.linbit.com/mailman/listinfo/drbd-user





More information about the drbd-user mailing list