Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.

Appendix F. Changing Nova reserved memory and CPU allocation manually


Creating a custom template to overwrite the reserved_host_memory_mb and cpu_allocation_ratio default values.

Prerequisites

  • Deploy the Red Hat OpenStack Platform director (RHOSP-d), also known as the undercloud.
  • Create a Directory for Custom Templates.

Procedure

Do the following steps on the RHOSP-d node, as the stack user.

  1. Create the compute.yaml file in the custom templates directory:

    [stack@director ~]$ touch ~/templates/compute.yaml
    Copy to Clipboard Toggle word wrap
  2. Open the compute.yaml file for editing.

    1. Add the reserved_host_memory and cpu_allocation_ratio configuration parameters to the ExtraConfig section, under the parameter defaults section:

      parameter_defaults:
        ExtraConfig:
          nova::compute::reserved_host_memory: MEMORY_SIZE_IN_MB
          nova::cpu_allocation_ratio: CPU_RATIO
      Copy to Clipboard Toggle word wrap
      Replace…​
      • MEMORY_SIZE_IN_MB with the memory size in megabytes (MB).
      • CPU_RATIO with the ratio decimal value.

        Example

            nova::compute::reserved_host_memory: 75000
            nova::cpu_allocation_ratio: 8.2
        Copy to Clipboard Toggle word wrap

        Note

        Red Hat OpenStack Platform director refers to the reserved_host_memory_mb parameter used by Nova as the reserved_host_memory parameter.

Nach oben
Red Hat logoGithubredditYoutubeTwitter

Lernen

Testen, kaufen und verkaufen

Communitys

Über Red Hat Dokumentation

Wir helfen Red Hat Benutzern, mit unseren Produkten und Diensten innovativ zu sein und ihre Ziele zu erreichen – mit Inhalten, denen sie vertrauen können. Entdecken Sie unsere neuesten Updates.

Mehr Inklusion in Open Source

Red Hat hat sich verpflichtet, problematische Sprache in unserem Code, unserer Dokumentation und unseren Web-Eigenschaften zu ersetzen. Weitere Einzelheiten finden Sie in Red Hat Blog.

Über Red Hat

Wir liefern gehärtete Lösungen, die es Unternehmen leichter machen, plattform- und umgebungsübergreifend zu arbeiten, vom zentralen Rechenzentrum bis zum Netzwerkrand.

Theme

© 2025 Red Hat