Setting up CTDB on OCFS2 and VMs ...

Rowland Penny repenny241155 at gmail.com
Sat Dec 13 05:31:53 MST 2014


On 12/12/14 21:47, Michael Adam wrote:
> On 2014-12-12 at 21:11 +0000, Rowland Penny wrote:
>> On 12/12/14 20:52, Michael Adam wrote:
>>> I am really sorry that you are frustrated.
>>> Pleas keep on!
>> Frustrated might just be an understatement :-D
> I think that might also partly stem from the fact that that
> this kind of troubleshooting/support is extremely difficult
> to do via email.
>
> Interactive support via Irc / chat / voice / shared screen/tmux
> session is much better for stuff like that.
>
>>> We do try to document stuff, but clusters with
>>> ctdb is still an area that is not done by
>>> the average admin. And there are not so many
>>> people working on the code, so as usual,
>>> documentation sadly lacks behind.
>>>
>>> Someone like you, who with the help of us devs
>>> finally gets to a working system, might help
>>> us in the end to improve the docs! :-)
>> ER, thats why I am trying to get to work, then I can update the samba wiki.
> Cool! Keep it up! :-)
>
>>> That being said, there is documentation out
>>> there, but not necessarily terribly up to date,
>>> and not precisely what you want.
>> Yes, I think I have read most of it :-)
> Ok... so far so good.
>
>> Setting up the cluster on Debian seems to be easier than on redhat, I don't
>> have to compile anything.
> Well, that's not the case any more.
> And there the RPMs by SerNet if you don't
> want to go with the distro versions.
>
>> The problems only start when I try to setup CTDB.
> Ok, I suggest, you move over to email
> and try to grab one one of us in the
> #ctdb (and/or #samba-technical) channel
> and do stuff interactively.
>
> Cheers - Michael (obnox)
>

OK, I now have a single node up and running as per the instructions 
provided by Ronnie. I just have a few questions:

there is this in the ctdb log

2014/12/13 11:52:43.522708 [ 5740]: Set runstate to INIT (1)
2014/12/13 11:52:43.540992 [ 5740]: 00.ctdb: awk: line 2: function 
gensub never defined
2014/12/13 11:52:43.543178 [ 5740]: 00.ctdb: awk: line 2: function 
gensub never defined
2014/12/13 11:52:43.545354 [ 5740]: 00.ctdb: awk: line 2: function 
gensub never defined

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

the final 4 lines are:

2014/12/13 11:53:02.982441 [ 5740]: monitor event OK - node re-enabled
2014/12/13 11:53:02.982480 [ 5740]: Node became HEALTHY. Ask recovery 
master 0 to perform ip reallocation
2014/12/13 11:53:02.982733 [recoverd: 5887]: Node 0 has changed flags - 
now 0x0  was 0x2
2014/12/13 11:53:02.983266 [recoverd: 5887]: Takeover run starting
2014/12/13 11:53:03.046859 [recoverd: 5887]: Takeover run completed 
successfully

ctdb status shows:

Number of nodes:1
pnn:0 127.0.0.1        OK (THIS NODE)
Generation:740799152
Size:1
hash:0 lmaster:0
Recovery mode:NORMAL (0)
Recovery master:0

So, how do I get rid of the 'awk' error lines ? Why shouldn't the public 
IP lines be served ?

Now I know it works, I just have to pull it all together.

Rowland



More information about the samba-technical mailing list