Show Table of Contents
7.3. Overcloud Creation Example
The following command is an example of how to start the Overcloud creation with custom environment files included:
$ openstack overcloud deploy --templates -e /usr/share/openstack-tripleo-heat-templates/environments/network-isolation.yaml -e ~/templates/network-environment.yaml -e ~/templates/storage-environment.yaml --control-scale 3 --compute-scale 3 --ceph-storage-scale 3 --control-flavor control --compute-flavor compute --ceph-storage-flavor ceph-storage --ntp-server pool.ntp.org
This command contains the following additional options:
--templates- Creates the Overcloud using the Heat template collection in/usr/share/openstack-tripleo-heat-templates.-e /usr/share/openstack-tripleo-heat-templates/environments/network-isolation.yaml- The-eoption adds an additional environment file to the Overcloud deployment. In this case, it is an environment file that initializes network isolation configuration.-e ~/templates/network-environment.yaml- The-eoption adds an additional environment file to the Overcloud deployment. In this case, it is the network environment file from Section 6.2.2, “Creating a Network Environment File”.-e ~/templates/storage-environment.yaml- The-eoption adds an additional environment file to the Overcloud deployment. In this case, it is a custom environment file that initializes our storage configuration.--control-scale 3- Scale the Controller nodes to three.--compute-scale 3- Scale the Compute nodes to three.--ceph-storage-scale 3- Scale the Ceph Storage nodes to three.--control-flavor control- Use the a specific flavor for the Controller nodes.--compute-flavor compute- Use the a specific flavor for the Compute nodes.--ceph-storage-flavor ceph-storage- Use the a specific flavor for the Ceph Storage nodes.--ntp-server pool.ntp.org- Use an NTP server for time synchronization. This is useful for keeping the Controller node cluster in synchronization.
