Commit Graph

484 Commits

Author SHA1 Message Date
Thomas Schoebel-Theuer
05fc2e8ad5 marsadm: primary cannot be orphan by definition
Avoid false alarms.
2019-04-06 19:55:57 +02:00
Thomas Schoebel-Theuer
f91895acb5 marsadm: display writeback amount 2019-04-06 19:55:57 +02:00
Thomas Schoebel-Theuer
14a94155d7 marsadm: new primitive writeback-rest 2019-04-06 19:55:57 +02:00
Thomas Schoebel-Theuer
b9f85276dd marsadm: allow pattern matching on filenames 2019-03-06 07:03:50 +01:00
Thomas Schoebel-Theuer
a0ae15427b marsadm: separeate env creation 2019-03-06 07:03:50 +01:00
Thomas Schoebel-Theuer
147e29049e marsadm: workaround hanging systemd 2019-03-06 07:03:50 +01:00
Thomas Schoebel-Theuer
9440d2b5e8 marsadm: safeguard unnecessary template file generation 2019-03-06 07:03:50 +01:00
Thomas Schoebel-Theuer
835fb864c3 marsadm: add systemd-want-$host 2019-03-06 07:03:50 +01:00
Thomas Schoebel-Theuer
cdce3dfd69 marsadm: detach wait for systemd stopping 2019-03-06 07:03:50 +01:00
Thomas Schoebel-Theuer
33e889b502 marsadm: handover wait for systemd stopping 2019-03-06 07:03:50 +01:00
Thomas Schoebel-Theuer
f07f65901b marsadm: add systemd presence check 2019-03-06 07:03:50 +01:00
Thomas Schoebel-Theuer
a211bdce33 marsadm: allow waiting for foreign peer 2019-03-06 07:03:50 +01:00
Thomas Schoebel-Theuer
b951c13d1b marsadm: deactivate unit upon detach 2019-03-06 07:03:50 +01:00
Thomas Schoebel-Theuer
b7b9e6fed1 marsadm: avoid split brain during fast handover 2019-03-06 07:03:50 +01:00
Thomas Schoebel-Theuer
893a00976a marsadm: enable all existing templates 2019-03-06 07:03:50 +01:00
Thomas Schoebel-Theuer
334ea01b6a marsadm: regenerate templates on set-systemd-unit 2019-03-06 07:03:49 +01:00
Thomas Schoebel-Theuer
888cefb020 marsadm: fix template generation 2019-03-06 07:03:49 +01:00
Thomas Schoebel-Theuer
ec6b165ad6 marsadm: allow stopping of non-enabled units 2019-03-06 07:03:49 +01:00
Thomas Schoebel-Theuer
0756bdc9b8 marsadm: activate systemd unit only when device present 2019-03-06 07:03:49 +01:00
Thomas Schoebel-Theuer
51e12bf9d4 marsadm: locking around systemctl commands 2019-03-06 07:03:49 +01:00
Thomas Schoebel-Theuer
e2ed431fd0 marsadm: allow systemd commands on non-initialized /mars 2019-03-06 07:03:49 +01:00
Thomas Schoebel-Theuer
cabb3cbe5c marsadm: fix whitespace in template names 2019-03-06 07:03:48 +01:00
Thomas Schoebel-Theuer
c6e31dc6da marsadm: C++ comments must be followed by whitespace
They can interfere with http://myserver.org syntax.
2019-03-06 07:03:47 +01:00
Thomas Schoebel-Theuer
d566c8209c marsadm: warn upon outdated alive links 2019-02-12 11:02:06 +01:00
Thomas Schoebel-Theuer
f8d64c6cc6 marsadm: fix superfluous peer set 2019-02-12 11:02:06 +01:00
Thomas Schoebel-Theuer
6ad7af5224 marsadm: fix abort on symlink race 2019-02-12 11:02:06 +01:00
Thomas Schoebel-Theuer
1e16f3d05f marsadm: refuse --ignore-sync on inconsistent targets 2019-02-12 11:02:06 +01:00
Thomas Schoebel-Theuer
2247e37d9c marsadm: skip non-existing unit files 2019-01-29 12:25:58 +01:00
Thomas Schoebel-Theuer
82798296a8 marsadm: only work on enabled systemd units 2019-01-29 11:48:51 +01:00
Thomas Schoebel-Theuer
1eecf11d96 marsadm: explain systemd output to curious sysadmins 2019-01-29 11:48:50 +01:00
Thomas Schoebel-Theuer
305bff980e marsadm: use _systemd_op() more often 2019-01-29 11:48:50 +01:00
Thomas Schoebel-Theuer
003ba4136f marsadm: fix split brain detection 2018-10-22 10:49:38 +02:00
Thomas Schoebel-Theuer
f111eb339d marsadm: speed up join-resource 2018-10-10 10:59:23 +02:00
Thomas Schoebel-Theuer
5bd288b4be marsadm: detect orphan logfile sizes 2018-09-26 10:00:31 +02:00
Thomas Schoebel-Theuer
31a1575182 marsadm: fix race on join-resource 2018-09-26 10:00:22 +02:00
Thomas Schoebel-Theuer
6c0aa577ee marsadm: workaround split brain detection races 2018-09-26 10:00:09 +02:00
Thomas Schoebel-Theuer
1616b620c7 marsadm: only report split brain amount when defined 2018-09-26 09:59:59 +02:00
Thomas Schoebel-Theuer
366711cee3 marsadm: better human-readable units 2018-07-24 08:54:27 +02:00
Thomas Schoebel-Theuer
b1dcc86784 marsadm: dont abort in try_to_avoid_splitbrain 2018-07-24 08:50:08 +02:00
Thomas Schoebel-Theuer
74a4462bdf marsadm: increase version 2018-07-10 18:57:28 +02:00
Thomas Schoebel-Theuer
021a3842dc marsadm: new option --ignore-sync 2018-07-10 14:02:21 +02:00
Thomas Schoebel-Theuer
50e785c998 marsadm: fix leave-resource on empty host 2018-07-10 14:01:38 +02:00
Thomas Schoebel-Theuer
586f9c7143 marsadm: show Orphaned state 2018-07-01 21:06:16 +02:00
Thomas Schoebel-Theuer
c44d9c9918 marsadm: simplify systemd operations 2018-07-01 21:06:14 +02:00
Thomas Schoebel-Theuer
a52a91c34f marsadm: fix illegal use of systemd-want 2018-07-01 21:06:14 +02:00
Thomas Schoebel-Theuer
27db7b6299 marsadm: fix "up" when sync cannot be turned on 2018-07-01 21:06:13 +02:00
Thomas Schoebel-Theuer
66c96ce2cc marsadm: remove hindering split-cluster safeguard
On asymmetric networks, this hinders fixing the asymmetry.
2018-06-25 15:33:09 +02:00
Thomas Schoebel-Theuer
86fef78e63 marsadm: remove outdated split-cluster remains 2018-05-28 18:50:10 +02:00
Thomas Schoebel-Theuer
c6b40cde85 marsadm: also delete systemd-want when necessary 2018-05-23 22:24:57 +02:00
Thomas Schoebel-Theuer
27b48876a6 marsadm: add systemd emergency trigger 2018-05-14 08:27:13 +02:00