Discussion:
[drbd-mc] error while updating drbd ressource
Lee Lists
2011-02-01 22:23:11 UTC
Permalink
Hi,

I'm new to the lists and trying for the first time to connect to our production cluster based on :
- ubuntu 10.4
- corosync 1.2.8
- pacemaker 1.1.5
- drbd 8.3.7

And i get this message box while updating drbd ressource.

AppError.Text
release: 0.8.12
java: Sun Microsystems Inc. 1.6.0_22

uncaught exception
java.lang.NullPointerException
null
drbd.data.Cluster.contains(Cluster.java:225)
drbd.gui.ClusterBrowser.updateDrbdResources(ClusterBrowser.java:1566)
drbd.gui.ClusterBrowser.access$800(ClusterBrowser.java:110)
drbd.gui.ClusterBrowser$3.run(ClusterBrowser.java:759)
java.lang.Thread.run(Thread.java:662)

What can i do to sort this out ?

Thanks
Lee
Lee Lists
2011-02-02 00:00:13 UTC
Permalink
After looking at the source code I didn't find support of floating addresses which we use.

resource r0-images {
device /dev/drbd0;
disk /dev/cvg/lv-images;
meta-disk internal;
floating 172.18.248.60:7788;
floating 172.18.248.61:7788;
}

----- Original Message -----
From: "Lee Lists" <lists at jave.fr>
To: drbd-mc at lists.linbit.com
Sent: Tuesday, February 1, 2011 11:23:11 PM
Subject: [drbd-mc] error while updating drbd ressource

Hi,

I'm new to the lists and trying for the first time to connect to our production cluster based on :
- ubuntu 10.4
- corosync 1.2.8
- pacemaker 1.1.5
- drbd 8.3.7

And i get this message box while updating drbd ressource.

AppError.Text
release: 0.8.12
java: Sun Microsystems Inc. 1.6.0_22

uncaught exception
java.lang.NullPointerException
null
drbd.data.Cluster.contains(Cluster.java:225)
drbd.gui.ClusterBrowser.updateDrbdResources(ClusterBrowser.java:1566)
drbd.gui.ClusterBrowser.access$800(ClusterBrowser.java:110)
drbd.gui.ClusterBrowser$3.run(ClusterBrowser.java:759)
java.lang.Thread.run(Thread.java:662)

What can i do to sort this out ?

Thanks
Lee
Rasto Levrinc
2011-02-02 08:01:51 UTC
Permalink
Post by Lee Lists
After looking at the source code I didn't find support of floating addresses which we use.
Yes, you are right. This is not supported by DRBD MC yet.

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.
Lee Lists
2011-02-02 08:29:00 UTC
Permalink
What can I do to work around this ?
Any dirty hack ?

Thanks,

Lee

----- Original Message -----
From: "Rasto Levrinc" <rasto.levrinc at linbit.com>
To: drbd-mc at lists.linbit.com
Sent: Wednesday, February 2, 2011 9:01:51 AM
Subject: Re: [drbd-mc] error while updating drbd ressource
Post by Lee Lists
After looking at the source code I didn't find support of floating
addresses which we use.
Yes, you are right. This is not supported by DRBD MC yet.

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.
Rasto Levrinc
2011-02-03 18:10:52 UTC
Permalink
Post by Lee Lists
What can I do to work around this ?
Any dirty hack ?
Can't think about anything right now, just to fix it in the Java code.
I'll try to do it in the next version.

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.
Rasto Levrinc
2011-02-04 18:38:35 UTC
Permalink
Post by Lee Lists
What can I do to work around this ?
Any dirty hack ?
Hi,

I've uploaded a new version

dmctest-0.8.13.dev.1.jar

in

http://oss.linbit.com/drbd-mc/

It doesn't solve the problem with DRBD setup, but at least it lets you use
the Pacemaker part of the GUI. So you shouldn't use the DRBD part for this
cluster for now.

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.
Lee Lists
2011-02-03 19:14:02 UTC
Permalink
That would be great, thanks a lot !!!!

Can i help ? I tried to setup the project under netbeans but it seems to lack some libraries ...

Lee
Rasto Levrinc
2011-02-03 19:29:10 UTC
Permalink
Post by Lee Lists
That would be great, thanks a lot !!!!
Can i help ? I tried to setup the project under netbeans but it seems to
lack some libraries ...
Basically it needs a checkbox (floating) and then generate floating
keyword instead of address. Do you actually see this ip in the list of ips
in the address field?

To help you could contact sales at linbit.com and donate something. :)

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...