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

Teradata® AppCenter Customer Installation and Upgrade Guide for vSphere

Product
Teradata AppCenter
Release Number
1.10
Published
June 2020
Language
English (United States)
Last Update
2020-07-02
dita:mapPath
ixs1586886570933.ditamap
dita:ditavalPath
ft:empty
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.