Commit Graph

119 Commits

Author SHA1 Message Date
Thomas Schoebel-Theuer 2bc266c411 Merge branch 'mars0.1.y' into mars0.1b.y 2017-03-25 17:55:03 +01:00
Thomas Schoebel-Theuer dd420ea5d9 doc: update PDF 2017-03-25 17:33:51 +01:00
Thomas Schoebel-Theuer cb11186065 doc: new chapter on COSTS 2017-03-25 17:26:55 +01:00
Thomas Schoebel-Theuer 146abee761 doc: new slides from GUUG2017, also in English 2017-03-24 18:51:00 +01:00
Thomas Schoebel-Theuer bfc9cdaddb all: release mars0.1balpha0 2017-02-22 08:57:50 +01:00
Thomas Schoebel-Theuer 3ed6991046 doc: document new cron command 2017-02-22 08:52:08 +01:00
Thomas Schoebel-Theuer bbe9c900cf doc: remove obsolete 1&1-specific sync feature 2017-02-20 15:29:28 +01:00
Thomas Schoebel-Theuer 1c999e1c7e doc: update version 2016-08-09 09:39:21 +02:00
Thomas Schoebel-Theuer ef1be2ff1f doc: clarify {fetch,replay,work}-lognr & friends 2016-08-09 09:37:10 +02:00
Thomas Schoebel-Theuer 748d373d43 doc: update version 2016-03-09 09:51:11 +01:00
Thomas Schoebel-Theuer f89e0a7d96 marsadm: lowlevel IP address commands
This is absolutely necessary for coping with changes in network
setups.
2016-03-09 09:42:38 +01:00
Thomas Schoebel-Theuer 833a1cb524 doc: increment version number 2016-03-03 09:40:06 +01:00
Thomas Schoebel-Theuer 72deaee082 doc: describe removal of "Light" 2016-03-03 09:40:02 +01:00
Thomas Schoebel-Theuer fedb9a93b3 doc: clarify distance limits for synchronous operations 2016-03-03 07:48:57 +01:00
Thomas Schoebel-Theuer ca9708c194 doc: clarify limitations of network bottlenecks 2016-03-03 07:48:57 +01:00
Thomas Schoebel-Theuer 2c034ed79f doc: new slides from GUUG 2016 2016-03-01 11:58:24 +01:00
Thomas Schoebel-Theuer b22fda4983 doc: bump version 2016-02-15 07:11:04 +01:00
Thomas Schoebel-Theuer a88310ce7a doc: clarify *-{lognr,basenr} macros 2016-02-15 07:10:41 +01:00
Thomas Schoebel-Theuer f7e64a2f35 doc: swap chapters 4 and 5 2016-02-15 07:10:41 +01:00
Thomas Schoebel-Theuer 7b9406762a doc: split chapter 3, describe the macro processor in its own chapter 2016-02-15 07:10:41 +01:00
Thomas Schoebel-Theuer e65444b2f2 doc: update version 2016-02-03 22:01:49 +01:00
Thomas Schoebel-Theuer 89014d29c3 marsadm: new primitive device-opened
This is absolutely needed for race avoidance in scripting.
2016-02-03 22:01:48 +01:00
Thomas Schoebel-Theuer 6418370357 marsadm: rename present-{disk,device} to *-present and deprecate it
This is important for namespace systematics of primitive macros.

First name the object, then name its property. Like in OO.

Exception: when _finding_ the object itself needs an operation, or
additional information, e.g. %get-disk{} (this is the "lookup operation"
for the object itself, at least by concept).

For compatibility, the old forms will be accepted also
(silently, undocumented).
2016-02-03 22:01:48 +01:00
Thomas Schoebel-Theuer d9fd3de2a2 doc: update version 2016-01-21 08:10:26 +01:00
Thomas Schoebel-Theuer e207443833 marsadm: fix binary operators =~ and "match" 2016-01-21 08:09:48 +01:00
Thomas Schoebel-Theuer ea48664a14 light: disallow primary from rotating over damaged logfiles
Only a secondary is allowed to do this, because we assume that
logfile replay has the property of "anytime consistency"
only there.

When a primary cannot recover after a crash due to a defective
logfile, this is not true. The primary is simply lost in such a
(rare) case. Observed 2 times during almost 8 millions of
operating hours.

In such a case, hardware is truly defective, and you have only
the following options:

1) switchover to a secondary via "primary --force", OR

2) deconstruct the resource everywhere, run fsck or similar on
whatever replica seems to be the best version,
and reconstruct the resource from scratch, OR

3) restore your backup.
2016-01-21 08:09:47 +01:00
Thomas Schoebel-Theuer acdb9d7a42 light: fix reset of replay-code
Reset was forgotten in secondary role. Do it always whenever
a logfile is actually rotated.
2016-01-20 14:48:43 +01:00
Thomas Schoebel-Theuer d5bc9d592c doc: update version and PDF 2016-01-15 17:59:32 +01:00
Thomas Schoebel-Theuer 03523a61fc doc: clarify future way of symlink updates 2016-01-15 17:58:31 +01:00
Thomas Schoebel-Theuer bda94f439f doc: remove accidental insertion 2016-01-15 17:58:30 +01:00
Thomas Schoebel-Theuer b412ebac20 doc: explain blackbox principle of /mars 2016-01-15 17:58:30 +01:00
Thomas Schoebel-Theuer feb0b34604 marsadm: fix irritating "Inconsistent" display at primary side
At an actual primary, "Inconsistent" would be the correct description
for the state of the _disk_.

However most sysadmins will confuse this with the state of the
_replication_ (which is of course never inconsistent during
writeback from the memory buffer).

Although documented correctly, misunderstandings continue
to survive, because humans are automatically abstracting away
from detail components such as a "disk", and are automatically
assuming that "marsadm view" would relate to the replication
as a whole.

Avoid misunderstandings by more detailed message distinctions
aiming to address all of these in parallel.
2016-01-15 17:58:30 +01:00
Thomas Schoebel-Theuer cd122db700 marsadm: display logfile replay errors in diskstate 2016-01-15 17:58:27 +01:00
Thomas Schoebel-Theuer cc1074fc53 marsadm: add primitive macro errno-text 2016-01-15 17:29:47 +01:00
Thomas Schoebel-Theuer 6c41326f7a marsadm: add basic macro replay-code 2016-01-15 17:23:14 +01:00
Thomas Schoebel-Theuer cc1d786654 marsadm: disallow ordinary switching when logfiles are damaged
Only primary --force should be possible in such a (rare) case.
2016-01-15 17:10:48 +01:00
Thomas Schoebel-Theuer 69386b33d9 marsadm: fix /mars security issues
Only relevant for non-storage servers where customers have access to.

Notice that /mars is a _reserved_ filesystem for MARS-internal purposes.
It has mothing to do with an ordinary filesystem.

Users have generally to be kept out.
2016-01-13 14:12:00 +01:00
Thomas Schoebel-Theuer 6ec43f63d0 doc: add Froscon2015 slides 2015-10-20 09:41:40 +02:00
Thomas Schoebel-Theuer b726dc44ac doc: update version 2015-10-08 07:53:23 +02:00
Thomas Schoebel-Theuer 8f92f50799 doc: add quick table DRBD vs MARS 2015-10-08 07:52:37 +02:00
Thomas Schoebel-Theuer e534d9ed7e doc: update version 2015-08-05 10:18:33 +02:00
Thomas Schoebel-Theuer f82d19c4ae doc: describe logrotate intervals 2015-08-05 10:17:47 +02:00
Thomas Schoebel-Theuer 1c424148dc doc: simplify emergency mode 2015-08-05 07:51:14 +02:00
Thomas Schoebel-Theuer 4eb7df274c doc: simplify split-brain resolution
marsadm invalidate is long-proven and the simplest method.
Move the complicated alternative methods to the appendix.
2015-08-04 15:02:25 +02:00
Thomas Schoebel-Theuer 60b6b56604 doc: simplify primary switching
Some caveats are no longer necessary: becoming primary --force
during split brain works for a long time, and has been tested
numerous times already.
2015-08-04 14:18:45 +02:00
Thomas Schoebel-Theuer 146d5151de doc: update to version 0.23 2015-06-22 08:55:10 +02:00
Thomas Schoebel-Theuer 8d2d119414 doc: new section on clustermanagers 2015-06-22 08:54:36 +02:00
Thomas Schoebel-Theuer d2c31a6343 doc: update 2015-05-06 07:50:10 +02:00
Thomas Schoebel-Theuer c6fc05a3be marsadm: allow --force --host= cleanup on non-joined host 2015-05-05 09:30:04 +02:00
Thomas Schoebel-Theuer 1eea119870 marsadm: allow --force on 'all' 2015-05-05 09:12:37 +02:00