Setting up CTDB on OCFS2 and VMs ...

Rowland Penny repenny241155 at gmail.com
Tue Dec 16 14:12:12 MST 2014


On 16/12/14 20:59, Martin Schwenke wrote:
> On Tue, 16 Dec 2014 18:22:02 +0000, Rowland Penny
> <repenny241155 at gmail.com> wrote:
>
>> I dont think so, tailing the log shows this:
>>
>> root at cluster1:~# tail /var/log/ctdb/log.ctdb
>> 2014/12/16 18:11:23.866612 [13513]: Thawing priority 2
>> 2014/12/16 18:11:23.866634 [13513]: Release freeze handler for prio 2
>> 2014/12/16 18:11:23.866666 [13513]: Thawing priority 3
>> 2014/12/16 18:11:23.866685 [13513]: Release freeze handler for prio 3
>> 2014/12/16 18:11:23.873189 [recoverd:13666]: ctdb_control error:
>> 'managed to lock reclock file from inside daemon'
>> 2014/12/16 18:11:23.873235 [recoverd:13666]: ctdb_control error:
>> 'managed to lock reclock file from inside daemon'
>> 2014/12/16 18:11:23.873246 [recoverd:13666]: Async operation failed with
>> ret=-1 res=-1 opcode=16
>> 2014/12/16 18:11:23.873254 [recoverd:13666]: Async wait failed -
>> fail_count=1
>> 2014/12/16 18:11:23.873261 [recoverd:13666]: server/ctdb_recoverd.c:412
>> Unable to set recovery mode. Recovery failed.
>> 2014/12/16 18:11:23.873268 [recoverd:13666]: server/ctdb_recoverd.c:1996
>> Unable to set recovery mode to normal on cluster
>>
>> This appears to be happening over and over again.
> That is the indicator that you have a lock coherency problem.  Please
> see the stuff I made bold in:
>
>    https://wiki.samba.org/index.php/Ping_pong
>
> Yes, this is hard and it tripped me up when I rushed through the
> ping-pong test...  and there was nothing in bold there to draw my
> attention to that detail. As Michael Adam has mentioned, some cluster
> filesystems will look like they fail this test when they actually pass,
> so it is difficult to have a test that works everywhere...
>
> I'll try to update that message to make this clearer and send users
> back to the ping-pong test.
>
> peace & happiness,
> martin

I ran the ping_pong test this morning, following the wiki page and as 
far as I could see it passed all tests.

I have come to the conclusion that you need to be a CTDB dev to set CTDB 
up, only they seem to have ALL the information required.

I absolutely give up, I cannot make it work, god knows I have tried, but 
I just cannot make it work with the information available. I can find 
bits here and bits there, but there still seems to be something missing, 
or is it just me. Debian 7.7, Pacemaker, Corosync and Ocfs2 work OK, it 
is just when you try to add CTDB.

Rowland


More information about the samba-technical mailing list