Chapter 7. Deploying the overcloud
Prerequisites
-
You are using a separate base environment file, or set of files, for all other Ceph settings, for instance,
/home/stack/templates/storage-config.yaml
. For more information, see Customizing the Storage Service and Sample Environment File: Creating a Ceph Cluster. - You have defined the number of nodes you are assigning to each role in the base environment file. For more information, see Assigning Nodes and Flavors to Roles.
-
During undercloud installation, you set
generate_service_certificate=false
in theundercloud.conf
file. Otherwise, you must inject a trust anchor when you deploy the overcloud, as described in Enabling SSL/TLS on Overcloud Public Endpoints.
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:
Argument | Description |
---|---|
|
Creates the overcloud from the default heat template collection: |
| 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. |
| Specifies the customized roles definition file created in the Preparing the overcloud role for hyperconverged nodes procedure, which includes the ComputeHCI role. |
| Adds the environment file created in the Preparing the overcloud role for hyperconverged nodes procedure, which configures the ports for the ComputeHCI role. |
| Adds an environment file that registers overcloud nodes, as described in Registering the overcloud with the rhsm composable service. |
| 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. |
| 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. |
| Reserves CPU and memory for each Ceph OSD storage container, as described in Reserving CPU and memory resources for Ceph. |
| Adds the environment file created in the Mapping storage management network ports to NICs procedure. |
| (Optional) Adds the environment file from Reduce Ceph Backfill and Recovery Operations. |
| (Optional) Adds the environment file for Single-Root Input/Output Virtualization (SR-IOV). |
| (Optional) Adds the environment file that applies your SR-IOV network preferences. |
| (Optional) Adds any additional environment files for your planned overcloud deployment. |
| Sets our NTP server. |
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.
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.