Re: [Linux-HA] Using rules for resource options control question
12.09.2013 11:57, Dejan Muhamedagic wrote: Hi Vladislav, On Wed, Sep 11, 2013 at 02:06:12PM +0300, Vladislav Bogdanov wrote: Hi Dejan, all, Didn't find the way to configure rule-controlled resource options (http://clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Pacemaker_Explained/_using_rules_to_control_resource_options.html) in crmsh manual. Is it implemented and, if yes, how to use it? No, crmsh supports rules only in location constraints. I guess that it shouldn't be such a huge undertaking to support rules for attributes if we only knew how to represent them. Hi Dejan, Do you mean something like (multiple definitions are allowed if all of them has score, error otherwise; only one of definitions could have empty expression) === params [score: [expression]] \ parameters themselves === ? If it is technically possible to always correctly detect the end of expression and beginning of parameters (I think it is). expression parsing could be reused from location constraint. ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
Re: [Linux-HA] FW: Can't seem to shutdown the DC
Thanks Lars, support request is 10855509041. I improved the situation a bit by added a dc-deadline of 2min, but it still won't shutdown correctly (the other nodes still think it is online). Also upgraded it to SP3 with no change in results. Marcy -Original Message- From: linux-ha-boun...@lists.linux-ha.org [mailto:linux-ha-boun...@lists.linux-ha.org] On Behalf Of Lars Marowsky-Bree Sent: Thursday, September 12, 2013 12:15 PM To: General Linux-HA mailing list Subject: Re: [Linux-HA] FW: Can't seem to shutdown the DC On 2013-09-12T18:14:04, marcy.d.cor...@wellsfargo.com wrote: Hello list, Using SUSE SLES 11 SP2. I have 4 servers in a cluster running cLVM + OCFS2. If I tried to shutdown the one that is the DC using openais stop, strange things happen resulting in a really messed up cluster. One one occasion, another server decided he was the DC and the other 2 still thought the original DC was online and still it. Often it results in fencing and lots of reboots. If I tried to put the DC into standby mode, I get this Your configuration for Pacemaker looks OK. My expectation would be that you are suffering some networking issue. Can you kindly open a support request with Novell Technical Services? 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 ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
Re: [Linux-HA] Using rules for resource options control question
On Fri, Sep 13, 2013 at 11:33:46AM +0300, Vladislav Bogdanov wrote: 12.09.2013 11:57, Dejan Muhamedagic wrote: Hi Vladislav, On Wed, Sep 11, 2013 at 02:06:12PM +0300, Vladislav Bogdanov wrote: Hi Dejan, all, Didn't find the way to configure rule-controlled resource options (http://clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Pacemaker_Explained/_using_rules_to_control_resource_options.html) in crmsh manual. Is it implemented and, if yes, how to use it? No, crmsh supports rules only in location constraints. I guess that it shouldn't be such a huge undertaking to support rules for attributes if we only knew how to represent them. Hi Dejan, Do you mean something like (multiple definitions are allowed if all of them has score, error otherwise; only one of definitions could have empty expression) === params [score: [expression]] \ parameters themselves === ? If it is technically possible to always correctly detect the end of expression and beginning of parameters (I think it is). expression parsing could be reused from location constraint. Could be :) I'm not sure, but this is worth looking at. Rumour has it that there's some parsing in works. Cheers, Dejan ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
Re: [Linux-HA] Clone colocation missing? (was: Pacemaker 1.19 cannot manage more than 127 resources)
Hi Feri I agree that it should be necessary but for some reason it works well the way it is and everything starts in the correct order. Maybe someone on the dev list can explain a little bit better why this is working. It may have something to do with the fact that it's a clone instead of a primitive. Tom On Thu 05 Sep 2013 04:48:40 AM EDT, Ferenc Wagner wrote: Tom Parker tpar...@cbnco.com writes: I have attached my original crm config with 201 primitives to this e-mail. Hi, Sorry to sidetrack this thread, but I really wonder why you only have order constraints for your Xen resources, without any colocation constraints. After all, they can only start after the *local* storage clone has started... For example, you have this: primitive abrazotedb ocf:heartbeat:Xen [...] order abrazotedb-after-storage-clone : storage-clone abrazotedb and I miss (besides the already mentioned inf above) something like: colocation abrazotedb-with-storage-clone inf: abratozedb storage-clone Or is this really unnecessary for some reason? Please enlighten me. ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
[Linux-HA] Xen RA and rebooting
Hello All Does anyone know of a good way to prevent pacemaker from declaring a vm dead if it's rebooted from inside the vm. It seems to be detecting the vm as stopped for the brief moment between shutting down and starting up. Often this causes the cluster to have two copies of the same vm if the locks are not set properly (which I have found to be unreliable) one that is managed and one that is abandonded. If anyone has any suggestions or parameters that I should be tweaking that would be appreciated. Tom ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems