Commit Graph

599 Commits

Author SHA1 Message Date
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
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
b0a2da78d3 Merge branch 'mars0.1.y' into mars0.1a.y 2018-07-24 09:03:33 +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
71720650c3 Merge branch 'mars0.1.y' into mars0.1a.y 2018-07-10 19:00:57 +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
46dd93c605 marsadm: allow comma-separated lists of resource names 2018-07-02 11:27:45 +02:00
Thomas Schoebel-Theuer
0b21ab27f6 Merge branch 'mars0.1.y' into mars0.1a.y 2018-07-02 10:44:32 +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
7d10ecaa19 Merge branch 'mars0.1.y' into mars0.1a.y 2018-06-26 08:33:11 +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
2a44797583 Merge branch 'mars0.1.y' into mars0.1a.y 2018-05-14 19:29:58 +02:00
Thomas Schoebel-Theuer
27b48876a6 marsadm: add systemd emergency trigger 2018-05-14 08:27:13 +02:00
Thomas Schoebel-Theuer
392888760c marsadm: new commands {get,set}_systemd_unit 2018-05-14 08:27:13 +02:00
Thomas Schoebel-Theuer
19df1a2050 marsadm: new systemd interface 2018-05-14 08:27:13 +02:00
Thomas Schoebel-Theuer
9a488fd1e4 marsadm: decompose eval_macro 2018-05-14 08:25:23 +02:00
Thomas Schoebel-Theuer
0b6cb6ca06 marsadm: move parsing code 2018-05-14 08:25:22 +02:00
Thomas Schoebel-Theuer
4fbaaf4162 marsadm: fix MARS_PATH warning 2018-05-14 08:25:22 +02:00
Thomas Schoebel-Theuer
8ccd1a9d92 marsadm: create-resource safeguard device argument 2018-05-14 08:25:22 +02:00
Thomas Schoebel-Theuer
7a74ce4dfe Merge branch 'mars0.1.y' into mars0.1a.y 2018-04-20 12:58:07 +02:00
Thomas Schoebel-Theuer
36fd42c2fd marsadm: improve wording of split brain messages 2018-04-19 12:51:17 +02:00
Thomas Schoebel-Theuer
d84142956a marsadm: fix split-cluster unnecessary abort 2018-04-19 12:50:47 +02:00
Thomas Schoebel-Theuer
147ee84de3 Merge branch 'mars0.1.y' into mars0.1a.y 2018-04-10 11:09:07 +02:00
Thomas Schoebel-Theuer
0647f61dbf marsadm: better split brain wording 2018-04-10 09:01:30 +02:00
Thomas Schoebel-Theuer
e393decd3c Merge branch 'mars0.1.y' into mars0.1a.y 2018-03-19 06:57:49 +01:00
Thomas Schoebel-Theuer
fd8e45f77a marsadm: fix bad rsync of .deleted-* 2018-03-19 06:41:11 +01:00
Thomas Schoebel-Theuer
092c264035 marsadm: cleaup outdated .deleted-* markers 2018-03-19 06:41:11 +01:00
Thomas Schoebel-Theuer
4eef56881c marsadm: fix handover when sync is running
The check for sync is only needed when the primary role
is changing actually.
2018-03-19 06:41:11 +01:00
Thomas Schoebel-Theuer
1022c21ac6 Merge branch 'mars0.1.y' into mars0.1a.y 2018-02-01 06:25:02 +01:00
Thomas Schoebel-Theuer
f895f29e62 marsadm: fix @MARS_PATH 2018-01-31 08:09:00 +01:00
Thomas Schoebel-Theuer
178d041f71 marsadm: show any lamport time discepancies 2018-01-31 08:09:00 +01:00
Thomas Schoebel-Theuer
ae56776f7e marsadm: new primitive real-time 2018-01-31 08:09:00 +01:00
Thomas Schoebel-Theuer
101810cbf1 marsadm: fix versionlink traversal in corner case 2018-01-31 08:08:59 +01:00
Thomas Schoebel-Theuer
04cf38e4e7 marsadm: adapt timeout window 2018-01-31 08:08:59 +01:00
Thomas Schoebel-Theuer
4624518627 marsadm: allow logrotate during split-brain 2018-01-31 07:50:50 +01:00