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
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
Thomas Schoebel-Theuer
fde0e56e98
marsadm: keep informational versionlinks during split-brain
2018-01-31 07:50:50 +01:00
Thomas Schoebel-Theuer
b4ea846e1d
marsadm: show split-brain age
2018-01-31 07:50:50 +01:00
Thomas Schoebel-Theuer
8542f1145c
marsadm: make split-brain more readable
2018-01-31 07:50:50 +01:00
Thomas Schoebel-Theuer
a3f4d0365e
marsadm: better human numbers
2018-01-31 07:50:50 +01:00
Thomas Schoebel-Theuer
f25f786bbf
marsadm: show split-brain total logfile sizes
2018-01-31 07:50:50 +01:00
Thomas Schoebel-Theuer
c8788a28cb
marsadm: remove superfluous trigger
2018-01-31 07:50:44 +01:00
Thomas Schoebel-Theuer
24536a5510
marsadm: remote trigger only when necessary
2018-01-31 07:50:38 +01:00
Thomas Schoebel-Theuer
38b7ccf272
Merge branch 'mars0.1.y' into mars0.1a.y
2017-12-10 20:48:51 +01:00
Thomas Schoebel-Theuer
3a87569bbe
marsadm: automatically delete deprecated conncetion messages
2017-12-10 19:39:59 +01:00
Thomas Schoebel-Theuer
cb8806d060
marsadm: max-deletion abort only at cron mode
2017-12-10 19:39:59 +01:00
Thomas Schoebel-Theuer
b1c433bb39
marsadm: prevent too many small logfiles
2017-12-10 19:39:59 +01:00
Thomas Schoebel-Theuer
5c27b2fcd4
marsadm: prevent accumulation of .tmp remains
2017-12-10 19:39:59 +01:00
Thomas Schoebel-Theuer
2c74910b56
marsadm: remove dead sub
2017-12-10 19:39:59 +01:00
Thomas Schoebel-Theuer
2f2b57f451
marsadm: rework sync check
2017-12-10 19:39:59 +01:00
Thomas Schoebel-Theuer
3d5329a98a
Merge branch 'mars0.1.y' into mars0.1a.y
2017-09-27 09:43:10 +02:00
Thomas Schoebel-Theuer
ca80503533
all: release mars0.1stable51
2017-09-27 09:28:38 +02:00
Thomas Schoebel-Theuer
462de5e6cf
marsadm: fix hole treating in deletion sequences
2017-09-27 07:29:29 +02:00
Thomas Schoebel-Theuer
cd70495c0f
marsadm: fix semantics of cron, rename log-delete to log-delete-one
...
Now the systematics is fixed.
2017-09-27 07:19:27 +02:00
Thomas Schoebel-Theuer
c26a62da2b
userspace: improved cron job
2017-09-27 07:11:46 +02:00
Thomas Schoebel-Theuer
5b74f36f64
doc: document new cron command
2017-09-27 07:11:33 +02:00
Thomas Schoebel-Theuer
85751e70dd
marsadm: new command 'cron'
2017-09-27 07:11:20 +02:00
Thomas Schoebel-Theuer
8a3f40300c
all: release mars0.1abeta2
2017-09-23 07:53:10 +02:00
Thomas Schoebel-Theuer
22a04ee942
Merge branch 'mars0.1.y' into mars0.1a.y
2017-09-23 07:49:28 +02:00
Thomas Schoebel-Theuer
dea701d47c
all: release mars0.1stable50
2017-09-23 07:47:41 +02:00
Thomas Schoebel-Theuer
a529b2f2cb
marsadm: show number of replicas
2017-09-23 07:28:19 +02:00
Thomas Schoebel-Theuer
947e7fe9e9
marsadm: silence annoying error msg on empty resource list
2017-09-23 07:18:45 +02:00
Thomas Schoebel-Theuer
9189a47afc
marsadm: cleanup internal backups after 1 week
2017-09-23 07:12:16 +02:00
Thomas Schoebel-Theuer
8d26f0250d
marsadm: continue work after leave-resource
2017-09-23 07:06:43 +02:00
Thomas Schoebel-Theuer
fe368dda78
Merge branch 'mars0.1.y' into mars0.1a.y
2017-09-19 13:56:34 +02:00
Thomas Schoebel-Theuer
9c3ba8972b
marsadm: restrict wait-cluster to participating hosts and resources
2017-09-19 13:32:21 +02:00
Thomas Schoebel-Theuer
b45afca1b4
marsadm: speed up wait-cluster
2017-09-19 13:32:21 +02:00
Thomas Schoebel-Theuer
978d3de51b
marsadm: cleanup outdated messages
2017-09-17 00:18:00 +02:00
Thomas Schoebel-Theuer
bd03876e81
marsadm: symmetry check in split-cluster
2017-09-16 16:48:01 +02:00
Thomas Schoebel-Theuer
51709a9a4b
marsadm: skip new local deletes
2017-09-14 08:59:30 +02:00
Thomas Schoebel-Theuer
2c55e84b4d
marsadm: versioning of split-cluster backups
2017-09-14 08:59:30 +02:00
Thomas Schoebel-Theuer
d86b3915b9
marsadm: safeguard split-cluster start
2017-09-14 08:59:22 +02:00
Thomas Schoebel-Theuer
21e680a08f
marsadm: new command split-cluster
2017-09-12 20:31:17 +02:00
Thomas Schoebel-Theuer
2a8eefa167
marsadm: treat special ssh case
2017-09-12 20:30:14 +02:00
Thomas Schoebel-Theuer
4a33ec8c85
marsadm: use backup-dir at merge-cluster
2017-09-12 20:30:03 +02:00
Thomas Schoebel-Theuer
a96dd0d8d2
marsadm: backup-dir infrastructure
2017-09-12 20:29:49 +02:00
Thomas Schoebel-Theuer
d467fd4d96
marsadm: new operations merge-cluster and friends
2017-09-12 20:29:19 +02:00
Thomas Schoebel-Theuer
ea476d152b
marsadm: new command split-cluster
2017-09-12 20:20:00 +02:00
Thomas Schoebel-Theuer
f15535a398
marsadm: treat special ssh case
2017-09-12 20:17:11 +02:00
Thomas Schoebel-Theuer
12eaa4be27
marsadm: use backup-dir at merge-cluster
2017-09-12 20:17:11 +02:00
Thomas Schoebel-Theuer
e4aa7c0364
marsadm: backup-dir infrastructure
2017-09-12 20:16:01 +02:00
Thomas Schoebel-Theuer
495490f4b6
marsadm: continue work after leave-resource
2017-09-12 09:34:14 +02:00
Thomas Schoebel-Theuer
58efb90f04
marsadm: restrict wait-cluster to participating hosts and resources
2017-09-12 09:34:14 +02:00
Thomas Schoebel-Theuer
280c080b1b
marsadm: speed up wait-cluster
2017-09-12 09:34:14 +02:00
Thomas Schoebel-Theuer
7629e686ab
marsadm: add new reduced wait_cluster
2017-09-12 09:34:14 +02:00
Thomas Schoebel-Theuer
7881833d81
marsadm: fix wait-cluster timeout
2017-09-12 09:34:14 +02:00
Thomas Schoebel-Theuer
c9cd3310e9
marsadm: show any lamport time discepancies
2017-09-11 14:52:30 +02:00
Thomas Schoebel-Theuer
9a6b5b22db
marsadm: new primitives {tree,features}-version
2017-09-11 14:52:30 +02:00
Thomas Schoebel-Theuer
58b9225508
marsadm: new primitive real-time
2017-09-11 14:52:30 +02:00
Thomas Schoebel-Theuer
cf25790fd2
Merge tag 'mars0.1stable48' into mars0.1a.y
2017-09-11 11:53:28 +02:00
Thomas Schoebel-Theuer
2787be89de
Merge tag 'mars0.1stable46' into mars0.1a.y
2017-09-11 11:48:41 +02:00
Thomas Schoebel-Theuer
7f961ad89f
Merge tag 'mars0.1stable45' into mars0.1a.y
2017-09-11 11:42:59 +02:00
Thomas Schoebel-Theuer
981dc07a6d
all: deletions tuning
2017-09-11 11:34:20 +02:00
Thomas Schoebel-Theuer
28d5b0e5d1
marsadm: safeguard overflow of deletion links
2017-09-08 23:42:30 +02:00
Thomas Schoebel-Theuer
1ad5de090d
marsadm: rewrite already existing deletions
2017-09-08 23:42:30 +02:00
Thomas Schoebel-Theuer
71a0d429f4
marsadm: increase safety margin
2017-08-29 18:58:19 +02:00
Thomas Schoebel-Theuer
5fbbb0bbe5
marsadm: fix host list display
2017-08-29 18:58:19 +02:00
Thomas Schoebel-Theuer
8deb1c7d02
marsadm: unlink leftover deletion links
2017-08-25 15:07:59 +02:00
Thomas Schoebel-Theuer
31e7560886
marsadm: show number of replicas
2017-07-05 14:15:42 +02:00
Thomas Schoebel-Theuer
5fbfd64c58
marsadm: new feature hook-scripts
2017-07-05 08:01:48 +02:00
Thomas Schoebel-Theuer
08bf6cb8b5
marsadm: safeguard rsync at join-cluster
2017-07-05 08:01:47 +02:00
Thomas Schoebel-Theuer
29f656b2c1
marsadm: new operations merge-cluster and friends
2017-07-05 08:01:47 +02:00
Thomas Schoebel-Theuer
0adab134ac
Merge branch 'mars0.1.y' into mars0.1b.y
2017-07-05 07:48:08 +02:00
Thomas Schoebel-Theuer
6a9795f247
marsadm: speed up error text retrieval
2017-07-05 07:38:15 +02:00
Thomas Schoebel-Theuer
86a4f1674c
marsadm: introduce configurable MARS_PATH
2017-07-05 07:38:15 +02:00
Thomas Schoebel-Theuer
4c74c8e985
marsadm: fetch newest symlinks at join-resource
2017-07-05 07:38:15 +02:00
Thomas Schoebel-Theuer
12e41def3f
marsadm: cleanup old remains on join-resource --force
2017-07-05 07:38:15 +02:00
Thomas Schoebel-Theuer
66734e4211
marsadm: log-purge-all must not fail on empty resource
2017-07-05 07:38:15 +02:00
Thomas Schoebel-Theuer
d3ede5b39f
marsadm: tolerate empty resource dirs at leave-resource
2017-07-05 07:38:15 +02:00
Thomas Schoebel-Theuer
ee94c1279a
marsadm: safeguard rsync at join-cluster
2017-07-05 07:38:15 +02:00
Thomas Schoebel-Theuer
1950c0fc1b
marsadm: internal wait-cluster before doing join-resource
...
This is necessary when the full mesh communication is relaxed.
2017-07-05 07:38:15 +02:00
Thomas Schoebel-Theuer
1d85ec9cb3
userspace: rework ssh and rsync
2017-07-05 07:38:14 +02:00
Thomas Schoebel-Theuer
60a08c7387
marsadm: better --dry-run
2017-07-05 07:38:14 +02:00
Thomas Schoebel-Theuer
7bb3b2abcd
marsadm: fix syslog quotation characters
2017-07-05 07:38:14 +02:00
Thomas Schoebel-Theuer
d596d2b388
marsadm: version hint at newer features
2017-05-28 19:23:46 +02:00
Thomas Schoebel-Theuer
783abfa501
userspace: improved cron job
2017-05-28 19:20:27 +02:00
Thomas Schoebel-Theuer
be35a0af37
Merge branch 'mars0.1.y' into mars0.1b.y
2017-05-28 19:19:37 +02:00
Thomas Schoebel-Theuer
a53b467808
marsadm: add feature version number
2017-05-28 19:13:14 +02:00
Thomas Schoebel-Theuer
29710cdb7e
marsadm: speedup internal wait_delete
2017-04-04 08:42:16 +02:00
Thomas Schoebel-Theuer
41119454f1
marsadm: speedup invalidate
2017-04-04 08:42:16 +02:00
Thomas Schoebel-Theuer
3ed6991046
doc: document new cron command
2017-02-22 08:52:08 +01:00
Thomas Schoebel-Theuer
ab51a56b0b
marsadm: new command 'cron'
2017-02-22 08:52:08 +01:00
Thomas Schoebel-Theuer
88f3300a5c
marsadm: remove obsolete 1&1-specific sync feature
2017-02-20 15:29:28 +01:00
Thomas Schoebel-Theuer
12f7e83ab0
marsadm: sync caches upon detach
2017-02-09 10:13:38 +01:00
Thomas Schoebel-Theuer
812011aa07
marsadm: make logrotate more rubust against missing logfiles
...
This should not happen at all.
During several millions of operations hour, it occurs however when
hardware is defective. Try self-healing as far as possible.
2017-01-25 09:30:52 +01:00
Thomas Schoebel-Theuer
185b63070c
log-impex: provisionary compatibility
2016-08-09 09:37:10 +02:00
Thomas Schoebel-Theuer
f048aec390
userspace: add example cronjob
2016-08-09 09:37:10 +02:00
Thomas Schoebel-Theuer
bb6b65a002
userspace: add basic systemd unit
...
First try. May need some improvements in future.
2016-08-09 09:37:10 +02:00