[Samba] Samba 4.1.7 CTDB winbind not syncing when connected to MS AD 2008R2 - WAS: Re: Samba 4.1.7 clustering not using private dir

Jonn Taylor jonnt at taylortelephone.com
Mon Apr 28 14:49:33 MDT 2014


On 4/28/2014 10:35 AM, Ali Bendriss wrote:
>
>
> On 04/28/2014 01:23 PM, Taylor, Jonn wrote:
>> Update on my problem. I resetup my 2 node cluster per the samba wiki for
>> 4.x and CTDB. The only difference is that I am using DRBD and GFS2. CTDB
>> is not syncing the winbind databases between nodes. I had to join each
>> node before winbind would authenticate my users to AD. This morning I
>> found that one of the 2 nodes stopped authenticating users again. It
>> looks like CTDB is not syncing the samba/winbind databases to keep the
>> nodes in sync.
>>
>> How can I prove this out?
>>
>> Jonn
>
> Hello,
>
> If I remember correctly, you can increase the ctdb log level in the 
> ctdb config file (ctdb.conf). So you may find more info on what is 
> going on.
>
> The last time I used ctdb :
> - it was not necessary to have a shared private dir, ctdb maintain a 
> database on each node
> - you just need to join the whole cluster and not each node individually
> - it is possible to let ctdb manage winbind for you (really usefull)
>
> I was using gfs2 on a shared FC disk array. The ping pong test was not 
> that fast but the final setup was fast enough for our need.
> I remember that during the setup I've started by running a simple http 
> server on each node until the FS and network configuration was OK 
> (switching on/off each node after the other). I then started to setup 
> samba on it.
>
> hope this help
>
> -- 
> Ali
Still not having much luck. CTDB seems to replicating some part of the 
database. What I cannot tell is if it isdoing the winbind part and if 
winbind is using it.

2014/04/28 13:42:54.285328 [14275]: Vacuuming is disabled for persistent 
database share_info.tdb
2014/04/28 13:42:54.285395 [14275]: Attached to database 
'/var/ctdb/persistent/share_info.tdb.0'
2014/04/28 13:42:54.285412 [14275]: Attached to persistent database 
share_info.tdb
2014/04/28 13:42:54.310343 [14275]: Vacuuming is disabled for persistent 
database group_mapping.tdb
2014/04/28 13:42:54.310411 [14275]: Attached to database 
'/var/ctdb/persistent/group_mapping.tdb.0'
2014/04/28 13:42:54.310430 [14275]: Attached to persistent database 
group_mapping.tdb
2014/04/28 13:42:54.335646 [14275]: Vacuuming is disabled for persistent 
database secrets.tdb
2014/04/28 13:42:54.335716 [14275]: Attached to database 
'/var/ctdb/persistent/secrets.tdb.0'
2014/04/28 13:42:54.335732 [14275]: Attached to persistent database 
secrets.tdb
2014/04/28 13:42:54.359342 [14275]: Vacuuming is disabled for persistent 
database account_policy.tdb
2014/04/28 13:42:54.359410 [14275]: Attached to database 
'/var/ctdb/persistent/account_policy.tdb.0'
2014/04/28 13:42:54.359427 [14275]: Attached to persistent database 
account_policy.tdb
2014/04/28 13:42:54.383066 [14275]: Vacuuming is disabled for persistent 
database registry.tdb
2014/04/28 13:42:54.383134 [14275]: Attached to database 
'/var/ctdb/persistent/registry.tdb.0'
2014/04/28 13:42:54.383152 [14275]: Attached to persistent database 
registry.tdb
2014/04/28 13:42:54.406811 [14275]: Vacuuming is disabled for persistent 
database idmap2.tdb
2014/04/28 13:42:54.406878 [14275]: Attached to database 
'/var/ctdb/persistent/idmap2.tdb.0'
2014/04/28 13:42:54.406895 [14275]: Attached to persistent database 
idmap2.tdb
2014/04/28 13:42:54.430504 [14275]: Vacuuming is disabled for persistent 
database passdb.tdb
2014/04/28 13:42:54.430572 [14275]: Attached to database 
'/var/ctdb/persistent/passdb.tdb.0'
2014/04/28 13:42:54.430589 [14275]: Attached to persistent database 
passdb.tdb
2014/04/28 13:42:54.454144 [14275]: Vacuuming is disabled for persistent 
database ctdb.tdb
2014/04/28 13:42:54.454219 [14275]: Attached to database 
'/var/ctdb/persistent/ctdb.tdb.0'
2014/04/28 13:42:54.454235 [14275]: Attached to persistent database ctdb.tdb
2014/04/28 13:43:19.681884 [14275]: server/ctdb_ltdb_server.c:421 
persistent db '/var/ctdb/persistent/ctdb.tdb.0' healthy
2014/04/28 13:43:19.681920 [14275]: server/ctdb_ltdb_server.c:421 
persistent db '/var/ctdb/persistent/passdb.tdb.0' healthy
2014/04/28 13:43:19.681948 [14275]: server/ctdb_ltdb_server.c:421 
persistent db '/var/ctdb/persistent/idmap2.tdb.0' healthy
2014/04/28 13:43:19.681970 [14275]: server/ctdb_ltdb_server.c:421 
persistent db '/var/ctdb/persistent/registry.tdb.0' healthy
2014/04/28 13:43:19.681991 [14275]: server/ctdb_ltdb_server.c:421 
persistent db '/var/ctdb/persistent/account_policy.tdb.0' healthy
2014/04/28 13:43:19.682012 [14275]: server/ctdb_ltdb_server.c:421 
persistent db '/var/ctdb/persistent/secrets.tdb.0' healthy
2014/04/28 13:43:19.682033 [14275]: server/ctdb_ltdb_server.c:421 
persistent db '/var/ctdb/persistent/group_mapping.tdb.0' healthy
2014/04/28 13:43:19.682054 [14275]: server/ctdb_ltdb_server.c:421 
persistent db '/var/ctdb/persistent/share_info.tdb.0' healthy
2014/04/28 13:43:19.682086 [14275]: 
server/ctdb_monitor.c:299ctdb_start_monitoring: 
ctdb_recheck_persistent_health() OK



More information about the samba mailing list