[mueller at tropenklinik.de: [Samba] Which version of CTDB]

Volker Lendecke Volker.Lendecke at SerNet.DE
Wed May 19 08:56:29 MDT 2010


Hi, Ronnie!

There is something broken with 

rsync -avz samba.org::ftp/unpacked/ctdb

which is linked from

http://ctdb.samba.org/download.html

It does not reference the TRANS3 things yet that are needed
for current samba. Is there anything we can do to fix that,
or shall we revert the TRANS3 things from 3.5 again?

Volker

----- Forwarded message from Daniel Müller <mueller at tropenklinik.de> -----

From: Daniel Müller <mueller at tropenklinik.de>
To: samba at lists.samba.org
Date: Wed, 19 May 2010 16:39:38 +0200
Subject: [Samba] Which version of CTDB

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 at 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

----- End forwarded message -----

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20100519/6e450a68/attachment.pgp>


More information about the samba-technical mailing list