Commit Graph

1053 Commits

Author SHA1 Message Date
Thomas Schoebel-Theuer
2bdc298224 net: reduce tcp idle timeout 2014-02-03 15:06:35 +01:00
Thomas Schoebel-Theuer
62d9dd371a net: allow tcp tuning via /proc/sys/mars/tcp_tuning/ 2014-02-03 15:06:34 +01:00
Thomas Schoebel-Theuer
7ad628a725 light: create detailed warn message in userspace 2014-02-03 15:06:34 +01:00
Thomas Schoebel-Theuer
6755b8e4b8 marsadm: remove superfluous _get_former_primary()
This cannot work in case of split brain.
Therefore, some primary must be designated always explicitly.
2014-02-03 15:06:34 +01:00
Thomas Schoebel-Theuer
adf79307af marsadm: skip sequence number check on every jump 2014-02-03 15:06:34 +01:00
Thomas Schoebel-Theuer
a144e5f93b marsadm: always update timestamp of primary symlink 2014-02-03 15:06:34 +01:00
Thomas Schoebel-Theuer
afbf794e1a marsadm: fix version links in 'invalidate' 2014-02-03 15:06:34 +01:00
Thomas Schoebel-Theuer
3b757354c3 marsadm: fix faking new versionlink on join-resource 2014-02-03 15:06:34 +01:00
Thomas Schoebel-Theuer
a3c429fdd1 marsadm: remove all version links at leave-resource 2014-02-03 15:06:34 +01:00
Thomas Schoebel-Theuer
860ec8d37a marsadm: reject join-resource if no primary is designated 2014-01-23 11:56:36 +01:00
Thomas Schoebel-Theuer
4dd4118f31 light: prevent logfile fetching on primaries and behind split brains
Save space in /mars/ by not fetching useless logfiles.
2014-01-23 11:56:36 +01:00
Thomas Schoebel-Theuer
7fff95b560 marsadm: better error message at failed 'invalidate' 2014-01-23 11:56:35 +01:00
Thomas Schoebel-Theuer
a26198d97e marsadm: wait for devices to {dis,}appear even on {prim,second}ary --force 2014-01-23 11:56:35 +01:00
Thomas Schoebel-Theuer
767bb03060 marsadm: allow overrides of "marsadm secondary" in disconnected clusters
When the communication is down in partitioned clusters, the command
"marsadm seconodary" would normally use the current timestamp of
the command execution for the Lamport update protocol.

Make an exception for the case that a concurrent "marsadm primary"
was given somewhere else on a disconnected / partitioned node: let
the "primary" always win over a "secondary" command.
2014-01-23 11:56:35 +01:00
Thomas Schoebel-Theuer
c861a0d202 marsadm: disallow 'primary --force' in connected state
DRBD does not allow to deliberately provoke a SPLIT BRAIN
in connected state.

Thus MARS Light cannot be required to support such silly things
in any way.
2014-01-23 11:56:35 +01:00
Thomas Schoebel-Theuer
c84caa6bf4 marsadm: print warnings when SPLIT BRAIN is detected 2014-01-23 11:56:35 +01:00
Thomas Schoebel-Theuer
4c94d82caa marsadm: early abort is-device-on when not designated primary 2014-01-23 11:56:35 +01:00
Thomas Schoebel-Theuer
6798580065 marsadm: do resource checks only once per command 2014-01-23 11:56:35 +01:00
Thomas Schoebel-Theuer
da3652bba9 marsadm: reject invalidate earlier when no primary is designated 2014-01-23 11:56:35 +01:00
Thomas Schoebel-Theuer
561bf67a55 marsadm: wait for deletions after leave-resource 2014-01-23 11:56:35 +01:00
Thomas Schoebel-Theuer
0ad20e54c8 light: prevent races between deletions and re-erected objects 2014-01-23 11:56:35 +01:00
Thomas Schoebel-Theuer
216ecbffde marsadm: prevent mutual overwrite of delete symlinks
Add an (unused) host context. Previously, concurrent
log-delete operations triggered by cron could lead to
unnecessary loss of deletetion symlinks.
2014-01-23 11:56:35 +01:00
Thomas Schoebel-Theuer
c379a5e88f marsadm: remove superfluous connect links 2014-01-23 11:56:35 +01:00
Thomas Schoebel-Theuer
64a02e6ed8 light: fix logfile fetch after leave-resource && join-resource 2014-01-23 11:56:34 +01:00
Thomas Schoebel-Theuer
a7756947b8 light: enable logfile fetch debugging 2014-01-23 11:56:34 +01:00
Thomas Schoebel-Theuer
561a9b4c25 light: always use designated primary as sync source 2014-01-23 10:25:27 +01:00
Thomas Schoebel-Theuer
2c8b72e5e3 light: fix use of wrong logfile after primary --force 2014-01-23 10:25:27 +01:00
Thomas Schoebel-Theuer
fc436cf684 light: fix endless creation of holes in emergency mode 2014-01-17 07:40:04 +01:00
Thomas Schoebel-Theuer
8f15006b15 doc: new LCA2014 slides 2014-01-13 08:34:54 +01:00
Thomas Schoebel-Theuer
a93d2138b2 doc: correct SPLIT BRAIN resolution 2014-01-01 22:12:51 +01:00
Thomas Schoebel-Theuer
9432a1f394 doc: update graphics 2014-01-01 22:01:12 +01:00
Frank Liepold
39b37c9c72 test_suite: to calculate checksums take mars size of data device 2013-12-12 10:59:43 +01:00
Frank Liepold
376822f5a8 test_suite: adjust path names 2013-12-12 10:59:43 +01:00
Frank Liepold
2d62180de9 test_suite: current state 2013-12-12 10:59:01 +01:00
Frank Liepold
a9cfd8b95b test_suite: Documentation and minor bugs 2013-12-12 10:55:56 +01:00
Joerg Mann
94c9656779 testing: remove old files 2013-12-12 08:37:35 +01:00
Joerg Mann
8cee26a02f monitoring: mars-status update, add zabbix template
- add zabbix template, cronjob and config
2013-12-12 08:31:07 +01:00
Thomas Schoebel-Theuer
1d52efb880 brick_mem: improve debugging messages 2013-12-05 08:08:57 +01:00
Thomas Schoebel-Theuer
ff2b4337ea infra: show version tags in /proc/sys/mars/version 2013-12-05 08:08:26 +01:00
Thomas Schoebel-Theuer
7e124d0550 all: release light0.1beta0.15 2013-11-21 11:54:10 +01:00
Thomas Schoebel-Theuer
03e6ae01f6 doc: describe throttling 2013-11-21 11:53:17 +01:00
Thomas Schoebel-Theuer
eb9aebc3ae infra: fix delay computation in limiter 2013-11-21 07:20:01 +01:00
Thomas Schoebel-Theuer
fd30cd6b44 infra: show ops count in limiter 2013-11-21 07:20:01 +01:00
Thomas Schoebel-Theuer
af418eb9f0 infra: make limiter {min,max}_window configurable 2013-11-21 07:20:00 +01:00
Thomas Schoebel-Theuer
8b74dddc24 infra: fix limiter overflow in denominator 2013-11-21 07:20:00 +01:00
Thomas Schoebel-Theuer
8696e417db infra: make limiter max_delay settable 2013-11-21 07:20:00 +01:00
Thomas Schoebel-Theuer
606528768f if: fix amount of throttling 2013-11-20 11:54:14 +01:00
Frank Liepold
f3c9d8757f test_suite: current state
Signed-off-by: Thomas Schoebel-Theuer <schoebel@bell.site>
2013-11-20 11:13:57 +01:00
Thomas Schoebel-Theuer
6579393177 light: rename throttling parameters and defaults 2013-11-20 11:13:57 +01:00
Thomas Schoebel-Theuer
65bdee3b08 infra: show cumulatives in all limiters 2013-11-19 12:22:45 +01:00