samba-users May 2010 archive
Main Archive Page > Month Archives  > samba-users archives
samba-users: [Samba] Which version of CTDB

[Samba] Which version of CTDB

From: Daniel Müller <mueller_at_nospam>
Date: Wed May 19 2010 - 14:39:38 GMT
To: <samba@lists.samba.org>

Dear all,

after downloading ctdb with rsync -avz samba.org::ftp/unpacked/ctdb
and compiling well.
I installed on my Centos 5.3 sernet package samba 3.5.2. Also working well.
But after setting up ctdb and samba und running it my two nodes freezing for
a while
And ctdb and samba are down again.
On Both nodes
My /etc/sysconfig/ctdb:

CTDB_RECOVERY_LOCK="/cluster/recovery/recovery"
CTDB_PUBLIC_ADDRESSES=/etc/ctdb/public_addresses
CTDB_MANAGES_SAMBA=yes
ulimit -n 10000
CTDB_NOTIFY_SCRIPT=/etc/ctdb/notify.sh
CTDB_DBDIR=/var/ctdb
CTDB_DBDIR_PERSISTENT=/var/ctdb/persistent
CTDB_EVENT_SCRIPT_DIR=/etc/ctdb/events.d
CTDB_SOCKET=/tmp/ctdb.socket
CTDB_TRANSPORT="tcp"
CTDB_MONITOR_FREE_MEMORY=100
CTDB_LOGFILE=/var/log/log.ctdbq

My /etc/ctdb/nodes
192.168.134.28
192.168.134.27

My /etc/ctdb/public_addresses
192.168.134.100/24 eth0
192.168.134.101/24 eth0

My /etc/samba/smb.conf
[global]
        workgroup = domain-cluster
        security=user
        clustering=yes
        private dir=/cluster/recovery
        passdb backend=tdbsam
        groupdb:backend=tdb
        idmap backend=tdb2
        idmap uid=1000000-2000000
        idmap gid=1000000-2000000
        fileid:algorithm = fsname

[test]
        path= /cluster/samba
        writeable=yes
        vfs objects= fileid

My mount point for gfs-cluster:

/dev/drbd0 on /cluster type gfs (rw,hostdata=jid=0:id=589825:first=1)

A cut of my log in /var/log/log.ctdb

2010/05/19 15:31:21.784728 [ 5356]: Starting CTDB daemon
2010/05/19 15:31:21.795804 [ 5357]: Set scheduler to SCHED_FIFO
2010/05/19 15:31:21.796078 [ 5357]: tcp/tcp_connect.c:349 Failed to bind()
to so
cket. Success(0)
2010/05/19 15:31:21.796111 [ 5357]: ctdb chose network address
192.168.134.28:43
79 pnn 0
2010/05/19 15:31:21.796337 [ 5357]: Attached to database
'/var/ctdb/persistent/s
ecrets.tdb.0'
2010/05/19 15:31:21.796359 [ 5357]: Attached to persistent database
secrets.tdb
2010/05/19 15:31:21.797331 [ 5357]: Keepalive monitoring has been started
2010/05/19 15:31:21.797391 [ 5357]: Monitoring has been started
2010/05/19 15:31:21.819914 [ 5359]: monitor_cluster starting

2010/05/19 15:31:28.212161 [ 5357]: NMB-Dienste starten: [ OK ]
2010/05/19 15:31:28.212280 [ 5357]: server/ctdb_control.c:449 Unknown CTDB
contr
ol opcode 119

What do I missing

-----------------------------------------------
EDV Daniel Müller

Leitung EDV
Tropenklinik Paul-Lechler-Krankenhaus
Paul-Lechler-Str. 24
72076 Tübingen

Tel.: 07071/206-463, Fax: 07071/206-499
eMail: mueller@tropenklinik.de
Internet: www.tropenklinik.de
-----------------------------------------------

-- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba