Discussion:
[drbd-mc] DRBD MC 0.8.8 / Pacemaker GUI
Rasto Levrinc
2011-01-07 16:07:01 UTC
Permalink
Hi,

This is the next DRBD MC release 0.8.8. DRBD MC is DRBD, Pacemaker and Virtual
Manager GUI.

In this release many things were fixed. There is now a revert button, that
reverts the changes since the last commit, instead of having to restart the
GUI.

Underneath there's a new plugin interface with one plugin, that resizes LVM
volume with DRBD on it. There will be more plugins available later.
Although all plugins are/will be open source, the prebuilt plugins are not
freely available. DRBD MC calls home to check available plugins. To disable
this check, you can run it with --no-plugin-check option and a tin foil hat :)

You can get DRBD MC here:

http://oss.linbit.com/drbd-mc/
http://oss.linbit.com/drbd-mc/DMC-0.8.8.jar
http://oss.linbit.com/drbd-mc/drbd-mc-0.8.8.tar.gz

1. You don't need Java on the cluster servers only on your desktop.
2. Download the DMC-0.8.8.jar file.
3. Make sure you use SUN Java not the OpenJDK 1.6.
4. Start it: java -jar DMC-0.8.8.jar
5. It connects to the cluster via SSH.
6. If you use it without DRBD, you have to click "Skip" button on couple of
places.

DRBD MC is compatible with Heartbeat 2.1.3 to the Pacemaker 1.1.3 with
Corosync or Heartbeat and DRBD 8.

he most important changes:
* fix Corosync installation in fedora 14
* fix removing of a cloned group
* rename drbd.d directory after it is not used
* fix DRBD view not showing some of the lvm devices
* don't supply sudo password all the time
* make some buttons more descriptive
* plugin caching
* add lvm resize plugin
* improve start up
* implement plugin interface
* VM GUI fixes
* fix Corosync installation for sles11 sp1
* use "crm respawn" as default
* fix setting of locations in cloned groups
* improve apply button logic
* add commit buttons
* add revert buttons
* disallow spaces in DRBD resource name
* change menu tree icons to show if resource is running
* reconnect if ssh port have changed
* fix available Linbit packages on Centos

Rasto Levrinc
--
: 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.
Dennis Jacobfeuerborn
2011-01-07 16:23:37 UTC
Permalink
Post by Rasto Levrinc
Hi,
This is the next DRBD MC release 0.8.8. DRBD MC is DRBD, Pacemaker and Virtual
Manager GUI.
...
Post by Rasto Levrinc
3. Make sure you use SUN Java not the OpenJDK 1.6.
Why doesn't the MC not work with openjdk? Is there maybe a way to get
around this incompatability? Having to remove openjdk and installing the
Sun one on my Fedora 14 System for just one application is a rather
annoying hoop to jump through.

Regards,
Dennis
Peter Beck
2011-01-08 01:12:53 UTC
Permalink
Post by Dennis Jacobfeuerborn
Why doesn't the MC not work with openjdk? Is there maybe a way to get
around this incompatability? Having to remove openjdk and installing the
Sun one on my Fedora 14 System for just one application is a rather
annoying hoop to jump through.
Hi Dennis,

this is a known issue and should be fixed with OpenJDK7:
http://lists.linbit.com/pipermail/drbd-mc/2010-October/000158.html

Regards
Peter
Peter Beck
2011-01-08 01:08:14 UTC
Permalink
Post by Rasto Levrinc
This is the next DRBD MC release 0.8.8. DRBD MC is DRBD, Pacemaker and Virtual
Manager GUI.
Hi Rasto,

with this version all my LVs are recognized perfectly, even those with
numbers ;)

Great work!
Cheers
Peter
Jerry Amundson
2011-01-08 01:28:05 UTC
Permalink
Post by Rasto Levrinc
Hi,
This is the next DRBD MC release 0.8.8. DRBD MC is DRBD, Pacemaker and Virtual
Manager GUI.
I have a desktop shortcut, so I have not started from the command line
in a while, so now that I do these might messages interest someone...
[I have not defined any services on the cluster yet.]

DEBUG: cluster add tab Alpha (drbd.gui.ClustersPanel)
INFO: elm: connection established
INFO: oak: connection established
[Fatal Error] :45:16: Open quote is expected for attribute "{1}"
associated with an element type "lang".
APPWARNING: could not parse: <resource-agent name="external/xen0"
class="stonith">
<version>1.0</version>

<shortdesc lang="en">xen0 STONITH device
</shortdesc>
<longdesc lang="en">ssh-based Linux host reset for Xen DomU trough Dom0
Fine for testing, but not really suitable for production!
http://openssh.org http://www.xensource.com/ http://linux-ha.org/wiki
</longdesc>
<parameters>
<parameter name="hostlist" unique="1" required="1">
<content type="string" />
<shortdesc lang="en">
Hostlist
</shortdesc>
<longdesc lang="en">
The list of controlled nodes in a format node[:config_file].
For example: "node1:/opt/xen/node1.cfg node2"
If config file isn't set it defaults to /etc/xen/{node_name}.cfg
</longdesc>
</parameter>
<parameter name="dom0" unique="1" required="1">
<content type="string" />
<shortdesc lang="en">
Dom0
</shortdesc>
<longdesc lang="en">
Name of the Dom0 Xen node. Root user shall be able to ssh to that node.
</longdesc>
</parameter>
<parameter name="run_dump" unique="0" required="0">
<content type="string" />
<shortdesc lang="en">
Run dump-core
</shortdesc>
<longdesc lang="en">
If set plugin will call "xm dump-core" before killing DomU
</longdesc>
</parameter>
<parameter name="dump_dir" unique="1" required="0">
<content type="string" />
<shortdesc lang="en">
Run dump-core with the specified directory
</shortdesc>
<longdesc lang=Traceback (most recent call last):
File "/usr/lib/stonith/plugins/external//ibmrsa-telnet", line 318, in <module>
rc = stonith.process(sys.argv[1:])
File "/usr/lib/stonith/plugins/external//ibmrsa-telnet", line 293, in process
self._echo_debug("========== Start =============")
File "/usr/lib/stonith/plugins/external//ibmrsa-telnet", line 157,
in _echo_debug
self.echo_log('debug', *args)
File "/usr/lib/stonith/plugins/external//ibmrsa-telnet", line 167, in echo_log
subprocess.call(('ha_log.sh', level) + args)
File "/usr/lib/python2.7/subprocess.py", line 486, in call
return Popen(*popenargs, **kwargs).wait()
File "/usr/lib/python2.7/subprocess.py", line 672, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1201, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
Traceback (most recent call last):
File "/usr/lib/stonith/plugins/external//ibmrsa-telnet", line 318, in <module>
rc = stonith.process(sys.argv[1:])
File "/usr/lib/stonith/plugins/external//ibmrsa-telnet", line 293, in process
self._echo_debug("========== Start =============")
File "/usr/lib/stonith/plugins/external//ibmrsa-telnet", line 157,
in _echo_debug
self.echo_log('debug', *args)
File "/usr/lib/stonith/plugins/external//ibmrsa-telnet", line 167, in echo_log
subprocess.call(('ha_log.sh', level) + args)
File "/usr/lib/python2.7/subprocess.py", line 486, in call
return Popen(*popenargs, **kwargs).wait()
File "/usr/lib/python2.7/subprocess.py", line 672, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1201, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
Traceback (most recent call last):
File "/usr/lib/stonith/plugins/external//ibmrsa-telnet", line 318, in <module>
rc = stonith.process(sys.argv[1:])
File "/usr/lib/stonith/plugins/external//ibmrsa-telnet", line 293, in process
self._echo_debug("========== Start =============")
File "/usr/lib/stonith/plugins/external//ibmrsa-telnet", line 157,
in _echo_debug
self.echo_log('debug', *args)
File "/usr/lib/stonith/plugins/external//ibmrsa-telnet", line 167, in echo_log
subprocess.call(('ha_log.sh', level) + args)
File "/usr/lib/python2.7/subprocess.py", line 486, in call
return Popen(*popenargs, **kwargs).wait()
File "/usr/lib/python2.7/subprocess.py", line 672, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1201, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
Traceback (most recent call last):
File "/usr/lib/stonith/plugins/external//ibmrsa-telnet", line 318, in <module>
rc = stonith.process(sys.argv[1:])
File "/usr/lib/stonith/plugins/external//ibmrsa-telnet", line 293, in process
self._echo_debug("========== Start =============")
File "/usr/lib/stonith/plugins/external//ibmrsa-telnet", line 157,
in _echo_debug
self.echo_log('debug', *args)
File "/usr/lib/stonith/plugins/external//ibmrsa-telnet", line 167, in echo_log
subprocess.call(('ha_log.sh', level) + args)
File "/usr/lib/python2.7/subprocess.py", line 486, in call
return Popen(*popenargs, **kwargs).wait()
File "/usr/lib/python2.7/subprocess.py", line 672, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1201, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
/bin/sh: ha_log.sh: command not found
/bin/sh: ha_log.sh: command not found
/bin/sh: ha_log.sh: command not found
/bin/sh: ha_log.sh: command not found
/bin/sh: ha_log.sh: command not found
/bin/sh: ha_log.sh: command not found
/bin/sh: ha_log.sh: command not found
/bin/sh: ha_log.sh: command not found
/bin/sh: ha_log.sh: command not found
/bin/sh: ha_log.sh: command not found
/bin/sh: ha_log.sh: command not found
/bin/sh: ha_log.sh: command not found
/usr/lib/stonith/plugins/external//drac5: line 1: ha_log.sh: command not found
/usr/lib/stonith/plugins/external//drac5: line 1: ha_log.sh: command not found
/usr/lib/stonith/plugins/external//drac5: line 1: ha_log.sh: command not found
/usr/lib/stonith/plugins/external//drac5: line 1: ha_log.sh: command not found
"en">
This parameter can indicate the dump destination.
Should be set as a full path format, ex.) "/var/log/dump"
The above example would dump the core, like;
/var/log/dump/2009-0316-1403.37-domU.core
</longdesc>
</parameter>
</parameters>

<actions>
<action name="monitor" timeout="60" interval="60" />
<action name="start" timeout="60" />
<action name="stop" timeout="60" />
</actions>
</resource-agent>
APPWARNING: drbddisk heartbeat script is not present
DEBUG: update available services (drbd.gui.ClusterBrowser)
APPWARNING: unknown network option: ip
Rasto Levrinc
2011-01-10 10:34:36 UTC
Permalink
Post by Jerry Amundson
Post by Rasto Levrinc
Hi,
This is the next DRBD MC release 0.8.8. DRBD MC is DRBD, Pacemaker and Virtual
Manager GUI.
I have a desktop shortcut, so I have not started from the command line
in a while, so now that I do these might messages interest someone... [I
have not defined any services on the cluster yet.]
DEBUG: cluster add tab Alpha (drbd.gui.ClustersPanel)
INFO: elm: connection established
INFO: oak: connection established
[Fatal Error] :45:16: Open quote is expected for attribute "{1}"
<resource-agent name="external/xen0"
My external/xen0 doesn't seem to have this problem, what version of
cluster-glue do you have?
Post by Jerry Amundson
File "/usr/lib/stonith/plugins/external//ibmrsa-telnet", line 318, in <module>
Ok, this one expects to ha-log.sh to be in executable path and if not it
writes out confusing stack trace. :) Not sure who's bug is it, so I've
made workaround for 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.
Loading...