1 <samba:parameter name="smb3 share cap:CONTINUOUS AVAILABILITY"
4 xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
7 The SMB3 protocol introduced the SMB2_SHARE_CAP_CONTINUOUS_AVAILABILITY
8 flag. It means clients can have different expectations from the
9 server (or cluster of servers).
13 Note: this option only applies to disk shares.
16 <para>In a ctdb cluster shares are continuously available,
17 but windows clients mix this with the global persistent
21 <para>Persistent handles are requested if
22 SMB2_SHARE_CAP_CONTINUOUS_AVAILABILITY is present
23 even without SMB2_CAP_PERSISTENT_HANDLES.
26 <para>And SMB2_SHARE_CAP_CONTINUOUS_AVAILABILITY is
27 required for SMB2_SHARE_CAP_CLUSTER to have
31 <para>So we better don't announce this by default
32 until we support persistent handles.
35 <para>The <smbconfoption name="smb3 share cap:CONTINUOUS AVAILABILITY"/> option
36 can be used to force the announcement of SMB2_SHARE_CAP_CONTINUOUS_AVAILABILITY.
40 Warning: only use this if you know what you are doing!
44 smb3 share cap:CONTINUOUS AVAILABILITY = yes
47 <related>smb3 share cap:CLUSTER</related>
50 <samba:parameter name="smb3 share cap:SCALE OUT"
53 xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
56 The SMB3 protocol introduced the SMB2_SHARE_CAP_SCALEOUT
57 flag. It means clients can have different expectations from
58 cluster of multiple servers and alters the retry/reconnect
63 Note: this option only applies to disk shares.
66 <para>In a ctdb cluster we have multiple active nodes,
67 so we announce SMB2_SHARE_CAP_SCALEOUT in a cluster.
70 <para>The <smbconfoption name="smb3 share cap:SCALE OUT"/> option
71 can be used to disable the announcement of SMB2_SHARE_CAP_SCALEOUT,
72 even if <smbconfoption name="clustering"/> is yes.
77 smb3 share cap: SCALE OUT = no
80 <related>clustering</related>
83 <samba:parameter name="smb3 share cap:CLUSTER"
86 xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
89 The SMB3 protocol introduced the SMB2_SHARE_CAP_CLUSTER
90 flag. It means clients can expect that all cluster nodes
91 provide a witness service in order to use the [MS-SWN]
92 protocol to monitor the server cluster.
96 Note: this option only applies to disk shares.
99 <para>rpcd_witness is only active if
100 <citerefentry><refentrytitle>samba-dcerpcd</refentrytitle><manvolnum>8</manvolnum></citerefentry>
101 is not started as on demand helper and only in a ctdb cluster.
104 <para>So we announce SMB2_SHARE_CAP_CLUSTER only if
105 <smbconfoption name="clustering"/> is yes and
106 <smbconfoption name="rpc start on demand helpers"/> is no.
109 <para>The <smbconfoption name="smb3 share cap:SCALE OUT"/> option
110 can be used to control the announcement of SMB2_SHARE_CAP_CLUSTER
112 <smbconfoption name="clustering"/> and
113 <smbconfoption name="rpc start on demand helpers"/>.
116 <para>Example to disable the announcement of SMB2_SHARE_CAP_CLUSTER:
120 rpc start on demand helpers = no
121 smb3 share cap: CLUSTER = no
124 <para>Example to force the announcement of SMB2_SHARE_CAP_CLUSTER:
127 smb3 share cap: CLUSTER = yes
130 <para>Example to let Windows clients use the witness service,
131 see <smbconfoption name="smb3 share cap:CONTINUOUS AVAILABILITY"/> option
132 and USE AT YOUR OWN RISK!:
137 rpc start on demand helpers = no
138 # This is the default with the above:
139 # smb3 share cap: CLUSTER = yes
141 # Use at you own risk!
142 smb3 share cap: CONTINUOUS AVAILABILITY = yes
145 <related>clustering</related>
146 <related>rpc start on demand helpers</related>
147 <related>smb3 share cap:CONTINUOUS AVAILABILITY</related>
148 <related>smb3 share cap:ASYMMETRIC</related>
151 <samba:parameter name="smb3 share cap:ASYMMETRIC"
154 xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
157 The SMB3_02 protocol introduced the SMB2_SHARE_CAP_ASYMMETRIC
158 flag. It means clients alters its behavior and uses
159 isolated transport connections and witness registrations for
160 the share. It means a client may connect to different
161 cluster nodes for individual shares and
162 <command>net witness share-move</command> can be used
163 to control the node usage.
167 Note: this option only applies to disk shares.
170 <para>Shares in a ctdb cluster are symmetric by design,
171 so we don't announce SMB2_SHARE_CAP_ASYMMETRIC by default.
174 <para>The <smbconfoption name="smb3 share cap:ASYMMETRIC"/> option
175 can be used to force the announcement of SMB2_SHARE_CAP_ASYMMETRIC.
178 <para>Example to force the announcement of SMB2_SHARE_CAP_ASYMMETRIC:
182 smb3 share cap: ASYMMETRIC = yes
185 <para>Example to let Windows clients use the witness service,
186 see <smbconfoption name="smb3 share cap:CONTINUOUS AVAILABILITY"/> option
187 and USE AT YOUR OWN RISK!:
192 rpc start on demand helpers = no
193 # This is the default with the above:
194 # smb3 share cap: CLUSTER = yes
196 # Use at you own risk!
197 smb3 share cap: CONTINUOUS AVAILABILITY = yes
198 smb3 share cap: ASYMMETRIC = yes
201 <related>smb3 share cap:CLUSTER</related>