Commit Graph

593 Commits

Author SHA1 Message Date
Thomas Schoebel-Theuer
c3f9970029 marsadm: new option --parallel 2020-02-15 15:32:35 +01:00
Thomas Schoebel-Theuer
002f10839a marsadm: implicit log-purge-all before {create,join}-resource
After certain incidents, leftovers may remain.
Before complaing about them and before refusing an important
repair step, just cleanup beforehand.
2020-01-25 20:15:23 +01:00
Thomas Schoebel-Theuer
a65205b8e1 marsadm: fix interpretation of leading zeros 2020-01-25 20:15:23 +01:00
Thomas Schoebel-Theuer
f482f6db33 marsadm: new command err-purge-all 2020-01-25 20:15:23 +01:00
Thomas Schoebel-Theuer
b85ba4b894 marsadm: change alphanum sort order 2020-01-25 20:15:23 +01:00
Thomas Schoebel-Theuer
9451771b31 marsadm: make log_purge_res asynchronous 2020-01-25 20:15:22 +01:00
Thomas Schoebel-Theuer
ec4e4e7bb3 marsadm: bump version (new systemd features) 2019-12-25 09:17:58 +01:00
Thomas Schoebel-Theuer
28ede9c2bb marsadm: automate detach 2019-12-25 09:17:58 +01:00
Thomas Schoebel-Theuer
329b2d596a marsadm: re-make templates only when necessary 2019-12-25 09:17:58 +01:00
Thomas Schoebel-Theuer
232f729419 marsadm: refactor template generation commit 2019-12-25 09:17:58 +01:00
Thomas Schoebel-Theuer
05a3969642 marsadm: transitive closure on systemd unit dependencies 2019-12-25 09:17:58 +01:00
Thomas Schoebel-Theuer
99012a1bdf marsadm: better lock/unlock messages 2019-12-25 09:17:57 +01:00
Thomas Schoebel-Theuer
b3d7aac1d9 marsadm: fix template generation deadlock 2019-12-25 09:17:57 +01:00
Thomas Schoebel-Theuer
319a02c7f9 marsadm: ensure systemd unlocking in case of deaths 2019-12-25 09:17:57 +01:00
Thomas Schoebel-Theuer
032cf467c3 marsadm: remove old instantiate_systemd_unit() 2019-12-25 09:17:57 +01:00
Thomas Schoebel-Theuer
3606ea794b marsadm: use new make_systemd_unit() 2019-12-25 09:17:57 +01:00
Thomas Schoebel-Theuer
1458c1ef52 marsadm: new make_systemd_unit() 2019-12-25 09:17:57 +01:00
Thomas Schoebel-Theuer
436b16d4ff marsadm: factor out get_instance_files() 2019-12-25 09:17:57 +01:00
Thomas Schoebel-Theuer
36c7319694 marsadm: split off resource detection() 2019-12-25 09:17:57 +01:00
Thomas Schoebel-Theuer
55350da932 marsadm: split off get_template_files() 2019-12-25 09:17:57 +01:00
Thomas Schoebel-Theuer
a4f37dfdf0 marsadm: split instantiate_systemd_unit() 2019-12-25 09:17:57 +01:00
Thomas Schoebel-Theuer
522323d712 marsadm: correct parameter conventions of subst_systemd_vars() 2019-12-25 09:17:57 +01:00
Thomas Schoebel-Theuer
b8fb7490c6 marsadm: make systemd unit suffixes configurable 2019-12-25 09:17:57 +01:00
Thomas Schoebel-Theuer
12d1196fba marsadm: restart old systemd when stopping fails 2019-12-25 09:17:57 +01:00
Thomas Schoebel-Theuer
87531e98f4 marsadm: new command get-systemd-want 2019-12-25 09:17:57 +01:00
Thomas Schoebel-Theuer
a962e4aa04 marsadm: new command set-systemd-want 2019-12-25 09:17:57 +01:00
Thomas Schoebel-Theuer
aa5f34986f marsadm: speed up primary phase2 2019-12-25 09:17:57 +01:00
Thomas Schoebel-Theuer
6a3bbd3bef marsadm: abort handover when remote stopping fails 2019-12-25 09:17:57 +01:00
Thomas Schoebel-Theuer
9d30c149f6 marsadm: report some systemctl failures 2019-12-25 09:17:57 +01:00
Thomas Schoebel-Theuer
2bb7cbfbfe marsadm: report systemd operation status 2019-12-25 09:17:57 +01:00
Thomas Schoebel-Theuer
11031d77ff marsadm: reset failed systemd units 2019-12-25 09:17:57 +01:00
Thomas Schoebel-Theuer
535721eec1 marsadm: report countdown during wait 2019-12-25 09:17:57 +01:00
Thomas Schoebel-Theuer
19ff8c116f marsadm: set default timeout from infinite to 600s 2019-12-25 09:17:57 +01:00
Thomas Schoebel-Theuer
86a06005c6 marsadm: convert wait_cluster to new timeout method 2019-12-25 09:17:56 +01:00
Thomas Schoebel-Theuer
f0fc9ea985 marsadm: make timeout restartable 2019-12-25 09:17:56 +01:00
Thomas Schoebel-Theuer
e854da9a4e marsadm: remember old designated primary 2019-12-25 09:17:56 +01:00
Thomas Schoebel-Theuer
71a5cc71eb marsadm: improve handover speed 2019-12-25 09:17:56 +01:00
Thomas Schoebel-Theuer
7dca5b0364 marsadm: fix systemd template name matching 2019-12-25 09:17:56 +01:00
Thomas Schoebel-Theuer
c120e38512 marsadm: fix unnecessary systemd split brain 2019-12-25 09:17:56 +01:00
Thomas Schoebel-Theuer
850ed37c1e marsadm: self-heal bad versionlinks when replaylinks are equal 2019-12-25 09:17:56 +01:00
Thomas Schoebel-Theuer
e7e369b21c marsadm: fix wording 2019-12-25 09:17:56 +01:00
Thomas Schoebel-Theuer
fa004afa2a marsadm: do not abort all when systemd template generation fails 2019-12-25 09:17:56 +01:00
Thomas Schoebel-Theuer
a98187c022 marsadm: decrease speakiness of variable substitution 2019-12-25 09:17:56 +01:00
Thomas Schoebel-Theuer
f8d08aafe7 marsadm: hint at resource size 2019-11-10 16:34:20 +01:00
Thomas Schoebel-Theuer
031665fa9f all: globally s/mars-manual.pdf/mars-user-manual.pdf/ 2019-11-05 21:43:45 +01:00
Thomas Schoebel-Theuer
31092af94d cleanup: remove orphan old systemd file 2019-11-05 21:43:45 +01:00
Thomas Schoebel-Theuer
e4e6323236 marsadm: fix warning 2019-11-05 19:11:05 +01:00
Thomas Schoebel-Theuer
b1e82a6aaf marsadm: hint when marsadm resize is possible 2019-11-05 19:11:05 +01:00
Thomas Schoebel-Theuer
6e6f044a25 marsadm: new primitive resource-possible-size 2019-11-05 19:11:05 +01:00
Thomas Schoebel-Theuer
30f2210db3 marsadm: factor out get_possible_size() 2019-11-05 19:11:05 +01:00