Preliminary success with OCFS2 and CTDB 2.5.4
Richard Sharpe
realrichardsharpe at gmail.com
Tue Dec 2 15:20:13 MST 2014
On Tue, Dec 2, 2014 at 1:38 PM, Richard Sharpe
<realrichardsharpe at gmail.com> wrote:
> Hi folks,
>
> Despite the vehement statements by some people on this list, I have
> gotten the ctdb ping_pong test to work with OCFS2 and CTDB 2.5.4 on
> CentOS 6.6.
>
> On one member:
>
> [root at ocfs2-1 rsharpe]# ping_pong -rw /shared/ctdb/reclock 3
> data increment = 1
> ^C 3079 locks/sec
> [root at ocfs2-1 rsharpe]# ping_pong -rw /shared/ctdb/reclock 3
> data increment = 2
> ^C 277 locks/sec
>
> One the other member:
>
> [root at ocfs2-2 ~]# ping_pong -rw /shared/ctdb/reclock 3
> data increment = 1
> data increment = 2
> data increment = 1
> ^C 3150 locks/sec
>
> The last lock rate was after I stopped the ping_pong command on the
> first member. I was getting around 270 when ping_pong was running on
> both nodes.
>
> Do those locking rates look reasonable?
Further to my earlier email:
[root at ocfs2-1 rsharpe]# ctdb status
Number of nodes:2
pnn:0 192.168.122.10 OK (THIS NODE)
pnn:1 192.168.122.11 DISCONNECTED|UNHEALTHY|INACTIVE
Generation:618266000
Size:1
hash:0 lmaster:0
Recovery mode:NORMAL (0)
Recovery master:0
[root at ocfs2-1 rsharpe]# ctdb status
Number of nodes:2
pnn:0 192.168.122.10 OK (THIS NODE)
pnn:1 192.168.122.11 UNHEALTHY
Generation:618266000
Size:1
hash:0 lmaster:0
Recovery mode:NORMAL (0)
Recovery master:0
[root at ocfs2-1 rsharpe]# ctdb status
Number of nodes:2
pnn:0 192.168.122.10 OK (THIS NODE)
pnn:1 192.168.122.11 OK
Generation:1054141258
Size:2
hash:0 lmaster:0
hash:1 lmaster:1
Recovery mode:NORMAL (0)
Recovery master:0
Houston, we do NOT have a problem.
--
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)
More information about the samba-technical
mailing list