Re: [ClusterLabs] Antw: Re: [ClusterLabs Developers] Resource Agent language discussion

2015-08-11 Thread Alexander T
Hello! Just adding my opinion. I think that the current interface to RAs with environment variables is very good. It's similar to CGI which was hugely successful due to it's flexibility. As an RA implementation language, however, most classic shells and Bash in particular certainly has its

Re: [ClusterLabs] [ClusterLabs Developers] Resource Agent language discussion

2015-08-11 Thread Fabio M. Di Nitto
On 8/11/2015 11:01 AM, Jehan-Guillaume de Rorthais wrote: On Tue, 11 Aug 2015 06:42:37 +0200 Fabio M. Di Nitto fabbi...@fabbione.net wrote: On 8/7/2015 5:14 PM, Jehan-Guillaume de Rorthais wrote: Hi Jan, On Fri, 7 Aug 2015 15:36:57 +0200 Jan Pokorný jpoko...@redhat.com wrote: On

Re: [ClusterLabs] [ClusterLabs Developers] Resource Agent language discussion

2015-08-11 Thread Alexander T
I'm butting in here by saying that I don't think that the performance discussion is very useful. Performance can always be improved, and by that logic everything should be hand-written in assembly. Correctness and maintainability should be of much higher importance. Premature optimization

Re: [ClusterLabs] starting of resources

2015-08-11 Thread Andrei Borzenkov
On Tue, Aug 11, 2015 at 9:44 AM, Vijay Partha vijaysarath...@gmail.com wrote: Hi, Can we statically add resources to the nodes. I mean before the pacemaker is started can we add resources to the nodes like you dont require to make use of pcs resource create. Is this possible? You better

[ClusterLabs] fence-agents 4.0.20 release

2015-08-11 Thread Marek marx Grac
Welcome to the fence-agents 4.0.20 release This release includes several bugfixes and features: * In some cases password string was expected twice what lead to 'Unable to login' * New fence agent fence_rcd_serial for DYI fence device (look at https://smcleod.net/rcd-stonith/ ; thanks to Sam

Re: [ClusterLabs] [ClusterLabs Developers] Resource Agent language discussion

2015-08-11 Thread Jehan-Guillaume de Rorthais
On Tue, 11 Aug 2015 11:30:03 +1000 Andrew Beekhof and...@beekhof.net wrote: On 8 Aug 2015, at 1:14 am, Jehan-Guillaume de Rorthais j...@dalibo.com wrote: Hi Jan, On Fri, 7 Aug 2015 15:36:57 +0200 Jan Pokorný jpoko...@redhat.com wrote: On 07/08/15 12:09 +0200,

Re: [ClusterLabs] [ClusterLabs Developers] Resource Agent language discussion

2015-08-11 Thread Jehan-Guillaume de Rorthais
On Tue, 11 Aug 2015 06:42:37 +0200 Fabio M. Di Nitto fabbi...@fabbione.net wrote: On 8/7/2015 5:14 PM, Jehan-Guillaume de Rorthais wrote: Hi Jan, On Fri, 7 Aug 2015 15:36:57 +0200 Jan Pokorný jpoko...@redhat.com wrote: On 07/08/15 12:09 +0200, Jehan-Guillaume de Rorthais wrote: Now, I

Re: [ClusterLabs] [ClusterLabs Developers] Resource Agent language discussion

2015-08-11 Thread Jehan-Guillaume de Rorthais
On Tue, 11 Aug 2015 11:15:47 +0200 Fabio M. Di Nitto fabbi...@fabbione.net wrote: [...] In most systems, all commands required to execute a RA in shell are already cached in ram and requirements to re-run them are minimal (and could save a system). with Perl, there was no caching that I

[ClusterLabs] Pacemaker serializes start operations

2015-08-11 Thread Nekrasov, Alexander
Hello, I have a dependency tree starting with PgsqlShared as root, and two sub trees: 1. PgsqlShared-apache-apl-c4fastvpa 2. PgsqlShared-iproute With the version on Pacemaker that came with SLES11, the starting was done in parallel, such as 1. PgsqlShared 2. apache and

Re: [ClusterLabs] logging in fence agents

2015-08-11 Thread Kostiantyn Ponomarenko
Hi Marek, The agent I wrote is too much specific for me. There is no use outside of it. And it basically as simple as Resource Agent. Thank you, Kostya On Wed, Mar 18, 2015 at 5:45 PM, Marek marx Grac mg...@redhat.com wrote: Hi, On 03/11/2015 10:39 AM, Kostiantyn Ponomarenko wrote: Hi,

Re: [ClusterLabs] starting of resources

2015-08-11 Thread Ken Gaillot
On 08/11/2015 02:12 AM, Vijay Partha wrote: After you start pacemaker and then type pcs status, we get the output that there are nodes online and the list of resources are empty. We then add resources to the nodes. Now what i want is after starting pacemaker can i get some resources to be

Re: [ClusterLabs] implementation of fence and stonith agents for pacemaker

2015-08-11 Thread Digimer
On 11/08/15 11:17 AM, Kostiantyn Ponomarenko wrote: Hi guys, Is there any documentation which describes implementation of fence and STONITH agents like those ones for Resource Agents?: http://www.linux-ha.org/wiki/OCF_Resource_Agents