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
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
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
a53b467808
marsadm: add feature version number
2017-05-28 19:13:14 +02: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
Thomas Schoebel-Theuer
838c98ca6d
marsadm: systemantically missing macros *-logcount
2016-08-09 09:37:10 +02:00
Thomas Schoebel-Theuer
d09cc8e218
marsadm: fix {replay,fetch,work}-lognr and replay-basenr
...
These were forgotten to export, and they were not systematic.
2016-08-09 09:37:10 +02:00
Thomas Schoebel-Theuer
474d7d0a05
marsadm: fix wrong lognr result in corner case
2016-08-09 09:37:10 +02:00
Thomas Schoebel-Theuer
6559c534be
marsadm: directly switch back to former primary
...
Use the new knowledge about old primary.
This is only relevant for people who are consistently ignoring
mars-manual.pdf which clearly states that intermediate
"marsadm secondary" should not be used at all, except for the
last step in final destruction of a resource.
2016-08-09 09:37:10 +02:00
Thomas Schoebel-Theuer
79a1d20c69
marsadm: fix annoying perl warning
2016-08-09 09:37:10 +02:00
Thomas Schoebel-Theuer
f89e0a7d96
marsadm: lowlevel IP address commands
...
This is absolutely necessary for coping with changes in network
setups.
2016-03-09 09:42:38 +01:00
Thomas Schoebel-Theuer
207635632b
marsadm: check uniqueness of IPs at join-cluster
2016-03-01 11:58:23 +01:00
Thomas Schoebel-Theuer
20eca8c447
marsadm: verbose callstack at ldie
2016-03-01 11:58:23 +01:00
Thomas Schoebel-Theuer
83ae4720fa
marsadm: reimplement buggy primitive macros
...
The old version was complicated and error prone, due to historic
development.
Now the structure should be much simpler.
2016-02-15 07:10:41 +01:00
Thomas Schoebel-Theuer
8c3cfe97f3
marsadm: show wrong permissions
...
Feature request by Tilmann Steinberg.
It greatly eases debugging when searching for a source of wrong
permissions.
Some admin tools like Puppet seem to have their own default notion
of "secure permissions" and try to "fix" them ;)
2016-02-15 07:10:41 +01:00
Thomas Schoebel-Theuer
c0d57bef7a
marsadm: fix view-wait-is-* when symlinks are not yet present
2016-02-15 07:10:40 +01:00
Thomas Schoebel-Theuer
1edef479fc
marsadm: show the old designated primary in the log
...
This is vital for incident analysis.
2016-02-03 22:01:49 +01:00
Thomas Schoebel-Theuer
89014d29c3
marsadm: new primitive device-opened
...
This is absolutely needed for race avoidance in scripting.
2016-02-03 22:01:48 +01:00
Thomas Schoebel-Theuer
561c2bd6c6
marsadm: rename occurences of deprecated present-{disk,device}
2016-02-03 22:01:48 +01:00
Thomas Schoebel-Theuer
6418370357
marsadm: rename present-{disk,device} to *-present and deprecate it
...
This is important for namespace systematics of primitive macros.
First name the object, then name its property. Like in OO.
Exception: when _finding_ the object itself needs an operation, or
additional information, e.g. %get-disk{} (this is the "lookup operation"
for the object itself, at least by concept).
For compatibility, the old forms will be accepted also
(silently, undocumented).
2016-02-03 22:01:48 +01:00
Thomas Schoebel-Theuer
08c776fc36
marsadm: allow devices as size argument
2016-02-03 22:01:48 +01:00
Thomas Schoebel-Theuer
f4f9ba93e2
marsadm: correct replay error checking
2016-02-03 22:01:48 +01:00
Thomas Schoebel-Theuer
7ff2d896ea
marsadm: fix join-cluster when the peer is actively running
...
In such a case rsync may spill an error because some symlinks
were updated in the meantime or have vanished. We can safely
ignore that.
2016-02-03 22:01:48 +01:00