- You must have the ec2:ModifyInstanceAttribute permission to scale instances up or down manually.
- [BYOL only] You must have a valid, active license with sufficient TCore for a scaled up system.
- [BYOL only] Revoke the license.
-
Stop the database.
# tpareset -x stop system
-
Verify the database is stopped.
# psh pdestate -w
PDE state: DOWN/HARDSTOP -
Do one of the following to stop all instances at the same time.
Option Actions Using the command line On a single instance in the system, type # psh init 0. Using the AWS EC2 Console - In the navigation pane, click Running Instances.
- Select the check box next to all instances.
- Select .
- In the confirmation box, click Yes, Stop.
Stopping the instances may take a few minutes.
- From the AWS EC2 Console, select the check box next to all instances.
- Select .
- Select the EBS-optimized check box, which enables EBS optimization.
- Click Apply.
- From the AWS EC2 Console, select the check box next to all instances.
- Select .
- In the confirmation box, click Yes, Start. Starting the instances may take a few minutes. If you did not change the default Teradata Database start behavior, all instances start and the database returns to a running state.
-
If you provisioned HSNs and scaled up an instance, type the following command.
# tdc-hot-standby --update-hsns
The HSNs are refreshed to match the system image and system image type. -
[BYOL only] Reactivate the license.
-
Run the activate command.
sudo su - eval "$(grep "tdc-telm -m activate" /var/lib/cloud/instance/scripts/part-001)"
-
Run tdlem-util -r on all nodes in the system:
Option Command Run on one node to affect all nodes sudo su - pcl -s tdlem-util -r
Run separately on each node sudo su - tdlem-util -r
- Log into the Teradata EMS server at https://slem.teradata.com/ecp and verify the quantity of available TCores decreased by the number of activated TCores.
-
If the database shuts down between revoking and activating the license, restart the database.
sh /etc/init.d/tpa start
-
Run the activate command.