On 03.08.2021 20:19, Ervin Hegedüs wrote:
> Hi there,
> 
> Okay, so I thought I'm done, but today I ran into an issue. There are two
> nodes, here is the config:
> 
> node 1: sles15-1
> node 2: sles15-2
> primitive virtualip IPaddr2 \
>       params ip=192.168.72.27 nic=eth0 cidr_netmask=24 \
>       op start interval=0s timeout=60s \
>       op monitor interval=5s timeout=20s \
>       op stop interval=0s timeout=60s
> location cli-prefer-virtualip virtualip role=Started inf: sles15-1
> property cib-bootstrap-options: \
>       have-watchdog=false \
>       dc-version="2.0.1+20190417.13d370ca9-1.2-2.0.1+20190417.13d370ca9" \
>       cluster-infrastructure=corosync \
>       stonith-enabled=no \
>       no-quorum-policy=ignore
> rsc_defaults rsc-options: \
>       resource-stickiness=100
> 
> 
> When I turned off the active node (sles15-1), then resource moved onto the
> sles15-2, this is fine.
> But when I turned on again the sles15-1 node, the resource moved back onto
> that node.
> 
> The `location` section overwrites the stickiness?
> 

Of course. INFINITY > 100
_______________________________________________
Manage your subscription:
https://lists.clusterlabs.org/mailman/listinfo/users

ClusterLabs home: https://www.clusterlabs.org/

Reply via email to