Commit Graph

843 Commits

Author SHA1 Message Date
Thomas Schoebel-Theuer
87064c1c5a marsadm: fix primitive disk-present 2020-09-10 11:21:38 +02:00
Thomas Schoebel-Theuer
11792c250e marsadm: remove annoying doubled error code 2020-09-05 23:08:30 +02:00
Thomas Schoebel-Theuer
60baf9c378 marsadm: fix old deletions max_nr detection 2020-09-05 23:06:38 +02:00
Thomas Schoebel-Theuer
24bb735d5a marsadm: report summary on non-reachable non-member hosts 2020-09-03 16:29:55 +02:00
Thomas Schoebel-Theuer
2dbc0769d0 marsadm: old deletion method must ignore non-members 2020-09-03 16:29:55 +02:00
Thomas Schoebel-Theuer
3a727a04b7 marsadm: use ssh-free push at lowlevel-delete-host 2020-09-03 16:29:55 +02:00
Thomas Schoebel-Theuer
1e30e0c945 marsadm: use ssh-free push at lowlevel-set-host-ip 2020-09-03 16:29:55 +02:00
Thomas Schoebel-Theuer
f9044fc9bf marsadm: workaround versionlink appearance race with log-rotate 2020-09-03 16:29:55 +02:00
Thomas Schoebel-Theuer
ac689b8640 marsadm: workaround race with primary logrotate 2020-09-03 16:29:55 +02:00
Thomas Schoebel-Theuer
80f18138d3 marsadm: now simplify get_alive_links() 2020-09-03 16:29:55 +02:00
Thomas Schoebel-Theuer
bcc1a63318 marsadm: new concept guest members 2020-09-03 16:29:55 +02:00
Thomas Schoebel-Theuer
2180337e85 marsadm: avoid old rsync method at join-resource 2020-09-03 16:29:55 +02:00
Thomas Schoebel-Theuer
aecccd547c marsadm: unify naming of versionlink 2020-09-03 16:29:55 +02:00
Thomas Schoebel-Theuer
c7983a6fb6 marsadm: purge stray and/or transient guest links 2020-09-03 16:29:55 +02:00
Thomas Schoebel-Theuer
6d2091eb8e marsadm: add --keep-backups for alivelink purge 2020-09-03 16:29:55 +02:00
Thomas Schoebel-Theuer
8cddbc1851 marsadm: do not delete versionlinks during ongoing join-resource 2020-09-01 19:35:10 +02:00
Thomas Schoebel-Theuer
6750a4fc63 marsadm: join-resource needs preliminary guest-like activation 2020-09-01 19:35:10 +02:00
Thomas Schoebel-Theuer
019b991cda marsadm: earlier device check at {create,join}-resource 2020-09-01 19:35:10 +02:00
Thomas Schoebel-Theuer
3deaa91ba9 marsadm: fix non-generic timestamp override 2020-09-01 19:35:10 +02:00
Thomas Schoebel-Theuer
eddddd5fcd marsadm: fix single-resource phased ldie 2020-09-01 19:35:10 +02:00
Thomas Schoebel-Theuer
e71faba173 marsadm: fix invalid subtraction in corner case 2020-08-12 08:56:48 +02:00
Thomas Schoebel-Theuer
d4c64f60fd marsadm: safeguard race on readlink 2020-08-12 08:56:48 +02:00
Thomas Schoebel-Theuer
89b647a261 marsadm: silence compat warning 2020-08-12 08:56:48 +02:00
Thomas Schoebel-Theuer
859c208835 marsadm: silence warnings 2020-08-12 08:56:47 +02:00
Thomas Schoebel-Theuer
58a5537d0a marsadm: purge historic links 2020-08-02 13:21:29 +02:00
Thomas Schoebel-Theuer
a6167603ad marsadm: adjust report to masses of peers 2020-08-02 13:21:29 +02:00
Thomas Schoebel-Theuer
62c542bad1 marsadm: fix and speedup detection of common peers 2020-08-02 13:21:29 +02:00
Thomas Schoebel-Theuer
9b618876a7 marsadm: safeguard peer matching 2020-08-02 13:21:29 +02:00
Thomas Schoebel-Theuer
08ee99d304 marsadm: safeguard wait-cluster against illegal timestamps 2020-08-02 13:21:28 +02:00
Thomas Schoebel-Theuer
58359ff381 marsadm: safeguard features agains illegal values 2020-08-02 13:21:28 +02:00
Thomas Schoebel-Theuer
38bd337aeb marsadm: fix globs without any wildcard 2020-08-02 13:21:28 +02:00
Thomas Schoebel-Theuer
201648d414 Revert "marsadm: fix corner case of "all""
This reverts commit ea804c111a.
2020-08-02 13:21:28 +02:00
Thomas Schoebel-Theuer
f5d6f29ebf marsadm: new alivelinks 2020-08-02 13:21:26 +02:00
Thomas Schoebel-Theuer
620327703b marsadm: silence warning 2020-08-02 12:10:20 +02:00
Thomas Schoebel-Theuer
1cfca1590b marsadm: fix feature version computation 2020-08-02 12:10:20 +02:00
Thomas Schoebel-Theuer
b9f68d947f marsadm: report marsadm_version 2020-08-02 12:10:20 +02:00
Thomas Schoebel-Theuer
d24c57e50a all: bump features version 2020-08-02 10:56:17 +02:00
Thomas Schoebel-Theuer
1eb85b831b marsadm: show age of hanging IO requests 2020-08-02 10:56:17 +02:00
Thomas Schoebel-Theuer
73210b2c2b marsadm: use stderr for several messages 2020-08-02 10:56:17 +02:00
Thomas Schoebel-Theuer
6bdbfbbb36 marsadm: cron in phases with single sleep 2020-08-02 10:56:17 +02:00
Thomas Schoebel-Theuer
5d347a5201 marsadm: fix LOOP timeout 2020-08-02 10:56:17 +02:00
Thomas Schoebel-Theuer
950e0ca258 marsadm: new lskip 2020-08-02 10:56:17 +02:00
Thomas Schoebel-Theuer
911f7cb83d marsadm: fix failure compensation 2020-08-02 10:56:17 +02:00
Thomas Schoebel-Theuer
a9c6e20f9f marsadm: new --error-injection-phase for testing 2020-08-02 10:56:17 +02:00
Thomas Schoebel-Theuer
4331383355 marsadm: join-resource also push links 2020-08-02 10:56:17 +02:00
Thomas Schoebel-Theuer
3daffa9656 marsadm: new join-cluster method without ssh/rsync 2020-08-02 10:56:17 +02:00
Thomas Schoebel-Theuer
90c165c272 marsadm: fix wait-cluster after join-cluster 2020-07-31 09:26:20 +02:00
Thomas Schoebel-Theuer
c1bed57e80 marsadm: fix full ping 2020-07-31 09:26:20 +02:00
Thomas Schoebel-Theuer
eebb5098d4 marsadm: safeguard missing replaylink 2020-07-20 09:45:20 +02:00
Thomas Schoebel-Theuer
c0154f2e06 marsadm: tighten try_to_avoid_splitbrain 2020-07-20 09:45:19 +02:00
Thomas Schoebel-Theuer
752ed6397f marsadm: decrease speakiness of info messages 2020-07-20 09:45:19 +02:00
Thomas Schoebel-Theuer
fd689d0bd2 marsadm: decrease speakiness of compressions/digests 2020-07-20 09:45:19 +02:00
Thomas Schoebel-Theuer
8c7b2d6027 marsadm: safeguard file creation and touch 2020-07-20 09:45:19 +02:00
Thomas Schoebel-Theuer
95683eef95 marsadm: fix device detection for EXTREMELY old modules 2020-07-20 09:45:19 +02:00
Thomas Schoebel-Theuer
84c37376c6 marsadm: fix file detection 2020-07-20 09:45:19 +02:00
Thomas Schoebel-Theuer
ec00d2abb9 marsadm: fix leave-resource new deletions 2020-07-20 09:45:19 +02:00
Thomas Schoebel-Theuer
fc4af8c32a marsadm: fix --parallel error_count and status 2020-07-10 08:45:42 +02:00
Thomas Schoebel-Theuer
27ea1238a1 marsadm: fix remote alivelink timestamp race 2020-07-10 08:45:42 +02:00
Thomas Schoebel-Theuer
230cb716a0 marsadm: fix attach/detach timeout when no modprobe 2020-07-10 08:45:42 +02:00
Thomas Schoebel-Theuer
9772c52bec marsadm: fix device_exists() fallback to local detection 2020-07-10 08:45:42 +02:00
Thomas Schoebel-Theuer
cdbc8aa752 marsadm: allow --singlestep phase execution for debugging 2020-06-30 21:07:09 +02:00
Thomas Schoebel-Theuer
027be54fd7 marsadm: introduce fail_action for error compensation 2020-06-30 21:07:09 +02:00
Thomas Schoebel-Theuer
12e4747e50 marsadm: invalidate cannot be forced on primary 2020-06-30 21:07:09 +02:00
Thomas Schoebel-Theuer
cd2cb5c1bc marsadm: factor out helper device_exists() 2020-06-30 21:07:09 +02:00
Thomas Schoebel-Theuer
468c80aeeb marsadm: do not init systemd-want 2020-06-30 21:07:09 +02:00
Thomas Schoebel-Theuer
fc2f7062fe marsadm: allow empty expansion of 'all' 2020-06-30 21:07:09 +02:00
Thomas Schoebel-Theuer
f46b562c3f marsadm: pretty-print default-header 2020-05-29 21:06:01 +02:00
Thomas Schoebel-Theuer
d34b204030 marsadm: reduce deprecated _get_actual_primary()
Final removal is only possible after an agreement is found
that *-1and1 macros can be removed.
2020-05-17 07:38:23 +02:00
Thomas Schoebel-Theuer
37a7acaf6f marsadm: distinguish role ForcedPrimary 2020-05-17 07:38:23 +02:00
Thomas Schoebel-Theuer
5ee5298e7b marsadm: new primitives nr-{attach,sync,fetch,replay,primary} 2020-05-17 07:38:23 +02:00
Thomas Schoebel-Theuer
0f3f43575b marsadm: fix join-resource corner case 2020-05-17 07:38:23 +02:00
Thomas Schoebel-Theuer
3b533dea06 marsadm: report LocalDevice stats 2020-04-13 11:24:02 +02:00
Thomas Schoebel-Theuer
c6eb62e890 marsadm: new primitive device-error 2020-04-13 11:24:02 +02:00
Thomas Schoebel-Theuer
61bbdec62f marsadm: new primitive device-nrflying 2020-04-13 11:24:01 +02:00
Thomas Schoebel-Theuer
2f35c9f6e7 marsadm: new primitives device-{ops-rate,amount-rate,rate} 2020-04-13 11:24:01 +02:00
Thomas Schoebel-Theuer
628c636dff all: distinguish *_ops_* from *_amount_* at limiter 2020-04-13 11:24:01 +02:00
Thomas Schoebel-Theuer
6e760727c4 all: bump features version 2020-04-13 11:21:17 +02:00
Thomas Schoebel-Theuer
03cc3874e8 marsadm: set and report flags in cleartext 2020-04-13 11:21:17 +02:00
Thomas Schoebel-Theuer
3ba04911c2 marsadm: bump version 2020-04-11 08:16:51 +02:00
Thomas Schoebel-Theuer
08a9c7a273 marsadm: new EXPERIMENTAL deletion method 2020-04-11 08:16:51 +02:00
Thomas Schoebel-Theuer
57ed669472 marsadm: final deletions via cron 2020-04-08 20:39:38 +02:00
Thomas Schoebel-Theuer
80c70599c8 marsadm: allow deletion of directories 2020-04-08 20:39:38 +02:00
Thomas Schoebel-Theuer
b9f0f57a32 marsadm: obey .deleted otherwise 2020-04-08 20:39:38 +02:00
Thomas Schoebel-Theuer
f9d2f2696f marsadm: obey .deleted in -l -f -e 2020-04-08 20:39:38 +02:00
Thomas Schoebel-Theuer
6ce4cfa723 marsadm: obey .deleted in all globs 2020-04-08 20:39:38 +02:00
Thomas Schoebel-Theuer
96646fee1e marsadm: new handover waiting 2020-04-06 15:12:43 +02:00
Thomas Schoebel-Theuer
582a3de94e marsadm: allow busy looping 2020-04-06 15:12:43 +02:00
Thomas Schoebel-Theuer
81ed8e7eed marsadm: factor out forking 2020-04-06 15:12:43 +02:00
Thomas Schoebel-Theuer
f2990a9d4f marsadm: further try_to_avoid_splitbrain() 2020-04-06 15:12:43 +02:00
Thomas Schoebel-Theuer
24f4051b53 marsadm: make check_primary_gone() more rubust 2020-04-06 15:12:43 +02:00
Thomas Schoebel-Theuer
1c5416b6fc marsadm: stabilize versionlink correction 2020-04-06 15:12:43 +02:00
Thomas Schoebel-Theuer
a3eb193dc0 marsadm: do not fail logrotate at secondaries 2020-04-06 15:12:43 +02:00
Thomas Schoebel-Theuer
1477d2adfb marsadm: reduce sleep time 2020-03-28 10:23:30 +01:00
Thomas Schoebel-Theuer
7ab9ac1a38 marsadm: skip unnecessary deletion wait 2020-03-28 10:23:30 +01:00
Thomas Schoebel-Theuer
bd61306a75 marsadm: avoid unnecessary rsync 2020-03-28 10:23:30 +01:00
Thomas Schoebel-Theuer
44a4054886 marsadm: speedup join-resource 2020-03-28 10:23:30 +01:00
Thomas Schoebel-Theuer
762477849c marsadm: avoid mutual symlink clobbering 2020-03-28 10:21:22 +01:00
Thomas Schoebel-Theuer
ea804c111a marsadm: fix corner case of "all" 2020-03-28 10:21:22 +01:00
Thomas Schoebel-Theuer
263d9fa9d7 marsadm: new command update-cluster 2020-03-28 10:21:22 +01:00
Thomas Schoebel-Theuer
c3e5df459f marsadm: fix race between fetch and primary --force 2020-02-28 09:41:05 +01:00
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
Thomas Schoebel-Theuer
3cdecaec7d marsadm: also show resource and cluster count in detail view 2019-08-06 08:02:43 +02:00
Thomas Schoebel-Theuer
697d113cae marsadm: fix help for lowlevel commands 2019-08-06 08:02:43 +02:00
Thomas Schoebel-Theuer
2dbe94302c marsadm: fix writeback-rest 2019-07-18 12:37:07 +02:00
Thomas Schoebel-Theuer
ba3ef7c678 marsadm: make join-cluster more rubust 2019-07-10 11:27:37 +02:00
Thomas Schoebel-Theuer
5f37b8e85a marsadm: workaround hanging ssh due to firewall hell 2019-07-10 11:27:37 +02:00
Thomas Schoebel-Theuer
4deb7c5f33 marsadm: skip empty peer ips 2019-07-10 11:27:37 +02:00
Thomas Schoebel-Theuer
2d77d0c396 marsadm: rework ssh port probing 2019-07-10 11:27:37 +02:00
Thomas Schoebel-Theuer
ee1e1ab1bb EOL: fully merge branch 'mars0.1.y' into mars0.1a.y 2019-07-10 11:26:15 +02:00
Thomas Schoebel-Theuer
dbfd0d77fd marsadm: improve logfile number display 2019-06-26 11:00:17 +02:00
Thomas Schoebel-Theuer
abf5b84b6d Merge branch 'mars0.1.y' into mars0.1a.y 2019-04-06 20:09:26 +02:00
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
025ffbb09d Merge branch 'mars0.1.y' into mars0.1a.y 2019-03-06 07:25:43 +01: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
5ad1645de9 Merge branch 'mars0.1.y' into mars0.1a.y 2019-02-12 11:26:58 +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
ca3f7ae6b9 Merge branch 'mars0.1.y' into mars0.1a.y 2019-01-29 12:28:16 +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
8257466b14 Merge branch 'mars0.1.y' into mars0.1a.y 2018-10-22 13:07:23 +02:00
Thomas Schoebel-Theuer
003ba4136f marsadm: fix split brain detection 2018-10-22 10:49:38 +02:00
Thomas Schoebel-Theuer
26ddf5e68c Merge branch 'mars0.1.y' into mars0.1a.y 2018-10-15 07:24:03 +02:00
Thomas Schoebel-Theuer
f111eb339d marsadm: speed up join-resource 2018-10-10 10:59:23 +02:00
Thomas Schoebel-Theuer
7a8f6c2baf Merge branch 'mars0.1.y' into mars0.1a.y 2018-09-28 07:48:36 +02:00
Thomas Schoebel-Theuer
5bd288b4be marsadm: detect orphan logfile sizes 2018-09-26 10:00:31 +02:00