Discussion:
[drbd-mc] DRBD MC / Pacemaker GUI 0.7.1
Rasto Levrinc
2010-03-30 19:51:42 UTC
Permalink
Hi,

This is the next DRBD MC beta release 0.7.1. DRBD MC, that is also a
Pacemaker GUI, is a Java application that helps to configure
DRBD/Pacemaker/Corosync/Heartbeat clusters. It is compatible with Heartbeat
2.1.3 to the Pacemaker 1.0.8 with both available communication layers and
DRBD 8.

In this release rather an obscure bug was fixed, where a clone-max resource
default would be set to 2, while changing one of the other global options
the first 20 seconds after starting the DRBD MC. It would be quite harmless,
if setting this default parameter would not prevent IPaddr2 resource agent
to work unless it is a clone. In my opinion it makes this default option
useless and it should be fixed in Pacemaker, but anyway it shouldn't be set
by GUI by mistake.

Here is the changelog:
VM disk views were added.
Start, shutdown, destroy, suspend, resume VM actions were implemented.
New icons were added.
Skip button in cluster connect dialog was added.
failure-timeout was changed to time field.
One host cluster is possible now.
Editing of global DRBD config was fixed.

You can get DRBD MC here:

http://www.drbd.org/mc/management-console/
http://oss.linbit.com/drbd-mc/DMC-0.7.1.jar
http://oss.linbit.com/drbd-mc/drbd-mc-0.7.1.tar.gz

You can start it with help of Java Web-Start or you can download it and
start it with "java -Xmx512m -jar DMC-0.7.1.jar" command. Make sure you use
the Java from SUN. The openjdk seems to work fine for some time now, but it
still runs DRBD MC much slower than the original Java.

Rasto Levrinc
--
: 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.
forall at stalowka.info ()
2010-04-01 08:50:25 UTC
Permalink
Post by Rasto Levrinc
Hi,
This is the next DRBD MC beta release 0.7.1. DRBD MC, that is also a
Pacemaker GUI, is a Java application that helps to configure
DRBD/Pacemaker/Corosync/Heartbeat clusters. It is compatible with Heartbeat
2.1.3 to the Pacemaker 1.0.8 with both available communication layers and
DRBD 8.
In this release rather an obscure bug was fixed, where a clone-max resource
default would be set to 2, while changing one of the other global options
the first 20 seconds after starting the DRBD MC. It would be quite harmless,
if setting this default parameter would not prevent IPaddr2 resource agent
to work unless it is a clone. In my opinion it makes this default option
useless and it should be fixed in Pacemaker, but anyway it shouldn't be set
by GUI by mistake.
VM disk views were added.
Start, shutdown, destroy, suspend, resume VM actions were implemented.
New icons were added.
Skip button in cluster connect dialog was added.
failure-timeout was changed to time field.
One host cluster is possible now.
Editing of global DRBD config was fixed.
http://www.drbd.org/mc/management-console/
http://oss.linbit.com/drbd-mc/DMC-0.7.1.jar
http://oss.linbit.com/drbd-mc/drbd-mc-0.7.1.tar.gz
You can start it with help of Java Web-Start or you can download it and
start it with "java -Xmx512m -jar DMC-0.7.1.jar" command. Make sure you use
the Java from SUN. The openjdk seems to work fine for some time now, but it
still runs DRBD MC much slower than the original Java.
Rasto Levrinc
Hi,

I have some error if I try configure cluster with debian lenny using gui
0.7.1

AppError.Text
release: 0.7.1

unresolved resource: Command: '/usr/sbin/update-rc.d heartbeat
remove;;;/usr/sbin/update-rc.d corosync start 75 2 3 4 5 . stop 05 0 1 6
. ;;;/etc/init.d/corosync start' on host cluster1 / drbd1
returned exit code 1
update-rc.d: /etc/init.d/heartbeat exists during rc.d purge (use -f to
force)


java.lang.Throwable
at drbd.utilities.Tools.appError(Tools.java:604)
at drbd.utilities.Tools.appError(Tools.java:542)
at drbd.utilities.Tools.getString(Tools.java:971)
at drbd.utilities.Tools.warning(Tools.java:338)
at drbd.utilities.Tools.sshError(Tools.java:393)
at drbd.utilities.Tools$3.doneError(Tools.java:439)
at drbd.utilities.SSH$ExecCommandThread.exec(SSH.java:682)
at drbd.utilities.SSH$ExecCommandThread.run(SSH.java:634)



For at ll
Rasto Levrinc
2010-04-01 09:14:36 UTC
Permalink
Post by forall at stalowka.info ()
unresolved resource: Command: '/usr/sbin/update-rc.d heartbeat
remove;;;/usr/sbin/update-rc.d corosync start 75 2 3 4 5 . stop 05 0 1 6 .
;;;/etc/init.d/corosync start' on host cluster1 / drbd1
returned exit code 1 update-rc.d: /etc/init.d/heartbeat exists during rc.d
purge (use -f to force)
I think they add now heartbeat init script to rc.d, while installing
corosync or it was there from the previous install.

Anyway there is -f option missing. For now you can execute
"/usr/sbin/update-rc.d -f heartbeat remove" manually and retry and I'll
fix it for the next release.

Thanks,

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.
forall at stalowka.info ()
2010-04-01 09:41:17 UTC
Permalink
Post by Rasto Levrinc
Post by forall at stalowka.info ()
unresolved resource: Command: '/usr/sbin/update-rc.d heartbeat
remove;;;/usr/sbin/update-rc.d corosync start 75 2 3 4 5 . stop 05 0 1 6 .
;;;/etc/init.d/corosync start' on host cluster1 / drbd1
returned exit code 1 update-rc.d: /etc/init.d/heartbeat exists during rc.d
purge (use -f to force)
I think they add now heartbeat init script to rc.d, while installing
corosync or it was there from the previous install.
Anyway there is -f option missing. For now you can execute
"/usr/sbin/update-rc.d -f heartbeat remove" manually and retry and I'll
fix it for the next release.
Yes, it's working if I using manually -f options

For at ll
martin.braun
2010-04-01 14:03:23 UTC
Permalink
Hi,

it seems that the "crm configure show" button is not working: on the
terminal view at the bottom I can see:

~#> crm configure show
WARNING: terminal is not fully functional
- (press RETURN)

Any ideas?



Martin



InterComponentWare AG:
Vorstand: Peter Kirschbauer (Vors.), J?rg Stadler / Aufsichtsratsvors.: Prof. Dr. Christof Hettich
Firmensitz: 69190 Walldorf, Industriestra?e 41 / AG Mannheim HRB 351761 / USt.-IdNr.: DE 198388516
Rasto Levrinc
2010-04-01 15:10:49 UTC
Permalink
Post by martin.braun
Hi,
it seems that the "crm configure show" button is not working: on the
~#> crm configure show
WARNING: terminal is not fully functional
- (press RETURN)
Any ideas?
I think, this comes from "less" external command in crm shell.

1 For some reason a TERM=dumb env variable is not set on your system,
although it should be. What is your system?

2. I think with Pacemaker 1.0.8 it should not happen anymore even if TERM
variable is not set. Which version of Pacemaker do you have?

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.
martin.braun
2010-04-06 12:04:24 UTC
Permalink
Hi Rasto,
Post by Rasto Levrinc
Post by martin.braun
it seems that the "crm configure show" button is not working: on the
~#> crm configure show
WARNING: terminal is not fully functional
- (press RETURN)
Any ideas?
I think, this comes from "less" external command in crm shell.
1 For some reason a TERM=dumb env variable is not set on your system,
although it should be. What is your system?
I am running a RHEL 5.4. ncurses, termcap etc are installed.
Post by Rasto Levrinc
2. I think with Pacemaker 1.0.8 it should not happen anymore even if TERM
variable is not set. Which version of Pacemaker do you have?
Pacemaker 1.0.7, but I can try an upgrade. What is the depencence to
Version 1.0.8 - the crm command itself?


Thanks,
Martin
Post by Rasto Levrinc
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.
_______________________________________________
drbd-mc mailing list
drbd-mc at lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-mc
InterComponentWare AG:
Vorstand: Peter Kirschbauer (Vors.), J?rg Stadler / Aufsichtsratsvors.: Prof. Dr. Christof Hettich
Firmensitz: 69190 Walldorf, Industriestra?e 41 / AG Mannheim HRB 351761 / USt.-IdNr.: DE 198388516
Rasto Levrinc
2010-04-06 19:01:58 UTC
Permalink
Post by martin.braun
I am running a RHEL 5.4. ncurses, termcap etc are installed.
Post by Rasto Levrinc
2. I think with Pacemaker 1.0.8 it should not happen anymore even if
TERM
Post by Rasto Levrinc
variable is not set. Which version of Pacemaker do you have?
Pacemaker 1.0.7, but I can try an upgrade. What is the depencence to
Version 1.0.8 - the crm command itself?
I've meant the crm command but I am not sure now. I could not reproduce it
with 1.0.7 nor with 1.0.8. The crm command probably thinks that is in
interactive mode and invokes the pager, that does not work in "dumb"
terminal. It would be interesting to know if you have the same problem
with Pacemaker 1.0.8. But at the moment I don't know if upgrading solves
the problem.

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.
martin.braun
2010-04-07 08:17:19 UTC
Permalink
Hi Rasto,
Post by Rasto Levrinc
I've meant the crm command but I am not sure now. I could not reproduce it
with 1.0.7 nor with 1.0.8. The crm command probably thinks that is in
interactive mode and invokes the pager, that does not work in "dumb"
terminal. It would be interesting to know if you have the same problem
with Pacemaker 1.0.8. But at the moment I don't know if upgrading solves
the problem.
you were right, it works with pacemaker 1.0.8.

Thank you!

Martin
Post by Rasto Levrinc
[image removed]
Re: [drbd-mc] crm configure show not working in DRBD MC / Pacemaker GUI
0.7.1
Post by Rasto Levrinc
Rasto Levrinc
drbd-mc
06.04.2010 21:02
drbd-mc-bounces at lists.linbit.com
Post by martin.braun
I am running a RHEL 5.4. ncurses, termcap etc are installed.
Post by Rasto Levrinc
2. I think with Pacemaker 1.0.8 it should not happen anymore even if
TERM
Post by Rasto Levrinc
variable is not set. Which version of Pacemaker do you have?
Pacemaker 1.0.7, but I can try an upgrade. What is the depencence to
Version 1.0.8 - the crm command itself?
I've meant the crm command but I am not sure now. I could not reproduce it
with 1.0.7 nor with 1.0.8. The crm command probably thinks that is in
interactive mode and invokes the pager, that does not work in "dumb"
terminal. It would be interesting to know if you have the same problem
with Pacemaker 1.0.8. But at the moment I don't know if upgrading solves
the problem.
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.
_______________________________________________
drbd-mc mailing list
drbd-mc at lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-mc
InterComponentWare AG:
Vorstand: Peter Kirschbauer (Vors.), J?rg Stadler / Aufsichtsratsvors.: Prof. Dr. Christof Hettich
Firmensitz: 69190 Walldorf, Industriestra?e 41 / AG Mannheim HRB 351761 / USt.-IdNr.: DE 198388516
Loading...