Setting up CTDB on OCFS2 and VMs ...

Martin Schwenke martin at meltin.net
Sun Dec 14 02:42:17 MST 2014


On Sat, 13 Dec 2014 14:55:31 +0100, Michael Adam <obnox at samba.org>
wrote:

> Maybe we should change "awk" to "gawk" in our scripts
> and packages would need to adapt their dependencies.

Yeah, perhaps.  That is probably the simplest way.

The eventscript are hardly portable but, given that there are only a
few uses of gensub(), I'll take a look at the relevant code and see if
it is worth switching to gsub() instead for a little added portability.
Either way, you'll probably see some patches for that this week.

> > 2014/12/13 11:52:56.931393 [recoverd: 5887]: We are still serving a public
> > IP '127.0.0.3' that we should not be serving. Removing it
> > 2014/12/13 11:52:56.931536 [ 5740]: Could not find which interface the ip
> > address is hosted on. can not release it
> > 2014/12/13 11:52:56.931648 [recoverd: 5887]: We are still serving a public
> > IP '127.0.0.2' that we should not be serving. Removing it
> > 
> > The above three lines are there 4 times
> 
> I guess this will not be the case any more, when you
> move to a more realistic setup where you don't use loopback
> for hosting nodes internal and public addresses, but
> for a start that is ok.

Right.  CTDB checks to see if a public IP address is on an interface by
attempting to bind to a socket with that address.  127.0.0.1/8 loopback
addresses are magic so can always be bound to, something we take
advantage of in tests.

peace & happiness,
martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 173 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20141214/59b4d2d0/attachment.pgp>


More information about the samba-technical mailing list