[ClusterLabs] Q: Prevent non-live VM migration

kgaillot at redhat.com kgaillot at redhat.com
Mon Jul 12 10:53:20 EDT 2021

On Mon, 2021-07-12 at 08:35 +0200, Ulrich Windl wrote:
> Hi!
> We had some problem in the cluster that prevented live migration of
> VMs. As a consequence the cluster migrated the VMs using stop/start.
> I wonder: Is there a way to prevent stop/start migration if live-
> migration failed?

The only thing I can think of is setting on-fail=block for migrate_to
and migrate_from actions. I'd be cautious though; if the migration
fails in a way that leaves the domain inaccessible, it will stay that

> In out case the migration was triggeerd by resource placement
> strategy.
> The messages logged would look like this:
>  warning: Unexpected result (error: v15: live migration to h18
> failed: 1) was recorded for migrate_to of prm_xen_v15 on h16
> Regards,
> Ulrich
> _______________________________________________
> Manage your subscription:
> https://lists.clusterlabs.org/mailman/listinfo/users
> ClusterLabs home: https://www.clusterlabs.org/
Ken Gaillot <kgaillot at redhat.com>

More information about the Users mailing list