search for: lmaster

Displaying 20 results from an estimated 51 matches for "lmaster".

Did you mean: master
2011 Apr 11
1
[CTDB] how does LMASTER know where the record is stored?
Greetings list, I was looking at the wiki "samba and clustering" and a ctdb.pdf, admittedly both are quite old (2006 or 2007) and I don't know how things change over years, but I just have two questions about LMASTER: < this is from pdf > LMASTER fixed ? LMASTER is based on record key only ? LMASTER knows where the record is stored ? new records are stored on LMASTER Q1. From the output of "ctdb status" I can see that LMASTER is bacially configured as the node itself, then how does each node k...
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 OK (THIS NODE) Generation:1187222392 Size:2 hash:0 lmaster:0 hash:1 lmaster:1 Recovery mode:NORMAL (0) Recovery master:0 But we cannot start smbd: Maxim...
2016 Nov 09
4
CTDB and samba private dir (+ldap)
...ome howto writers would say to put "private dir on the FS cluster" - one question I have: is this correct? necessary? I have partial success, I get: $ ctdb status Number of nodes:2 pnn:0 10.5.6.32 OK pnn:1 10.5.6.49 UNHEALTHY (THIS NODE) Generation:323266562 Size:2 hash:0 lmaster:0 hash:1 lmaster:1 Recovery mode:NORMAL (0) Recovery master:0 I use: passdb backend = ldapsam:"ldapi:///var/run/ldapi" idmap backend = ldap:"ldapi:///var/run/ldapi" and on that one "unhealthy" node I see: 50.samba: ERROR: smb.conf cache create failed would y...
2016 Aug 31
3
status of Continuous availability in SMB3
...ient: Windows 8 Pro root at node0:~# samba --version Version 4.3.9-Ubuntu root at node0:~# ctdb version CTDB version: 2.5.1 root at node0:~# ctdb status Number of nodes:3 pnn:0 192.168.74.11 OK (THIS NODE) pnn:1 192.168.74.12 OK pnn:2 192.168.74.13 OK Generation:1131631460 Size:3 hash:0 lmaster:0 hash:1 lmaster:1 hash:2 lmaster:2 Recovery mode:NORMAL (0) Recovery master:0 root at node0:~# ctdb ip Public IPs on node 0 192.168.74.20 0 My test procedure is as below. 1. The virtual IP is holded by onde0(192.168.74.11). Client(Win 8) accesses \\192.168.74.20\<file:///\\192.168.74.20\&gt...
2016 Jul 03
2
Winbind process stuck at 100% after changing use_mmap to no
...gt; Volker 100% sure I'm using it! : [root at zearing ~]# ctdb status Number of nodes:6 pnn:0 172.16.40.13 OK pnn:1 172.16.40.14 OK (THIS NODE) pnn:2 172.16.40.15 OK pnn:3 192.168.21.24 OK pnn:4 192.168.21.25 OK pnn:5 192.168.21.27 OK Generation:1417726848 Size:6 hash:0 lmaster:0 hash:1 lmaster:1 hash:2 lmaster:2 hash:3 lmaster:3 hash:4 lmaster:4 hash:5 lmaster:5 Recovery mode:NORMAL (0) Recovery master:4 smb.conf: [global] max protocol = SMB2 host msdfs = yes workgroup = IFA_NET netbios name = LIZARDCLUSTER private dir = /mfs/ctdb/private clustering = yes use mmap = y...
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 offic...
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 18:17:37.313940 [recoverd:15925]: Failed to find node to cover ip 192.168.1.81 2014/07/11 18:17:37.314608 [recoverd:15925]: Failed to find node to cover ip 192.168.1.80 our nodes are on the other interfac...
2018 Jun 28
4
CTDB upgrade to SAMBA 4.8.3
....samba.org/index.php/Upgrading_a_CTDB_cluster. I shutdown all CTDB nodes and upgraded them. After the upgrade i started all nodes and ctdb status shows: Number of nodes:3 pnn:0 192.168.199.52   OK (THIS NODE) pnn:1 192.168.199.53   OK pnn:2 192.168.199.49   OK Generation:1484961991 Size:3 hash:0 lmaster:0 hash:1 lmaster:1 hash:2 lmaster:2 Recovery mode:NORMAL (0) Recovery master:0 Now i have the problem that "testparm" outputs, for me not readable informations: root at ctdb1:~/ctdb# testparm Load smb config files from /usr/local/samba/etc/smb.conf rlimit_max: increasing rlimit_max (10...
2020 Oct 15
2
setlmasterrole in config
...#39;re unsure how to > persistently set these flags, which are VERY useful for performance from > what we see. We want to ensure that after reboot, particular nodes are > always set on (or others off). From the ctdb/doc/ctdb.1.xml man page file: <refsect2> <title>setlmasterrole on|off</title> <para> This command is used to enable/disable the LMASTER capability for a node at runtime. This capability determines whether or not a node can be used as an LM </para> <para> Nodes will by default have this capability,...
2012 May 11
0
CTDB daemon crashed on bringing down one node in the cluster
...es gave the following status, [root@<nodename>~]# ctdb status Number of nodes:4 pnn:0 x.y.z.a DISCONNECTED|BANNED|UNHEALTHY|INACTIVE pnn:1 x.y.z.b BANNED|UNHEALTHY|INACTIVE (THIS NODE) pnn:2 x.y.z.c DISCONNECTED|UNHEALTHY|INACTIVE pnn:3 x.y.z.d OK Generation:INVALID Size:3 hash:0 lmaster:0 hash:1 lmaster:1 hash:2 lmaster:3 Recovery mode:RECOVERY (1) Recovery master:3 In the above (edited) output, pnn: 2 is the one that was brought down. I also observed that ctdb had crashed with signal 6 in pnn: 0. The stack trace was not very useful. I am new to ctdb, I would like to know if ther...
2016 Jul 03
4
Winbind process stuck at 100% after changing use_mmap to no
On 03/07/16 13:06, Volker Lendecke wrote: > On Fri, Jul 01, 2016 at 10:00:21AM +0100, Alex Crow wrote: >> We've had a strange issue after following the recommendations at >> https://wiki.samba.org/index.php/Ping_pong, particularly the part >> about mmap coherence. We are running CTDB/Samba over a MooseFS >> clustered FS, and we'd not done the ping-pong before.
2016 Aug 31
0
status of Continuous availability in SMB3
...n 4.3.9-Ubuntu > > root at node0:~# ctdb version > CTDB version: 2.5.1 > > root at node0:~# ctdb status > Number of nodes:3 > pnn:0 192.168.74.11 OK (THIS NODE) > pnn:1 192.168.74.12 OK > pnn:2 192.168.74.13 OK > Generation:1131631460 > Size:3 > hash:0 lmaster:0 > hash:1 lmaster:1 > hash:2 lmaster:2 > Recovery mode:NORMAL (0) > Recovery master:0 > > root at node0:~# ctdb ip > Public IPs on node 0 > 192.168.74.20 0 > > > > My test procedure is as below. > 1. The virtual IP is holded by onde0(192.168.74.11). Clien...
2008 Jun 04
0
CTDB problems: 1) Unable to get tcp info for CTDB_CONTROL_TCP_CLIENT, 2) ctdb disable doesn't failover
...'locking.tdb' with dbid 0x42fe72c5 No locked files But, when I disable the current node oss02:~ # ctdb disable -n 1 oss02:/ # ctdb status Number of nodes:3 pnn:0 10.200.20.55 OK pnn:1 10.200.20.56 DISABLED (THIS NODE) pnn:2 10.200.20.58 OK Generation:643008338 Size:3 hash:0 lmaster:0 hash:1 lmaster:1 hash:2 lmaster:2 Recovery mode:NORMAL (0) Recovery master:1 the files stop copying, the private interface goes down on node 1 and there is no failover. Eventually, in the screen where I'm running a copy loop, I see: cp: cannot create regular file `ls.4190.exe': No such...
2018 Jun 28
0
CTDB upgrade to SAMBA 4.8.3
...shutdown > all CTDB nodes and upgraded them. After the upgrade i started all > nodes and ctdb status shows: > > Number of nodes:3 > pnn:0 192.168.199.52   OK (THIS NODE) > pnn:1 192.168.199.53   OK > pnn:2 192.168.199.49   OK > Generation:1484961991 > Size:3 > hash:0 lmaster:0 > hash:1 lmaster:1 > hash:2 lmaster:2 > Recovery mode:NORMAL (0) > Recovery master:0 > > Now i have the problem that "testparm" outputs, for me not readable > informations: > > root at ctdb1:~/ctdb# testparm > Load smb config files from /usr/local/samba/...
2014 Jul 03
0
ctdb split brain nodes doesn't see each other
Hi, I?ve setup a simple ctdb cluster. Actually copied the config file from an existing system. Thats what happens: Node 1, alone Number of nodes:2 pnn:0 10.0.0.1 OK (THIS NODE) pnn:1 10.0.0.2 DISCONNECTED|UNHEALTHY|INACTIVE Generation:1369816268 Size:1 hash:0 lmaster:0 Recovery mode:NORMAL (0) Recovery master:0 Node1, after start of ctdb on Node 2 Number of nodes:2 pnn:0 10.0.0.1 OK (THIS NODE) pnn:1 10.0.0.2 UNHEALTHY Generation:1369816268 Size:1 hash:0 lmaster:0 Recovery mode:NORMAL (0) Recovery master:0 Node 1, 1 minute later Number of nod...
2011 Sep 08
1
ctdb node disable windows xcopy break
...des CTDB_NOTIFY_SCRIPT=/etc/ctdb/notify.sh CTDB_DBDIR=/var/lib/ctdb CTDB_DBDIR_PERSISTENT=/var/lib/ctdb/persistent CTDB_EVENT_SCRIPT_DIR=/etc/ctdb/events.d CTDB_SOCKET=/tmp/ctdb.socket CTDB_TRANSPORT="tcp" CTDB_START_AS_DISABLED="no" CTDB_CAPABILITY_RECMASTER=yes CTDB_CAPABILITY_LMASTER=yes CTDB_LOGFILE=/var/log/ctdb/log.ctdb CTDB_DEBUGLEVEL=ERR CTDB_SUPPRESS_COREFILE=no CTDB_SYSLOG=no CTDB_RUN_TIMEOUT_MONITOR=no CTDB_MAX_PERSISTENT_CHECK_ERRORS=0 root at smb-cluster-1:~# ctdb status Number of nodes:2 pnn:0 10.10.10.1 OK (THIS NODE) pnn:1 10.10.10.2 OK Generation:1071...
2018 Jun 28
1
CTDB upgrade to SAMBA 4.8.3
...pgraded them. After the upgrade i started all >> nodes and ctdb status shows: >> >> Number of nodes:3 >> pnn:0 192.168.199.52   OK (THIS NODE) >> pnn:1 192.168.199.53   OK >> pnn:2 192.168.199.49   OK >> Generation:1484961991 >> Size:3 >> hash:0 lmaster:0 >> hash:1 lmaster:1 >> hash:2 lmaster:2 >> Recovery mode:NORMAL (0) >> Recovery master:0 >> >> Now i have the problem that "testparm" outputs, for me not readable >> informations: >> >> root at ctdb1:~/ctdb# testparm >> Load sm...
2020 Oct 29
1
CTDB Question: external locking tool
...om.com> > wrote: > > > We use a Golang-based lock tool that we wrote for CTDB. That tool interacts > > with our 3.4 etcd cluster, and follows the requirements specified in the > > project. > > > > Question, does the external command line tool get called when LMASTER and > > RECMASTER are false? Given a scenario where we have a set of processes that > > have it set to false, then others that have it set to true, does the > > locking tool get called when they're set to false? > > Indeed it does. There are 2 current things conspiri...
2016 Nov 09
0
samba CTDB inability to create smb.conf cache
...I'm setting up a simple cluster, only ldap backend instead of tdb2. One (of the two) server fails this way: 50.samba: ERROR: smb.conf cache create failed $ ctdb status Number of nodes:2 pnn:0 10.5.6.32 OK pnn:1 10.5.6.49 UNHEALTHY (THIS NODE) Generation:323266562 Size:2 hash:0 lmaster:0 hash:1 lmaster:1 Recovery mode:NORMAL (0) Recovery master:0 If I copy the file manually while ctdb is running I see: 50.samba: WARNING: smb.conf cache update failed - using old cache file Node became HEALTHY. Ask recovery master 0 to perform ip reallocation and: $ ctdb status Number of node...
2016 Nov 09
0
CTDB and samba private dir (+ldap)
...on the FS > cluster" - one question I have: is this correct? necessary? > > I have partial success, I get: > > $ ctdb status > Number of nodes:2 > pnn:0 10.5.6.32 OK > pnn:1 10.5.6.49 UNHEALTHY (THIS NODE) > Generation:323266562 > Size:2 > hash:0 lmaster:0 > hash:1 lmaster:1 > Recovery mode:NORMAL (0) > Recovery master:0 > > I use: > passdb backend = ldapsam:"ldapi:///var/run/ldapi" > idmap backend = ldap:"ldapi:///var/run/ldapi" > > and on that one "unhealthy" node I see: > > 50.sa...