Chapter 4. Designating specific instances to evacuate

By default, Instance HA evacuates all instances from a failed node. You can also configure Instance HA to only evacuate instances with specific images or flavors.

Prerequisites

  1. Log in to the undercloud as the stack user.
  2. Source the overcloudrc file:

    $ source ~/overcloudrc

Tagging an image to evacuate

  • Tag an image and replace IMAGE_ID with the ID of the image that you want to evacuate:

    (overcloud) $ openstack image set --tag evacuable IMAGE_ID

Tagging a flavor to evacuate

  • Tag a flavor and replace FLAVOR_ID with the ID of the flavor that you want to evacuate:

    (overcloud) $ openstack flavor set --property evacuable=true FLAVOR_ID