Stop/Terminate Vantage Instances | Teradata Vantage on AWS (DIY) - 2.2 - Stopping or Terminating Vantage Instances - Teradata Vantage on AWS

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

Product
Teradata Vantage on AWS
Release Number
2.2
Release Date
May 2021
Content Type
Administration
Configuration
Installation
Publication ID
B035-2800-041K
Language
English (United States)

To avoid triggering a node failure, stop or terminate instances before shutting down the database. When a node failure occurs on a single-node system, AWS starts up a replacement automatically unless there are issues with the operating system or in the database itself. To handle these situations, Teradata recommends deploying a new Vantage MPP system instance. Even if a node does not go down due to a failure, an instance still starts up after you stop or terminate an instance. Stopping instances does not delete attached EBS volumes, but terminating instances detaches and deletes the EBS volumes. Node failures are handled differently on local storage instance types.

To stop or terminate instances, you must first shut down the database.

  1. Stop the database.
    # tpareset -x stop system
    Putting the database in this state takes a few minutes.
  2. Wait for the database to shut down.
    # psh pdestate -w
    PDE state: DOWN/HARDSTOP
  3. From the AWS EC2 Console, terminate or stop the instances associated with the Teradata Vantage on AWS (DIY).
  4. If you are stopping an orphaned Vantage node in response to a node failure, do one of the following:
    • From the AWS EC2 Console, terminate or stop the instances.
    • From the command prompt, type psh init 0 to shut down the system.
    Orphaned means when a failed node is recovered, but the recovery is too late for the node to rejoin the configuration and so the node is replaced. The node is online, but is no longer part of the system configuration.