WHATSNEW: Documentation CTDB changes for v4.4
[metze/samba-autobuild/.git] / WHATSNEW.txt
1 Release Announcements
2 =====================
3
4 This is the first preview release of Samba 4.4.  This is *not*
5 intended for production environments and is designed for testing
6 purposes only.  Please report any defects via the Samba bug reporting
7 system at https://bugzilla.samba.org/.
8
9 Samba 4.4 will be the next version of the Samba suite.
10
11
12 UPGRADING
13 =========
14
15 Nothing special.
16
17 NEW FEATURES
18 ============
19
20 Flush requests from SMB2/3 clients are handled asynchronously and do
21 not block the processing of other requests. Note that 'strict sync'
22 has to be set to 'yes' for Samba to honor flush requests from SMB
23 clients.
24
25 WINS nsswitch module
26 ====================
27
28 The WINS nsswitch module has been rewritten to address memory issues and to
29 simplify the code. The module now uses libwbclient to do WINS queries. This
30 means that winbind needs to be running in order to resolve WINS names using
31 the nss_wins module. This does not affect smbd.
32
33 ######################################################################
34 Changes
35 #######
36
37 smb.conf changes
38 ----------------
39
40   Parameter Name                Description             Default
41   --------------                -----------             -------
42   aio max threads               New                     100
43
44 CTDB changes
45 ------------
46
47 * CTDB now uses a newly implemented parallel database recovery scheme
48   that avoids deadlocks with smbd.
49
50   In certain circumstances CTDB and smbd could deadlock.  The new
51   recovery implementation avoid this.  It also provides improved
52   recovery performance.
53
54 * All files are now installed into and referred to by the paths
55   configured at build time.  Therefore, CTDB will now work properly
56   when installed into the default location at /usr/local.
57
58 * Public CTDB header files are no longer installed, since Samba and
59   CTDB are built from within the same source tree.
60
61 * CTDB_DBDIR can now be set to tmpfs[:<tmpfs-options>]
62
63   This will cause volatile TDBs to be located in a tmpfs.  This can
64   help to avoid performance problems associated with contention on the
65   disk where volatile TDBs are usually stored.  See ctdbd.conf(5) for
66   more details.
67
68 * Configuration variable CTDB_NATGW_SLAVE_ONLY is no longer used.
69   Instead, nodes should be annotated with the "slave-only" option in
70   the CTDB NAT gateway nodes file.  This file must be consistent
71   across nodes in a NAT gateway group.  See ctdbd.conf(5) for more
72   details.
73
74 * New event script 05.system allows various system resources to be
75   monitored
76
77   This can be helpful for explaining poor performance or unexpected
78   behaviour.  New configuration variables are
79   CTDB_MONITOR_FILESYSTEM_USAGE, CTDB_MONITOR_MEMORY_USAGE and
80   CTDB_MONITOR_SWAP_USAGE.  Default values cause warnings to be
81   logged.  See the SYSTEM RESOURCE MONITORING CONFIGURATION in
82   ctdbd.conf(5) for more information.
83
84   The memory, swap and filesystem usage monitoring previously found in
85   00.ctdb and 40.fs_use is no longer available.  Therefore,
86   configuration variables CTDB_CHECK_FS_USE, CTDB_MONITOR_FREE_MEMORY,
87   CTDB_MONITOR_FREE_MEMORY_WARN and CTDB_CHECK_SWAP_IS_NOT_USED are
88   now ignored.
89
90 * The 62.cnfs eventscript has been removed.  To get a similar effect
91   just do something like this:
92
93       mmaddcallback ctdb-disable-on-quorumLoss \
94         --command /usr/bin/ctdb \
95         --event quorumLoss --parms "disable"
96
97       mmaddcallback ctdb-enable-on-quorumReached \
98         --command /usr/bin/ctdb \
99         --event quorumReached --parms "enable"
100
101 * The CTDB tunable parameter EventScriptTimeoutCount has been renamed
102   to MonitorTimeoutCount
103
104   It has only ever been used to limit timed-out monitor events.
105
106   Configurations containing CTDB_SET_EventScriptTimeoutCount=<n> will
107   cause CTDB to fail at startup.  Useful messages will be logged.
108
109 * The commandline option "-n all" to CTDB tool has been removed.
110
111   The option was not uniformly implemented for all the commands.
112   Instead of command "ctdb ip -n all", use "ctdb ip all".
113
114 * All CTDB current manual pages are now correctly installed
115
116 KNOWN ISSUES
117 ============
118
119 Currently none.
120
121 #######################################
122 Reporting bugs & Development Discussion
123 #######################################
124
125 Please discuss this release on the samba-technical mailing list or by
126 joining the #samba-technical IRC channel on irc.freenode.net.
127
128 If you do report problems then please try to send high quality
129 feedback. If you don't provide vital information to help us track down
130 the problem then you will probably be ignored.  All bug reports should
131 be filed under the Samba 4.3 product in the project's Bugzilla
132 database (https://bugzilla.samba.org/).
133
134
135 ======================================================================
136 == Our Code, Our Bugs, Our Responsibility.
137 == The Samba Team
138 ======================================================================
139