Discussion:
[drbd-mc] Announce: LCMC 1.0.2 / Pacemaker, DRBD, KVM GUI
Rasto Levrinc
2011-10-24 05:39:57 UTC
Permalink
Hi,

Here is a new release LCMC (Linux Cluster Management Console) 1.0.2.

There is new LCMC logo provided by Linux-HA Japan. Check it out
on the web page.

The showing of popups with left click was disabled. It turned out to
be very unpopular feature, although some hypothetical touch screen users
may miss it. Some options for (not so hypothetical) Xen users were added.

The most important changes:
* add maven pom.xml file
* fix installation of DRBD on centos5
* @SuppressWarnings in the 3rd party libs
* change directory structure to the latest standard
* add options in VM wizard for XEN
* search for brctl in /usr/sbin /sbin and /usr/local/sbin dirs
* change some old names to LCMC
* make it compile with Java 7
* don't let the left click to show a popup
* fix the "after" DRBD option in DRBD < 8.4
* use units for all DRBD numeric fields
* change application icon
* add LCMC startup script

What is LCMC?

LCMC is a GUI application that configures, manages and visualizes Linux
HA clusters. It is written in Java, so it runs everywhere. Specifically it
helps administrators to create and manage clusters that use one or more
of these components: Pacemaker, Corosync, Heartbeat, DRBD, KVM, XEN and
LVM.

Where can I get it?
http://lcmc.sf.net

Screenshots:
https://sourceforge.net/apps/gallery/lcmc/

Source code:
https://github.com/rasto/lcmc

Rasto Levrinc
--
Dipl.-Ing. Rastislav Levrinc
rasto.levrinc at gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/
Caspar Smit
2011-10-25 11:22:32 UTC
Permalink
Hi Rasto,

Thanks for the release again, great work!

I'm a sudo user and found a few things not working when in sudo mode:

1) In the Storage (DRBD, LVM) section when I click on /proc/drbd I get:

/usr/local/bin/lcmc-gui-helper-1.0.2 proc-drbd
bash: /usr/local/bin/lcmc-gui-helper-1.0.2: Permission denied

I think LCMC forgot to add the sudo command before the actual command

When I do: sudo /usr/local/bin/lcmc-gui-helper-1.0.2 proc-drbd
at the command line it works likes it should.

2) When I want to view a (service) log I always get:

grep: /var/log/messages: Permission denied

I guess LCMC should add a sudo command before as well when in sudo mode and
an entry in the /etc/sudoers file: /bin/grep * /var/log/messages

3) About the logging, it always greps /var/log/messages but I'm using Debian
5 and 6 machines which log most stuff (HA related) in /var/log/syslog in
stead of /var/log/messages so I guess that only grepping /var/log/messages
misses a lot of valuable logging info on my systems.

Kind regards,

Caspar Smit


2011/10/24 Rasto Levrinc <rasto.levrinc at gmail.com>
Post by Rasto Levrinc
Hi,
Here is a new release LCMC (Linux Cluster Management Console) 1.0.2.
There is new LCMC logo provided by Linux-HA Japan. Check it out
on the web page.
The showing of popups with left click was disabled. It turned out to
be very unpopular feature, although some hypothetical touch screen users
may miss it. Some options for (not so hypothetical) Xen users were added.
* add maven pom.xml file
* fix installation of DRBD on centos5
* change directory structure to the latest standard
* add options in VM wizard for XEN
* search for brctl in /usr/sbin /sbin and /usr/local/sbin dirs
* change some old names to LCMC
* make it compile with Java 7
* don't let the left click to show a popup
* fix the "after" DRBD option in DRBD < 8.4
* use units for all DRBD numeric fields
* change application icon
* add LCMC startup script
What is LCMC?
LCMC is a GUI application that configures, manages and visualizes Linux
HA clusters. It is written in Java, so it runs everywhere. Specifically it
helps administrators to create and manage clusters that use one or more
of these components: Pacemaker, Corosync, Heartbeat, DRBD, KVM, XEN and
LVM.
Where can I get it?
http://lcmc.sf.net
https://sourceforge.net/apps/gallery/lcmc/
https://github.com/rasto/lcmc
Rasto Levrinc
--
Dipl.-Ing. Rastislav Levrinc
rasto.levrinc at gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/
_______________________________________________
drbd-mc mailing list
drbd-mc at lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-mc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-mc/attachments/20111025/4b836721/attachment.htm>
Rasto Levrinc
2011-10-25 16:51:02 UTC
Permalink
Post by Caspar Smit
Hi Rasto,
Thanks for the release again, great work!
/usr/local/bin/lcmc-gui-helper-1.0.2 proc-drbd
bash: /usr/local/bin/lcmc-gui-helper-1.0.2: Permission denied
I think LCMC forgot to add the sudo command before the actual command
Yes, sudo is missing there. Will be fixed.
Post by Caspar Smit
grep: /var/log/messages: Permission denied
I guess LCMC should add a sudo command before as well when in sudo mode and
an entry in the /etc/sudoers file: /bin/grep * /var/log/messages
Yes
Post by Caspar Smit
3) About the logging, it always greps /var/log/messages but I'm using Debian
5 and 6 machines which log most stuff (HA related) in /var/log/syslog in
stead of /var/log/messages so I guess that only grepping /var/log/messages
misses a lot of valuable logging info on my systems.
It greps /var/log/ha.log, /var/log/syslog and /var/log/messages, so
that should be ok

Rasto
--
Dipl.-Ing. Rastislav Levrinc
rasto.levrinc at gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/
Caspar Smit
2011-11-08 14:13:36 UTC
Permalink
Hi Rasto,

My first point was fixed in 1.0.4, thanks!

But I still get:

grep: /var/log/messages: Permission denied

When trying to view a service log.

Am I doing something wrong?

Kind regards,
Caspar Smit

2011/10/25 Rasto Levrinc <rasto.levrinc at gmail.com>
Post by Rasto Levrinc
Post by Caspar Smit
Hi Rasto,
Thanks for the release again, great work!
/usr/local/bin/lcmc-gui-helper-1.0.2 proc-drbd
bash: /usr/local/bin/lcmc-gui-helper-1.0.2: Permission denied
I think LCMC forgot to add the sudo command before the actual command
Yes, sudo is missing there. Will be fixed.
Post by Caspar Smit
grep: /var/log/messages: Permission denied
I guess LCMC should add a sudo command before as well when in sudo mode
and
Post by Caspar Smit
an entry in the /etc/sudoers file: /bin/grep * /var/log/messages
Yes
Post by Caspar Smit
3) About the logging, it always greps /var/log/messages but I'm using
Debian
Post by Caspar Smit
5 and 6 machines which log most stuff (HA related) in /var/log/syslog in
stead of /var/log/messages so I guess that only grepping
/var/log/messages
Post by Caspar Smit
misses a lot of valuable logging info on my systems.
It greps /var/log/ha.log, /var/log/syslog and /var/log/messages, so
that should be ok
Rasto
--
Dipl.-Ing. Rastislav Levrinc
rasto.levrinc at gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/
_______________________________________________
drbd-mc mailing list
drbd-mc at lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-mc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-mc/attachments/20111108/1f75ab8a/attachment.htm>
Rasto Levrinc
2011-11-08 14:30:34 UTC
Permalink
Post by Caspar Smit
Hi Rasto,
My first point was fixed in 1.0.4, thanks!
grep: /var/log/messages: Permission denied
When trying to view a service log.
Am I doing something wrong?
Hi Caspar,

if I'd do that, it would require that you put the command grep in the
sudoers file
and for example "grep . file" would let you to see content of any file.

I think better solution is to change the permissions of /var/log/messages or
/var/log/syslog in your case so that the user can read it.

Rasto
--
Dipl.-Ing. Rastislav Levrinc
rasto.levrinc at gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/
Caspar Smit
2011-11-14 14:04:00 UTC
Permalink
Rasto,

Changing the permissions fixed this for me, thanks!

Kind regards,

Caspar Smit


2011/11/8 Rasto Levrinc <rasto.levrinc at gmail.com>
Post by Rasto Levrinc
Post by Caspar Smit
Hi Rasto,
My first point was fixed in 1.0.4, thanks!
grep: /var/log/messages: Permission denied
When trying to view a service log.
Am I doing something wrong?
Hi Caspar,
if I'd do that, it would require that you put the command grep in the
sudoers file
and for example "grep . file" would let you to see content of any file.
I think better solution is to change the permissions of /var/log/messages or
/var/log/syslog in your case so that the user can read it.
Rasto
--
Dipl.-Ing. Rastislav Levrinc
rasto.levrinc at gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/
_______________________________________________
drbd-mc mailing list
drbd-mc at lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-mc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-mc/attachments/20111114/562d452d/attachment.htm>
Loading...