Re: [Pacemaker] Inter-cluster communication using Heartbeat and Pacemaker

2011-11-02 Thread neha chatrath
Hello Andreas, There is a system requirement according to which: 1. There are 2 independent clusters : 1 for data plane 2. for control plane 2. These clusters are connected to each other through IP/Ethernet connectivity for transmission and reception of control plane signalling only i.e. user

Re: [Pacemaker] Physical setup - crossover cable recommended ?

2011-11-02 Thread Florian Haas
On 2011-11-01 23:11, Chris Clifton wrote: Does the bug with centos 6 still exist as far as recovery/failover goes ? What bug? If you're referring to the fact that Corosync rings don't auto-recover when the network connection is reinstated after a failure, then that's not a bug, but a missing

[Pacemaker] Language bindings, again (was Re: Newcomer's question - API?)

2011-11-02 Thread Florian Haas
On 2011-11-02 04:33, Tim Serong wrote: ianalI vaguely recall reading the FSF considered headers generally exempt from GPL provisions, provided they're boring, i.e. just structs, function definitions etc. If they're a whole lotta inline code, things are a bit different/ianal. Really?

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

2011-11-02 Thread Rasto Levrinc
On Tue, Nov 1, 2011 at 12:29 PM, Tim Ward tim.w...@ipaccess.com 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

[Pacemaker] location setting with parenthesis

2011-11-02 Thread Junko IKEDA
Hi, I read the following CRM CLI (command line interface) tool document. http://www.clusterlabs.org/doc/crm_cli.html#cmdhelp_configure_location It seems that parenthesis is available for colocation or order configuration, could I set up parenthetic location? for example; location rsc_location-1

Re: [Pacemaker] Language bindings, again (was Re: Newcomer's question - API?)

2011-11-02 Thread Tim Serong
On 11/02/2011 06:35 PM, Florian Haas wrote: On 2011-11-02 04:33, Tim Serong wrote: ianalI vaguely recall reading the FSF considered headers generally exempt from GPL provisions, provided they're boring, i.e. just structs, function definitions etc. If they're a whole lotta inline code, things

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

2011-11-02 Thread Tim Ward
Thanks all for the help so far. One wonders why you want to write something from scratch in Java, though. Well, we don't, of course. The ideal would be to use an existing, documented, non-GPL, interface library. As we have not yet identified any such thing we have been considering other

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

2011-11-02 Thread Andrew Beekhof
On Wed, Nov 2, 2011 at 8:34 AM, Florian Haas flor...@hastexo.com wrote: On 2011-11-01 21:30, Andrew Beekhof wrote: On Wed, Nov 2, 2011 at 7:04 AM, Florian Haas flor...@hastexo.com wrote: On 2011-11-01 17:52, Tim Ward wrote: You can try tooking at LCMC as that is a Java-based GUI that should

Re: [Pacemaker] location setting with parenthesis

2011-11-02 Thread Andreas Kurz
Hello, On 11/02/2011 09:56 AM, Junko IKEDA wrote: Hi, I read the following CRM CLI (command line interface) tool document. http://www.clusterlabs.org/doc/crm_cli.html#cmdhelp_configure_location It seems that parenthesis is available for colocation or order configuration, The parenthesis

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

2011-11-02 Thread Andrew Beekhof
On Wed, Nov 2, 2011 at 8:22 PM, Tim Ward tim.w...@ipaccess.com wrote: Thanks all for the help so far. One wonders why you want to write something from scratch in Java, though. Well, we don't, of course. The ideal would be to use an existing, documented, non-GPL, interface library. LGPL?

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

2011-11-02 Thread Andrew Beekhof
On Wed, Nov 2, 2011 at 2:33 PM, Tim Serong tser...@suse.com wrote: On 11/02/2011 08:34 AM, Florian Haas wrote: On 2011-11-01 21:30, Andrew Beekhof wrote: On Wed, Nov 2, 2011 at 7:04 AM, Florian Haasflor...@hastexo.com  wrote: On 2011-11-01 17:52, Tim Ward wrote: You can try tooking at

Re: [Pacemaker] Language bindings, again (was Re: Newcomer's question - API?)

2011-11-02 Thread Andrew Beekhof
On Wed, Nov 2, 2011 at 6:35 PM, Florian Haas flor...@hastexo.com wrote: On 2011-11-02 04:33, Tim Serong wrote: ianalI vaguely recall reading the FSF considered headers generally exempt from GPL provisions, provided they're boring, i.e. just structs, function definitions etc.  If they're a

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

2011-11-02 Thread Tim Ward
From: Andrew Beekhof [mailto:and...@beekhof.net] For a Java based GUI, you could poke around at http://hg.clusterlabs.org/pacemaker/gui which I apparently forgot to add a license to :-) Its not been updated for many moons and so may or may not work anymore, but it did at one point and

Re: [Pacemaker] Physical setup - crossover cable recommended ?

2011-11-02 Thread Chris Clifton
I see, thanks! On Wed, Nov 2, 2011 at 2:16 AM, Florian Haas flor...@hastexo.com wrote: On 2011-11-01 23:11, Chris Clifton wrote: Does the bug with centos 6 still exist as far as recovery/failover goes ? What bug? If you're referring to the fact that Corosync rings don't auto-recover when

[Pacemaker] md group take over?

2011-11-02 Thread Miles Fidelman
I've seen a few references to a resource agent for md group take over - but can't seem to find the actual agent or any documentation. Anybody know if it's real? Where to find more info? Thanks much, Miles Fidelman -- In theory, there is no difference between theory and practice. Infnord

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

2011-11-02 Thread Andrew Beekhof
On Wed, Nov 2, 2011 at 10:05 PM, Tim Ward tim.w...@ipaccess.com wrote: From: Andrew Beekhof [mailto:and...@beekhof.net] For a Java based GUI, you could poke around at http://hg.clusterlabs.org/pacemaker/gui which I apparently forgot to add a license to :-) Its not been updated for many moons

Re: [Pacemaker] [Linux-HA] pcmk + corosync + cman for dlm support?

2011-11-02 Thread Nick Khamis
Vladislav, Thank you so much for your response. Just to make sure, all I need is to: * Apply the three patches to cman. Found here http://www.gossamer-threads.com/lists/linuxha/pacemaker/75164?do=post_view_threaded;. * Recompile CMAN * Do I have to recompile PCMK again? I also want to mention

[Pacemaker] add resource name after $__SCRIPT_NAME[$$] in .ocf-directories

2011-11-02 Thread Janec, Jozef
Hello All, Is possible configure or modify .ocf-directories file to get lines with: Nov 01 12:58:10 node1 SAPInstance[30355]: [30399]: INFO: message To: Nov 01 12:58:10 node1 SAPInstance[30355][resource_name]: [30399]: INFO: message ? When there are more resources with SAPInstance it is

[Pacemaker] corosynce cluster - new - 2nd won't join first

2011-11-02 Thread Phil Hunt
Hi I've put together 4 clusters so far, they have worked fine. I've been tasked to put together a 5th, but the second node won't join the first! The only difference is that the netmask for all the others was 255.255.255.0 The netmask assigned to this one is 255.255.255.224 The machine

Re: [Pacemaker] [corosync] Trouble with active/active

2011-11-02 Thread Andrew Beekhof
Please avoid starting a new thread every 5s. Its way too much noise. Pick one software stack and concentrate on getting that working rather than attempting them all at once. On Tue, Nov 1, 2011 at 8:15 AM, Nick Khamis sym...@gmail.com wrote: Hello Everyone, I have the following built from

Re: [Pacemaker] [Problem] The attrd does not sometimes stop.

2011-11-02 Thread Andrew Beekhof
On Tue, Oct 18, 2011 at 12:19 PM, renayama19661...@ybb.ne.jp wrote: Hi, We sometimes fail in a stop of attrd. Step1. start a cluster in 2 nodes Step2. stop the first node.(/etc/init.d/heartbeat stop.) Step3. stop the second node after time passed a little.(/etc/init.d/heartbeat stop.)

[Pacemaker] 4 node cluster help needed

2011-11-02 Thread Van Tonder, Raymond
Hi I'm setting up a 4 node cluster 2 of the nodes for DB (mysql) in master-slave failover config And 2 nodes running jboss server active/active What do I do so that pacemaker wont look for a mysqlcl_monitor_0 on the servers that will be hosting the jboss. This is the config I have so far

Re: [Pacemaker] 4 node cluster help needed

2011-11-02 Thread Florian Haas
On 2011-11-02 16:41, Van Tonder, Raymond wrote: Hi I'm setting up a 4 node cluster 2 of the nodes for DB (mysql) in master-slave failover config Um, that's not consistent with the config. What you're running is a single-instance MySQL LSB primitive; for a Master/Slave replication managed

[Pacemaker] Ordering constraints between two clone and stateful resources

2011-11-02 Thread King, Christopher
Hi all, We have a 2-node cluster running on the SLES 11 HAE SP1, plus the latest supported patches. (So Pacemaker version 1.1.5, etc). In the cluster, we have a clone resource and a stateful resource that have an mandatory ordering constraint between the two, such that the stateful resource

Re: [Pacemaker] Physical setup - crossover cable recommended ?

2011-11-02 Thread Hugo Deprez
Hello, thank you for the information. I'll go that way then. Regards, Hugo On 2 November 2011 12:35, Chris Clifton juice...@gmail.com wrote: I see, thanks! On Wed, Nov 2, 2011 at 2:16 AM, Florian Haas flor...@hastexo.com wrote: On 2011-11-01 23:11, Chris Clifton wrote: Does the bug

Re: [Pacemaker] Ordering constraints between two clone and stateful resources

2011-11-02 Thread Andreas Kurz
Hello, On 11/02/2011 06:07 PM, King, Christopher wrote: Hi all, We have a 2-node cluster running on the SLES 11 HAE SP1, plus the latest supported patches. (So Pacemaker version 1.1.5, etc). In the cluster, we have a clone resource and a stateful resource that have an

Re: [Pacemaker] [Ocfs2-users] Error building ocfs2-tools

2011-11-02 Thread Tim Serong
Hi Nick, It might not be obvious, but IMO this probably belongs back on the Pacemaker list (CC'd). On 11/03/2011 02:40 AM, Nick Khamis wrote: Hello Sunil and Tim, Thank you so much for your responses. I have applied the patch, and recompiled ocfs2-tools. When spinning the pcmk stack, I am

Re: [Pacemaker] [Linux-HA] pcmk + corosync + cman for dlm support?

2011-11-02 Thread Vladislav Bogdanov
02.11.2011 16:36, Nick Khamis wrote: Vladislav, Thank you so much for your response. Just to make sure, all I need is to: * Apply the three patches to cman. Found here http://www.gossamer-threads.com/lists/linuxha/pacemaker/75164?do=post_view_threaded;. * Recompile CMAN * Do I have to

Re: [Pacemaker] [Linux-HA] pcmk + corosync + cman for dlm support?

2011-11-02 Thread Tim Serong
On 11/03/2011 04:11 PM, Vladislav Bogdanov wrote: 02.11.2011 16:36, Nick Khamis wrote: Vladislav, Thank you so much for your response. Just to make sure, all I need is to: * Apply the three patches to cman. Found here