[ClusterLabs] Antw: [EXT] Moving resource only one way

Ulrich Windl Ulrich.Windl at rz.uni-regensburg.de
Thu Jul 15 08:03:39 EDT 2021


>>> Ervin Hegedüs <airween at gmail.com> schrieb am 15.07.2021 um 14:01 in
Nachricht
<CAJ2uXbeaLjq7E8OQNRWCLZ_H-1-_rnNXpbAWP9CnctA55cns6w at mail.gmail.com>:
> Hi there,
> 
> I have to build a very simple cluster with only one resource: a virtual IP.
> 
> The "challenge":
> * there are two nodes in the cluster: primary and secondary
> * if primary node failed, secondary brings up the interface with the
> virtual IP
> * *BUT*: if the primary come back again, the resource must to *stay* on the
> secondary
> 
> Is there any way to solve this?
> 
> # crm --version
> crm 4.0.0

Did you try setting the resource stickiness?

> 
> Thanks,
> 
> 
> 
> a.





More information about the Users mailing list