Commit Graph

80 Commits

Author SHA1 Message Date
Thomas Schoebel-Theuer fadaacef15 marsadm: treat log-delete-all equally to log-delete
Hopefully this does not break anything.
2013-01-20 23:24:30 +01:00
Thomas Schoebel-Theuer 6f77dcc562 marsadm: tolerate missing version symlinks upon fake 2013-01-20 23:24:29 +01:00
Thomas Schoebel-Theuer c7c3ef135f marsadm: reset replaylink at invalidate (ITOPWPT-230) 2013-01-20 23:24:29 +01:00
Thomas Schoebel-Theuer 51307fe7a6 marsadm: log-delete-all left-over version symlinks (ITOPWPT-241) 2013-01-20 23:24:29 +01:00
Thomas Schoebel-Theuer a78094c799 marsadm: fix deletion of empty logfiles (ITOPWPT-237) 2013-01-20 23:24:29 +01:00
jmann 2b20ff1b67 - same fixes (history, color, ...)
- add same news (resize, limits, speed, ...)
2013-01-20 23:24:29 +01:00
Thomas Schoebel-Theuer 0a7b6df106 marsadm resize: change syncstatus only at the primary 2013-01-20 23:24:28 +01:00
Thomas Schoebel-Theuer 57ee4e306f marsadm: better verbosity at resize problem with syncstatus 2013-01-20 23:24:28 +01:00
Thomas Schoebel-Theuer c532f909ad marsadm: check for already running sync, fix syncstatus 2013-01-20 23:24:28 +01:00
Thomas Schoebel-Theuer a9e7affde5 marsadm: fix wrong minimum computation in resize 2013-01-20 23:24:28 +01:00
jmann 380a38a903 small fixed for help and command 2013-01-20 23:24:28 +01:00
Thomas Schoebel-Theuer 0ff5504db1 marsadm: fix typo in pause_replay_local_res 2013-01-20 23:24:28 +01:00
Thomas Schoebel-Theuer 118d6f8c84 marsadm: fix stabilizing of resource in the cluster 2013-01-20 23:24:28 +01:00
Thomas Schoebel-Theuer dcf54eacf7 marsadm: allow *-cluster only when kernel module unloaded 2013-01-20 23:24:28 +01:00
Thomas Schoebel-Theuer 100fdf1e6c marsadm: fix unintended switchover to secondary 2013-01-20 23:24:25 +01:00
Thomas Schoebel-Theuer 69d47e8f96 marsadm: implement leave-{cluster,resource} 2013-01-20 23:24:24 +01:00
Thomas Schoebel-Theuer 8ad0d372aa light: implement resize operation during operation 2013-01-20 23:24:24 +01:00
Thomas Schoebel-Theuer 02fab7692f marsadm: start connected after join-resource etc 2013-01-20 23:24:22 +01:00
jmann 9fc54e4f92 same small fixes 2013-01-20 23:24:22 +01:00
Thomas Schoebel-Theuer 00f7b9e55b add replicated directories for userspace usage 2013-01-20 23:24:21 +01:00
jmann efdd3d1306 add : - same fixes
- check logfiles
	- option monitor
	- handling error/warning
2013-01-20 23:24:21 +01:00
jmann b0cdd13ce5 same more fixes 2013-01-20 23:24:20 +01:00
jmann eef8878205 same small fixes, update short summary 2013-01-20 23:24:19 +01:00
jmann 1bfe46ee1a add small help and manpage for marsadm, mars-status 2013-01-20 23:24:19 +01:00
jmann 994eb28e42 same small fixes 2013-01-20 23:24:19 +01:00
jmann 41d8352b95 same fixes on mars-status 2013-01-20 23:24:18 +01:00
jmann d008e20fcd fix same errors and new funktions 2013-01-20 23:24:17 +01:00
Ulrich Goettlich c4a42f6ad5 changed mars-status.pl to use marsadm --version option 2013-01-20 23:24:16 +01:00
Ulrich Goettlich a09bf514a9 added --version option to marsadm 2013-01-20 23:24:16 +01:00
Ingvar Gilbert 2e923f145e marsadm: die if IP not detected 2013-01-20 23:24:15 +01:00
Ingvar Gilbert 42ec65952d marsadm: use first IP on eth0 2013-01-20 23:24:15 +01:00
Ulrich Goettlich 004b3bbe6a * added Option Parsing
* added interval
* added usage of PATH to find marsadm
2013-01-20 23:24:14 +01:00
Thomas Schoebel-Theuer 4a9f141f8b marsadm: obey --force at log-delete-all 2013-01-20 23:24:13 +01:00
Thomas Schoebel-Theuer 7b0f4dbec4 new command marsadm log-delete-all 2013-01-20 23:23:47 +01:00
Thomas Schoebel-Theuer c20181c17b rework of check_splitbrain() logic
also delete old versionlinks at marsadm log-delete
2013-01-20 23:23:47 +01:00
jmann c9690d2c19 readd mars-status.pl 2013-01-20 23:23:43 +01:00
jmann 2a5b6b59a7 modified: ../.gitattributes 2013-01-20 23:23:43 +01:00
jmann bde90c7691 add Gitt commands to mars-status.pl 2013-01-20 23:23:43 +01:00
jmann df22f6bc58 add mars-status 2013-01-20 23:23:43 +01:00
Thomas Schoebel-Theuer f28d439dfb create faked versionlinks upon late join-resource 2013-01-20 23:23:42 +01:00
Thomas Schoebel-Theuer 54f9334643 better --force handling 2013-01-20 23:23:42 +01:00
Thomas Schoebel-Theuer 92d9778dd7 fix race on primary switchover
solution: wait until all in /mars/resouce-*/ has stabilized
for 60s and all known logfiles have been migrated.
This more a workaround than a solution and should be fixed
in MARS FULL.
2013-01-20 23:23:41 +01:00
Thomas Schoebel-Theuer 81bfb9471a fix network race on primary/secondary switch
The race could lead to unnecessary split brain.
Now we wait until everything in the resource directory became stable
for at least 60 seconds. This may be somewhat too conservative
when having k>2 participants on the same resource.
2013-01-20 23:23:41 +01:00
Thomas Schoebel-Theuer 2f9d86b994 rename /proc/sys/mars to /proc/sys/mars/trigger
create basis for adding more entries to /proc/sys/mars/
2013-01-20 23:23:40 +01:00
jmann cc3f4e9ac5 fix remote connect on marsadm 2013-01-20 23:23:31 +01:00
Thomas Schoebel-Theuer d4f6d3f6a4 added feature log-rotate (while the system is loaded) 2013-01-13 12:12:06 +01:00
Thomas Schoebel-Theuer 1a58aadc90 fix bad checking in log-delete 2013-01-13 12:12:06 +01:00
Thomas Schoebel-Theuer 977e5a3b3a introduced "marsadm log-delete"
TBD: "marsadm log-purge"
TBD: long-term cleanup of symlinks in /mars/todo-global/
2013-01-13 12:12:06 +01:00
Thomas Schoebel-Theuer 681ffcb35e introduced allow-replay (independent from pause-sync) 2013-01-13 12:12:06 +01:00
Thomas Schoebel-Theuer 6f5a3b0da2 fix bad replay symlink upon join-resource 2013-01-13 12:12:06 +01:00