Chapter 7. Scaling hyperconverged nodes
To scale HCI nodes up or down, the same principles and methods for scaling Compute nodes or Red Hat Ceph Storage nodes apply.
7.1. Scaling up hyperconverged nodes in HCI environments Copy linkLink copied to clipboard!
To scale up hyperconverged nodes in HCI environments follow the same procedure for scaling up non-hyperconverged nodes. For more information, see Adding nodes to the overcloud.
When you tag new nodes, remember to use the right flavor.
7.2. Scaling down hyperconverged nodes in HCI environments Copy linkLink copied to clipboard!
To scale down hyperconverged nodes in HCI environments you must rebalance the Ceph OSD services on the HCI node, migrate instances from the HCI nodes, and remove the Compute nodes from the overcloud.
If you are using director-deployed Red Hat Ceph Storage, it is important to understand the impact of replacing Controller nodes. The Ceph Monitor service runs on the Controller nodes and is typically assigned IP addresses from the Storage network. These Ceph Monitor service IP addresses are associated with VM instances where Red Hat Ceph Storage is used. They are not dynamically updated if the Ceph Monitor service IP address changes during replacement of the Controller node. This could result in a storage outage, especially if multiple Controller nodes are replaced. Each VM instance would have to be migrated, rebooted, or shelved and unshelved to resolve the IP address change and the resulting outage.
Reuse the IP addresses of the removed Ceph Monitor service instances instead of using new IP addresses to avoid this situation.
For an example, see the fixed_ip configuration example in Step 5 of Provisioning bare metal nodes for the overcloud.
Use the following command on a Controller node to find the current Ceph Monitor service IP addresses:
$ sudo cephadm shell -- ceph mon stat
Procedure
- Disable and rebalance the Ceph OSD services on the HCI node. This step is necessary because director does not automatically rebalance the Red Hat Ceph Storage cluster when you remove HCI or Red Hat Ceph Storage nodes. For more information, see Scaling the Ceph Storage cluster in Deploying Red Hat Ceph Storage and Red Hat OpenStack Platform together with director for more information.
- Migrate the instances from the HCI nodes. For more information, see Migrating virtual machines between Compute nodes in the Configuring the Compute service for instance creation guide.
- Remove the Compute nodes from the overcloud. For more information, see Removing Compute nodes.