Este contenido no está disponible en el idioma seleccionado.

Chapter 12. Updating and upgrading the Load-balancing service


Perform regular updates and upgrades so that you can use the latest Red Hat OpenStack Platform Load-balancing service features, and avoid possible lengthy and problematic issues caused by infrequent updates and upgrades.

12.1. Updating and upgrading the Load-balancing service

The Load-balancing service (octavia) is a part of a Red Hat OpenStack Platform (RHOSP) update or upgrade.

Prerequisites

  • Schedule a maintenance window to perform the upgrade, because during the upgrade the Load-balancing service control plane is not fully functional.

Procedure

  1. Perform the RHOSP update as described in the Keeping Red Hat OpenStack Platform Updated guide.
  2. After the maintenance release is applied, if you need to use new features, then rotate running amphorae to update them to the latest amphora image.

12.2. Updating running Load-balancing service instances

Periodically, you can update a running Load-balancing service instance (amphora) with a newer image. For example, you might want to update an amphora instance during the following events:

  • An update or upgrade of Red Hat OpenStack Platform (RHOSP).
  • A security update to your system.
  • A change to a different flavor for the underlying virtual machine.

During an RHOSP update or upgrade, director automatically downloads the default amphora image, uploads it to the overcloud Image service (glance), and then configures the Load-balancing service (octavia) to use the new image. When you fail over a load balancer, you force the Load-balancing service to start an instance (amphora) that uses the new amphora image.

Prerequisites

  • New images for amphora. These are available during an RHOSP update or upgrade.

Procedure

  1. Source your credentials file.

    Example

    $ source ~/overcloudrc
    Copy to Clipboard Toggle word wrap

  2. List the IDs for all of the load balancers that you want to update:

    $ openstack loadbalancer list -c id -f value
    Copy to Clipboard Toggle word wrap
  3. Fail over each load balancer:

    $ openstack loadbalancer failover <loadbalancer_id>
    Copy to Clipboard Toggle word wrap
    Note

    When you start failing over the load balancers, monitor system utilization, and as needed, adjust the rate at which you perform failovers. A load balancer failover creates new virtual machines and ports, which might temporarily increase the load on OpenStack Networking.

  4. Monitor the state of the failed over load balancer:

    $ openstack loadbalancer show <loadbalancer_id>
    Copy to Clipboard Toggle word wrap

    The update is complete when the load balancer status is ACTIVE.

Volver arriba
Red Hat logoGithubredditYoutubeTwitter

Aprender

Pruebe, compre y venda

Comunidades

Acerca de la documentación de Red Hat

Ayudamos a los usuarios de Red Hat a innovar y alcanzar sus objetivos con nuestros productos y servicios con contenido en el que pueden confiar. Explore nuestras recientes actualizaciones.

Hacer que el código abierto sea más inclusivo

Red Hat se compromete a reemplazar el lenguaje problemático en nuestro código, documentación y propiedades web. Para más detalles, consulte el Blog de Red Hat.

Acerca de Red Hat

Ofrecemos soluciones reforzadas que facilitan a las empresas trabajar en plataformas y entornos, desde el centro de datos central hasta el perímetro de la red.

Theme

© 2025 Red Hat