Re: [ClusterLabs] Pacemaker startup retries

2018-08-30 Thread Ken Gaillot
On Thu, 2018-08-30 at 17:24 +0200, Cesar Hernandez wrote: > Hi > > I have a two-node corosync+pacemaker which, starting only one node, > it fences the other node. It's ok as the default behaviour as the > default "startup-fencing" is set to true. > But, the other node is rebooted 3 times, and

Re: [ClusterLabs] Q: native_color scores for clones

2018-08-30 Thread Ken Gaillot
On Thu, 2018-08-30 at 12:23 +0200, Ulrich Windl wrote: > Hi! > > After having found showscores.sh, I thought I can improve the > perfomance by porting it to Perl, but it seems the slow part actually > is calling pacemakers helper scripts like crm_attribute, > crm_failcount, etc... > > But

[ClusterLabs] Pacemaker startup retries

2018-08-30 Thread Cesar Hernandez
Hi I have a two-node corosync+pacemaker which, starting only one node, it fences the other node. It's ok as the default behaviour as the default "startup-fencing" is set to true. But, the other node is rebooted 3 times, and then, the remaining node starts resources and doesn't fence the node

Re: [ClusterLabs] Antw: Re: Q: ordering clones with interleave=false

2018-08-30 Thread Ken Gaillot
On Thu, 2018-08-30 at 08:28 +0200, Ulrich Windl wrote: > > > > Ken Gaillot schrieb am 29.08.2018 um > > > > 20:30 in > > Nachricht > <1535567455.5594.5.ca...@redhat.com>: > > On Wed, 2018‑08‑29 at 13:30 +0200, Ulrich Windl wrote: > > > Hi! > > > > > > Reading the docs I have a question: WHen I

[ClusterLabs] Q: native_color scores for clones

2018-08-30 Thread Ulrich Windl
Hi! After having found showscores.sh, I thought I can improve the perfomance by porting it to Perl, but it seems the slow part actually is calling pacemakers helper scripts like crm_attribute, crm_failcount, etc... But anyway: Being quite confident what my program produces (;-)), I found some

[ClusterLabs] Antw: Re: Q: ordering clones with interleave=false

2018-08-30 Thread Ulrich Windl
>>> Ken Gaillot schrieb am 29.08.2018 um 20:30 in Nachricht <1535567455.5594.5.ca...@redhat.com>: > On Wed, 2018‑08‑29 at 13:30 +0200, Ulrich Windl wrote: >> Hi! >> >> Reading the docs I have a question: WHen I run a clone with >> interleave=false in a three‑node cluster, and the clne cannot be