Re: [Pacemaker] "pcs cluster status" options seems to not work

2014-02-21 Thread Bob Haxo
> This one is at least a typo ... Andrew, yes a typo, but sans typo, same result: the variants do not vary. Chris, the output of "pcs status" is the same as "crm_mon -1r" (within the calibration of my eyes). Problem for scripting with this ... Clone Set: clusterfs-clone [clusterfs] Start

Re: [Pacemaker] possible regex error in "pcs resource enable/disable"

2014-02-21 Thread Bob Haxo
https://savannah.nongnu.org/bugs/index.php?41660 On Fri, 2014-02-21 at 10:53 +0100, Kristoffer Grönlund wrote: > On Fri, 21 Feb 2014 08:51:58 +0100 > Lars Marowsky-Bree wrote: > > > On 2014-02-20T16:03:36, Bob Haxo wrote: > > > > > Sooo, seems that we need to kick this over the fence to the

Re: [Pacemaker] possible regex error in "pcs resource enable/disable"

2014-02-21 Thread Bob Haxo
Kristoffer, Lars, I will file the issue. We need to track this and link with our internal bug report. Thanks Bob Haxo On Fri, 2014-02-21 at 10:53 +0100, Kristoffer Grönlund wrote: > On Fri, 21 Feb 2014 08:51:58 +0100 > Lars Marowsky-Bree wrote: > > > On 2014-02-20T16:03:36, Bob Haxo wrote

Re: [Pacemaker] crm_mon --as-html default permissions

2014-02-21 Thread Marko Potocnik
I found the umask code after further inspection. Solution was chmod from php right before html output from crm_mon is read. On Tue, Feb 18, 2014 at 1:38 AM, Andrew Beekhof wrote: > > On 12 Feb 2014, at 9:53 pm, Marko Potocnik > wrote: > > > Hi, > > > > I've upgraded from pacemaker-1.1.7-6.el6.

Re: [Pacemaker] Need help with quickstart of pacemaker on redhat

2014-02-21 Thread Ivan
Andrew Beekhof writes: > > > On 29/08/2013, at 7:41 PM, Moturi Upendra > wrote: > > > Please find the attachment > > The problem is that the migration-threshold has been set as a cluster option rather than a resource default. > In rhel 6.5 you'll be able to use this command: > >pcs reso

Re: [Pacemaker] Load balancing with CLUSTERIP

2014-02-21 Thread Jefferson Carlos Machado
Sorry, now I understood, pastbin. I create a vip clone on two nodes to have loadbalance and failover, but I have no access on this vip from my network. [root@teste2 ~]# pcs resource show --full Clone: ClusterIP-clone Meta Attrs: clusterip_hash=sourceip Resource: ClusterIP (class=ocf pr

Re: [Pacemaker] Migrating resources on custom conditions

2014-02-21 Thread Vladislav Bogdanov
21.02.2014 13:45, Lars Marowsky-Bree wrote: > On 2014-02-21T13:02:23, Vladislav Bogdanov wrote: > >> It could be nice feature to have kind of general SLA concept (it could >> be very similar to the utilization one from the resource configuration >> perspective), so resources try to move or live m

Re: [Pacemaker] Migrating resources on custom conditions

2014-02-21 Thread Lars Marowsky-Bree
On 2014-02-21T13:02:23, Vladislav Bogdanov wrote: > It could be nice feature to have kind of general SLA concept (it could > be very similar to the utilization one from the resource configuration > perspective), so resources try to move or live migrate out of nodes > which have SLA attributes bel

Re: [Pacemaker] Question about log level at monitor

2014-02-21 Thread Kazunori INOUE
2014-02-20 18:59 GMT+09:00 Andrew Beekhof : > > On 20 Feb 2014, at 8:37 pm, Kazunori INOUE wrote: > >> Hi, >> >> Is this by design although log levels differ with a stonith resource >> and other resources in Pacemaker-1.1.11 ? >> >> "P1" is id of ocf:pacemaker:Dummy resource. >> "F1" is id of ston

Re: [Pacemaker] Migrating resources on custom conditions

2014-02-21 Thread Vladislav Bogdanov
21.02.2014 02:58, Andrew Beekhof wrote: > > On 20 Feb 2014, at 7:34 pm, Dan Markhasin wrote: > >> Hi, >> >> I am wondering if it is possible to configure complex/custom migration >> rules, so resources would migrate in case there is a problem with the >> current node it is running on. >> >> i.

Re: [Pacemaker] possible regex error in "pcs resource enable/disable"

2014-02-21 Thread Kristoffer Grönlund
On Fri, 21 Feb 2014 08:51:58 +0100 Lars Marowsky-Bree wrote: > On 2014-02-20T16:03:36, Bob Haxo wrote: > > > Sooo, seems that we need to kick this over the fence to the crmsh > > folks ... or the SUSE folks, if they are maintaining crmsh. > > Yes, please file a bug. This shouldn't happen (I th

Re: [Pacemaker] Load balancing with CLUSTERIP

2014-02-21 Thread Michael Schwartzkopff
Am Donnerstag, 20. Februar 2014, 19:46:03 schrieben Sie: > Hi, > > All work fine on node, but not in other PC. > Please see below the ping tests and configs. > > [root@europanorte vs_files]# ping -c 3 10.10.2.97 > PING 10.10.2.97 (10.10.2.97) 56(84) bytes of data. > 64 bytes from 10.10.2.97: icmp

Re: [Pacemaker] Various Problems with Pacemaker and/or related Software

2014-02-21 Thread Andrew Beekhof
On 21 Feb 2014, at 7:35 pm, Andrew Beekhof wrote: > > On 21 Feb 2014, at 7:05 pm, Stephan Buchner wrote: > >> Am 21.02.2014 00:01, schrieb Andrew Beekhof: >>> ^^^ please dont use the plugin on rhel6. there is a noisy error message >>> saying it will be going away very soon. >> Hey Andrew, w

Re: [Pacemaker] Various Problems with Pacemaker and/or related Software

2014-02-21 Thread Andrew Beekhof
On 21 Feb 2014, at 7:05 pm, Stephan Buchner wrote: > Am 21.02.2014 00:01, schrieb Andrew Beekhof: >> ^^^ please dont use the plugin on rhel6. there is a noisy error message >> saying it will be going away very soon. > Hey Andrew, what exactly do you mean by that? Do not use option 1 of http:

Re: [Pacemaker] Migrating resources on custom conditions

2014-02-21 Thread Frank Brendel
Another idea is to create a pacemaker:HealthCPU resource that updates the #health-cpu attribute. Now you can add a location constraint to your resource to migrate away if #health-cpu is, lets say 'red'. # pcs resource describe ocf:pacemaker:HealthCPU Resource options for: ocf:pacemaker:HealthCP

Re: [Pacemaker] Various Problems with Pacemaker and/or related Software

2014-02-21 Thread Stephan Buchner
Am 21.02.2014 00:01, schrieb Andrew Beekhof: ^^^ please dont use the plugin on rhel6. there is a noisy error message saying it will be going away very soon. Hey Andrew, what exactly do you mean by that? -- Stephan Buchner buch...@linux-systeme.de +49 201 - 29 88 319 +49 172 - 7 222 333 Lin

Re: [Pacemaker] hangs pending

2014-02-21 Thread Andrey Groshev
21.02.2014, 05:53, "Andrew Beekhof" : > On 19 Feb 2014, at 7:53 pm, Andrey Groshev wrote: > >>  19.02.2014, 09:49, "Andrew Beekhof" : >>>  On 19 Feb 2014, at 4:18 pm, Andrey Groshev wrote:   19.02.2014, 09:08, "Andrew Beekhof" : >   On 19 Feb 2014, at 4:00 pm, Andrey Groshev wrote: >>