Re: [Pacemaker] crm_gui and its dependencies

2014-02-24 Thread Rasto Levrinc
>
> PS: I will try to get some information about hawk, because it looks exactly
> like what i need.

We/I also advocate LCMC. :) http://lcmc.sf.net

Rasto

>
> Lars Marowsky-Bree píše v Po 24. 02. 2014 v 11:47 +0100:
>
> On 2014-02-24T10:21:29, Jan Bicek  wrote:
>
>> Hi, i would like to ask, if it is necessary to crm_gui have all this
>> dependencies. I would appreciate that crm_gui would be independent piece
>> of sw, so i could install only it to my notebook a use it to manage a
>> few clusters. Would it be possible?
>
> What dependencies are troubling you in particular? It only has
> dependencies on libraries it actually uses. And on what distribution?
> Probably packaging differs between them.
>
> Note that crm_gui is no longer actively maintained; the graphical
> frontend that we advocate now is "hawk", based on top of the crm shell.
> Since that is web-based, clusters can be managed from any browser with
> no need for a client side install.
>
>
> Regards,
> Lars
>

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


Re: [Pacemaker] HA KVM over DRBD primary/secondary configuration

2013-04-19 Thread Rasto Levrinc
On Fri, Apr 19, 2013 at 11:15 AM, Alexandr A. Alexandrov
 wrote:
> Hi!
>
> I do not need CMAN config to be created, since I do not use CMAN...

It's possible, you would have to on RHEL6 system.

> I tried LCMC, it seems to recognize cluster/drbd settings.
> However, when I was finishing looking at it, I got corosync dead! :-(

Did Corosync actually sefgault? Looks like Corosync problem, LCMC doesn't
interact with it directly.

Rasto

>
>
> Apr 19 12:45:30 kennedy corosync[20271]:   [QB] IPC credentials
> authenticated (20271-19215-31)
> Apr 19 12:45:30 kennedy cib[17082]:error: pcmk_cpg_dispatch: Connection
> to the CPG API failed: 2
> Apr 19 12:45:30 kennedy cib[17082]:error: cib_ais_destroy: Corosync
> connection lost!  Exiting.
> Apr 19 12:45:30 kennedy crmd[16172]:error: pcmk_cpg_dispatch: Connection
> to the CPG API failed: 2
> Apr 19 12:45:30 kennedy cib[17082]:error: cib_ipc_closed: Client crm_mon
> not found in the hashtable
> Apr 19 12:45:30 kennedy crmd[16172]:error: crm_ipc_read: Connection to
> cib_shm failed
> Apr 19 12:45:30 kennedy crmd[16172]:error: mainloop_gio_callback:
> Connection to cib_shm[0x6503b0] closed (I/O condition=17)
> Apr 19 12:45:30 kennedy crmd[16172]:error: crmd_cib_connection_destroy:
> Connection to the CIB terminated...
> Apr 19 12:45:31 kennedy pacemakerd[17080]:error: cfg_connection_destroy:
> Connection destroyed
> Apr 19 12:45:31 kennedy pacemakerd[17080]:error: cpg_connection_destroy:
> Connection destroyed
> Apr 19 12:45:31 kennedy pacemakerd[17080]:   notice: pcmk_shutdown_worker:
> Shuting down Pacemaker
> Apr 19 12:45:31 kennedy pacemakerd[17080]:   notice: stop_child: Stopping
> crmd: Sent -15 to process 16172
> Apr 19 12:45:31 kennedy stonith-ng[17083]:error: pcmk_cpg_dispatch:
> Connection to the CPG API failed: 2
> Apr 19 12:45:31 kennedy stonith-ng[17083]:error:
> stonith_peer_ais_destroy: AIS connection terminated
> Apr 19 12:45:31 kennedy crmd[16172]:error: do_log: FSA: Input I_ERROR
> from crmd_cib_connection_destroy() received in state S_NOT_DC
> Apr 19 12:45:31 kennedy crmd[16172]:   notice: do_state_transition: State
> transition S_NOT_DC -> S_RECOVERY [ input=I_ERROR cause=C_FSA_INTERNAL
> origin=crmd_
> cib_connection_destroy ]
> Apr 19 12:45:31 kennedy crmd[16172]:error: do_recover: Action A_RECOVER
> (0100) not supported
> Apr 19 12:45:31 kennedy crmd[16172]:error: do_log: FSA: Input
> I_TERMINATE from do_recover() received in state S_RECOVERY
> Apr 19 12:45:31 kennedy attrd[17085]:error: pcmk_cpg_dispatch:
> Connection to the CPG API failed: 2
> Apr 19 12:45:31 kennedy attrd[17085]: crit: attrd_ais_destroy: Lost
> connection to Corosync service!
> Apr 19 12:45:31 kennedy attrd[17085]:   notice: main: Exiting...
> Apr 19 12:45:31 kennedy attrd[17085]:   notice: main: Disconnecting client
> 0x61ec10, pid=16172...
> Apr 19 12:45:31 kennedy attrd[17085]:error:
> attrd_cib_connection_destroy: Connection to the CIB terminated...
> Apr 19 12:45:31 kennedy pacemakerd[17080]:error: pcmk_child_exit: Child
> process attrd exited (pid=17085, rc=1)
> Apr 19 12:45:31 kennedy pacemakerd[17080]:error: send_cpg_message:
> Sending message via cpg FAILED: (rc=9) Bad handle
> Apr 19 12:45:31 kennedy pacemakerd[17080]:error: send_cpg_message:
> Sending message via cpg FAILED: (rc=9) Bad handle
>
>
> 19.04.2013 11:44, Rasto Levrinc пишет:
>
> On Fri, Apr 19, 2013 at 9:11 AM, Alexandr A. Alexandrov
>  wrote:
>
> Hi Rasto,
>
> Note that on RHEL 6/CentOS 6, you should run the Pacemaker through CMAN and
> not a Corosync plugin
>
> I wonder if that's still true, but better be safe than sorry.
>
>
> Not glad to hear that... We are using  Pacemaker+Corosync everywhere (SuSe,
> CentOS, OracleLinux servers).
> Is there any way to use LCMC in this setup?
>
> there's no problem using LCMC in this setup. It will not help to create the
> cman config, though. That's a feature with very low priority for me at the
> moment.
>
> Rasto
>
> 19.04.2013 09:30, Rasto Levrinc пишет:
>
> We used the amazing LCMC tool for the hosts, drbd and pacemaker and Corosync
> setup
> http://lcmc.sourceforge.net/
>
> LCMC does lots of the setup automatic - a huge timesaver.
>
> I'm glad to hear that.
>
> ___
> Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
>
>
>
> 

Re: [Pacemaker] HA KVM over DRBD primary/secondary configuration

2013-04-19 Thread Rasto Levrinc
On Fri, Apr 19, 2013 at 9:11 AM, Alexandr A. Alexandrov
 wrote:
> Hi Rasto,
>
> Note that on RHEL 6/CentOS 6, you should run the Pacemaker through CMAN and
> not a Corosync plugin

I wonder if that's still true, but better be safe than sorry.

>
>
> Not glad to hear that... We are using  Pacemaker+Corosync everywhere (SuSe,
> CentOS, OracleLinux servers).
> Is there any way to use LCMC in this setup?
>

there's no problem using LCMC in this setup. It will not help to create the
cman config, though. That's a feature with very low priority for me at the
moment.

Rasto

> 19.04.2013 09:30, Rasto Levrinc пишет:
>
> We used the amazing LCMC tool for the hosts, drbd and pacemaker and Corosync
> setup
> http://lcmc.sourceforge.net/
>
> LCMC does lots of the setup automatic - a huge timesaver.
>
> I'm glad to hear that.
>

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


Re: [Pacemaker] HA KVM over DRBD primary/secondary configuration

2013-04-18 Thread Rasto Levrinc
On Wed, Apr 17, 2013 at 4:17 PM, Gerrit Jacobsen  wrote:
> High-availability KVM over DRBD active/passive with Pacemaker and Corosync:
>

...

> We used the amazing LCMC tool for the hosts, drbd and pacemaker and Corosync
> setup
> http://lcmc.sourceforge.net/
>
> LCMC does lots of the setup automatic - a huge timesaver.

I'm glad to hear that.

> Some fine-tuning
> had to be from the command line with CRM configure as the colocation and
> order parameters could not be configured from LCMC

I think you can set all the parameters in the "advanced" mode.

> colocation ms_drbd_1-with-ffmttavpx inf: res_VirtualDomain_1
> ms_drbd_1:Master
> order ms_drbd_1-before-ffmttavpx inf: ms_drbd_1:promote
> res_VirtualDomain_1:start

Rasto

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


Re: [Pacemaker] pcs equivalent of crm configure erase

2013-04-16 Thread Rasto Levrinc
On Tue, Apr 16, 2013 at 9:38 AM, Andreas Mock  wrote:
> Hi all,
>
> I try to bring that topic up once again because
> it's still unresolved for me:
>
> a) How can I do the equivalent of 'crm configure erase'
> in pcs? Is there a way?
>
> b) If I can't do it woith pcs, is there a reliable
> and secure way to do it with pacemaker low level tools?

I don't think so. cibadmin has a drastic version of erase, but this is
probably not what you want. If you don't want to use any higher level
tools, the best way is to probably make a loop and use pcs to remove the
resources, since it also removes also the constraints, not sure about other
objects.

something like:

for r in `crm_resource -l`; do pcs resource delete $r; done

But test it first, I haven't used pcs myself yet.

Rasto

-- 
Dipl.-Ing. Rastislav Levrinc
rasto.levr...@gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


Re: [Pacemaker] racing crm commands... last write wins?

2013-04-11 Thread Rasto Levrinc
On Thu, Apr 11, 2013 at 2:04 PM, Brian J. Murrell  wrote:
> On 13-04-11 07:37 AM, Brian J. Murrell wrote:
>>
>> In exploring all options, how about pcs?  Does pcs' "resource create
>> ..." for example have the same read+modify+replace problem as crm
>> configure or does pcs resource create also only send proper fragments to
>> update just the part of the CIB it's operating on?
>
> Having just cracked pcs open, it doesn't seem to.  It seems to create an
> XML string which it then applies to the CIB with:
>
> cibadmin -o resources -C -X $xml_resource_string

It seems though that it replaces the whole CIB in some cases like m/s
resources. Only LCMC never does. But it's probably probably not that
scriptable, (yet). :)

Rasto

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


Re: [Pacemaker] Is crm_gui available under RHEL6?

2013-02-16 Thread Rasto Levrinc
On Sat, Feb 16, 2013 at 5:26 AM, E-Blokos  wrote:
>>>>> On Thu, Feb 14, 2013 at 10:46:40AM +0100, Rasto Levrinc wrote:


>>>>
>>>> I start to be nostalgic of 3 years ago pacemaker openais spirit
>>>> and version 1.0.5
>>>> Today I confirm that for now it's risky to use pacemaker on Fedora18
>>>> (don't
>>>> know other distro)
>>>> I just registered 2 nodes without any resources and systemd complaints
>>>> everyday with corosync.
>>>> softwares state reproduce developers emotion
>>>
>>>
>>> Can you elborate?
>>> I wasn't aware of any issues on fedora 18... I test there regularly
>>
>>
>> I used LCMC to create a cluster with 2 nodes and an httpd clone which
>> I selected the 2 nodes to run it but the resource never connect to the
>> node
>> and after a while I get
>> Feb 15 23:09:29 node140 pengine[1953]:error: crm_int_helper:
>> Characters left over after parsing 'INFINITY': 'INFINITY'
>>

What was set to INFINITY and how? Do you have the cib
config by any chance?

Rasto

> just saw also in log
>
> Feb 15 23:16:22 node140 kernel: [ 8600.196850] stonith_admin[31740]:
> segfault at 8 ip 00340a4860f1 sp 7fffef43f298 error 4 in
> libc-2.16.so[340a40+1ad000]
> Feb 15 23:16:22 node140 abrt[31742]: Saved core dump of pid 31740
> (/usr/sbin/stonith_admin) to /var/spool/abrt/ccpp-2013-02-15-23:16:22-31740
> (1257472 bytes)
> Feb 15 23:16:22 node140 abrtd: Directory 'ccpp-2013-02-15-23:16:22-31740'
> creation detected
> Feb 15 23:16:23 node140 abrtd: Generating backtrace
> Feb 15 23:16:23 node140 abrtd: Duplicate: core backtrace
>
>
> Regards
>
> Franck
>
> ___
> Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org



-- 
Dipl.-Ing. Rastislav Levrinc
rasto.levr...@gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


Re: [Pacemaker] Is crm_gui available under RHEL6?

2013-02-14 Thread Rasto Levrinc
On Thu, Feb 14, 2013 at 12:20 AM, Ron Kerry  wrote:
> I am not sure if this is an appropriate question for a community forum since
> it is a RHEL specific question. However, I cannot think of a better forum to
> use (as someone coming from a heavy SLES background), so I will ask it
> anyway. Feel free to shoot me down or point me in a different direction.
>
> I do not find the pacemaker GUI in any of the RHEL6 HA distribution rpms. I
> have tried to think of all of its various names crm_gui, hb_gui,
> mgmt/haclient etc, but I have not found it. A simple Google search also was
> not helpful - perhaps due to me not being sufficient skilled at search
> techniques. Is it available somewhere in the RHEL7 HA distribution and I am
> just not finding it? Or do I need to build it from source or pull some
> community built rpm off the web.

I am also not aware of any crm_gui packages for rhel6 not even community
build. But you should be able to compile it on rhel6 from here

https://github.com/ClusterLabs/pacemaker-mgmt

Luckily there are many alternative GUIs, but only 1 or 2 really usable.

In theory you can get crmsh package from here

http://download.opensuse.org/repositories/network:/ha-clustering/

I don't see HAWK package there, so probably it's still not compatible with
the rhel 6 Ruby version at this moment.

Then there's pcs-gui, but last time I've checked it wasn't ready.

Last but not least there's the LCMC, that http://lcmc.sf.net, that you
install on your desktop computer whatever it is and configure and manage the
cluster remotely via SSH from there.

Rasto

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


Re: [Pacemaker] LCMC and pacemaker 1.1.8

2013-01-30 Thread Rasto Levrinc
On Thu, Jan 31, 2013 at 3:39 AM, E-Blokos  wrote:

>
> The apply button came finally back
> by remove completely cib.xml and put a new one.

Maybe some required option was missing. Can you send me the old cib.xml,
if you still have it? There can still be a copy in /var/lib/pacemaker/cib/

Rasto

-- 
Dipl.-Ing. Rastislav Levrinc
rasto.levr...@gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


Re: [Pacemaker] LCMC and pacemaker 1.1.8

2013-01-29 Thread Rasto Levrinc
On Tue, Jan 29, 2013 at 9:50 AM, Lars Marowsky-Bree  wrote:
> On 2013-01-28T22:50:26, Rasto Levrinc  wrote:
>
>> but I am still waiting how the shell wars end.
>
> They have ended with a two-state solution. ;-)

Treaty of Versailles kind of solution? :)

Rasto

>
>
> Regards,
> Lars
>
> --
> Architect Storage/HA
> SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, 
> HRB 21284 (AG Nürnberg)
> "Experience is the name everyone gives to their mistakes." -- Oscar Wilde
>
>
> ___
> Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org



-- 
Dipl.-Ing. Rastislav Levrinc
rasto.levr...@gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


Re: [Pacemaker] LCMC and pacemaker 1.1.8

2013-01-28 Thread Rasto Levrinc
On Mon, Jan 28, 2013 at 10:29 PM, E-Blokos  wrote:
>
> Hi Rasto,
>
> ok if you say that LCMC is compatble to version 1.1.8
> so why is there the button "crm shell" rather than "pcs shell" ?
> I got "bash: /usr/sbin/crm: No such file or directory" :o)
>
> also the button "commit CIB" doesn't appear when I add
> group and services thus since I switched from 1.1.7 to 1.1.8,
> is the menu "session -> save" makes it ?

That's an "experimental remote shell" and you are not supposed to use
it. I could do something like that with pcs, but I am still waiting how
the shell wars end. As for adding groups and services, you can add them
right-clicking on the graph and applying them with the "apply" button.

Rasto

-- 
Dipl.-Ing. Rastislav Levrinc
rasto.levr...@gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


Re: [Pacemaker] LCMC and pacemaker 1.1.8

2013-01-28 Thread Rasto Levrinc
On Mon, Jan 28, 2013 at 4:21 PM, E-Blokos  wrote:
> thanks, it's a Good news :o)
> but I can see only fence_legacy and fence_pcmk
> in stonith folder, is it normal ?

Do you have fence-agents package installed?

Rasto

-- 
Dipl.-Ing. Rastislav Levrinc
rasto.levr...@gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


Re: [Pacemaker] LCMC and pacemaker 1.1.8

2013-01-28 Thread Rasto Levrinc
On Mon, Jan 28, 2013 at 2:50 AM, E-Blokos  wrote:
> Hi,
>
> is LCMC java gui compatible with 1.1.8 ?

Yes, yes, the LCMC was the first UI that was compatible. :)

> crm is not found and it misses some services like meatware stonith

Rasto

-- 
Dipl.-Ing. Rastislav Levrinc
rasto.levr...@gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


Re: [Pacemaker] Enable remote monitoring

2012-12-06 Thread Rasto Levrinc
On Thu, Dec 6, 2012 at 10:11 AM, Andrew Beekhof  wrote:
> On Thu, Dec 6, 2012 at 7:59 PM, Rasto Levrinc  wrote:
>> On Thu, Dec 6, 2012 at 2:48 AM, Andrew Beekhof  wrote:
>>>
>>> On 05/12/2012, at 9:05 AM, Lars Marowsky-Bree  wrote:
>>>
>>>> For what it is worth, I'd agree with this; the fact that the most common
>>>> constraints are order *AND* colocation and we don't have a
>>>> (link|chain|join) statement that adequately provides that has been
>>>> annoying me for a while. ;-) I massively appreciate that we do have the
>>>> separate dimensions, and people use that - but still, the combination of
>>>> both is extremely common.
>>>
>>> Agreed.  I'm still torn whether this is a GUI/shell job or something we
>>> need to add to the underlying xml.
>>
>> In my head it's always been that kind of (join|whatever) statement with order
>> and/or colocation as attributes, that can be optionally turned off. LCMC
>> presents it this way, but it's lot of pain, especially the resource sets are
>> tricky.
>
> So is that a vote for "too hard, do it in the XML" ?

That's right, but my vote is no, because I already have it and adding "join"
to the mix would make it even trickier (for me).

Would that be something like:



instead of order and colocation?

Or the "join" would come as third possibility
along with "order" and "colocation"?

Rasto

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


Re: [Pacemaker] Enable remote monitoring

2012-12-06 Thread Rasto Levrinc
On Thu, Dec 6, 2012 at 2:48 AM, Andrew Beekhof  wrote:
>
> On 05/12/2012, at 9:05 AM, Lars Marowsky-Bree  wrote:
>
>> For what it is worth, I'd agree with this; the fact that the most common
>> constraints are order *AND* colocation and we don't have a
>> (link|chain|join) statement that adequately provides that has been
>> annoying me for a while. ;-) I massively appreciate that we do have the
>> separate dimensions, and people use that - but still, the combination of
>> both is extremely common.
>
> Agreed.  I'm still torn whether this is a GUI/shell job or something we
> need to add to the underlying xml.

In my head it's always been that kind of (join|whatever) statement with order
and/or colocation as attributes, that can be optionally turned off. LCMC
presents it this way, but it's lot of pain, especially the resource sets are
tricky.

>
>>
>> The independent order + colocation statements do allow for that though;
>> and in theory, a frontend *could* detect that there's both "A first,
>> then B" and "B where A is" with the same priority and present it merged
>> as:
>>
>>   join id-494 inf: A B

That was the first thing I did :)

Rasto

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


Re: [Pacemaker] [Linux-HA] Clusters from Scratch, the LCMC version

2012-11-21 Thread Rasto Levrinc
On Wed, Nov 21, 2012 at 10:38 AM, Andrew Beekhof  wrote:
> Nice work :)

ditto :)

> Did you add a link to it in the ClusterLabs wiki?

I've added it here http://clusterlabs.org/wiki/LCMC
Is there some other place I can add it?

>
> Also, a couple of broken images in the html version.

Do you mean Console.png and Network.png? They are missing in the pacemaker
source code.

Rasto

>
> On Mon, Nov 19, 2012 at 7:39 AM, Rasto Levrinc  
> wrote:
>> Hi,
>>
>> I was planning some kind of LCMC documentation for some time. I've taken
>> the "Clusters from Scratch" from Andrew Beekhof, added my stuff there
>> and the documentation problem went away, just like that. The most of the
>> credit for the guide therefore goes to Andrew.
>>
>> http://lcmc.sourceforge.net/1.1-lcmc/html-single/Clusters_from_Scratch/index.html
>> http://lcmc.sourceforge.net/1.1-lcmc/pdf/Clusters_from_Scratch/Pacemaker-1.1-Clusters_from_Scratch-en-US.pdf
>>
>> there are also some additional formats here: http://lcmc.sf.net/
>>
>> the documentation source code is here:
>> https://github.com/rasto/pacemaker
>>
>> The LCMC had been a Pacemaker UI, before it was cool, and it provides
>> the consistent user experience ever since, only changed its name once. :)
>>
>> Rasto

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


[Pacemaker] Clusters from Scratch, the LCMC version

2012-11-18 Thread Rasto Levrinc
Hi,

I was planning some kind of LCMC documentation for some time. I've taken
the "Clusters from Scratch" from Andrew Beekhof, added my stuff there
and the documentation problem went away, just like that. The most of the
credit for the guide therefore goes to Andrew.

http://lcmc.sourceforge.net/1.1-lcmc/html-single/Clusters_from_Scratch/index.html
http://lcmc.sourceforge.net/1.1-lcmc/pdf/Clusters_from_Scratch/Pacemaker-1.1-Clusters_from_Scratch-en-US.pdf

there are also some additional formats here: http://lcmc.sf.net/

the documentation source code is here:
https://github.com/rasto/pacemaker

The LCMC had been a Pacemaker UI, before it was cool, and it provides
the consistent user experience ever since, only changed its name once. :)

Rasto

-- 
Dipl.-Ing. Rastislav Levrinc
rasto.levr...@gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


Re: [Pacemaker] centos 6 fence_apc parameter error

2012-10-11 Thread Rasto Levrinc
On Thu, Oct 11, 2012 at 10:29 AM, Dejan Muhamedagic  wrote:
> On Wed, Oct 10, 2012 at 09:45:46AM -0500, Michael Brennen wrote:
>> On Wed, 10 Oct 2012, Dejan Muhamedagic wrote:

>> >>
>> >>=
>> >>crm configure primitive f_apc stonith:fence_apc params \
>> >>  pcmk_host_map="fail1:1,fail2:2" \
>> >>  pcmk_host_list="fail1 fail2" \
>> >>  pcmk_host_check="static-list" \
>> >>  ipaddr="1.2.3.4" \
>> >>  action="reboot" \
>> >>  login="user" \
>> >>  passwd="pw"
>> >>=
>> >>
>> >>That results in the following message:
>> >>
>> >>=
>> >>ERROR: f_apc: parameter fail2 does not exist
>> >>Do you still want to commit?
>> >>=
>> >>
>> >>I have not been able to find a way around this, but the
>> >>configuration seems exactly what I have found in the lists.  Does
>> >>anyone have any idea what might be happening?  Thanks.
>> >
>> >It won't work from the command line, because the crm shell parser
>> >never sees the quotes (they're digested by /bin/sh). You can type
>> >this in the crm shell or protect the quotes using \ (at least
>> >those for pcmk_host_list, others not necessary).
>> >
>> >Thanks,
>> >
>> >Dejan
>>
>> Well... now that I think about it that makes perfect sense.
>
> It does, though it certainly is surprising. With two
> lexers/parsers involved, well, it takes a computer brain to deal
> with it :( If anybody has an idea how to deal with this in a
> better way...

Weird thing is that python splits "pcmk_host_list=fail1 fail2" argument to
"pcmk_host_list=fail1" and "fail2", unlike other languages. What's up with
that?
Once that is fixed, it shouldn't be a problem.

Rasto

-- 
Dipl.-Ing. Rastislav Levrinc
rasto.levr...@gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


[Pacemaker] Announce: LCMC 1.4.0 / Pacemaker/DRBD GUI

2012-10-07 Thread Rasto Levrinc
Hi,

LCMC (Linux Cluster Management Console) 1.4.0 is out now.

Lately we get two of everything around Pacemaker, but there's still only
one Java client GUI and this is what people actually need, I think.

You are going to need this update if you're using/going to use Pacemaker
1.1.8.

One nice new feature is that now you can copy and paste configured
services with ctrl-c and ctrl-v, which makes it easier to configure many
similar services. You can even copy configurations between clusters,
(without constraints at the moment).

There are some noticeable performance improvements as well.

LCMC web page:
http://lcmc.sf.net

What is LCMC:
The Linux Cluster Management Console allows you to configure and manage
HA clusters with Pacemaker and popular cluster software like DRBD or
libvirt and their interconnectivity from your computer using SSH.

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

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

Changelog:
http://lcmc.sourceforge.net/changelog

Rasto Levrinc

-- 
Dipl.-Ing. Rastislav Levrinc
rasto.levr...@gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


Re: [Pacemaker] CRM CLI guide gone?

2012-09-11 Thread Rasto Levrinc
On Mon, Sep 10, 2012 at 10:15 PM, Nenad Opsenica  wrote:
>
> On 09/10/2012 06:26 PM, Andreas Ntaflos wrote:
>>
>> On 10/09/12 00:15, Andrew Beekhof wrote:
>>>
>>> On Fri, Sep 7, 2012 at 6:49 AM, Andreas Ntaflos 
>>> wrote:

 It seems the CRM CLI guide formally found under

 http://www.clusterlabs.org/doc/crm_cli.html

 is gone (404). Why so? Has it moved somewhere else?
>>>
>>> Yes. The shell has its own project and is hosting its own documentation.
>>
>> Is it perhaps ? There is
>> nothing there that resembles the original CRM CLI guide, except its raw
>> version in the Hg repository
>> (http://hg.savannah.gnu.org/hgweb/crmsh/file/bb3dabeb8274/doc/crm.8.txt),
>> which
>> isn't exactly easy to read. There is also no project homepage to be
>> found (http://www.nongnu.org/crmsh/). Am I blind?
>>
>> Also, every relevant Google result still links me to
>> http://www.clusterlabs.org/doc/crm_cli.html which remains a 404. I think
>> it would be useful to implement a redirect to the new location, if one
>> exists. And if one doesn't, maybe put up the original guide again until
>> one does.

There is still this:
http://www.clusterlabs.org/wiki/File:Crm_cli.pdf
I hope it will not be removed now.

>>
>> Andreas
>
>
> Really, what is the status of CRM shell?
> Is it deprecated now?
> What is "official" way of configuring Peacemaker?
>

The crm shell is the "official" CLI way. If you are interested in GUIs,
there are several, but LCMC that has still the most features until the
elephants come up with something better, which they IMHO didn't.. :)

Rasto

-- 
Dipl.-Ing. Rastislav Levrinc
rasto.levr...@gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


Re: [Pacemaker] Pacemaker 1.1.7 order constraint syntax

2012-07-20 Thread Rasto Levrinc
On Thu, Jul 19, 2012 at 6:09 PM, Andreas Kurz  wrote:
> On 07/19/2012 02:57 PM, Rasto Levrinc wrote:
>> On Thu, Jul 19, 2012 at 2:38 PM, Andreas Kurz  wrote:

>>>
>>> I don't think it is supported in crm or any other configuration tool
>>>  syntax for above example in xml looks like:
>>
>> Well, LCMC supports this, btw last time I checked this feature
>> is still not enabled in constrains rng in 1.1.7 by default, so you
>> have to wait at least for 1.1.8, or enable it yourself.
>> It also doesn't work if combined with colocation.
>
> cool Rasto :-) ... does LCMC also already support the new multiple
> stonith-device configuration syntax ... fencing-topology ...?
>

No it doesn't, but it doesn't remove it either. :) It's also something that
could use being visualized in a graph, but I am not sure when I'll get
around to do this.

Rasto

-- 
Dipl.-Ing. Rastislav Levrinc
rasto.levr...@gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


Re: [Pacemaker] Pacemaker 1.1.7 order constraint syntax

2012-07-19 Thread Rasto Levrinc
On Thu, Jul 19, 2012 at 3:46 PM, Vadym Chepkov  wrote:
>
> On Jul 19, 2012, at 8:57 AM, Rasto Levrinc wrote:
>
>> On Thu, Jul 19, 2012 at 2:38 PM, Andreas Kurz  wrote:
>>> On 07/19/2012 11:47 AM, Vadym Chepkov wrote:
>>>> Hi,
>>>>
>>>> When Pacemaker 1.1.7 was announced, a new feature was mentioned:
>>>>
>>>> The ability to specify that A starts after ( B or C or D )
>>>>
>>>> I wasn't able to find an example how to express it crm shell in neither 
>>>> man crm nor in Pacemaker Explained.
>>>> In fact, 
>>>> http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Pacemaker_Explained/s-resource-ordering.html
>>>>  doesn't have new attribute listed either.
>>>> Is it supported in crm ?
>>>
>>> I don't think it is supported in crm or any other configuration tool
>>>  syntax for above example in xml looks like:
>>
>> Well, LCMC supports this, btw last time I checked this feature
>> is still not enabled in constrains rng in 1.1.7 by default, so you
>> have to wait at least for 1.1.8, or enable it yourself.
>> It also doesn't work if combined with colocation
>
> I presume it doesn't work if score is INFINITY ? Otherwise it would be 
> strange.

It doesn't work with any score. It's not strange just a missing feature.

Rasto

>
>
>> Rasto
>>
>>>
>>> 
>>>  
>>>
>>>
>>>
>>>  
>>>  
>>>
>>>  
>>> 
>>>
>>> ... can be found in the pengine regression tests directory in Pacemaker
>>> source ...
>>
>> --
>> Dipl.-Ing. Rastislav Levrinc
>> rasto.levr...@gmail.com
>> Linux Cluster Management Console
>> http://lcmc.sf.net/
>>
>> ___
>> Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
>> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>>
>> Project Home: http://www.clusterlabs.org
>> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
>> Bugs: http://bugs.clusterlabs.org
>
>
> ___
> Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org



-- 
Dipl.-Ing. Rastislav Levrinc
rasto.levr...@gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


Re: [Pacemaker] Pacemaker 1.1.7 order constraint syntax

2012-07-19 Thread Rasto Levrinc
On Thu, Jul 19, 2012 at 4:13 PM, Lars Marowsky-Bree  wrote:
> On 2012-07-19T09:41:55, Vadym Chepkov  wrote:
>
>> Oh, so in other words it's not supported by 1.1.7 ? Why was it in 
>> release-notes then?
>
> Pacemaker supports it, but not yet the shell/hawk.

... nor cibadmin :)

Rasto

>
>
> Regards,
> Lars
>
> --
> Architect Storage/HA
> SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, 
> HRB 21284 (AG Nürnberg)
> "Experience is the name everyone gives to their mistakes." -- Oscar Wilde
>
>
> ___
> Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org



-- 
Dipl.-Ing. Rastislav Levrinc
rasto.levr...@gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


Re: [Pacemaker] Pacemaker 1.1.7 order constraint syntax

2012-07-19 Thread Rasto Levrinc
On Thu, Jul 19, 2012 at 2:38 PM, Andreas Kurz  wrote:
> On 07/19/2012 11:47 AM, Vadym Chepkov wrote:
>> Hi,
>>
>> When Pacemaker 1.1.7 was announced, a new feature was mentioned:
>>
>> The ability to specify that A starts after ( B or C or D )
>>
>> I wasn't able to find an example how to express it crm shell in neither man 
>> crm nor in Pacemaker Explained.
>> In fact, 
>> http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Pacemaker_Explained/s-resource-ordering.html
>>  doesn't have new attribute listed either.
>> Is it supported in crm ?
>
> I don't think it is supported in crm or any other configuration tool
>  syntax for above example in xml looks like:

Well, LCMC supports this, btw last time I checked this feature
is still not enabled in constrains rng in 1.1.7 by default, so you
have to wait at least for 1.1.8, or enable it yourself.
It also doesn't work if combined with colocation.

Rasto

>
> 
>   
> 
> 
> 
>   
>   
> 
>   
> 
>
> ... can be found in the pengine regression tests directory in Pacemaker
> source ...

-- 
Dipl.-Ing. Rastislav Levrinc
rasto.levr...@gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


[Pacemaker] LCMC video: MySQL High Availability Cluster

2012-06-12 Thread Rasto Levrinc
Hi,

as promised, there's a new video how to configure a MySQL with Pacemaker,
Corosync and DRBD.with LCMC GUI.

http://youtu.be/nEPn5RJA1Ig?hd=1

If you want to skip something:
4:30 LVM + DRBD configuration
9:24 Pacemaker configuration

Enjoy!

Rasto

-- 
Dipl.-Ing. Rastislav Levrinc
rasto.levr...@gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


[Pacemaker] Announce: LCMC 1.3.16 / Pacemaker, DRBD, VM GUI

2012-06-07 Thread Rasto Levrinc
Hi,

this is the next release of the Linux Cluster Management Console, the
only platform-independent client-side Pacemaker GUI.

It allows you to configure and manage HA clusters with Pacemaker and popular
cluster software like DRBD or libvirt and their interconnectivity from your
computer using SSH.

This release along various minor bug fixes makes it easier to configure
Xen and LXC VMs, Xen returning to major distros and LXC becoming an
option.

LCMC web page:
http://lcmc.sf.net

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

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

Changelog:
http://lcmc.sourceforge.net/changelog

Rasto Levrinc

-- 
Dipl.-Ing. Rastislav Levrinc
rasto.levr...@gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


Re: [Pacemaker] Announce: pcs / pcs-gui (Pacemaker/Corosync Configuration System)

2012-06-06 Thread Rasto Levrinc
On Wed, Jun 6, 2012 at 4:45 PM, Lars Ellenberg
 wrote:
> On Tue, Jun 05, 2012 at 05:15:04PM +0200, Rasto Levrinc wrote:
>> On Tue, Jun 5, 2012 at 1:27 PM, Lars Marowsky-Bree  wrote:
>> > On 2012-06-05T09:43:09, Andrew Beekhof  wrote:
>> >
>> >> Every argument made so far applies equally to HAWK and the Linbit GUI,
>> >> yet there was no outcry when they were announced.
>> >
>> > No, like I said above, that did suck - but the architecture truly is
>> > different and drbd-mc just wasn't the right answer for customers who
>> > wanted a HTML-only frontend. Besides, this is not an outcry. An outcry
>> > is revoking people's mailing list privileges and posting angry blogs.
>> > ;-)
>>
>> Ok, I see the point of both sides, so I will not join the outcry. :)
>>
>> Just for the record, the drbd mc / lcmc as an applet and a little bit
>> backend could look like a web application, only better.
>
> ... once it is cleaned up to not try to use up a couple GB of RAM and
> loop in the GC, while the typical default browser plugin JVM settings
> allow for a handful of MB, max ...  that cleanup may be useful anyways.

I haven't seen such behavior and I don't know your configuration, so
thanks for the bug-report, I guess. :)

Rasto

>
>  ;)
>
> I still like LCMC.
>
>        Lars
>
> ___
> Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org



-- 
Dipl.-Ing. Rastislav Levrinc
rasto.levr...@gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


Re: [Pacemaker] Announce: pcs / pcs-gui (Pacemaker/Corosync Configuration System)

2012-06-05 Thread Rasto Levrinc
On Tue, Jun 5, 2012 at 1:27 PM, Lars Marowsky-Bree  wrote:
> On 2012-06-05T09:43:09, Andrew Beekhof  wrote:
>
>> Every argument made so far applies equally to HAWK and the Linbit GUI,
>> yet there was no outcry when they were announced.
>
> No, like I said above, that did suck - but the architecture truly is
> different and drbd-mc just wasn't the right answer for customers who
> wanted a HTML-only frontend. Besides, this is not an outcry. An outcry
> is revoking people's mailing list privileges and posting angry blogs.
> ;-)

Ok, I see the point of both sides, so I will not join the outcry. :)

Just for the record, the drbd mc / lcmc as an applet and a little bit
backend could look like a web application, only better.

Rasto

-- 
Dipl.-Ing. Rastislav Levrinc
rasto.levr...@gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


Re: [Pacemaker] slapd resource agent does not accept multiple values in 'services' parameters

2012-05-03 Thread Rasto Levrinc
On Thu, May 3, 2012 at 3:08 PM, Igor Zinovik  wrote:
>  Hello.
>
> I'm trying to deploy pacemaker active/passive cluster for openldap
> with slapd resource agent from:
> https://github.com/jhohm/resource-agents/blob/master/heartbeat/slapd
>
> This agent has parameter called `services'.  Documentation says that
> this parameter is a string and can accept multiple values separated by
> spaces:
> # crm ra info ocf:heartbeat:slapd | grep -A 2 services
>  crm ra info ocf:heartbeat:slapd | grep -A 3 services
> services (string, [ldap:///]): LDAP (and other scheme) URLs to serve
>    LDAP (and other scheme) URLs slapd will serve.
>    For example, "ldap://127.0.0.1:389 ldaps:/// ldapi:///"
>
> When i try to specify multiple valus when i work with shadow copy
> i get an error:
> # crm_shadow --create test
> shadow[test] # crm configure primitive slapd_mirrormode
> ocf:heartbeat:slapd params slapd="/usr/lib/openldap/slapd"
> config="/etc/openldap/slapd.conf" user="ldap" group="ldap"
> services="ldap:/// ldaps:/// ldapi:///" meta migration-threshold="3"
> op monitor interval=10s
> element nvpair: Relax-NG validity error : Type ID doesn't allow value
> 'slapd_mirrormode-instance_attributes-ldaps:///'
> element nvpair: Relax-NG validity error : Element nvpair failed to
> validate attributes
> Relax-NG validity error : Extra element nvpair in interleave
> element nvpair: Relax-NG validity error : Element instance_attributes
> failed to validate content
> Relax-NG validity error : Extra element instance_attributes in interleave
> element cib: Relax-NG validity error : Element cib failed to validate content
> crm_verify[29922]: 2012/05/03_17:06:13 ERROR: main: CIB did not pass
> DTD/schema validation
> Errors found during check: config not valid
> ERROR: slapd_mirrormode: parameter ldapi:/// does not exist
> ERROR: slapd_mirrormode: parameter ldaps:/// does not exist
> Do you still want to commit? no
>
> Even single quotes does not solve the problem.

almost, try services="\"ldap:/// ldaps:/// ldapi:///\""

Rasto

-- 
Dipl.-Ing. Rastislav Levrinc
rasto.levr...@gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


Re: [Pacemaker] ORPHANED resource

2012-04-24 Thread Rasto Levrinc
2012/4/25 cherish :
> I defined a resource :test1. Its statu is:
>
>  test1 (ocf::heartbeat:VirtualDomain):  ORPHANED Started h52 (unmanaged)
> FAILED
>
> I dont understand "ORPHANED".And more strange is that ,when I check the
> defination of test1,it dont exists!

It's because it is still in the status section. You can get rid of it
with crm resource cleanup test1 or in LCMC GUI you could right click on
it and remove it.

Rasto

-- 
Dipl.-Ing. Rastislav Levrinc
rasto.levr...@gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


Re: [Pacemaker] move the DC

2012-04-20 Thread Rasto Levrinc
On Fri, Apr 20, 2012 at 9:37 AM, Karl Rößmann  wrote:
> Hi,
>
> is there an easy way to move the DC from one
> node to another - without shutting down the current DC node ?

Let's assume that you have a reason to do this. You can set maintenance-mode
to true, restart the corosync/heartbeat on the DC node and any nodes you
don't want to be DC. Then set the maintenance-mode to false, when all nodes
are online again.

Rasto

-- 
Dipl.-Ing. Rastislav Levrinc
rasto.levr...@gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


Re: [Pacemaker] Convenience Groups - WAS Re: [Linux-HA] Unordered groups (was Re: Is 'resource_set' still experimental?)

2012-04-19 Thread Rasto Levrinc
On Thu, Apr 19, 2012 at 5:22 PM, Alan Robertson  wrote:
> Hi Andrew,
>
> I'm currently working on a fairly large cluster with lots of resources
> related to attached hardware.  There are 59 of these things and 24 of those
> things and so on and each of them has its own resource to deal with the the
> "things".  They are not clones, and can't easily be made clones.
>
> I would like to be able to easily say "shut down all the resources that
> manage this kind of thing".    The solution that occurs to me most obviously
> is one you would likely call a "double abomination" ;-) - an unordered and
> un-colocated group.  It seems a safe assumption that this would not be a
> good path to pursue given your statements from last year...
>
> What would you suggest instead?

This is maybe not what you are looking for, but with the LCMC GUI you
can do this one easily. You can group resources together in the graph,
select them by drawing a rectangle around them and stop the whole
selections.

See the screenshot:
http://sourceforge.net/apps/gallery/lcmc/index.php?g2_itemId=49&g2_imageViewsIndex=1

Rasto

-- 
Dipl.-Ing. Rastislav Levrinc
rasto.levr...@gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


Re: [Pacemaker] CIB not saved

2012-03-29 Thread Rasto Levrinc
On Thu, Mar 29, 2012 at 9:54 AM, Fiorenza Meini  wrote:
> Hi there,
> a strange thing happened to my two node cluster: I rebooted both machine at
> the same time, when s.o. went up again, no resources were configured
> anymore: as it was a fresh installation. Why ?
> It was explained to me that the configuration of resources managed by
> pacemaker should be in a file called cib.xml, but cannot find it in the
> system. Have I to specify any particular option in the configuration file?

Normally you shouldn't worry about it. cib.xml is stored in
/var/lib/heartbeat/crm/ or similar and the directory should have have
hacluster:haclient permissions. What distro is it and how did you install
it?

Rasto

-- 
Dipl.-Ing. Rastislav Levrinc
rasto.levr...@gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


Re: [Pacemaker] How can I preview the shadow configuration?

2012-03-20 Thread Rasto Levrinc
On Tue, Mar 20, 2012 at 11:20 AM, Lars Marowsky-Bree  wrote:
> On 2012-03-20T11:15:53, Rasto Levrinc  wrote:
>
>> ptest has been replaced by crm_simulate. Also -L option in crm_simulate can
>> crash, so don't use that, also there can be wrong option in crm shell, so
>> you may see weird XML errors.
>
> What's up with the latter? Is there a bug report?

All that's been fixed, only that all that came together in centos/rhel6 :)

Rasto

>
>
> Regards,
>    Lars
>
> --
> Architect Storage/HA
> SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, 
> HRB 21284 (AG Nürnberg)
> "Experience is the name everyone gives to their mistakes." -- Oscar Wilde
>
>



-- 
Dipl.-Ing. Rastislav Levrinc
rasto.levr...@gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


Re: [Pacemaker] How can I preview the shadow configuration?

2012-03-20 Thread Rasto Levrinc
2012/3/20 Mars gu :
> Hi,
>     I want to excute the command ,the problem occurred:
>
> [root@h10_148 ~]# ptest
> -bash: ptest: command not found
>
> How can I preview the shadow configuration?

ptest has been replaced by crm_simulate. Also -L option in crm_simulate can
crash, so don't use that, also there can be wrong option in crm shell, so
you may see weird XML errors.

Rasto

-- 
Dipl.-Ing. Rastislav Levrinc
rasto.levr...@gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


[Pacemaker] Announce: LCMC 1.3.0 / Pacemaker, DRBD, KVM GUI

2012-02-26 Thread Rasto Levrinc
Hi,

this is the next release of the Linux Cluster Management Console, the
high availability GUI. This release brings mostly usability
improvements.

>From now on it is possible to operate on multiple resources at once,
thus eliminating some of the repetitive work. You can select services,
block devices and hosts by drawing a rectangle around them, or
ctrl-click them. The menus in this context work on all selected
components. For example you can select multiple services and migrate
them all at once, instead of doing it one by one.

Screenshot:
http://sourceforge.net/apps/gallery/lcmc/index.php?g2_itemId=40

As you probably don't know there were options to connect to the existing
cluster quickly, but since kids these days don't even know what a
command line option is, there is now an in-your-face button for that.

Much work went into reducing the number of SSH connection and sudo calls
in this release as well, because they used to log a lot.

LCMC web page:
http://lcmc.sf.net

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

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

changelog:
* implement quick-connect-to-the-cluster box
* implement a ignore-defaults resource agent list
* workaround for iSCSITarget RA
* enable sudo checkbox if user is not root automatically
* disable one-host cluster by default
* add --one-host-cluster option
* rewrite code that collects info from the cluster
* fixes a null pointer exception while clicking on the host
* implement multi selection

Rasto Levrinc

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


Re: [Pacemaker] Proper way to migrate multistate resource?

2012-02-09 Thread Rasto Levrinc
On Thu, Feb 9, 2012 at 4:18 PM, Dejan Muhamedagic  wrote:
> Hi,
>
> On Tue, Feb 07, 2012 at 01:54:44PM +0100, Lars Ellenberg wrote:
>> On Mon, Feb 06, 2012 at 04:48:26PM -0800, Chet Burgess wrote:
>> > Greetings,
>> >
>> > I'm some what new to pacemaker and have been playing around with a
>> > number of configurations in a lab. Most recently I've been testing a
>> > multistate resource using the ofc:pacemaker:Stateful example RA.
>> >
>> > While I've gotten the agent to work and notice that if I shutdown or
>> > kill a node the resources migrate I can't seem to figure out the
>> > proper way to migrate the resource between nodes when they are both
>> > up.
>> >
>> > For regular resources I've used "crm resource migrate " without
>> > issue. However when I try this with a multistate resource it doesn't
>> > seem to work. When I run the command it just puts the slave node into
>> > a stopped state. If I try and tell it to migrate specifically to the
>> > slave node it claims to already be running their (which I suppose in a
>> > sense it is).
>>
>> the crm shell does not support roles for the "move" or "migrate" command
>> (yet; maybe in newer versions. Dejan?).
>
> No, it doesn't. The crm resource commands rely on the underlying
> tools (crm_resource, et al). crm_resource is probably the right
> place to implement such a functionality, then we can easily add
> support to the shell as well. Patches accepted :)

Another place is the GUI, that already has this functionality. :)

Rasto

-- 
Dipl.-Ing. Rastislav Levrinc
rasto.levr...@gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


Re: [Pacemaker] crm_simulate crashes on centos 6.2

2012-02-02 Thread Rasto Levrinc
On Tue, Jan 31, 2012 at 9:03 PM, Andrew Beekhof  wrote:
> On Wed, Feb 1, 2012 at 7:00 AM, Andrew Beekhof  wrote:
>> Not hugely useful without the debugging symbols I'm afraid.
>
> Although I can reproduce here. So I'll get that fixed.

Could you still reproduce it after this bug fix or it was before?

https://github.com/ClusterLabs/pacemaker/commit/7da9e833b63d83c32852154481572f816754c114

Rasto

>
>>
>> On Wed, Feb 1, 2012 at 2:57 AM, Besse Mickael
>>  wrote:
>>> Hello
>>>
>>> In fact I'm not using directly crm_simulate I'm using linux cluster 
>>> management console which call crm_simulate.
>>> LCMC use the command: /usr/sbin/crm_simulate -S - -L
>>>
>>> Here the core file open whith gdb :
>>>
>>>
>>> gdb /usr/sbin/crm_simulate /tmp/core-crm_simulate-6-0-0-20826-1328021079

...

-- 
Dipl.-Ing. Rastislav Levrinc
rasto.levr...@gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


Re: [Pacemaker] crm_simulate crashes on centos 6.2

2012-01-31 Thread Rasto Levrinc
On Tue, Jan 31, 2012 at 4:57 PM, Besse Mickael
 wrote:
> Hello
>
> In fact I'm not using directly crm_simulate I'm using linux cluster 
> management console which call crm_simulate.
> LCMC use the command: /usr/sbin/crm_simulate -S - -L

Oh well, ptest removed, crm_simulate crashing, I was hoping it will
not come to this. :)
Here is a workaround for LCMC:


cat < /usr/sbin/ptest
#!/bin/sh

cibadmin -Ql|crm_simulate ${@#-L}
EOF
chmod +x /usr/sbin/ptest


Rasto

-- 
Dipl.-Ing. Rastislav Levrinc
rasto.levr...@gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


[Pacemaker] Announce: LCMC 1.2.0 / Pacemaker, DRBD, KVM GUI

2012-01-22 Thread Rasto Levrinc
Hi,

this is the next release of the Linux Cluster Management Console. The
LCMC helps you to configure a Pacemaker cluster without the need to go
to the command line. Now you say, but of course there must be a point
were you have to use the command line, well not anymore, at least most
of the time. The LCMC lets you to edit predefined config files of many
services on all cluster hosts simultaneously or separately.

For example if you have some NFS resource agent, the LCMC lets you edit
the /etc/exports file. If you have mysql db, it lets you edit the my.cnf
or any config file that you is defined as a mysql config file in the
Pacemaker configuration and so on. See the screenshot:

http://sourceforge.net/apps/gallery/lcmc/index.php?g2_itemId=37

I've defined the most obvious config file locations, if I've missed
something, let me know.

LCMC web page:
http://lcmc.sf.net

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

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

New video:
http://youtu.be/xWjuhp3Ysp4?hd=1

Changelog:
* don't use node_state from not existing node ids
* make autostart vm option per host
* implement the edit-config-files feature
* allow removing of a running resource in an advanced mode
* show hierarchy of block devices in the tooltips
* improve handling of LVM on DRBD
* fix resolve split-brain for DRBD 8.4

Rasto Levrinc

--
Dipl.-Ing. Rastislav Levrinc
rasto.levr...@gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


Re: [Pacemaker] Remote CRM shell from LCMC

2012-01-09 Thread Rasto Levrinc
On Mon, Jan 9, 2012 at 10:23 PM, Dejan Muhamedagic  wrote:
> Hi Rasto,
>
> On Wed, Dec 28, 2011 at 12:57:33AM +0100, Rasto Levrinc wrote:
>> Hi,
>>
>> this being a slow news day, There is this great new feature in LCMC, but
>> probably completely useless. :) The LCMC used to show for testing purposes
>> the CRM shell configuration, but people started to use it, so I left it
>> there, made it now editable and added a commit button, that commits the
>> changes. You can see it as a hole in the bottom of the car, if you are stuck
>> you can still power the car by your feet.
>>
>> There are also some unexpected advantages over "crm configure edit", see
>> the video.
>>
>> http://youtu.be/X75wzUTRmjU?hd=1
>
> Cool! As Lars mentioned, audio goes missing after 3 mins.

Hi Dejan,

I've noticed that too, but the narration wasn't that interesting at
that point so I didn't redo it.

The remote CRM shell could be still improved, with more buttons,
syntax highlighting, pull-down menus, on-mouse over help, etc.

Rasto

-- 
Dipl.-Ing. Rastislav Levrinc
rasto.levr...@gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


Re: [Pacemaker] Cannot Create Primitive in CRM Shell

2012-01-09 Thread Rasto Levrinc
On Mon, Jan 9, 2012 at 3:34 PM, Andrew Martin  wrote:
> Hi Florian,
>
> Thanks for the quick response. This is a fresh install of
> pacemaker/heartbeat on two VMs so it should not have any previous/corrupted
> configuration (Ubuntu 10.04 amd64). I had previously deployed pacemaker on
> alternative copies of these VM images, but both of those have since been
> deleted. I am using the versions of these packages from the Ubuntu HA
> PPA because the Lucid version does not appear to contain
> ocf:heartbeat:exportfs.
>
> Here's the output of "crm_mon -1", which appears normal:
> # crm_mon -1
> 
> Last updated: Mon Jan  9 07:56:23 2012
> Last change: Fri Jan  6 12:20:20 2012 via cibadmin on host1
> Stack: Heartbeat
> Current DC: host1 (e7dd6b7b-83ee-45bd-9768-bf576260ff15) - partition with
> quorum
> Version: 1.1.6-9971ebba4494012a93c03b40a2c58ec0eb60f50c
> 2 Nodes configured, unknown expected votes
> 0 Resources configured.
> 
>
> Online: [ host1 host2 ]
>
> I issued "crm configure erase" and then performed the following operations
> after running "crm configure":
> property stonith-enabled="false"
> property no-quorum-policy="ignore"
> rsc_defaults resource-stickiness="200"
> commit
> primitive p_exportfs_drive \
> ocf:heartbeat:exportfs \
> params fsid=1 \
> directory="/tmp" \
> options="rw,mountpoint" \
> clientspec="10.10.0.0/255.255.0.0" \
> wait_for_leasetime_on_stop=true \
> op monitor interval="30s"
>
> I have attached the syslog from these operations as well as a copy of the
> configuration as exported via "cibadmin --query >
> /tmp/pacemaker_config.xml". I am also including a copy of the portion of the
> strace from when I entered 'op monitor interval="30s"' at the end of the
> exportfs primitive and then hit the Enter key (and the crm shell remains
> frozen).

My knee-jerk reaction: That's unfortunately true, CRM shell hangs there.
Luckily LCMC (the Pacemaker GUI) still works on Lucid.

Rasto

-- 
Dipl.-Ing. Rastislav Levrinc
rasto.levr...@gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


[Pacemaker] Announce: LCMC 1.1.2 / Pacemaker, DRBD, KVM GUI

2012-01-04 Thread Rasto Levrinc
Hi,

This LCMC 1.1.2 update is important if you have redhat/centos 6 Pacemaker
cluster.

The LCMC used ptest command to get its status information. Bad news is
that they removed this command all of the sudden. Good news is that there
is the crm_simulate command that contains the ptest functionality. Bad news
is that crm_simulate crashes on most of the recent distributions because of
some glib issue. Good news is that on the systems that don't have ptest,
crm_simulate doesn't crash. You see, it was possible to make it work
either using crm_simulate or using ptest everywhere. What are the odds? :)

As mentioned earlier there's now an experimental remote crm shell if you
click on the hosts. First I thought I will disable it by default, but it
is difficult to do something bad unintentionally, so I it is there with
"experimental" in the name to scare everybody off.

screenshot:
http://sourceforge.net/apps/gallery/lcmc/index.php?g2_itemId=34

LCMC web page:
http://lcmc.sf.net

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

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

Rasto Levrinc


-- 
Dipl.-Ing. Rastislav Levrinc
rasto.levr...@gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


[Pacemaker] Remote CRM shell from LCMC

2011-12-27 Thread Rasto Levrinc
Hi,

this being a slow news day, There is this great new feature in LCMC, but
probably completely useless. :) The LCMC used to show for testing purposes
the CRM shell configuration, but people started to use it, so I left it
there, made it now editable and added a commit button, that commits the
changes. You can see it as a hole in the bottom of the car, if you are stuck
you can still power the car by your feet.

There are also some unexpected advantages over "crm configure edit", see
the video.

http://youtu.be/X75wzUTRmjU?hd=1

Rasto

-- 
Dipl.-Ing. Rastislav Levrinc
rasto.levr...@gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


Re: [Pacemaker] removed resources still generating log entries

2011-12-22 Thread Rasto Levrinc
2011/12/22 Kevin Maguire :
> Hi
>
> We have built a cluster on top of the SLES 11 SP1 stack, which manages
> various Xen VMs.
>
> In the development phase we used some test VM resources, which have since
> been removed from the resource list. However I see some remnants of these
> old resources in the log files, and would like to xclean this up.
>
> e.g. I see
>
> Dec 22 12:27:18 node2 pengine: [6262]: info: get_failcount: hvm1 has failed
> 1 times on node2

One way is to run cleanup on the resource crm resource cleanup hvm1 or
crm resource hvm1 cleanup, don't remember exactly. Or you can
use LCMC and right click on them and remove them.

Rasto


-- 
Dipl.-Ing. Rastislav Levrinc
rasto.levr...@gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


Re: [Pacemaker] Feature request: cleanup resource on primitive definition change

2011-12-21 Thread Rasto Levrinc
On Wed, Dec 21, 2011 at 7:38 AM, Vladislav Bogdanov
 wrote:
> 21.12.2011 09:11, Rasto Levrinc wrote:
>> On Wed, Dec 21, 2011 at 5:24 AM, Vladislav Bogdanov
>>  wrote:
>>> 21.12.2011 06:21, Andrew Beekhof wrote:
>>>> On Tue, Dec 13, 2011 at 11:32 PM, Vladislav Bogdanov
>>>>  wrote:
>>>>> Hi Andrew, all,
>>>>>
>>>>> I'm now testing latest changes in git, everything goes much cleaner then
>>>>> a week ago, I'll (hopefully) make report later.
>>>>>
>>>>> One feature came into mind during testing:
>>>>> Imagine resource which was tried to be started on all nodes and failed
>>>>> everywhere.
>>>>> Then administrator changes resource definition to fix start problem.
>>>>> Now, resource is not tried to start until it is cleaned up (or both its
>>>>> failure-timeout passes and cluster state re-checked).
>>>>> Idea is to make automatic resource cleanup after definition change.
>>>>
>>>> Not good if the device wasn't failed.
>>>> Imagine someone changing the 'ip' for an IPaddr resource, the old
>>>> value would never be removed.
>>>
>>> I meant only failed resources.
>>>
>>
>> LCMC GUI does this for you.
>
> If you need GUI, have where to run it continuously and is willing to do
> it ;)

It's java it runs everywhere. :) But it doesn't work the way you think it
does and it doesn't have to run continuously.

What I meant is, that if you make a change in resource with LCMC and
apply/commit it and it was failed it cleans it up automatically. It doesn't
run in the background and does something while you make changes
with crm shell.

Rasto

-- 
Dipl.-Ing. Rastislav Levrinc
rasto.levr...@gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


Re: [Pacemaker] Feature request: cleanup resource on primitive definition change

2011-12-20 Thread Rasto Levrinc
On Wed, Dec 21, 2011 at 5:24 AM, Vladislav Bogdanov
 wrote:
> 21.12.2011 06:21, Andrew Beekhof wrote:
>> On Tue, Dec 13, 2011 at 11:32 PM, Vladislav Bogdanov
>>  wrote:
>>> Hi Andrew, all,
>>>
>>> I'm now testing latest changes in git, everything goes much cleaner then
>>> a week ago, I'll (hopefully) make report later.
>>>
>>> One feature came into mind during testing:
>>> Imagine resource which was tried to be started on all nodes and failed
>>> everywhere.
>>> Then administrator changes resource definition to fix start problem.
>>> Now, resource is not tried to start until it is cleaned up (or both its
>>> failure-timeout passes and cluster state re-checked).
>>> Idea is to make automatic resource cleanup after definition change.
>>
>> Not good if the device wasn't failed.
>> Imagine someone changing the 'ip' for an IPaddr resource, the old
>> value would never be removed.
>
> I meant only failed resources.
>

LCMC GUI does this for you.

Rasto


-- 
Dipl.-Ing. Rastislav Levrinc
rasto.levr...@gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


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

2011-12-17 Thread Rasto Levrinc
On Sat, Dec 17, 2011 at 8:22 PM, Arnold Krille  wrote:
> On Saturday 17 December 2011 12:09:43 Rasto Levrinc wrote:
>> I actually put this "crm configure show" button there for development
>> purposes and wanted to remove it, but since people use it, I just left it
>> there.
>> Now I started to think that it could be made editable with apply button
>> and maybe some other buttons and it would be to crm shell, what gvim
>> is to vim. :)
>
> Will the edit act accordingly upon vi(m)-commands? :-P

No, just the JTextArea editor, unless I reimplement the vi(m) in Java. :)

-- 
Dipl.-Ing. Rastislav Levrinc
rasto.levr...@gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


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

2011-12-17 Thread Rasto Levrinc
On Sat, Dec 17, 2011 at 8:58 PM, Brian Hand  wrote:

>
> I saw there was a crm options pager setting but it looks like if it isn't
> set it defaults to the OS PAGER variable.  In my setup the PAGER variable is
> not set and looks like less or more is still enforced.
>
> If I can configure up the above this would be an excellent stop gap till a
> better solution is found.

You can set the PAGER env variable to "cat", that should do it.

Rasto

-- 
Dipl.-Ing. Rastislav Levrinc
rasto.levr...@gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


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

2011-12-17 Thread Rasto Levrinc
On Sat, Dec 17, 2011 at 5:21 AM, Brian Hand  wrote:
> 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

it's one of the right places.

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

yes, you are right, it's the pager. Will be fixed.

I actually put this "crm configure show" button there for development
purposes and wanted to remove it, but since people use it, I just left it
there.

Now I started to think that it could be made editable with apply button
and maybe some other buttons and it would be to crm shell, what gvim
is to vim. :)

Rasto

-- 
Dipl.-Ing. Rastislav Levrinc
rasto.levr...@gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


Re: [Pacemaker] silencing cibadmin on query

2011-12-06 Thread Rasto Levrinc
On Tue, Dec 6, 2011 at 5:54 PM, Larry Brigman  wrote:
> We have some monitoring scripts that do cib queries several times a minute.
> We looked at changing the syslog logging levels in corosync config file but
> pacemaker
> seems to ignore that setting.
>
> Is there a way to cause cibadmin to not log info level requests or just not
> log the queries?

I am not aware of such setting. But as a pointer, you could register
to cib and get notifications on updates, so you wouldn't have to do
the queries several times a minute.

Rasto

-- 
Dipl.-Ing. Rastislav Levrinc
rasto.levr...@gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


Re: [Pacemaker] List of Primitives

2011-12-06 Thread Rasto Levrinc
On Tue, Dec 6, 2011 at 10:23 PM, Charles DeVoe  wrote:
>
> I am trying to find out what a primitive is and if there is a list of the 
> primitives.  Can some point me to the documentation on this?  Thanks.

If you mean, what a specific primitive is
then: crm ra meta 

or check out the GUI.

Rasto

--
Dipl.-Ing. Rastislav Levrinc
rasto.levr...@gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


[Pacemaker] LCMC user guide

2011-11-28 Thread Rasto Levrinc
Hi,

Here is a new LCMC user guide, well sort of:

http://lcmc.sourceforge.net/lcmc-user-guide.html

The LCMC is a great piece of software, only thing missing was a user
guide. So I started to write one, but got bored after like two sentences
every time and I couldn't simply do it. But good news is that I've created
the so-called annotated-screenshot book instead. It turned out that this
form is actually better than the intended user guide, it's much easier
to understand, remember and learn from it.

This guide is work in progress, the Pacemaker part is mostly done, the
DRBD and KVM parts are still missing, but I am (slowly) working on it.

Rasto

-- 
Dipl.-Ing. Rastislav Levrinc
rasto.levr...@gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


Re: [Pacemaker] Unable to start pacemaker due to WARN: do_cib_control: Couldn't complete CIB registration

2011-11-22 Thread Rasto Levrinc
On Tue, Nov 22, 2011 at 1:27 PM, Rv Rv  wrote:
> I have corosync-1.4.2-1.fc14.x86_64, cluster-glue-1.0.6-1.fc14.x86_64
> , pacemaker-1.1.6-1.fc14.x86_64
> and heartbeat 3.0.0. installed on my Fedora machines.
>
> I am unable to run commands like
> crm resource show
> "Error signing on to the CIB service: connection failed"
> In /var/log/messages :
>  WARN: do_cib_control: Couldn't complete CIB registration 16 times... pause
> and retry
> Nov 22 15:15:43 waf1 crmd: [7765]: info: crm_timer_popped: Wait Timer
> (I_NULL) just popped (2000ms)
>
> Heartbeat standalone works fine. Corosync starts up fine. Pacemaker fails.
>
> Can someone please help resolve this issue?

Pacemaker is not compiled for Heartbeat in Fedora 16. You can use
Corosync, you can rebuild the Pacemaker, you can choose other distro
or I think you can get packages from some of the HA-companies.
That's about all the options you have.

Rasto

-- 
Dipl.-Ing. Rastislav Levrinc
rasto.levr...@gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


[Pacemaker] Announce: LCMC 1.1.0 / Pacemaker, DRBD, KVM GU

2011-11-20 Thread Rasto Levrinc
Hi,

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

In this release there's a new feature after some time. According to my
thorough calculations this small feature will immediately double the
number of users, so it was well worth it. It is now possible to connect
to the already running cluster, without having to go through the wizards
using only command line options. As you will see later it allows applets
to be configured on the server or cloud if you wish, instead of locally
on every computer. But first the options:

lcmc -h 192.168.122.2 192.168.122.3

would quickly connect you to the cluster with the specified hosts.

lcmc --cluster alice-bob --host alice --host bob

would define a cluster with name alice-bob and hosts alice and bob. Now
careful, alice and bob would have to be resolvable. You may want to use
ips:

lcmc --cluster alice-bob --host 192.168.122.2 --host 192.168.122.3

You can also just say

lcmc --host 192.168.122.2 --host 192.168.122.3

or in the most minimalistic form:

lcmc -h 192.168.122.2 192.168.122.3

and cluster name would be "default", with one cluster it doesn't matter.

Of course you can have as many hosts and clusters as you wish.

lcmc --cluster .. --host .. --host .. --host .. --cluster .. --host ...

Or just one one node "cluster" for using KVM GUI without a cluster.

lcmc --host localhost

If you are sudo fan, you can use the sudo option:
lcmc --cluster alice-bob --host 192.168.122.2 --sudo \
 --host 192.168.122.3 --sudo

which is equivalent to:
lcmc -c alice-bob -h 192.168.122.2 192.168.122.3 --sudo

the user would be your system user, unless overridden with --user option
for example ... --sudo --user rasto  ...

There's also --port option for ssh on irregular port, I think that's
about it.

And now the best part, all this options can be passed as applet
parameters, so you can define it in HTML file, and all applet users will
have this configuration, without having to go through the wizard, or
copying the config file.

Example snippet:



  



Other than that there's new shiny Windows installer to bring Linux
clustering to your Windows workstation, all you have to do is mount the
image with daemon tools copy the content of the crack directory and
reboot, oh wait no, you just run the setup program and follow the
instructions. :) If you ask yourself if it works with Wine, yes it does.

The most important changes:
* disable Heartbeat installation on Opensuse 12 and Fedora 16 onward
* use icons of different sizes
* add "create exe" ant task
* don't add corosync/hb to rc.d after installation automatically
* fix colors of buttons in dialogs
* fix cleanup of resources with failcount < INFINITY
* add --cluster (and company) options to define clusters

What is LCMC?

LCMC is a GUI application that configures, manages and visualizes Linux
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.levr...@gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


[Pacemaker] Announce: LCMC 1.0.4 / Pacemaker, DRBD, KVM GUI

2011-11-07 Thread Rasto Levrinc
Hi,

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

LCMC is getting more popular than ever, judging by the amount of the
feedback and bug reports I got from you. On the other hand I wish that
DRBD MC programmer wasn't that sloppy. :) Thank you all for your
participation. Focus of this release was therefore on bug fixing.

http://sourceforge.net/projects/lcmc/files/

The most important changes:
* fix showing of misconfigured constraints
* fix DRBD usage-count option flipping to "yes"
* workaround for disable-ip-verification in DRBD 8.4
* fix leak after removing a cloned group
* save clone ids after apply button is pressed
* cleanup the resource agent code
* it is now possible to use full path in resource definition
* hide the red dot if there's no upgrade available
* don't hang if there's an illegal config
* fix DRBD GUI for 3+ node clusters
* fix adding of new xen domains
* add type machine option to VM
* change welcome banner and add new logo
* fix showing of parsed /proc/drbd with sudo
* make it work with other shells like like tcsh

What is LCMC?

LCMC is a GUI application that configures, manages and visualizes Linux
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:
http://sourceforge.net/apps/gallery/lcmc/

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

Bug reports:
I haven't settled for that yet. You can use any mailing list, where this
announcement is posted. There is also a bug tracker in github and
sourceforge.

Rasto Levrinc

--
Dipl.-Ing. Rastislav Levrinc
rasto.levr...@gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


Re: [Pacemaker] Newcomer's question - API?

2011-11-02 Thread Rasto Levrinc
On Tue, Nov 1, 2011 at 12:29 PM, Tim Ward  wrote:
> I have found documentation on how to drive Pacemaker from the command
> line, but nothing about how to drive it from code, specifically Java.
>
> Clearly there must be some such mechanism, as I see mention of GUI
> managers which do just that.

As others have mentioned it uses cibadmin, crm_resource, etc. commands via
ssh.

Other than that there is an option to connect to cib remotely. It wasn't
an option for me, because it would require a change in user
configuration. I guess
since nobody is using it and if it is still there, it would require
some fixing. :)

For completeness sake there's also mgmtd that comes the closest to what you
need, but that's on it's way out.

Rasto

-- 
Dipl.-Ing. Rastislav Levrinc
rasto.levr...@gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


Re: [Pacemaker] CentOS RPM build for pacemaker-pygui/mgmt

2011-10-27 Thread Rasto Levrinc
On Thu, Oct 27, 2011 at 12:04 AM, Brent Harsh  wrote:
> Hi Mike,
>
> On 10/26/2011 5:39 PM, Mike Toler wrote:
>
> I am examining the requirements for upgrading our old heartbeat
> configuration to the newest pacemaker/heartbeat/corosync versions, and all
> seems well except that I cannot find the RPM for the pygui/mgmt module.
>
> There is a note from February of last year about building the RPM for that
> being “on the list”, but I can’t find it anywhere.  On PBone, they have the
> 1.99 version, but it doesn’t work with the CentOS RPMs I downloaded from
> ClusterLabs.
>
> I'm in a similar "upgrade" boat, Mike.  I'm curious to get a data point from
> another user as to which versions of Pacemaker/Corosync you chose to go
> with.  Our base is still CentOS 5, and I actually couldn't find
> current-patched versions of the more recent Pacemaker 1.1 or 1.2/Corosync
> (1.3/1.4) for the RHEL-class on ClusterLabs so reverted to using the 1.0
> versions.  Since my old Heartbeat 2.? config was so simple I did just enough
> to get a floating IP and an apache resource up for now.  It's been fun to
> see the advances (even though my version I'm experimenting with is so old!)
>
> Which versions did you choose, and why?
>
> Someday I'll hope to get some time to play in a lab with the latest, maybe
> on a newer CentOS or Fedora.
>
> Good luck in your GUI RPM quest; I'll let you know if I come across
> anything.  Thus far, I haven't used any of the GUIs at all.
>

There is LCMC rpm, though.

http://sourceforge.net/projects/lcmc/files/

LCMC contains a Pacemaker GUI in Java.

Rasto

-- 
Dipl.-Ing. Rastislav Levrinc
rasto.levr...@gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


[Pacemaker] Announce: LCMC 1.0.2 / Pacemaker, DRBD, KVM GUI

2011-10-23 Thread 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.

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.levr...@gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


[Pacemaker] Announce: LCMC 1.0.1 / Pacemaker Cluster GUI

2011-10-09 Thread Rasto Levrinc
Hi,

After, (not to say something wrong here) the "minor setback", here is a new
release LCMC (Linux Cluster Management Console) 1.0.1.

In this release there's a new Japanese translation from Takashi Takizawa.
There are also some Xen fixes and issues with tabs were fixed. Thank you all
for you input.

What is LCMC?

LCMC is a Java GUI application that configures, manages and visualizes Linux
clusters. 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?

Please check out the web site:
http://lcmc.sf.net

Screenshot:
http://sourceforge.net/dbimage.php?id=316273

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

Rasto Levrinc

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


Re: [Pacemaker] Announce: LCMC (Linux Cluster Management Console)

2011-10-03 Thread Rasto Levrinc
On Mon, Oct 3, 2011 at 10:07 AM, Kulovits Christian - OS ITSC
 wrote:
> Hi Rasto
>
> Both DRBD Console 9.9 and LCMC 1.0 have the same problem, there is only a tab 
> for the last connected Cluster. The others connected Clusters can only be 
> selected for disconnect from the main menu.

Hi Christian,

fixed that in the git repository. Thanks for the bug report.

Rasto

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


Re: [Pacemaker] Announce: LCMC (Linux Cluster Management Console)

2011-10-02 Thread Rasto Levrinc
On Mon, Oct 3, 2011 at 4:06 AM, Dennis Jacobfeuerborn
 wrote:
> On 10/02/2011 11:04 PM, Rasto Levrinc wrote:
>>
>> Good news everyone!
>>
>> I am happy to announce LCMC, Linux Cluster Management Console. LCMC is a
>> Java GUI application that configures, manages and visualizes Linux
>> clusters in a
>> way that is not possible to be web-based. Specifically it manages clusters
>> that use one or more of these components: Pacemaker, Corosync, Heartbeat,
>> DRBD, KVM, XEN and LVM.
>
> What does LCMC do that is not possible to be web based? That sounds like an
> exaggeration.

Sorry, marketing amateur here. :)

>
>> If that sounds familiar, you are right, LCMC is a fork of DRBD MC, that
>> unexpectedly passed away. Yes, I was surprised as you are, but after
>> couple of
>> minutes of mourning the untimely death as the developer of the DRBD MC, I
>> decided to continue with it. I think I am not the only one to mourn it,
>> other
>> Pacemaker GUIs have a long long way to go and also this one is awesome.
>
> Since you describe it as a fork does that mean that LCMC is a project
> competing with DRBD MC or is it actually replacing DRBD MC?

Well, it is a fork, but since DRBD MC will not be developed by me or
anybody else
(as far as I can tell) it is also replacing it. I am not sure what the
correct term is.

> You should add a "LICENSE" file to the github repo to make it clear that
> this is a GPL project (the README contains a copyright notice but doesn't
> mention any licensing terms).

Ok, now there's the licence file.

Rasto

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


[Pacemaker] Announce: LCMC (Linux Cluster Management Console)

2011-10-02 Thread Rasto Levrinc
Good news everyone!

I am happy to announce LCMC, Linux Cluster Management Console. LCMC is a
Java GUI application that configures, manages and visualizes Linux clusters in a
way that is not possible to be web-based. Specifically it manages clusters
that use one or more of these components: Pacemaker, Corosync, Heartbeat,
DRBD, KVM, XEN and LVM.

If that sounds familiar, you are right, LCMC is a fork of DRBD MC, that
unexpectedly passed away. Yes, I was surprised as you are, but after couple of
minutes of mourning the untimely death as the developer of the DRBD MC, I
decided to continue with it. I think I am not the only one to mourn it, other
Pacemaker GUIs have a long long way to go and also this one is awesome.

>From the user point of view, LCMC is just a long needed name and design
change, reflecting that the scope of the GUI is bigger than the DRBD, but
DRBD as a small clever software that replicates disks, is still the central
part of the GUI.

Unfortunately as of now I am also not paid, not even badly to work on it,
so don't expect me to add many new features for some time, but I am
still maintaining it, waiting for support or suggestions to keep it running,
the LCMC being in the low gear with my foot on the throttle, waiting to push
it if needed.

Please check out the web site:
http://lcmc.sf.net

Screenshot:
http://sourceforge.net/dbimage.php?id=316273

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

Rasto Levrinc

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


[Pacemaker] DMC 0.9.9 - Pacemaker/Storage GUI

2011-09-28 Thread Rasto Levrinc
Hi,

This is the next DMC release 0.9.9. DMC is Pacemaker, Cluster Virtual Manager
and Storage/DRBD/LVM GUI.

Focus of this release was on bug fixes and some visual issues. You will now
find a skip-initial-full-sync checkbox in the DRBD wizard, that, well, skips
the initial full sync.

You can get DRBD:MC here:

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

the latest source is here:

https://github.com/rasto/drbd-mc


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

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

The most important changes:
* don't crash if there's explicit order or col in a group
* drbd graph icon improvements
* say "enslaving..." instead of "stopping...",
  when target role is set to slave
* make drbd.d style config only since DRBD 8.3.7
* more info in "/proc/drbd" button in drbd view
* change action-menu appearance
* implement skip initial sync option in DRBD wizard
* rename menu items to show what technology is behind them
* more consistent colors
* make the menu translucent in on-mouse-over tests instead of transparent
* fix applying of colocation and order attributes
* new location for new version check
* improve progress indicator
* fix adding new dependent clone not creating the constraints
* move operating mode panel to the right
* make left click in the graph show pulldown menu
* Rearrange "all clusters" tab
* fix some VMs not showing, if defined only on one host
* add "none" as file system type option for Filesystem RA
* workaround for Windows closing service popups

Rasto Levrinc

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


[Pacemaker] DMC 0.9.7 - Pacemaker/Storage GUI

2011-08-04 Thread Rasto Levrinc
Hi,

This is the next DMC release 0.9.7. DMC is Pacemaker, Cluster Virtual Manager
and Storage/DRBD GUI written in Java.

The LVM plugins are now normal part of the GUI in the "Storage" view, where
you can create, delete physical volumes, volume groups, logical volumes,
resize them and create snapshots in the (whole) cluster. Goodbye command
line...

Some issues with KDE/Compiz were fixed or at least they were made much less
likely to appear. Most notably blank windows. Personally I haven't use KDE
since the 4.0 came out and just assumed that everything worked at least as
anything else on the KDE, but it didn't.

Some issues with applets were fixed as well, so go ahead and use your browser
for everything. :)

Screenshot:

http://oss.linbit.com/drbd-mc/img/drbd-mc-0.9.7.png


You can get DRBD:MC here:
http://oss.linbit.com/drbd-mc/


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

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

The most important changes:
* fix fonts in dialogs
* convert plugin code to normal dialogs
* add --debug  option
* add VG remove dialog
* add VG create to the dialogs
* add PV remove dialog
* show in the graph whether the block device is physical volume
* add PV create dialog
* add --out option to redirect the stdout
* fix distro detection so that it detects centos6
* fix unexpected jumping from Service view to VM view
* make default button work in dialogs again
* allow setting both bds to primary if allow-two-primaries is set
* don't allow to enter the same ids for the same resources
* don't create new dependent resource with existing id
* use checkboxes for colocation and order only constraints
* fix "gray window" problem with popups
* "type to search" feature for popups
* fix problem with not editable fields in an applet
* workarounds for gray windows
* fix null pointer exception, while removing a DRBD volume
* fix problem with menu nodes, while adding a clone

Rasto Levrinc

--

DI Rastislav Levrinc
Senior Software Engineer

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


Re: [Pacemaker] DRBD MC 0.9.4 / Pacemaker GUI

2011-07-12 Thread Rasto Levrinc
On Tue, Jul 12, 2011 at 08:30:21AM +0200, Rasto Levrinc wrote:
> Hi,
> 
> This is the next DRBD:MC release 0.9.4. DRBD:MC is DRBD, Pacemaker and
> Cluster Virtual Manager GUI.

Well, one problem with that release long time ago was that
setting allow-two-primaries in DRBD config stopped working. It is valid option
in some cases.

There's new release 0.9.5 with that fixed:
http://oss.linbit.com/drbd-mc/

Rasto Levrinc

> 
> You can get DRBD:MC here:
> http://oss.linbit.com/drbd-mc/
> 
> Screenshot:
> 
> http://oss.linbit.com/drbd-mc/img/drbd-mc-0.9.4.png
> 
> 1. You don't need Java on the cluster servers only on your desktop. 
> 2. Download the DMC-0.9.4.jar file.
> 3. Start it: java -jar DMC-0.9.4.jar, or click on the file.
> 4. It connects to the cluster via SSH.
> 5. If you use it without DRBD, you have to click "Skip" button on couple of
>places.
> 6. It is recommended to use it with SUN Java.
> 
> DRBD:MC is compatible with Heartbeat 2.1.3 to the Pacemaker 1.1.5 with
> Corosync or Heartbeat and DRBD 8.
> 
> -- 
> : Dipl-Ing Rastislav Levrinc
> : DRBD MC http://oss.linbit.com/drbd-mc/
> : DRBD/HA support and consulting http://www.linbit.com/
> DRBD(R) and LINBIT(R) are registered trademarks of LINBIT, Austria.

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


[Pacemaker] DRBD MC 0.9.4 / Pacemaker GUI

2011-07-11 Thread Rasto Levrinc
Hi,

This is the next DRBD:MC release 0.9.4. DRBD:MC is DRBD, Pacemaker and
Cluster Virtual Manager GUI.

The commands in DRBD 8.4 (the replication software) have changed a lot, but
you don't have to worry about it if you use DRBD:MC, except some fields got
shuffled around and there's something called volumes in between.

I've noticed that OpenJDK 6 is getting better for some time. Not only the
Java application starts with it now, after minimum of changes it was running,
without blowing up the computer.

Although things fix by themselves occasionally, it turned out that making a
workaround for one Java version on one platform breaks something on other
platform, causing a combinatorial explosion of breakages, workarounds a fixes.
In short I've been for couple of days I've been in a place, we call the Java
hell.

Now it works perfectly with OpenJDK 6, but It is still recommended to run
it with SUN Java, since OpenJDK is a bit slow in comparison.

You can get DRBD:MC here:
http://oss.linbit.com/drbd-mc/

Screenshot:

http://oss.linbit.com/drbd-mc/img/drbd-mc-0.9.4.png

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

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

The most important changes:
*  use get-gi instead of attach to find out if there are meta-data
*  improve testing framework
*  fix gnome wnck applet craziness problem on some platforms
*  --nolrm option to disable showing of resources that are only in LRM
*  make texts in the graph clearer
*  fix remove all and stop all functions
*  fix issues with dialogs on some platforms
*  fix resource sets
*  keep options when switching between primitive and clone
*  reload resync-after combo boxes when there are changes
*  Opensuse installation for 11-4
*  fix saving of cloned grouped resource
*  fix lockup in OpenJDK 6
*  fix Scientific Linux 5 detection
*  right KVM emulator defaults for every distro
*  change "Go Out of Standby" to "Go Online" in menu
*  cleanup resources only if they need to be
*  fix saving of VM config
*  improved CIB communication from the helper programm
*  fix "IPC Channel to ... is not connected" warning
*  fix removing of constraints
*  fix canceling of new DRBD resource
*  don't reenable apply button for short after applying
*  8.4.0 volume support
*  add "adjust all" option to the DRBD host menus
*  fix ptest with sudo

Rasto Levrinc

-- 
: Dipl-Ing Rastislav Levrinc
: DRBD MC http://oss.linbit.com/drbd-mc/
: DRBD/HA support and consulting http://www.linbit.com/
DRBD(R) and LINBIT(R) are registered trademarks of LINBIT, Austria.

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


[Pacemaker] DRBD MC 0.9.2 / Pacemaker GUI

2011-04-29 Thread Rasto Levrinc
Hi,

This is the next DRBD MC release 0.9.2. DRBD MC is DRBD, Pacemaker and
cluster virtual manager GUI.

In this release the parts of the GUI that enable to setup a live VM
migration were enhanced and fixed. The virtual manager works now in a
cluster as promised.

Another nice feature, that someone can combine with the previous, is the
possibility to create LVs, resize them, snapshot them etc.

Just think about it...
LVM -> DRBD -> HB/Corosync+Pacemaker -> VMs -> live migration, it comes
all together. Now, there's an idea for the next video. :)

You can get DRBD MC here:
http://oss.linbit.com/drbd-mc/
http://oss.linbit.com/drbd-mc/DMC-0.9.2.jar
http://oss.linbit.com/drbd-mc/drbd-mc-0.9.2.tar.gz

1. You don't need Java on the cluster servers only on your desktop.
2. Download the DMC-0.9.2.jar file.
3. Make sure you use SUN Java not the OpenJDK 1.6.
4. Start it: java -jar DMC-0.9.2.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.5 with
Corosync or Heartbeat and DRBD 8.

The most important changes:
* divert existing drbd.ko for squeeze Linbit packages
* show host menu tooltips in DRBD view
* enable load DRBD menu, if it is not loaded
* change default application size
* Java style cleanup
* LV Resize plugin
* LV Create plugin
* LV Snapshot plugin
* fix remove button not working in new VM hardware
* fix apply button being disabled sometimes by mistake
* fix removing of a group, that has resources with constraints
* don't edit global drbd config if there are no resources
* fix some menu items showing twice
* make applying of changes smoother
* add operation timeouts dynamically
* add scientific linux version detection
* add README file
* add scripts/ directory
* fix saving of modified info in a cluster with VMs
* change directory structure
* fix changing of parameters in VM GUI in a cluster
* add junit framework
* fix modifying of VM options
* fix plugin subdirectories
* add --id-dsa, --id-rsa and --known-hosts options
* make block device editable
* fix min max checking in DRBD config
* fix updating of DRBD view
* store the same UUID on both nodes
* use machine="pc" instead of "pc-0.12" for now
* fix saving of new VMs not working on all hosts
* add allow-migrate option
* fix ptest not showing group services
* fix opensuse installation
* enable fine-grained sudo, don't make everything in bash -c
* change "fenced" to "fencing..."
* add annotations
* better VM input error handling
* show if a node was fenced
* remove superfluous warnings with libvirt 0.8.*
* better stacktrace for failed commands
* show pending status
* don't exit on errors when parsing
* why-a-field-is-disabled interface
* on_poweroff option
* Add CPU match fields in VM GUI

Rasto Levrinc

-- 
: Dipl-Ing Rastislav Levrinc
: DRBD MC http://oss.linbit.com/drbd-mc/
: DRBD/HA support and consulting http://www.linbit.com/
DRBD(R) and LINBIT(R) are registered trademarks of LINBIT, Austria.



___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


[Pacemaker] DRBD MC 0.9.0 / Pacemaker GUI

2011-02-22 Thread Rasto Levrinc
Hi,

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

There are couple of new features in this release: The Heartbeat config
form has now all the important options, virtual manager works with Xen,
Pacemaker init script is used, if mcp is used, zooming and scrolling is
improved, DRBD MC generates now drbd.d/ style config, DRBD common section
is generated now as well, Debian Squeeze is supported, Pacemaker 1.1.5 is
supported and the whole application has been translated to Japanese, phew!

You may be surprised to hear it, but I actually didn't translate it to
Japanese all alone, but Takashi Takizawa helped me a little. Well,
actually he did the whole thing, what I assume to be a Japanese
translation. ^_^

You can get DRBD MC here:
http://oss.linbit.com/drbd-mc/
http://oss.linbit.com/drbd-mc/DMC-0.9.0.jar
http://oss.linbit.com/drbd-mc/drbd-mc-0.9.0.tar.gz

1. You don't need Java on the cluster servers only on your desktop.
2. Download the DMC-0.9.0.jar file.
3. Make sure you use SUN Java not the OpenJDK 1.6.
4. Start it: java -jar DMC-0.9.0.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.5 with
Corosync or Heartbeat and DRBD 8.

The most important changes:
*  fix performance problem with new services
*  change Corosync/Pacemaker repo for sles11sp1
*  show less errors in the output
*  disable menu blinking
*  fix status in a clone, if clone's target-role is set
*  fix skip button in installation disk dialog
*  make it work with debian squeeze
*  allow canceling of the ssh connection
*  improve scrolling and zooming behavior of graphs
*  add common section to the DRBD view
*  add --big-drbd-conf option to use old style configs
*  make drbd.d style DRBD config
*  make overwriting of config files atomic
*  assume root user, if none is specified in more hops
*  make it work with Pacemaker 1.1.5
*  don't choke on unknown DRBD options
*  Japanese translation
*  vm gui for Xen
*  use Pacemaker init script if appropriate
*  improve parsing of corosync.conf
*  add more Heartbeat options in hb config dialog
*  refresh right panel, when hosts are going online
*  add all important ha.cf configuration options

Rasto Levrinc

-- 
: Dipl-Ing Rastislav Levrinc
: DRBD MC http://oss.linbit.com/drbd-mc/
: DRBD MC http://www.drbd.org/mc/management-console/



___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


[Pacemaker] Video: DRBD MC with a Production Cluster

2011-02-01 Thread Rasto Levrinc
Hi,

if the first DRBD MC didn't convince you that it is a useful Pacemaker /
DRBD GUI, here is the next video:

http://www.youtube.com/watch?v=yjcZqs2YChY

This time it deals with a more complex production cluster, so if you have
something like that or want to have, it may be interesting for you.

Thanks,
Rasto Levrinc

-- 
: Dipl-Ing Rastislav Levrinc
: DRBD MC http://oss.linbit.com/drbd-mc/


___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


[Pacemaker] DRBD MC 0.8.12 / Pacemaker GUI

2011-01-24 Thread Rasto Levrinc
Hi,

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

This is a minor release that focuses on fixing bugs and doing what is
expected, but don't worry, it's not self-aware yet.

To keep people from command line longer, there's now start/stop Heartbeat
option in host popup menus, or start/stop Corosync if this is what you have. 

To do what is right, migrating away a DRBD master/slave resource now works
so that DRBD is not stopped but stays slave.

To make more and more options available, the group attributes "collocated"
and "ordered" were added. On the other hand these options are an abomination 
according to Beekhof, and shouldn't be used, so they are hidden in the
abomination section, I mean advanced section.

You can get DRBD MC here:

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

1. You don't need Java on the cluster servers only on your desktop. 
2. Download the DMC-0.8.12.jar file.
3. Make sure you use SUN Java not the OpenJDK 1.6.
4. Start it: java -jar DMC-0.8.12.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.4 with
Corosync or Heartbeat and DRBD 8.

The most important changes:
0.8.12
* add "ordered" and "collocated" group meta attributes
* migrate only role=Master in master slave resources
* start heartbeat/corosync menu items
* fix status view in the graph
* fix updating of action menu
* allow using openais init script if available
0.8.10
* fix lvm resizing
* improve startup
* disable VM menu items that are used by CRM
* install make before compiling DRBD on rhel6
* don't use reload to start the heartbeat
* fix back buttons in cluster wizard
* don't migrate group services if migrating everything
* add rhel6 support file
* fix offline, online node status
* fix sudo, allow "require tty" again
* make the DRBD options work on gentoo
* enable known hosts file for all osses except of windows
* fix migrate all resources
* fix stonith info

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.

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


Re: [Pacemaker] Unordered groups (was Re: [Linux-HA] Is 'resource_set' still experimental?)

2011-01-18 Thread Rasto Levrinc

On Tue, January 18, 2011 1:42 pm, Florian Haas wrote:
> On 01/18/2011 11:49 AM, RaSca wrote:
>
>> As discussed yesterday on IRC with Andrew, there is no way of creating
>> a group with indipendent resources. I was hoping that setting the options
>> you mentioned can do the trick, but I've just tested:
>>
>> If you declare a group like this:
>>
>>
>> group groupA resA resB resC meta ordered=false colocated=false

that should be collocated=false. I am pretty sure that works.

Rasto

>>
>> and then you do a:
>>
>> crm resource stop resB, then resC is also stopped.
>
> To the best of my knowledge this shouldn't happen and I'd be inclined to
> call this a bug. But I'm not certain. Andrew, can you shed some light on
> that?
>
> Cheers,
> Florian
>
>
> ___
> Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs:
> http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>
>


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



___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


Re: [Pacemaker] DRBD MC 0.8.8 / Pacemaker GUI

2011-01-07 Thread Rasto Levrinc

On Fri, January 7, 2011 5:23 pm, Dennis Jacobfeuerborn wrote:
>
>> 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?

Well it will work with openjdk 7, without any changes.

It would be possible to identify and fix the incompatibilities, but I've
also noticed, that the performance is much worse in openjdk 6, than in SUN
Java. I am not convinced that it is worth the effort at this moment and
the SUN Java "workaround" is much better.

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

I don't think, you need to remove the openjdk, you can have both installed.

I know the current situation is very unpleasant and annoying as all the
distros started to ship openjdk 1.6 as default, but because of the low
performance of the openjdk 1.6, I'll wait for 1.7.

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.


___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


[Pacemaker] DRBD MC 0.8.8 / Pacemaker GUI

2011-01-07 Thread Rasto Levrinc
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.

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


[Pacemaker] DRBD MC 0.8.6 / Pacemaker GUI

2010-12-17 Thread Rasto Levrinc
Hi,

This is the next DRBD MC release 0.8.6. DRBD MC is DRBD, Pacemaker and
Virtual Manager GUI. There can be only one. :)

In 0.8.4 were many improvements, but because of a bug in version detection
it stopped working on old Heartbeats <= 2.1.4. It simply used Pacemaker
features for this ancient Heartbeat versions, I don't even want to think
what it was doing to them.

You can get DRBD MC here:

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


1. You don't need Java on the cluster servers only on your desktop.
2. Download the DMC-0.8.6.jar file.
3. Make sure you use SUN Java not the OpenJDK 1.6.
4. Start it: java -jar DMC-0.8.6.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 (from now on) to the Pacemaker
1.1.3 with Corosync or Heartbeat and DRBD 8.

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.



___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


[Pacemaker] DMC: Pacemaker cluster in 10 minutes

2010-11-17 Thread Rasto Levrinc
Hi,

this is my first screencast about DMC and my first screencast in general
and it's purpose is give you quick glance what is DMC about.

It is about installing, configuring, administrating and operating a
Pacemaker + Heartbeat + DRBD cluster and experiencing an unexpected
failover in about 10 minutes, if you don't count coffee pauses. Don't
worry I've edited most of the waiting, boiling, slurping, flushing etc.
parts out.

This is going to steal about 9 minutes of your life and nobody is going to
give it to you back. The coolest part is from the 8th minute till the end.

http://oss.linbit.com/drbd-mc/screencast/drbd-cluster-in-10-minutes.avi

You can get DMC here:
http://oss.linbit.com/drbd-mc/

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.



___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


[Pacemaker] DRBD MC 0.8.4 / Pacemaker GUI

2010-11-16 Thread Rasto Levrinc
Hi,

This is the next DRBD MC release 0.8.4. DRBD MC is a Java application that 
helps to configure DRBD, Pacemaker, VMs or any combination of them. It uses 
SSH to connect to the cluster from a desktop computer.

Focus of this release was on performance, profiling, fixing leaks and stuff 
like that. Thanks to this DRBD MC went straight from being bloated and 
sloppy application to lightweight and lean, making the source code a 
textbook of concentrated good-coding practices.

It turned out, that after couple of changes it is now possible to run DRBD 
MC as an applet without any performance or functionality loss. See here:

http://oss.linbit.com/drbd-mc/img/drbd-mc-0.8.4.png

It just sits in the browser and makes all this everything-must-be-web people
happy. For now if you want to enable the applet functionality, you'd have to
compile and sign it yourself.

You can get DRBD MC here:

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

1. Download the DMC-0.8.4.jar file.
2. Make sure you use SUN Java not the OpenJDK 1.6.
3. Start it: java -jar DMC-0.8.4.jar
4. It connects to the cluster via SSH.

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

Here are the most important changes:
* add clone-node-max meta attribute
* fix defaults in IPaddr/IPaddr2 RAs
* remove useless node name and DNS check in host dialog wizard
* add --no-upgrade-check option
* fix applying of clones
* fix leaks with groups and clones
* graph fixes
* fix graph resizing
* fix leak with DRBD resources
* make it possible to run as an applet
* upgrade Jung library to 2.0.1

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.

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


Re: [Pacemaker] How to delete orphan resource

2010-10-27 Thread Rasto Levrinc
On Thu, October 28, 2010 4:21 am, jiaju liu wrote:
>
> Thanks for your reply, I have used cleanup order, They still there. When
> I use crm resource show datavol_mpath0 it shows not exist. however when I
> use crm_mon it shows ORPHANED Started oss2. If restart corosync servcie
> the service could not stop. fortunately, this is doesn't happen very

Well, you would have to stop corosync on all nodes and then start it.

As I told you before, there are problems with some packages that cause
this, if you don't provide this info, no one can help you.

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.



___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


Re: [Pacemaker] detect/cleanup failed resource

2010-10-21 Thread Rasto Levrinc

On Thu, October 21, 2010 12:42 pm, Bernd Schubert wrote:
> Hi all,
>
>
> is there a better way to detect a failed resource than to run "crm_mon -1
> -r"?

Well, you could list all resources with crm_resource -l, then get
failcount with crm_failcount -r $rsc and grep for value=INFINITY

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.



___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


Re: [Pacemaker] the way to delete resource completely

2010-10-21 Thread Rasto Levrinc

On Thu, October 21, 2010 7:51 am, jiaju liu wrote:
>

> Hi everyone
> I use command crm resource stop Rsc to stop a resource and use crm
> resource cleanup at last use crm configure delete Rsc to delete resource.
>  However I still found the resource's imformation in XML file.
>  
> my question is how to remove one resource imformation completely from
> cluster. Thanks a lot

I suspect it is problem with some packages. Is it Pacemaker 1.0.9 on
Centos from clusterlabs repositories?

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.



___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


[Pacemaker] DRBD MC 0.8.2 / Pacemaker GUI

2010-10-19 Thread Rasto Levrinc
Hi,

This is the next DRBD MC beta release 0.8.2. DRBD MC is a Java application
that helps to configure DRBD, Pacemaker, VMs or any combination of them.
It uses SSH to connect to the cluster from a desktop computer.

In this minor release couple of minor enhancements were implemented and
minor issues were fixed.

Now it is possible to specify location according the pingd results. At the
moment, the "on host with most connections" and "stop on host with no
connection" can be chosen. Let me now if there are some other uses for
that.

The gathering information from servers has been optimized, fixed and
tuned, so that it needs much less CPU on the servers then before.

Screenshots:

http://oss.linbit.com/drbd-mc/img/drbd-mc-0.8.2.png
http://oss.linbit.com/drbd-mc/img/drbd-mc-0.8.2-drbd.png

You can get DRBD MC here:

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

You can download it and start it with "java -jar DMC-0.8.2.jar" command or
you can use Java Webstart. First of all, please don't run it on one node
with X forwarding, but on the desktop.

It works with SUN Java 6 and OpenJDK 7. It does not work good with OpenJDK
1.6 and this is probably what you have if you have OpenJDK installed as
Java. With this so-called fully compatible Java version it runs slow,
experiences random errors or may even hang.

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

Here are the most important changes:
* fix DRBD panels updating
* make rrp_mode=active default in corosync.conf
* fix Ubuntu Lucid software installation
* fix Fedora 13 software installation
* using backports repos for Debian software installation
* fix on-mouse-over ptest not working all the time
* hb 2.1.4: fix when using rsc_order without type argument
* improved ssh connection handling
* allow moving group resources up and down in the group
* fix progress indicator
* pingd location constraints
* score 0 for order is shown better
* fix tooltips showing old info
* move order score to the not advanced section
* group services fixes
* make failed resource red again
* make migrate-from the default migrate option
* migrate all and unmigrate all menu items
* add drop down list with hosts for stonith hostlists parameter
* improve colors
* add actions menu to the block devices
* fix retry button in host configuration wizard
* fix standby mode for old heartbeats

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.


___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


[Pacemaker] DRBD MC 0.8.0 / Pacemaker GUI

2010-10-02 Thread Rasto Levrinc
Hi,

This is the next DRBD MC beta release 0.8.0. DRBD MC is a Java application
that helps to configure DRBD, Pacemaker or both. It uses SSH to connect to
the cluster from a desktop computer.

Some people have doubts if Java is the right technology for GUI and ask
why it isn't done in [insert the newest subset-of-Perl language here].
IMHO it's the same if someone would diss COBOL in 1973, I rest my case. :)

If you are a CLI kind of person you probably don't need it, if you like
BNF notations, syntax errors and people screaming at you - man this, man
that, if you are into this stuff, there's nothing wrong with it, you don't
need it. But this is a GUI world and lately people including me don't even
get a decent keyboard at their workplace, there's no way around it, you
are going to need this GUI.

In this release the VM part of the GUI was developed and reached almost
the feature parity with virt-manager. Unlike virt-manager it is
cluster-aware and it can be run from Windows, yet it still can be run from
Linux so don't run away. Screenshot:

http://oss.linbit.com/drbd-mc/img/drbd-mc-0.8.0.png

Seemingly faster popups were implemented as well. Especially they seem
much faster with large groups on slow computers. The trick is, that first
they pop up and then they load in the background and it feels faster, some
people do this as well.

You can get DRBD MC here:

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

You can download it and start it with "java -jar DMC-0.8.0.jar" command or
you can use Java Webstart. First of all, please don't run it on one node
with X forwarding, but on the desktop.

It works with SUN Java 6 and OpenJDK 7. It does not work good with OpenJDK
1.6 and this is probably what you have if you have OpenJDK installed as
Java. With this so-called fully compatible Java version it runs slow,
experiences random errors or may even hang.

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


Here are the most important changes:

* fix DRBD with filesystem in a group
* rename "Cluster" to "Cluster Manager" in menu
* enable DRBD menus in unmanaged resources and advanced mode
* dialog fixes
* new domain wizard implementation
* better popup menus
* fix possible null pointer exception, while removing vertices
* fix possible race with radio groups
* fixing a leak while there is no ssh connection
* using epel 5.4 for redhat/centos distributions
* test-suite for VMs
* test-suite for DRBD
* fix menu tree not updating for orphaned resources
* split tooltips that are too wide
* add "stop all services" menu item
* show in tooltip why a menu item was disabled
* implement all VM devices

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.



___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


Re: [Pacemaker] pygui error to install on Ubuntu 10.04

2010-09-13 Thread Rasto Levrinc

On Mon, September 13, 2010 6:05 pm, Luana C. Rocha wrote:
> Thank you all for the fast replies.
> Dan, I'll take a look at DRDB, thank you.

Sorry to steal the thread for my purposes again. :) By all means have a
look at DRBD, but DRBD MC is DRBD GUI, Pacemaker GUI or both. It means it
can be used as Pacemaker GUI without DRBD.

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.



___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


Re: [Pacemaker] pygui error to install on Ubuntu 10.04

2010-09-13 Thread Rasto Levrinc
On Mon, September 13, 2010 3:39 pm, Michael Schhwartzkopff wrote:

>
> I know. The DMC will be genious if it is finished. But for now I would
> not use it in a production environment.
>

In open source world "finished" means dead. As Florian said, if there is
reason why you wouldn't use it in a production environment we'd be happy
to hear about it.

I've made the pingd-rules higher priority now. :)

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.



___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


Re: [Pacemaker] pygui error to install on Ubuntu 10.04

2010-09-13 Thread Rasto Levrinc

On Mon, September 13, 2010 2:34 pm, Michael Schhwartzkopff wrote:
> On Monday 13 September 2010 14:26:36 Dan Frincu wrote:
>
>>
>> Why don't you use DRBD MC? http://www.drbd.org/mc/management-console/
>>
>
> Because I is far from beeing usable. Or did you try to enter a location
> constraint regarding the pingd?

It is actually usable, except of this kind of rules. :) But it is on the
TODO list.

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.



___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


[Pacemaker] DRBD MC 0.7.9 / Pacemaker GUI

2010-08-12 Thread Rasto Levrinc
Hi,

This is the next DRBD MC beta release 0.7.9. DRBD MC, is a Java application 
that helps to configure DRBD and Pacemaker. You can start DRBD MC on your 
workstation and connect to the cluster via SSH. DRBD MC is compatible with 
Heartbeat 2.1.3 to the Pacemaker 1.1.2 with Corosync or Heartbeat and DRBD 
8.

It works with SUN Java 6 and OpenJDK 7. It does not work good with OpenJDK 
1.6 and this is probably what you have if you have OpenJDK installed as Java 
at the moment. With OpenJDK 1.6, the so-called fully compatible Java 
version, it runs slow, experiences random errors or may even hang. Good news 
is, that this problem will disappear in the future by itself. For now you 
need to install the SUN Java, that comes with your distribution.

In this release couple of stability issues and annoyances were fixed. The 
VMs manager part of the program was further developed, so that now it is 
possible to add new disks and network interfaces to the virtual machines and 
modify them.

Screenshot:

http://oss.linbit.com/drbd-mc/img/drbd-mc-0.7.9.png

You can get DRBD MC here:

http://www.drbd.org/mc/management-console/
http://oss.linbit.com/drbd-mc/DMC-0.7.9.jar
http://oss.linbit.com/drbd-mc/drbd-mc-0.7.9.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.9.jar" command. First of all, 
please don't run it on one node with X forwarding, but on the desktop.

Here are the most important changes:
* editable VMS net interfaces and disks
* order block devices dynamically in the DRBD view
* fix possible deadlock in Swing
* show orphaned resources only in advanced mode
* fix storing of global time values
* make "DC Version" and "Cluster Infrastructure" fields not editable.
* fix for adding new services
* fix removing of items in services menu
* cleanup group resources after they are removed
* fix removing of new group
* show drbddisk RA only if necessary
* fix expanding of the terminal area

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.

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


[Pacemaker] DRBD MC 0.7.7 / Pacemaker GUI

2010-07-24 Thread Rasto Levrinc
Hi,

This is the next DRBD MC beta release 0.7.7. DRBD MC, is a Java application 
that helps to configure DRBD and Pacemaker. You can start DRBD MC on your 
workstation and connect via SSH to the cluster. DRBD MC is compatible with 
Heartbeat 2.1.3 to the Pacemaker 1.1.2 with Corosync or Heartbeat and DRBD 
8.

There are not many new features, this being vacation time and all, but there 
are some fixes, that it may be worth to upgrade and it happens that DRBD MC 
is the easiest to upgrade application ever.

Orphaned resources are now shown, so if all of the sudden many orphan 
resources show up in the GUI, they are nothing to be worry about, they can 
be removed or left alone. For some reason removing may not work with recent 
versions of Pacemaker with Heartbeat, but it works always with Pacemaker on 
Corosync. If you are hit by this, ignore it simply, they will disappear 
after next Heartbeat+Pacemaker restart.

More seriously in the version 1.2.5 corosync -v fills up shared memory. This 
was fixed before and after this version. Unfortunately DRBD MC checks if 
version of Corosync changed every minute (it is unlikely but possible) and 
Corosync 1.2.5 is the version that Andrew Beekhof likes to build and thus it 
is very popular. DRBD MC has now a workaround for this Corosync version.

You can get DRBD MC here:

http://www.drbd.org/mc/management-console/
http://oss.linbit.com/drbd-mc/DMC-0.7.7.jar
http://oss.linbit.com/drbd-mc/drbd-mc-0.7.7.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.7.jar" command. Make sure you use
the Java from SUN. The openjdk seems to work fine for some time now, but it
seems to run DRBD MC much slower than the original Java.
But first of all, please don't run it on one node with X forwarding, but on 
the desktop.

Here are the most important changes:

* workaround for Corosync 1.2.5 leaking shm with -v option
* fix standby command so that it works with sudo
* move "remove all services" to the advanced mode
* disable menus in DRBD view, for resources that are managed by CRM
* add support file for Fedora 13 and Opensuse 11.3
* show orphaned resources
* when new DRBD device was created, reload filesystem comboboxes
* save node colors in the graph
* fix network info
* remove kex timeout, that causes ssh library to hang
* fix host scores bug with upper-cased hostnames
* allow removing of new group services
* accept +INFINITY scores

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.

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


[Pacemaker] DRBD MC 0.7.5 / Pacemaker GUI

2010-07-02 Thread Rasto Levrinc
Hi,

This is the next DRBD MC release 0.7.5. DRBD MC, is a Java application  that 
helps to configure DRBD and Pacemaker. You can start DRBD MC on your  
workstation and connect via SSH to the cluster. DRBD MC is compatible with  
Heartbeat 2.1.3 to the Pacemaker 1.0.9 with Corosync or Heartbeat and DRBD  
8.

In this release it is possible to use resource sets without lot of crazy 
parenthesis with somewhat natural graphical representation, using 
placeholders. You can for example configure resources to start in parallel 
before and after a placeholder. There are also some other uses of resource 
sets, maybe some of them not entirely thought through yet.
See how it looks like:

http://oss.linbit.com/drbd-mc/img/drbd-mc-0.7.5.png

To test the GUI, a test suite was implemented, making the GUI much more 
smoother and stable in the process. If you wonder how to test a GUI, it is 
possible to automate it, but it is much more laborious than to test all 
these command line programs. There is a robot class in Java, that moves the 
mouse and clicks, writes characters into combo boxes and so on. This way the 
GUI can be used with no hands! On the other hand any small change in the 
conditions during tests creates a butterfly effect and a whole test ends up 
in chaos. In fact a butterfly can wiggle the mouse in the evening, making 
the whole subsequent night of testing meaningless. Anyway the automatic GUI 
testing is well worth it.

It turned out, that there is a class of people that tried DRBD MC when it 
came out, it didn't work for them for some reason or another and never 
looked back. There was a reason why I wanted to cal it alpha then. Now it is 
beta and it will most likely just work.

You can get DRBD MC here:

http://www.drbd.org/mc/management-console/
http://oss.linbit.com/drbd-mc/DMC-0.7.5.jar
http://oss.linbit.com/drbd-mc/drbd-mc-0.7.5.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.5.jar" command. Make sure you use 
the Java from SUN. The openjdk seems to work fine for some time now, but it 
seems to run DRBD MC much slower than the original Java.

Here are the most important changes:
* improved stability
* --version option
* test suite implementation
* don't remove dc-version etc, when storing global options
* reenable VM's
* fix sorting of block devices consisting of digits
* implement resource sets
* fix online/offline indicator
* enable the "type to search" in long lists
* fixes for hostnames with capital letters

Rasto Levrinc

-- 
: Dipl-Ing Rastislav Levrinc
: DRBD-MC http://www.drbd.org/mc/management-console/
DRBD(R) and LINBIT(R) are registered trademarks of LINBIT, Austria.

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


[Pacemaker] DRBD MC / Pacemaker GUI 0.7.3

2010-05-10 Thread Rasto Levrinc
Hi,

This is the next DRBD MC beta release 0.7.3. DRBD MC, is a Java application 
that helps to configure DRBD and Pacemaker.  DRBD MC is compatible with 
Heartbeat 2.1.3 to the Pacemaker 1.0.8 with Corosync or Heartbeat and DRBD 
8.

In this release many minor uninteresting bugs were fixed. Other than that, 
now it is possible to log in with user account and use sudo to execute all 
the commands.

Picture: http://oss.linbit.com/drbd-mc/img/drbd-mc-0.7.3.png

You can get DRBD MC here:

http://www.drbd.org/mc/management-console/
http://oss.linbit.com/drbd-mc/DMC-0.7.3.jar
http://oss.linbit.com/drbd-mc/drbd-mc-0.7.3.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.3.jar" command. Make sure you use 
the Java from SUN. The openjdk seems to work fine for some time now, but it 
seems to run DRBD MC much slower than the original Java.

Here are the most important changes:
* do not show group as migrated if one of its resources is migrated
* show resources as migrated only if they were migrated
* fix constraints with not committed services
* update ssh library
* use different timeouts for SSH commands
* fix possible null pointer exception in groups
* hide pcmk source and testing installation options
* add installation option from Sles 11 HAE
* show resources that don't have installed RA
* move advanced options hint up
* show dm devices in DRBD view
* fix popup menus
* refresh cluster view if CRM status changed
* expand terminal area in dialogs
* fix usage of old type="after" order constraint
* use "first" and "then" in order action description
* fix on-mouse-over bug when using Heartbeat 2.1.4
* add sudo feature

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.


___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf


[Pacemaker] DRBD MC / Pacemaker GUI 0.7.2

2010-04-25 Thread Rasto Levrinc
Hi,

This is the next DRBD MC beta release 0.7.2. DRBD MC, is a Java
application that helps to configure DRBD and Pacemaker. If you are
confused about the name you can call the Pacemaker a DRBD Cluster Manager.
:) DRBD MC is compatible with Heartbeat 2.1.3 to the Pacemaker 1.0.8 with
Corosync or Heartbeat messaging layer and DRBD 8.

Picture with some of the new features in this release:

http://oss.linbit.com/drbd-mc/img/drbd-mc-0.7.2.png

In this release you will notice a big graphical overhaul, making the whole
application more visually consistent and prettier. Well, maybe you will
not notice it and it's not that important, but there were also some
functionality improvements.

Have you ever wondered, how some people seem to find quickly what's wrong
with a hopelessly broken cluster and it seems like a magic to you? Now you
can be that person! Log viewers were improved to show the right log files
in the right context, intertwining the logs from all the hosts where
appropriate, parsing and filtering the right information for you.

In the CIB department, the handling of order and colocation constraints
was fixed and improved, so that now all possible negative, positive,
multiple with mixed infinities, minus infinities, opposite directions or
any other nonsensical abuse of constraints is visible in the GUI. Group
resource constraints are supported now as well. It is now also easier to
enter order without a colocation or vice versa. (Resource sets are still
not supported).

You can get DRBD MC here:

http://www.drbd.org/mc/management-console/
http://oss.linbit.com/drbd-mc/DMC-0.7.2.jar
http://oss.linbit.com/drbd-mc/drbd-mc-0.7.2.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.2.jar" command. Make sure you
use the Java from SUN. The openjdk seems to work fine for some time now,
but it seems to run DRBD MC much slower than the original Java.

Here are the most important changes:
* make constraints with group services possible
* fix constraints
* make popups translucent during tests
* do not save negative graph positions
* workaround for tooltips hiding menu items
* make colocation-only and order-only menus
* using rsc, with-rsc, first, then for constraint descriptions
* add arrows indicating a direction of colocation
* some cleanup in installation files
* degr-wfc-timeout defaults to 0
* fix DRBD status blinking
* enhanced log file viewers
* preparing GUI test suite
* fix log files for distributions that don't use kern.log
* removed clone meta attrs from rsc_defaults
* rename "load" buttons to "connect" buttons
* graphical overhaul
* add -f option for update-rc.d remove commands
* add remote file browser for VMs, (does not work on Windows, and I tried)
* Ubuntu Lucid support file
* better ignoring of resource sets
* faster popups

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.



___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf


Re: [Pacemaker] Problems using rules to Control Resource Options

2010-03-31 Thread Rasto Levrinc

On Wed, March 31, 2010 12:33 pm, Michael Schwartzkopff wrote:
> Am Mittwoch, 31. März 2010 12:19:23 schrieb Rasto Levrinc:

>>
>> nvpair should have "name" and "value" attributes.
>>
>> Rasto
>>
>
> Oops, yes. simple syntax error.
>
>
> But after correcting the problem the the error still remains.
> :-(

... and nvpair ids must be unique.

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.



___
Pacemaker mailing list
Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker


Re: [Pacemaker] Problems using rules to Control Resource Options

2010-03-31 Thread Rasto Levrinc

On Wed, March 31, 2010 11:57 am, Michael Schwartzkopff wrote:
> Am Mittwoch, 31. März 2010 11:49:31 schrieb Michael Schwartzkopff:
>
>> Hi,
>>
>>
>> I have a resource defined according to chapter 8.4 of the pacemaker
>> guide:
>>
>>
>> 
>>  
>> 
>> > value="debian1"/> 
>> 

nvpair should have "name" and "value" attributes.

>> 
>> 
>> 
>> > value="debian2"/> 
>> 

nvpair should have "name" and "value" attributes.

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.



___
Pacemaker mailing list
Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker


[Pacemaker] DRBD MC / Pacemaker GUI 0.7.1

2010-03-30 Thread 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.

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.


___
Pacemaker mailing list
Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker


Re: [Pacemaker] DRBD Management Console 0.7.0

2010-03-25 Thread Rasto Levrinc

On Thu, March 25, 2010 4:29 pm, martin.br...@icw.de wrote:
> Hi Rasto,
>
>
> I played around with the MC and it is really a promising integrative
> approach for managing a DRBD and Pacemaker Cluster. For now it is really
> nice for demonstration purposes like detaching the primary with failover.
>
>
> What I am missing is a resource cleanup (crm resource cleanup  name>), is this function in your release plan?

It is there. When you click on right click on a resource or in the
resource "Actions" menu. It is called either "Restart Failed (Clean up)"
or "Reset Fail-Count (Clean Up)". This works only if you have some
fail-count, or the resource failed completely.

If you want to clean-up the resource just so, there is more planed, see
this discussion:

http://www.mail-archive.com/drbd...@lists.linbit.com/msg00081.html

"Basically I am trying to hide things like "LRM" and "cleanup"
from the user. "cleanup" could be something like clear history, where
there would be also "show history". When a resource fails a user should be
able to quickly identify how to activate the resource, removing the error
messages. Cleanup and fail-counter are not very descriptive in this case.
Anyway I will give it still some more thought."

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.



___
Pacemaker mailing list
Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker


[Pacemaker] DRBD Management Console 0.7.0

2010-03-19 Thread Rasto Levrinc
Hi,

This is the next DRBD-MC beta release 0.7.0. 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 resource defaults were added. This is one of the missing 
features, that normal people would use, I think. You'll find it in next to 
the global options if you cluster software supports it.

The great new feature are the different operating modes and advanced/not 
advanced modes. Depending on the operating mode, the input fields and menus 
are shown, hidden, enabled or disabled. For example an administrator that 
does not configure the cluster, can quickly find what he needs, not to worry 
removing or changing something he shouldn't. You can start the DRBD-MC with 
maximum operating mode that is allowed for the user in the whole application 
and change to the lesser modes on the fly. Of course it can be easily 
circumvented so this is not a security feature, but...

Disabling and hiding of widgets, menus and whole panels should fit nicely 
with the upcoming ACLs, as soon as they figure out how to do it.

Till then, the new operating modes make the configuration and administration 
of a the cluster much easier, faster and almost enjoyable.

There are currently following "Operating Modes":

Read-Only (cmd option --ro):
read-only access is granted, you can view the cluster, add and remove 
clusters to and from your DRBD MC, but you cannot change anything on the 
cluster. This is somewhat equivalent to watching crm_mon, but way more 
informative. Additionally you can start VNC Viewer to work with Virtual 
Machines.

Operator (--op):
you can do the basic tasks like stop, start and migrate resources and put 
nodes to and out of standby, but also resolve DRBD split-brains for example. 
All configuration options are hidden. This is, what it seems, about the 
functionality that Hawk is going to have, but without operations on DRBD and 
VMs.

Administrator (--admin):
this level of access can create, configure, reconfigure and destroy, as well 
as operate the whole cluster, but many most of the options are hidden. This 
is a default operating mode.

Administrator (--admin)/ Advanced:
here are the options, that are seldom needed and/or I am not even sure what 
they do.

Another but hidden operating mode is a God mode. This is useful, as the name 
suggest, only for development and for testing.

http://oss.linbit.com/drbd-mc/img/drbd-mc-0.7.0.png

You can get DRBD MC here:

http://www.drbd.org/mc/management-console/
http://oss.linbit.com/drbd-mc/DMC-0.7.0.jar
http://oss.linbit.com/drbd-mc/drbd-mc-0.7.0.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.0.jar" command. Make sure you use 
the Java from SUN. The openjdk seems to work fine by some time now, but it 
seems to run DRBD MC much slower than the original Java.

Rasto Levrinc

Here is the changelog:
* Removing of DRBD resources was fixed.
* VNC viewer menu in the cluster view was fixed.
* stonith-timeout and priority stonith attributes were added.
* stonith_ prefix for stonith devices in their ids is used.
* When group is stopped, it is indicated in the cluster view.
* "master" and "slave" target-roles for master slave resources were added.
* All missing meta-attributes for groups and clones were added.
* Advisory values from status, meta-data and validate-all operations are not 
used anymore.
* Some global CRM parameters, that didn't have defaults, were fixed.
* Different operating modes were implemented.
* Terminal frame is started as collapsed now.
* Parsing of operation defaults was added.
* Resource defaults were added.
* Metal look-and-feel is forced so that it works on Macs.
* DRBD status after start is not delayed after start-up.
* GUI helper perl script got a version to its file name, so that different 
versions of DRBD-MC can be used at the same time on one cluster.
* Smoother and faster start-up, when there are many resources.

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


___
Pacemaker mailing list
Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker


Re: [Pacemaker] Handling multiple attribute sets (cs#26435fdfd488)

2010-03-10 Thread Rasto Levrinc

On Wed, March 10, 2010 6:07 pm, Dejan Muhamedagic wrote:
> On Wed, Mar 10, 2010 at 05:53:16PM +0100, Rasto Levrinc wrote:
>
>> BTW, you can start group, clearing all the target-roles from children
>> and then set target roles of children, to get the configuration lmb
>> requires.
>
> I don't quite get this.

Never mind, maybe I misunderstood something.

>
>
>> I am still not sure, what is more intuitive and/or annoying.
>>
>
> Makes two of us. BTW, how does drbd-mc manage this?

For now, if you "start" or "stop" the group in DRBD-MC, target-role of
every child in the group is set and you can start/stop every child
separately if you want. The target-role of the group is not used.

Now I think will add to that an option in "Expert" submenu to start and
stop the group the lmb-way or something like that and problem is solved.
But now I'll get a popcorn and wait maybe you'll come up with something
interesting. :)

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.



___
Pacemaker mailing list
Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker


Re: [Pacemaker] Handling multiple attribute sets (cs#26435fdfd488)

2010-03-10 Thread Rasto Levrinc

On Wed, March 10, 2010 5:43 pm, Dejan Muhamedagic wrote:
> On Wed, Mar 10, 2010 at 04:58:48PM +0100, Dejan Muhamedagic wrote:
>
>> Hi,
>>
>>
>> On Wed, Mar 10, 2010 at 04:24:16PM +0100, Lars Marowsky-Bree wrote:
>>
>>> Hi all, Dejan,
>>>
>>>
>>> the above changeset aims to improve the behaviour with multiple
>>> attribute sets - right now, the crm_resource et al complain that they
>>>  can't figure out which one to set, so the changeset simply
>>> clears/updates all of them.
>>>
>>> I disagree, for the following reasons:
>>>
>>>
>>> First, I frequently have a "stop" attribute set on a specific
>>> resource within a group to make the group start up only to that point;
>>> I don't
>>> want that overwritten automatically. In fact, I might just want to
>>> modify the group target-role, regardless of the value of its
>>> children.
>>
>> Yes, you might, but why don't then just modify the target-role
>> attribute. I have been thinking about this too and to me
>>
>> # crm resource start g
>>
>>
>> seems to express clear intent to start the whole group g. Don't forget
>> that our minds are plagued by all the technical details about how the
>> CIB is implemented.
>>
>
> Thinking again about it, dropping target-role from the members of
> the group is really wrong. I'll change that.

What made you to change your mind? :)

BTW, you can start group, clearing all the target-roles from children and
then set target roles of children, to get the configuration lmb requires.
I am still not sure, what is more intuitive and/or annoying.

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.



___
Pacemaker mailing list
Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker


Re: [Pacemaker] DRBD Management Console 0.6.0

2010-03-08 Thread Rasto Levrinc

On Mon, March 8, 2010 3:30 pm, Lars Marowsky-Bree wrote:
> On 2010-03-02T13:12:25, Rasto Levrinc  wrote:
>
>> Thanks lmb. I see a place for Hawk as a lightweight tool to quickly
>> make some changes and I could even somehow integrate in the DRBD-MC.
>
> "Integrate"? I'm not sure how that would work though, since they're
> completely different code bases and programming languages, and also
> different in deployment mode?
>

I am aware of that. :) I thought about something like optionally
installing it from the DRBD-MC and starting the browser with it or
something like that.

> The main problem I see is the need for ssh login as root. This makes
> drbd-mc inacceptable in some environments, such as US military
> installations (or other places with weird rules like that). And, of
> course, it can lead to firewall issues. If you have the chance, limiting
> the number of open connections/ports needed to the server(s) is a
> worthwhile goal for the future.

Well you can log in as a user if you have permissions for the commands
that are required, but you probably know that... The SSH part of the code
and the commands used to operate on Pacemaker are logically separated from
the rest of the code, so it is quite easy to change this or offer a choice
to use something else, if such need arises.

>
>>> Do you plan to implement support for the utilization functionality?
>>>
>> Yep, but it is not high priority at the moment.
>>
>
> Too bad, since it is extremely useful for Xen environments in
> particular.

I still trying to make the basic things to work, but I should get to this
pretty soon.

>
>>> With the name you've chosen, you're sort of implying that you're
>>> mostly focused on DRBD, whereas the actual code is much broader ...
>>> have you considered calling it something more generic?
>> I wanted to throw some Pacemaker pictures inside for some time, but I
>> think the name should not change, since we are Linbit. :)
>
> Well, linbit-mc I would have no problem with, but "drbd-mc" strikes me
> as too limited ;-)

So far... :)

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.


___
Pacemaker mailing list
Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker


Re: [Pacemaker] DRBD Management Console 0.6.0

2010-03-02 Thread Rasto Levrinc

On Wed, March 3, 2010 3:08 am, Tim Serong wrote:

>
> Side point: I have it in the back of my mind that I may end up wanting to
>  communicate directly with libcib if the CLI tools ever become a
> performance bottleneck, but this isn't a problem yet (earlier, Hawk was
> running crm_resource to get the status of each resource, so the more
> resources, the more execs: yuck.  Now it just figures everything out from
> a single run of cibadmin).

Yeah, DRBD-MC simply parses XML obtained by cibadmin. Actually the helper
program connects itself to the cib socket registers and waits for events,
so that the GUI updates itself in realtime. Before it used mgmt via
available python library to talk to the cluster, but it got out of favour,
so I've exchanged all the commands about a year ago.

Any other option, like connecting to CIB remotely or using libcib, would
require change of the configuration or installation of some additional
software on the servers, which I am trying to avoid.

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.



___
Pacemaker mailing list
Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker


Re: [Pacemaker] DRBD Management Console 0.6.0

2010-03-02 Thread Rasto Levrinc

On Tue, March 2, 2010 11:41 am, Lars Marowsky-Bree wrote:
> On 2010-02-28T12:24:26, Rasto Levrinc  wrote:

> cool stuff. It's sad that we end up with a competing thingy ... Maybe we
> could keep Tim's pure web-ui for the monitoring and most simple bits and
> have drbd-mc replace the python UI.

Thanks lmb. I see a place for Hawk as a lightweight tool to quickly make
some changes and I could even somehow integrate in the DRBD-MC. I can
speed up the DRBD-MC quite a bit still, I did not even try to optimize it
till now, but it will never be very fast.

> How does it interact with the CRM shell? Does it issue XML changes
> directly? What kind of network connection is required between the UI client
> and the servers?

DRBD-MC connects itself via SSH and uses mostly cibadmin and crm_resource
commands on the host. It could simply use crm shell commands instead, but
it doesn't at the moment, mostly to be compatible with older Heartbeats
and there was no reason to change it.

>
> Do you plan to implement support for the utilization functionality?

Yep, but it is not high priority at the moment.

>
>
>> * allowing /dev/disk/by-uuid/ disks in DRBD, silently converting them
>> for now
>
> What are you converting them to? Refering to /dev/disk/by-id/ is
> perfectly fine, as these are stable (as is not necessarily true for the
> device nams they point to.)

This for drbd.conf.
I just convert it to whatever the link points to and next time save the
real device name. It sucks, but at least it doesn't break the DRBD-MC if
somebody's using it at the moment. In the future I want to let the user
decide if he wants to use it.

>
> Have you looked at the proposal for the ACLs on the CIB, would these
> work for your system?

Yeah I look briefly at it and I will implement it as soon as it is
available. Especially that it is a feature that I was asked about several
times already by several people.

Before there are ACLs in Pacemaker and for older versions I want to hide
options depending if you want to configure or just to operate the cluster,
not as a security feature, but as a means to find the stuff you need
faster.

>
> Is there a chance to share more code between the various UIs that, I
> think, we are going to keep going forward? (I'm pretty sure the crm shell,
> the web-ui and yours are going to remain actively maintained.)
>

Yes, I like that.

> With the name you've chosen, you're sort of implying that you're mostly
> focused on DRBD, whereas the actual code is much broader ... have you
> considered calling it something more generic?

I wanted to throw some Pacemaker pictures inside for some time, but I
think the name should not change, since we are Linbit. :)
Of course I would like, that it will be somehow clear, that DRBD-MC is
also a Pacemaker GUI.

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.



___
Pacemaker mailing list
Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker


  1   2   >