Discussion:
[drbd-mc] Cleanup Resource
Michael Schwartzkopff
2010-03-15 11:45:24 UTC
Permalink
Hi,

I just tested the 0.61 of DMC.

At the moment I cannot cleanup y resource. Perhaps this is due to the fact
that it has no failures. The description of the button says: "Reset Fail-Count
(Cleanup)".

This is not completely correct. a cleanup does much more than just resetting
the failure counter. So the correct descrption should be just "Cleanup" and it
should be enabled anytime.

Greetings,
--
Dr. Michael Schwartzkopff
MultiNET Services GmbH
Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
Tel: +49 - 89 - 45 69 11 0
Fax: +49 - 89 - 45 69 11 21
mob: +49 - 174 - 343 28 75

mail: misch at multinet.de
web: www.multinet.de

Sitz der Gesellschaft: 85630 Grasbrunn
Registergericht: Amtsgericht M?nchen HRB 114375
Gesch?ftsf?hrer: G?nter Jurgeneit, Hubert Martens

---

PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
Skype misch42
Rasto Levrinc
2010-03-15 12:06:01 UTC
Permalink
Post by Michael Schwartzkopff
I just tested the 0.61 of DMC.
At the moment I cannot cleanup y resource. Perhaps this is due to the
fact that it has no failures. The description of the button says: "Reset
Fail-Count
(Cleanup)".
This is not completely correct. a cleanup does much more than just
resetting the failure counter. So the correct descrption should be just
"Cleanup" and it
should be enabled anytime.
Good point, thanks. Although I will keep the "Reset Fail-Count" option I
will add a "cleanup" option to the expert submenu, that is available, if
there is something in the LRM section.

Rasto
--
: Dipl-Ing Rastislav Levrinc
: DRBD-MC http://www.drbd.org/mc/management-console/
: DRBD/HA support and consulting http://www.linbit.com/
DRBD(R) and LINBIT(R) are registered trademarks of LINBIT, Austria.
Michael Schwartzkopff
2010-03-15 12:16:22 UTC
Permalink
Post by Rasto Levrinc
Post by Michael Schwartzkopff
I just tested the 0.61 of DMC.
At the moment I cannot cleanup y resource. Perhaps this is due to the
fact that it has no failures. The description of the button says: "Reset
Fail-Count
(Cleanup)".
This is not completely correct. a cleanup does much more than just
resetting the failure counter. So the correct descrption should be just
"Cleanup" and it
should be enabled anytime.
Good point, thanks. Although I will keep the "Reset Fail-Count" option I
will add a "cleanup" option to the expert submenu, that is available, if
there is something in the LRM section.
I'd prefer a simple "Cleanup" if the first menu since "Reset Failcounter" might
be the result of a cleanup but basically it is wrong to call it this way. The
man page says:

--cleanup, -C
Delete a resource from the LRM.

There definitely will be entries in the LRM for any resource. Always.

Perhaps you should add an additional point "Reset Failcounter", which is
enabled if a faulcounter for this resource exists on ANY node.

Greetings,
--
Dr. Michael Schwartzkopff
MultiNET Services GmbH
Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
Tel: +49 - 89 - 45 69 11 0
Fax: +49 - 89 - 45 69 11 21
mob: +49 - 174 - 343 28 75

mail: misch at multinet.de
web: www.multinet.de

Sitz der Gesellschaft: 85630 Grasbrunn
Registergericht: Amtsgericht M?nchen HRB 114375
Gesch?ftsf?hrer: G?nter Jurgeneit, Hubert Martens

---

PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
Skype: misch42
Rasto Levrinc
2010-03-15 13:07:22 UTC
Permalink
Post by Michael Schwartzkopff
Post by Rasto Levrinc
Good point, thanks. Although I will keep the "Reset Fail-Count" option I
will add a "cleanup" option to the expert submenu, that is available, if
there is something in the LRM section.
I'd prefer a simple "Cleanup" if the first menu since "Reset Failcounter"
might be the result of a cleanup but basically it is wrong to call it this
--cleanup, -C
Delete a resource from the LRM.
There definitely will be entries in the LRM for any resource. Always.
Perhaps you should add an additional point "Reset Failcounter", which is
enabled if a faulcounter for this resource exists on ANY node.
Perhaps. Basically I am trying to hide things like "LRM" and "cleanup"
from the user. "cleanup" could be something like clear history, where
there would be also "show history". When a resource fails a user should be
able to quickly identify how to activate the resource, removing the error
messages. Cleanup and fail-counter are not very descriptive in this case.
Anyway I will give it still some more thought.

Rasto
--
: Dipl-Ing Rastislav Levrinc
: DRBD-MC http://www.drbd.org/mc/management-console/
: DRBD/HA support and consulting http://www.linbit.com/
DRBD(R) and LINBIT(R) are registered trademarks of LINBIT, Austria.
Michael Schwartzkopff
2010-03-15 13:08:13 UTC
Permalink
Post by Rasto Levrinc
Post by Michael Schwartzkopff
Post by Rasto Levrinc
Good point, thanks. Although I will keep the "Reset Fail-Count" option I
will add a "cleanup" option to the expert submenu, that is available, if
there is something in the LRM section.
I'd prefer a simple "Cleanup" if the first menu since "Reset Failcounter"
might be the result of a cleanup but basically it is wrong to call it
--cleanup, -C
Delete a resource from the LRM.
There definitely will be entries in the LRM for any resource. Always.
Perhaps you should add an additional point "Reset Failcounter", which is
enabled if a faulcounter for this resource exists on ANY node.
Perhaps. Basically I am trying to hide things like "LRM" and "cleanup"
from the user. "cleanup" could be something like clear history, where
there would be also "show history". When a resource fails a user should be
able to quickly identify how to activate the resource, removing the error
messages. Cleanup and fail-counter are not very descriptive in this case.
Anyway I will give it still some more thought.
Rasto
Sounds good.
--
Dr. Michael Schwartzkopff
MultiNET Services GmbH
Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
Tel: +49 - 89 - 45 69 11 0
Fax: +49 - 89 - 45 69 11 21
mob: +49 - 174 - 343 28 75

mail: misch at multinet.de
web: www.multinet.de

Sitz der Gesellschaft: 85630 Grasbrunn
Registergericht: Amtsgericht M?nchen HRB 114375
Gesch?ftsf?hrer: G?nter Jurgeneit, Hubert Martens

---

PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
Skype: misch42
Loading...