Discussion:
[drbd-mc] Problem adding hosts to cluster.
Caspar Smit
2011-04-08 10:15:37 UTC
Permalink
Hi Rasto,

First of all, thanks for adding the ability to edit the block device
parameter when adding a Filesystem OCF RA!
Only when I click "Select..." to edit the field it is not cleared
automatically (like the mount pount parameter below it) it would be nice
that it behaves the same as the mount point field.

I have several problems (mostly cosmetic) with adding hosts to an existing
cluster.

I tested this all with 0.9.1.dev.7

First problem, to reproduce:

1) Add a host (host1)

2) Add another host (host2)

3) Create cluster containing only host1

4) Connect to cluster

5) Click on Cluster wizard and add host2 to the cluster.

6) host2 is added to the config but the cluster is not updated, i HAVE to
exit the DRBD-MC and restart it and reconnect to the cluster to see the
whole cluster.
Or is there another way to "refresh" the cluster?

Second problem, to reproduce:

1) Add a host (host1)

2) Add another host (host2)

3) Create cluster containing both host1 and host2

4) Connect to cluster

5) Exit DRBD-MC

6) Start DRBD-MC

7) Select the cluster and click Remove marked clusters

8) host1 and host2 are still in the host list only the Cluster Wizard gets
greyed out, so I cannot re-create a cluster with host1 and host2.
Again you HAVE to exit DRBD-MC and start it again so the cluster wizard
button is available again.


Third problem is that when creating a cluster the input field of "Name:" is
NOT editable (this only happens sometimes!)
I'm using java on ubuntu 10.10:
$ java -version
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) Client VM (build 19.1-b02, mixed mode, sharing)


Fourth "problem" is that when creating a two node cluster the node icons
(graphical view) are overlapping each other so I have to drag them away from
each other. (I hope you get what I mean)

Lastly it would be nice to have a "Add host to cluster" button when
selecting a cluster while having single host(s) (not belonging to a cluster)
in the host list.

Kind regards,

Caspar Smit
Systemengineer
True Bit Resources B.V.
Amp?restraat 13E
1446 TP Purmerend

T: +31(0)299 410 475
F: +31(0)299 410 476
@: c.smit at truebit.nl
W: www.truebit.nl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-mc/attachments/20110408/504e33aa/attachment.htm>
Rasto Levrinc
2011-04-13 17:12:32 UTC
Permalink
Post by Caspar Smit
Hi Rasto,
First of all, thanks for adding the ability to edit the block device
parameter when adding a Filesystem OCF RA! Only when I click "Select..." to
edit the field it is not cleared automatically (like the mount pount
parameter below it) it would be nice that it behaves the same as the mount
point field.
You're right, that's easy enough to fix.
Post by Caspar Smit
I have several problems (mostly cosmetic) with adding hosts to an
existing cluster.
I tested this all with 0.9.1.dev.7
1) Add a host (host1)
2) Add another host (host2)
3) Create cluster containing only host1
4) Connect to cluster
5) Click on Cluster wizard and add host2 to the cluster.
6) host2 is added to the config but the cluster is not updated, i HAVE to
exit the DRBD-MC and restart it and reconnect to the cluster to see the
whole cluster. Or is there another way to "refresh" the cluster?
No, just the restart at the moment, I'll try to fix it till the next release.
Post by Caspar Smit
1) Add a host (host1)
2) Add another host (host2)
3) Create cluster containing both host1 and host2
4) Connect to cluster
5) Exit DRBD-MC
6) Start DRBD-MC
7) Select the cluster and click Remove marked clusters
8) host1 and host2 are still in the host list only the Cluster Wizard
gets greyed out, so I cannot re-create a cluster with host1 and host2.
Again you HAVE to exit DRBD-MC and start it again so the cluster wizard
button is available again.
Yep, all these parts are not finished.
Post by Caspar Smit
Third problem is that when creating a cluster the input field of "Name:"
is NOT editable (this only happens sometimes!)
$ java -version
java version "1.6.0_24" Java(TM) SE Runtime Environment (build
1.6.0_24-b07)
Java HotSpot(TM) Client VM (build 19.1-b02, mixed mode, sharing)
I've noticed that too and wanted to get to the bottom of this for some
time, especially that it happens just in this one dialog. Never thought
about it as critical, because on fast computer it can take sometimes
couple of seconds till it gets editable, but on slow computer it can take
considerably longer, but eventually it always gets editable.
Post by Caspar Smit
Fourth "problem" is that when creating a two node cluster the node icons
(graphical view) are overlapping each other so I have to drag them away
from each other. (I hope you get what I mean)
Yes I known, it may happen if one host position was saved before.
Post by Caspar Smit
Lastly it would be nice to have a "Add host to cluster" button when
selecting a cluster while having single host(s) (not belonging to a
cluster) in the host list.
I put that to the TODO list, thanks for your helpful post.

Rasto
--
: Dipl-Ing Rastislav Levrinc
: DRBD MC http://oss.linbit.com/drbd-mc/
: 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.
Loading...