Este conteúdo não está disponível no idioma selecionado.

10.4. Rebooting Compute Nodes


Reboot each Compute node individually and ensure zero downtime of instances in your OpenStack Platform environment. This involves the following workflow:
  1. Select a Compute node to reboot
  2. Migrate its instances to another Compute node
  3. Reboot the empty Compute node

From the undercloud, list all Compute nodes and their UUIDs:
$ source ~/stackrc
$ nova list | grep "compute"
Copy to Clipboard Toggle word wrap

Select a Compute node to reboot and first migrate its instances using the following process:
  1. From the undercloud, select a Compute Node to reboot and disable it:
    $ source ~/overcloudrc
    $ nova service-list
    $ nova service-disable [hostname] nova-compute
    Copy to Clipboard Toggle word wrap
  2. List all instances on the Compute node:
    $ nova list --host [hostname]
    Copy to Clipboard Toggle word wrap
  3. Select a second Compute Node to act as the target host for migrating instances. This host needs enough resources to host the migrated instances. From the undercloud, migrate each instance from the disabled host to the target host.
    $ nova live-migration [instance-name] [target-hostname]
    $ nova migration-list
    $ nova resize-confirm [instance-name]
    Copy to Clipboard Toggle word wrap
  4. Repeat this step until you have migrated all instances from the Compute Node.

Important

For full instructions on configuring and migrating instances, see Section 8.9, “Migrating VMs from an Overcloud Compute Node”.

Reboot the Compute node using the following process
  1. Log into the Compute Node and reboot it:
    $ sudo reboot
    Copy to Clipboard Toggle word wrap
  2. Wait until the node boots.
  3. Enable the Compute Node again:
    $ source ~/overcloudrc
    $ nova service-enable [hostname] nova-compute
    Copy to Clipboard Toggle word wrap
  4. Select the next node to reboot.
Voltar ao topo
Red Hat logoGithubredditYoutubeTwitter

Aprender

Experimente, compre e venda

Comunidades

Sobre a documentação da Red Hat

Ajudamos os usuários da Red Hat a inovar e atingir seus objetivos com nossos produtos e serviços com conteúdo em que podem confiar. Explore nossas atualizações recentes.

Tornando o open source mais inclusivo

A Red Hat está comprometida em substituir a linguagem problemática em nosso código, documentação e propriedades da web. Para mais detalhes veja o Blog da Red Hat.

Sobre a Red Hat

Fornecemos soluções robustas que facilitam o trabalho das empresas em plataformas e ambientes, desde o data center principal até a borda da rede.

Theme

© 2025 Red Hat