此内容没有您所选择的语言版本。

Chapter 7. Deploying the overcloud


Prerequisites

Important

Do not enable Instance HA when deploying a RHOSP HCI environment. Contact your Red Hat representative if you want to use Instance HA with hyperconverged RHOSP deployments with Ceph.

Procedure

Run the following command to deploy your HCI overcloud:

$ openstack overcloud deploy --templates \
  -p /usr/share/openstack-tripleo-heat-templates/plan-samples/plan-environment-derived-params.yaml \
  -r /home/stack/templates/roles_data.yaml \
  -e /home/stack/templates/ports.yaml \
  -e /home/stack/templates/environment-rhel-registration.yaml \
  -e /usr/share/openstack-tripleo-heat-templates/environments/ceph-ansible/ceph-ansible.yaml \
  -e /home/stack/templates/storage-config.yaml \
  -e /home/stack/templates/storage-container-config.yaml \
  -e /home/stack/templates/network.yaml \
  [-e /home/stack/templates/ceph-backfill-recovery.yaml \ ]
  [-e /usr/share/openstack-tripleo-heat-templates/environments/services/neutron-sriov.yaml \]
  [-e /home/stack/templates/network-environment.yaml \ ]
  [-e <additional environment files for your planned overcloud deployment> \ ]
  --ntp-server pool.ntp.org

Where:

ArgumentDescription

--templates

Creates the overcloud from the default heat template collection: /usr/share/openstack-tripleo-heat-templates/).

-p /usr/share/openstack-tripleo-heat-templates/plan-samples/plan-environment-derived-params.yaml

Specifies that the derived parameters workflow should be run during the deployment to calculate how much memory and CPU should be reserved for a hyperconverged deployment.

-r /home/stack/templates/roles_data.yaml

Specifies the customized roles definition file created in the Preparing the overcloud role for hyperconverged nodes procedure, which includes the ComputeHCI role.

-e /home/stack/templates/ports.yaml

Adds the environment file created in the Preparing the overcloud role for hyperconverged nodes procedure, which configures the ports for the ComputeHCI role.

-e /home/stack/templates/environment-rhel-registration.yaml

Adds an environment file that registers overcloud nodes, as described in Registering the overcloud with the rhsm composable service.

-e /usr/share/openstack-tripleo-heat-templates/environments/ceph-ansible/ceph-ansible.yaml

Adds the base environment file that deploys a containerized Red Hat Ceph cluster, with all default settings. For more information, see Deploying an Overcloud with Containerized Red Hat Ceph.

-e /home/stack/templates/storage-config.yaml

Adds a custom environment file that defines all other Ceph settings. For a detailed example of this, see Sample Environment File: Creating a Ceph Cluster. This sample environment file also specifies the flavors to use, and how many nodes to assign per role. For more information on this, see Assigning Nodes and Flavors to Roles.

-e /home/stack/templates/storage-container-config.yaml

Reserves CPU and memory for each Ceph OSD storage container, as described in Reserving CPU and memory resources for Ceph.

-e /home/stack/templates/network.yaml

Adds the environment file created in the Mapping storage management network ports to NICs procedure.

-e /home/stack/templates/ceph-backfill-recovery.yaml

(Optional) Adds the environment file from Reduce Ceph Backfill and Recovery Operations.

-e /usr/share/openstack-tripleo-heat-templates/environments/services/neutron-sriov.yaml

(Optional) Adds the environment file for Single-Root Input/Output Virtualization (SR-IOV).

-e /home/stack/templates/network-environment.yaml

(Optional) Adds the environment file that applies your SR-IOV network preferences.

-e <environment file>

(Optional) Adds any additional environment files for your planned overcloud deployment.

--ntp-server pool.ntp.org

Sets our NTP server.

Note

Currently, SR-IOV is the only Network Function Virtualization (NFV) implementation supported with HCI.

For a full list of deployment options, run the following command:

$ openstack help overcloud deploy

For more details on deployment options, see Creating the Overcloud with the CLI Tools.

Tip

You can also use an answers file to specify which environment files to include in your deployment. For more information, see Including Environment Files in Overcloud Creation.

Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.