[ClusterLabs] Antw: [EXT] Moving resource only one way
Ervin Hegedüs
airween at gmail.com
Tue Aug 3 13:19:18 EDT 2021
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?
Thanks,
a.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/users/attachments/20210803/b64974c8/attachment.htm>
More information about the Users
mailing list