Chapter 7. Creating additional distributed compute node sites
A new distributed compute node (DCN) site has its own directory of YAML files on the undercloud. For more information, see Section 2.3, “Managing separate heat stacks”. This procedure contains example commands.
Procedure
As the stack user on the undercloud, create a new directory for
dcn1
:$ cd ~ $ mkdir dcn1
Copy the existing
dcn0
templates to the new directory and replace thedcn0
strings withdcn1
:$ cp dcn0/ceph.yaml dcn1/ceph.yaml $ sed s/dcn0/dcn1/g -i dcn1/ceph.yaml $ cp dcn0/overrides.yaml dcn1/overrides.yaml $ sed s/dcn0/dcn1/g -i dcn1/overrides.yaml $ sed s/"0-ceph-%index%"/"1-ceph-%index%"/g -i dcn1/overrides.yaml $ cp dcn0/deploy.sh dcn1/deploy.sh $ sed s/dcn0/dcn1/g -i dcn1/deploy.sh
-
Review the files in the
dcn1
directory to confirm that they suit your requirements. Verify that your nodes are available and in
Provisioning state
:$ openstack baremetal node list
When your nodes are available, run the
deploy.sh
for thedcn1
site:$ bash dcn1/deploy.sh