Scaling Instances Up or Down Manually - Teradata Software for AWS

Teradata Vantageā„¢ on AWS (DIY) Installation and Administration Guide

Product
Teradata Vantage on AWS
Release Number
5.08
Published
November 2018
Language
English (United States)
Last Update
2018-11-07
dita:mapPath
upc1519757374969.ditamap
dita:ditavalPath
TeradataAWS_PubCloud_5.08.ditaval
dita:id
B035-2800
lifecycle
previous
Product Category
Cloud
  • 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.
  1. [BYOL only] Revoke the license.
  2. Stop the database.
    # tpareset -x stop system
  3. Verify the database is stopped.
    # psh pdestate -w
    PDE state: DOWN/HARDSTOP
  4. 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
    1. In the navigation pane, click Running Instances.
    2. Select the check box next to all instances.
    3. Select Actions > Instance State > Stop.
    4. In the confirmation box, click Yes, Stop.

      Stopping the instances may take a few minutes.

  5. From the AWS EC2 Console, select the check box next to all instances.
  6. Select Actions > Instance Settings > Change Instance Type.
  7. Select the EBS-optimized check box, which enables EBS optimization.
  8. Click Apply.
  9. From the AWS EC2 Console, select the check box next to all instances.
  10. Select Actions > Instance State > Start.
  11. 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.
  12. 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.
  13. [BYOL only] Reactivate the license.
    1. Run the activate command.
      sudo su -
      eval "$(grep "tdc-telm -m activate" /var/lib/cloud/instance/scripts/part-001)"
      
    2. 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
    3. 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.
    4. If the database shuts down between revoking and activating the license, restart the database.
      sh /etc/init.d/tpa start