]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
ctdb-doc: Update ctdb man page
authorAmitay Isaacs <amitay@gmail.com>
Tue, 8 Mar 2016 04:17:24 +0000 (15:17 +1100)
committerAmitay Isaacs <amitay@samba.org>
Thu, 10 Mar 2016 02:34:19 +0000 (03:34 +0100)
Do not use obsolete tunables in examples.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
ctdb/doc/ctdb.1.xml

index 57eac2423695767cbf977450a22a4e1ff081f5ab..8110cc466b03c279ef458193a3f6e459b1862357 100644 (file)
@@ -637,20 +637,19 @@ OUTPUT:ERROR: Samba tcp port 445 is not responding
        <title>Example</title>
        <screen>
 # ctdb listvars
-MaxRedirectCount        = 3
 SeqnumInterval          = 1000
 ControlTimeout          = 60
 TraverseTimeout         = 20
 KeepaliveInterval       = 5
 KeepaliveLimit          = 5
-RecoverTimeout          = 20
+RecoverTimeout          = 120
 RecoverInterval         = 1
 ElectionTimeout         = 3
 TakeoverTimeout         = 9
 MonitorInterval         = 15
 TickleUpdateInterval    = 20
 EventScriptTimeout      = 30
-MonitorTimeoutCount     = 1
+MonitorTimeoutCount     = 20
 RecoveryGracePeriod     = 120
 RecoveryBanPeriod       = 300
 DatabaseHashSize        = 100001
@@ -659,7 +658,6 @@ RerecoveryTimeout       = 10
 EnableBans              = 1
 DeterministicIPs        = 0
 LCP2PublicIPs           = 1
-ReclockPingPeriod       = 60
 NoIPFailback            = 0
 DisableIPFailover       = 0
 VerboseMemoryNames      = 0
@@ -669,17 +667,30 @@ LogLatencyMs            = 0
 RecLockLatencyMs        = 1000
 RecoveryDropAllIPs      = 120
 VacuumInterval          = 10
-VacuumMaxRunTime        = 30
+VacuumMaxRunTime        = 120
 RepackLimit             = 10000
 VacuumLimit             = 5000
 VacuumFastPathCount     = 60
 MaxQueueDropMsg         = 1000000
-UseStatusEvents         = 0
 AllowUnhealthyDBRead    = 0
 StatHistoryInterval     = 1
 DeferredAttachTO        = 120
 AllowClientDBAttach     = 1
-RecoverPDBBySeqNum      = 0
+RecoverPDBBySeqNum      = 1
+DeferredRebalanceOnNodeAdd = 300
+FetchCollapse           = 1
+HopcountMakeSticky      = 50
+StickyDuration          = 600
+StickyPindown           = 200
+NoIPTakeover            = 0
+DBRecordCountWarn       = 100000
+DBRecordSizeWarn        = 10000000
+DBSizeWarn              = 100000000
+PullDBPreallocation     = 10485760
+NoIPHostOnAllDisabled   = 0
+Samba3AvoidDeadlocks    = 0
+TDBMutexEnabled         = 0
+LockProcessesPerDB      = 200
        </screen>
       </refsect3>
     </refsect2>
@@ -692,8 +703,8 @@ RecoverPDBBySeqNum      = 0
       <refsect3>
        <title>Example</title>
        <screen>
-# ctdb getvar MaxRedirectCount
-MaxRedirectCount    = 3
+# ctdb getvar MonitorInterval
+MonitorInterval         = 15
        </screen>
       </refsect3>
     </refsect2>
@@ -703,9 +714,12 @@ MaxRedirectCount    = 3
       <para>
        Set the runtime value of a tuneable variable.
       </para>
-      <para>
-       Example: ctdb setvar MaxRedirectCount 5
-      </para>
+      <refsect3>
+       <title>Example</title>
+       <screen>
+# ctdb setvar MonitorInterval 20
+       </screen>
+      </refsect3>
     </refsect2>
 
     <refsect2>