Displaying 20 results from an estimated 5000 matches similar to: "samba failover with ctdb and client-visible errors"
2018 Sep 18
4
CTDB potential locking issue
Hi All
I have a newly implemented two node CTDB cluster running on CentOS 7, Samba
4.7.1
The node network is a direct 1Gb link
Storage is Cephfs
ctdb status is OK
It seems to be running well so far but I'm frequently seeing the following
in my log.smbd:
[2018/09/18 19:16:15.897742, 0]
> ../source3/lib/dbwrap/dbwrap_ctdb.c:1207(fetch_locked_internal)
> db_ctdb_fetch_locked for
2014 Aug 16
1
CTDB: Failed to connect client socket to daemon.
Ubuntu 14.04, ctdb 2.5.3, samba 4.1.11. CTDB is working with IP takeover
between the 2 nodes. The machine is joined to the domain.
Any help with the following errors would be most gratefully received.
1. connect to socket error:
ctdb status
2014/08/16 15:32:03.248034 [23255]: client/ctdb_client.c:267 Failed to
connect client socket to daemon. Errno:Connection refused(111)
common/cmdline.c:156
2018 Jun 03
1
CTDB over WAN Link with LMASTER/RECMASTER Disabled
Hi,
I came across the 'CTDB_CAPABILITY_LMASTER=no' and 'CTDB_CAPABILITY_RECMASTER=no' options in my quest to salvage a rather poorly performing CTDB cluster over Ceph(fs). Unfortunately, the docs provide not enough information for a clustering noop like myself. Would there be any benefit to disabling those options for a branch office node on a high-latency WAN connection?
2020 Aug 06
2
CTDB question about "shared file system"
Very helpful. Thank you, Martin.
I'd like to share the information below with you and solicit your fine
feedback :-)
I provide additional detail in case there is something else you feel
strongly we should consider.
We made some changes last night, let me share those with you.
The error that is repeating itself and causing these failures is:
Takeover run starting
RELEASE_IP 10.200.1.230
2020 Aug 05
2
CTDB question about "shared file system"
Could I impose upon someone to provide some guidance? Some hint? Thank you
Is a shared file system actually required? If etcd is used to manage the
global recovery lock, is there any need at that point for a shared file
system?
In other words, are there samba or CTDB files (state) that must be on a
shared file system, or can each clustered host simply have these files
locally?
What must be
2018 May 07
2
CTDB Path
Hello,
i'm still trying to find out what is the right path for ctdb.conf
(ubuntu 18.04, samba was compiled from source!!).
When im trying to start CTDB without any config file, my log in
/usr/local/samba/var/log/log.ctdb shows me:
2018/05/07 12:56:44.363513 ctdbd[4503]: Failed to read nodes file
"/usr/local/samba/etc/ctdb/nodes"
2018/05/07 12:56:44.363546 ctdbd[4503]: Failed to
2008 Jun 04
0
CTDB problems: 1) Unable to get tcp info for CTDB_CONTROL_TCP_CLIENT, 2) ctdb disable doesn't failover
greetings,
trying to follow tridge's failover process at
http://samba.org/~tridge/ctdb_movies/node_disable.html
I encounter this error.
oss02:~ # smbstatus -np
Processing section "[homes]"
Processing section "[profiles]"
Processing section "[users]"
Processing section "[groups]"
Processing section "[local]"
Processing section
2018 Sep 19
3
CTDB potential locking issue
Hi Martin
Many thanks for the detailed response. A few follow-ups inline:
On Wed, Sep 19, 2018 at 5:19 AM Martin Schwenke <martin at meltin.net> wrote:
> Hi David,
>
> On Tue, 18 Sep 2018 19:34:25 +0100, David C via samba
> <samba at lists.samba.org> wrote:
>
> > I have a newly implemented two node CTDB cluster running on CentOS 7,
> Samba
> > 4.7.1
2023 Jan 27
1
ctdb samba and winbind event problem
Am 27.01.23 um 12:10 schrieb Bj?rn Baumbach:
> Hi Stefan,
>
> On 1/27/23 08:57, Stefan Kania via samba wrote:
>> Am 26.01.23 um 22:57 schrieb Martin Schwenke:
>>> winbindd and smbd are only started during the CTDB startup event, so
>>> you have to enable the event scripts before you start CTDB.
>>>
>> That's what I did and that's where the
2023 Jan 27
3
ctdb samba and winbind event problem
Hi Stefan,
On 1/27/23 16:16, Stefan Kania wrote:
> The only difference between my test environment and the production
> system is, that I have two server with Ubuntu and one with Debian, BUT
> both with the same sernet-packages, and the same nodes- and
> public_addresses-files. Still ctdb is running IP-failover works, but as
> soon I enable one of the events there is no way to
2014 Jul 11
1
ctdb PARTIALLYONLINE
drbd ctdb ocfs2
Hi
Everything seems OK apart from the IP takeover.
public_addresses
192.168.1.80/24 enp0s3
192.168.1.81/24 enp0s3
ctdb status
Number of nodes:2
pnn:0 192.168.1.10 PARTIALLYONLINE
pnn:1 192.168.1.11 PARTIALLYONLINE (THIS NODE)
Generation:2090727463
Size:2
hash:0 lmaster:0
hash:1 lmaster:1
Recovery mode:NORMAL (0)
Recovery master:1
but we are getting:
2014/07/11
2012 Jun 28
1
CTDB and IPv6
I am attempting to enable IPv6 on our CTDB setup. I have placed the
IPv6 address in the public_addresses file with the correct prefix.
The addresses never come up and I recieve these messages in the log
2012/06/28 10:54:43.313227 [ 1820]: Async operation failed with ret=0
res=1 opcode=0
2012/06/28 10:54:43.313918 [ 1820]: Async operation failed with ret=0
res=1 opcode=0
2012/06/28
2019 Oct 01
3
CTDB and nfs-ganesha
Hi there ? I seem to be having trouble wrapping my brain about the CTDB and ganesha configuration. I thought I had it figured out, but it doesn?t seem to be doing any checking of the nfs-ganesha service.
I put nfs-ganesha-callout as executable in /etc/ctdb
I create nfs-checks-ganesha.d folder in /etc/ctdb and in there I have 20.nfs_ganesha.check
In my ctdbd.conf file I have:
# Options to
2014 Jan 30
1
Glusterfs/CTDB/Samba file locking problem
Hi guys,
I try to set up two identical installed up to date CentOS6 machines with Glusterfs/CTDB/Samba .
I have set up Glusterfs and it works. I have set up CTDB from CentOS and it seems to work too.
Samba is AD integrated and works mainly.
The main problem is that file locking seem to not work between the machines at all. If two Win7 clients try to open an document
from the same Samba server
2018 Sep 18
0
CTDB potential locking issue
How did you mount your cephfs filesystem?
Am 18. September 2018 20:34:25 MESZ schrieb David C via samba <samba at lists.samba.org>:
>Hi All
>
>I have a newly implemented two node CTDB cluster running on CentOS 7,
>Samba
>4.7.1
>
>The node network is a direct 1Gb link
>
>Storage is Cephfs
>
>ctdb status is OK
>
>It seems to be running well so far but
2014 Jul 08
1
smbd does not start under ctdb
Hi
2 node drbd cluster with ocfs2.
both nodes:
openSUSE 4.1.9 with drbd 8.4 and ctdbd 2.3
All seems OK with ctdb:
n1:
ctdb status
Number of nodes:2
pnn:0 192.168.0.10 OK (THIS NODE)
pnn:1 192.168.0.11 OK
Generation:1187222392
Size:2
hash:0 lmaster:0
hash:1 lmaster:1
Recovery mode:NORMAL (0)
Recovery master:0
n2:
ctdb status
Number of nodes:2
pnn:0 192.168.0.10 OK
pnn:1 192.168.0.11
2011 Nov 30
1
CTDB + Likewise-open : What servername when joining AD?
Hi,
[Context : ubuntu 11.11 64bits, cman, clvmd, gfs2, ctdb, samba,
likewise-open, all running fine except...]
I've setup ctdb to manage public_addresses (to manage one virtual ip
actually), and I've explicitely told smb.conf that
netbios name = foobar_cluster
I've done that *after* I've manage to make samba, likewise-open and AD
to work nicely together.
I guess now all the
2018 May 04
2
CTDB Path
Hello,
at this time i want to install a CTDB Cluster with SAMBA 4.7.7 from SOURCE!
I compiled samba as follow:
|./configure| |--with-cluster-support
||--with-shared-modules=idmap_rid,idmap_tdb2,idmap_ad|
The whole SAMBA enviroment is located in /usr/local/samba/.
CTDB is located in /usr/local/samba/etc/ctdb.
I guess right that the correct path of ctdbd.conf (node file, public
address file
2009 Aug 03
1
CTDB+GFS2+CMAN. clean_start="0" or clean_start="1"?
Hi everybody,
I have tested CTDB+GFS2+CMAN under Debian. It works good but I do not
understand some points.
It is possible to run the CTDB defining it under services section in
cluster.conf but running it on the second node shuts down the process at the
first one. My CTDB configuration implies 2 active-active nodes.
Does CTDB care if the node starts with clean_start="0" or
2023 Jan 26
1
ctdb samba and winbind event problem
Hi to all,
I'm having a CTDB-Cluster with two nodes (both Ubuntu wit
Sernet-packages 4.17.4). Now I want to replace one of the nodes. The
first step was to bring a new node to the CTDB-Cluster. This time a
Debian 11 but with the same sernet-packages (4.17.4). Adding the new
node to /etc/ctdb/nodes at the end of the list. And the virtual IP to
/etc/ctdb/public_addresses, also at the end