Scaling In a System - 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
  • Teradata Database downtime is required because scaling in reconfigures the database and migrates the EBS data volumes. Schedule a time that minimally impacts users.
  • Make sure you have increased limits. Read about COP entries and make sure your system is properly configured.
Use this procedure to scale in a system after deployment.
  1. [First time you scale in] Check to see if your system can be scaled in:
    # tdc-scale-in -d
  2. Stop the database.
    # tpareset –x –y stop for scaling in
  3. Verify the database is in a DOWN/HARDSTOP state.
    # pdestate -a
    PDE state: DOWN/HARDSTOP Putting the database in this state may take several minutes.
  4. Enter one of the following commands to start the scale in process: After entering one of the following commands, check log files to determine how long the process will take to finish.
    Command Description
    # tdc-scale-in 2x Removes half of the current node count.

    For example, if the current system has 8 nodes, the scaled in system will have 4 nodes.

    # tdc-scale-in 4x Removes a quarter of the current node count.

    For example, if the current system has 8 nodes, the scaled in system will have 2 nodes.

    The output displays how the configuration changes after the system has been scaled in, as shown in the following example:
    Current system will be scaled in [2x]:
    ===========================================================================
     Nodes:
             Node Count:    4 => 2
    ---------------------------------------------------------------------------
     CPU(Core)/Mem(GB):
              CPUs/Node:   16 == 16       CPUs Total:   64 => 32
               Mem/Node:   65 == 65        Mem Total:  260 => 130
    ---------------------------------------------------------------------------
     AMPs/PEs:
              AMPs/Node:   12 => 24       AMPs Total:   48 == 48
               PEs/Node:    2 == 2         PEs Total:    8 => 4
    ===========================================================================
    Continue? [yes/no] yes
  5. Enter yes. When the process completes, the new configuration appears under Current Configuration.
  6. [Optional] Check the database status.
    # pdestate –a
  7. Display the Teradata system configuration to confirm the number of nodes is correct.
    # tdinfo
  8. If you are using Teradata DSC to run jobs, type the following command on all Teradata Database nodes to update the configuration of the media server.
    # /etc/init.d/clienthandler restart-hwupgrade
  9. [Optional] Check the logs for troubleshooting.