My guess is default stickiness being > 0.
>>> Alastair Basden schrieb am 12.05.2021 um 11:58
in
Nachricht :
> Hi all,
>
> Some help required with master/slave moving please...
>
> I have set up a resource with:
> pcs resource create resourcedrbd ocf:linbit:drbd drbd_resource=disk1 op
> monitor
Hi Ulrich,
What would I need to change?
pcs resource meta resourcedrbdClone resource-stickiness=0
doesn't fix it.
I already have:
#> pcs property list --all | grep stick
default-resource-stickiness: (null)
#> pcs resource defaults
No defaults set
Thanks,
Alastair.
On Wed, 12 May 2021, Ulri
Oddly enough, if I:
pcs resource move resourcedrbdClone node2
it moves it to node 2 okay.
But then if I
pcs resource clear resourcedrbdClone
it moves it back to node1.
Which is odd, given its score for role Master is higher on node 2.
Is there a way of getting pcs to show why it has made those
On 12.05.2021 17:16, Alastair Basden wrote:
> Oddly enough, if I:
> pcs resource move resourcedrbdClone node2
> it moves it to node 2 okay.
>
> But then if I
> pcs resource clear resourcedrbdClone
> it moves it back to node1.
>
> Which is odd, given its score for role Master is higher on node 2.
Oddly enough, if I:
pcs resource move resourcedrbdClone node2
it moves it to node 2 okay.
But then if I
pcs resource clear resourcedrbdClone
it moves it back to node1.
Which is odd, given its score for role Master is higher on node 2.
How do you know it?
Because I have set score=100 for node
On 12.05.2021 20:02, Alastair Basden wrote:
>>> Oddly enough, if I:
>>> pcs resource move resourcedrbdClone node2
>>> it moves it to node 2 okay.
>>>
>>> But then if I
>>> pcs resource clear resourcedrbdClone
>>> it moves it back to node1.
>>>
>>> Which is odd, given its score for role Master is hi
On 12.05.2021 20:02, Alastair Basden wrote:
Oddly enough, if I:
pcs resource move resourcedrbdClone node2
it moves it to node 2 okay.
But then if I
pcs resource clear resourcedrbdClone
it moves it back to node1.
Which is odd, given its score for role Master is higher on node 2.
How do you
On 5/12/21 4:06 PM, Alastair Basden wrote:
Hi Ulrich,
What would I need to change?
pcs resource meta resourcedrbdClone resource-stickiness=0
doesn't fix it.
I don't have a cluster here, but maybe see "crm_simulate -LS" or
https://clusterlabs.org/pacemaker/doc/en-US/Pacemaker/2.0/html/Pacemake
On Wed, May 12, 2021 at 8:15 PM Alastair Basden wrote:
>
>
> > On 12.05.2021 20:02, Alastair Basden wrote:
> Oddly enough, if I:
> pcs resource move resourcedrbdClone node2
> it moves it to node 2 okay.
>
> But then if I
> pcs resource clear resourcedrbdClone
> i
If something moves in/out in a non-expected way, always check:pcs constraint
location --full | grep cli
Best Regards,Strahil Nikolov
On Thu, May 13, 2021 at 10:45, Andrei Borzenkov wrote:
On Wed, May 12, 2021 at 8:15 PM Alastair Basden wrote:
>
>
> > On 12.05.2021 20:02, Alastair Basden
10 matches
Mail list logo