Thomas Schoebel-Theuer
2a679445b6
marsadm: improve deletion on --host=
2015-10-22 08:01:58 +02:00
Thomas Schoebel-Theuer
f71c94c7e1
marsadm: circumvent deprecated _get_actual_primary()
...
This should vanish definitely, it is broken by concept.
It cannot work. In split brain situations, there are many
actual primaries (by definition).
The only place where it seemingly was needed was check_primary_gone(),
and even there it was not really needed.
Now we simply check that the number of actual primaries is 0.
2015-10-22 08:01:57 +02:00
Thomas Schoebel-Theuer
f1bae6194f
marsadm: deprecate old command forms
2015-10-22 08:01:57 +02:00
Thomas Schoebel-Theuer
3a543d5ca5
marsadm: improve weird --host=other deletion
2015-10-07 10:42:07 +02:00
Thomas Schoebel-Theuer
8e786d129f
marsadm: remove distracting warning
...
This is no longer needed.
2015-08-04 14:18:45 +02:00
Thomas Schoebel-Theuer
58294defe5
marsadm: safeguard {create,join}-resource against old remains
2015-08-04 10:21:32 +02:00
Thomas Schoebel-Theuer
3e92223e47
marsadm: fix annoying warning in corner case
2015-07-22 12:19:41 +02:00
Thomas Schoebel-Theuer
b190337eb8
marsadm: use $real_host for deletions
...
This can make a difference when using --host= and the other
host is no long really existant.
2015-05-05 09:30:08 +02:00
Thomas Schoebel-Theuer
5f485b6a02
marsadm: better leave-cluster cleanup of dead files
2015-05-05 09:30:08 +02:00
Thomas Schoebel-Theuer
fb880f9b2c
marsadm: leave-cluster should rmmod only on real host
2015-05-05 09:30:08 +02:00
Thomas Schoebel-Theuer
c6fc05a3be
marsadm: allow --force --host= cleanup on non-joined host
2015-05-05 09:30:04 +02:00
Thomas Schoebel-Theuer
2a99f12294
marsadm: cleanup all orphane symlinks
2015-05-05 09:12:42 +02:00
Thomas Schoebel-Theuer
1eea119870
marsadm: allow --force on 'all'
2015-05-05 09:12:37 +02:00
Thomas Schoebel-Theuer
3f9571999d
marsadm: allow log-rotate on secondaries upon --force
...
This makes not much sense, but is provided for cases where you are
really desperate.
2015-05-05 08:56:41 +02:00
Thomas Schoebel-Theuer
27e975f4d7
marsadm: allow --threshold=human-readable
2015-03-24 08:33:03 +01:00
Thomas Schoebel-Theuer
5bead43add
marsadm: distinguish multiples of 1024 from 1000
2015-03-24 08:33:03 +01:00
Thomas Schoebel-Theuer
f43d5fd58e
marsadm: add list inquiry functions
2015-03-24 08:33:03 +01:00
Thomas Schoebel-Theuer
8d60cb304c
marsadm: show replication infos only on secondaries
2015-03-24 08:33:03 +01:00
Thomas Schoebel-Theuer
c481f75cb8
marsadm: hint on wasted disk space
2015-03-24 08:33:03 +01:00
Thomas Schoebel-Theuer
c88965e24a
marsadm: report disk/device sizes
2015-03-24 08:33:03 +01:00
Thomas Schoebel-Theuer
1f2680dd62
marsadm: fix external races on resize
2015-03-24 08:33:03 +01:00
Thomas Schoebel-Theuer
8888571b2c
marsadm: remove irritating warning
2015-03-24 08:33:03 +01:00
Thomas Schoebel-Theuer
e1b241e3ad
marsadm: clarify usability of 'view'
2015-03-24 08:33:02 +01:00
Thomas Schoebel-Theuer
c7b57f864e
marsadm: clarify view/flags when network is slow
2015-03-23 13:48:11 +01:00
Thomas Schoebel-Theuer
308925c755
doc: update version
2015-03-09 09:53:06 +01:00
Thomas Schoebel-Theuer
6419b3fb57
marsadm: fix endless wait_cluster
2015-03-09 09:53:06 +01:00
Thomas Schoebel-Theuer
ae47fbdcb4
marsadm: fix leave-cluster when communication is dead
2015-03-09 09:53:06 +01:00
Thomas Schoebel-Theuer
82de077df0
marsadm: clarify meaning of switches/status
...
fighting the stupidness...
2015-03-09 09:53:05 +01:00
Thomas Schoebel-Theuer
df596cb24e
marsadm: report communication status
2015-03-09 09:53:05 +01:00
Thomas Schoebel-Theuer
f9125d33a7
marsadm: safeguard uuid at join-cluster
2015-03-09 09:53:05 +01:00
Thomas Schoebel-Theuer
8a269b2412
marsadm: safeguard missing UUID
2015-03-06 11:44:39 +01:00
Thomas Schoebel-Theuer
b3470e039a
marsadm: fix --force in detach
2015-03-05 08:34:00 +01:00
Thomas Schoebel-Theuer
7e7e0ee11b
marsadm: fix --host= for non-existing remote devices
2015-03-03 19:00:03 +01:00
Thomas Schoebel-Theuer
656231f658
doc: checkin new manpage
2015-02-27 11:32:58 +01:00
Thomas Schoebel-Theuer
65a44501ee
doc: create manpage automatically from marsadm --help
2015-02-27 11:32:57 +01:00
Thomas Schoebel-Theuer
5cb85aa0bd
doc: feedback from Cyril Bitterich
2015-02-27 11:32:57 +01:00
Thomas Schoebel-Theuer
96404b89c3
marsadm: unify terms in usage
2015-02-27 11:32:57 +01:00
Thomas Schoebel-Theuer
a25801b2e4
marsadm: usage for MARS-specific commands
2015-02-27 11:32:57 +01:00
Thomas Schoebel-Theuer
37199931c5
marsadm: verbose usage for DRBD-like commands
2015-02-27 11:32:57 +01:00
Thomas Schoebel-Theuer
a1dbe268c2
marsadm: view warns if module is not loaded
2015-02-27 11:32:57 +01:00
Thomas Schoebel-Theuer
d40f0d42e3
marsadm: fix {get,set}*
2015-02-27 11:32:57 +01:00
Thomas Schoebel-Theuer
ede65cc694
marsadm: preserve flushing order of filehandles
...
This ensures that warnings appear at the right place when one
does not use a redirection like 2>&1 at the commandline.
2015-02-27 11:32:57 +01:00
Thomas Schoebel-Theuer
857c7a6cff
marsadm: clarify timestamps via macros p3
2015-02-24 15:51:28 +01:00
Thomas Schoebel-Theuer
614d634e6e
marsadm: clarify timestamps via macros p2
2015-02-24 15:51:28 +01:00
Thomas Schoebel-Theuer
cbdb07d057
marsadm: clarify timestamps via macros p1
2015-02-24 15:51:28 +01:00
Thomas Schoebel-Theuer
d2889b812d
marsadm: fix unnecessary refusal of primary switching
2015-02-24 15:51:28 +01:00
Thomas Schoebel-Theuer
4f8647e3cf
marsadm: fix silly join-cluster with itself
2015-02-24 15:51:27 +01:00
Thomas Schoebel-Theuer
2abd209a10
marsadm: cleanup left-over .deleted symlinks
2015-02-24 15:51:27 +01:00
Thomas Schoebel-Theuer
f2fdd87d67
marsadm: fix leave-cluster
2015-02-24 15:51:27 +01:00
Thomas Schoebel-Theuer
1012865854
marsadm: fix bad check
2015-02-24 15:51:27 +01:00