PrerequisiteYou must be granted the following permissions by your IAM administrator:
- ec2:DescribePlacementGroup: Allows you to see if a placement group exists and to get information about it.
- ec2:DeletePlacementGroup: Allows you to roll back if an issue occurs.
- ec2:CreatePlacementGroup: Allows you to create a placement group to migrate new instances.
You can migrate placement groups as an alternative to scaling instances up or down manually if you do not want to stop the instances.
Stop the database on a single instance in the system.
# tpareset -x stop system
Verify the database is stopped.
# psh pdestate -wPDE state: DOWN/HARDSTOP
Start the placement group migration.
# tdc-migrate-placement-group --instance_type <desired instance type>where the desired instance type is r5.4xlarge, r5.8xlarge, r5.12xlarge, r5.16xlarge, or r5.24xlarge.The old system remains running. The original instance names have -migrated appended to them.
SSH into the system to verify the new instances are working as expected.
After verifying the new system, you can stop or terminate the old instances.