Migrating Placement Groups - 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 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.
  • [BYOL only] You must have a valid, active license with sufficient TCore for a scaled up system.
You can migrate placement groups as an alternative to scaling instances up or down manually if you do not want to stop the instances.
  1. [BYOL only] Revoke the license.
  2. Stop the database on a single instance in the system.
    # tpareset -x stop system
  3. Verify the database is stopped.
    # psh pdestate -w
    PDE state: DOWN/HARDSTOP
  4. Start the placement group migration.
    # tdc-migrate-placement-group --instance_type <desired instance type>
    where the desired instance type is m4.4xlarge, m4.10xlarge, or m4.16xlarge. The old system remains running. The original instance names have -migrated appended to them.
  5. 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.
  6. [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