Prepare Host for AppCenter Installation | Teradata AppCenter - Preparing the Host - Teradata AppCenter

Teradata® AppCenter Customer Installation and Upgrade Guide for vSphere

Product
Teradata AppCenter
Release Number
2.0
Published
September 2020
Language
English (United States)
Last Update
2020-09-28
dita:mapPath
bud1587493859355.ditamap
dita:ditavalPath
ft:empty
dita:id
B035-1117
Product Category
Analytical Ecosystem
Perform all steps from the client machine.
  1. Label the nodes:
    1. List nodes in your cluster:
      kubectl get nodes -o wide
    2. For each node in the cluster, run the following commands. All nodes should have the same labels.
      kubectl label node <NODE_NAME> appcenter/consul-0=true
      kubectl label node <NODE_NAME> appcenter/consul-1=true
      kubectl label node <NODE_NAME> appcenter/consul-2=true
      kubectl label node <NODE_NAME> appcenter/minio-0=true
      kubectl label node <NODE_NAME> appcenter/minio-1=true
      kubectl label node <NODE_NAME> appcenter/minio-2=true
      kubectl label node <NODE_NAME> appcenter/minio-3=true
      kubectl label node <NODE_NAME> appcenter/elastic-data-0=true
      kubectl label node <NODE_NAME> appcenter/elastic-data-1=true
      kubectl label node <NODE_NAME> appcenter/elastic-data-2=true
      kubectl label node <NODE_NAME> appcenter/elastic-master-0=true
      kubectl label node <NODE_NAME> appcenter/elastic-master-1=true
      kubectl label node <NODE_NAME> appcenter/elastic-master-2=true
      kubectl label node <NODE_NAME> appcenter/postgres=true
      kubectl label node <NODE_NAME> appcenter/grafana=true
      kubectl label node <NODE_NAME> appcenter/prometheus-0=true
      kubectl label node <NODE_NAME> appcenter/prometheus-1=true
    3. Verify labels have been applied to all nodes:
      $ kubectl get nodes --show-labels
  2. From any node in the cluster, create the following folders for persistent volumes:
    ssh root@<KUBE_NODE_IP> -i <SSH_KEY_USED_TO_INSTALL_KUBERNETES_CLUSTER> \
    "mkdir -p /var/lib/docker/teradata/data && \
    cd /var/lib/docker/teradata/data && \
    mkdir -p minio/minio-0 minio/minio-1 minio/minio-2 minio/minio-3 \
    consul/consul-0 consul/consul-1 consul/consul-2 \
    elasticsearch/elastic-master-0 elasticsearch/elastic-master-1 \
    elasticsearch/elastic-master-2 elasticsearch/elastic-data-0 \
    elasticsearch/elastic-data-1 elasticsearch/elastic-data-2 \
    postgres/postgres-0 grafana/grafana-0 \
    prometheus/prometheus-0 prometheus/prometheus-1 \
    alertmanager/alertmanager-0 alertmanager/alertmanager-1"
    To get the node IP address required for folders, run $ kubectl get nodes -o wide, then replace <KUBE_NODE_IP> with the IP of any node.
  3. Make sure all the folders are properly created by doing the following:
    1. Using the SSH key, run:
      ssh root@< KUBE_NODE_IP> -i <SSH_KEY_USED_TO_INSTALL_KUBERNETES_CLUSTER>
    2. Go to /var/lib/docker/teradata/data.