[Pacemaker] Linux Cluster Management Console 1.1.0 crm configure show problem

Brian Hand handbrianc at gmail.com
Sat Dec 17 05:21:23 CET 2011


Hello

I am not sure if this is the right forum or not however I will give it a 
go.  If this isn't the right place, please point me in the right direction

I am trying to use the Linux Cluster Management Console version 1.1.0 on 
a couple of VMWare Virtual machines running Fedora 16.  When I did the 
Fedora installation I did a "minimal" install and added in a couple of 
extra packages ncurses etc.

I have going at the moment a 2 node ( called c1 and c2 in /etc/hosts ) 
active/passive cluster setup.  The cluster is setup on pacemaker and 
corosync.  I been playing with the LCMC tool and I must say that it is 
an excellent product.

However, at the moment I am struggling with the crm configure show 
functionality in the LCMC.  To reproduce I click on a node, say my c1 
node, and then click on the right hand side crm configure show.  I see 
in the black console area that the command is executed.   However, since 
the configuration is quite large it looks like the less command ( or 
some kind of pager ) is blocking the flow of all the configuration 
information.  This results in a timeout (you have to wait quite a bit) 
in the LCMC and it generates the java stack trace at the bottom of this 
email.  It is an ugly stack trace to be sure...

My question is how can I overcome this issue so a crm configure show 
will work through the LCMC tool?

If configuration files are required for troubleshooting please let me 
know which ones and I will gladly provide them.  I am running the LCMC 
on the following JVM.  ( Note: I also tried running the LCMC on the Sun 
JDK in windows with the same results )

java version "1.6.0_22"
OpenJDK Runtime Environment (IcedTea6 1.10.4) (fedora-60.1.10.4.fc16-x86_64)
OpenJDK 64-Bit Server VM (build 20.0-b11, mixed mode)

If it matters, I am logging in with the LCMC as a normal user and using 
sudo access.

Thank you for any help that can be provided.

-B

INFO: SSH timeout: @DMCSUDO@/usr/sbin/crm configure show
APPWARNING: Command: '' on host Cluster / c1
returned exit code 255
[?1049h[?1h=
node c1 \

         attributes standby="off"

node c2 \

         attributes standby="off"

primitive res_Filesystem_WebFS ocf:heartbeat:Filesystem \

         params device="/dev/drbd0" 
directory="/var/www/html" fstype="ext4" \

         operations $id="res_Filesystem_WebFS-operations" \

         op start interval="0" 
timeout="60" \

         op stop interval="0" 
timeout="60" \

         op monitor interval="20" 
timeout="40" start-delay="0" \

         op notify interval="0" 
timeout="60" \

         meta target-role="started"

primitive res_IPaddr2_WebIP ocf:heartbeat:IPaddr2 \

         params ip="192.168.1.40" 
cidr_netmask="24" \

         operations $id="res_IPaddr2_WebIP-operations" \

         op start interval="0" 
timeout="20" \

         op stop interval="0" 
timeout="20" \

         op monitor interval="10" 
timeout="20" start-delay="0" \

         meta target-role="started" 
is-managed="true"

primitive res_apache_WebServer ocf:heartbeat:apache \

         params 
configfile="/etc/httpd/conf/httpd.conf" \

         operations $id="res_apache_WebServer-operations" \

         op start interval="0" 
timeout="40" \

:
java.lang.Throwable
     at lcmc.utilities.Tools.getStackTrace(Tools.java:757)
     at lcmc.gui.resources.HostInfo.getInfoPanel(HostInfo.java:161)
     at lcmc.gui.Browser.getInfoPanel(Browser.java:200)
     at lcmc.gui.ViewPanel$5.run(ViewPanel.java:244)
     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)
     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:647)
     at java.awt.EventQueue.access$000(EventQueue.java:96)
     at java.awt.EventQueue$1.run(EventQueue.java:608)
     at java.awt.EventQueue$1.run(EventQueue.java:606)
     at java.security.AccessController.doPrivileged(Native Method)
     at 
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:617)
     at 
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
     at 
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
     at 
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
     at 
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
     at 
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)





More information about the Pacemaker mailing list