Create and Install the Tetra Data Hub

This page describes how to create and install the Tetra Data Hub.

Before you Begin

Verify that you meet the following requirements:

  • You have a TetraScience account, and you are either the organization owner or the Administrator.
  • You have a dedicated machine for the Data Hub because the Data Hub will always be running.
  • You have admin access to the dedicated device.

Click here to review the Data Hub machine's system requirements.

Create and Install the Tetra Data Hub

To create the Data Hub:

  1. In the Tetra Data Platform, click the Hamburger icon at the top left corner of the page to expand the TDP menu options (or hover over the list of icons to display the menu options):
4747

Hamburger Menu

  1. Select Data Sources -> Data Hub from the list of menu options that appears on the left side of the page.
251251

Data Hub Option

  1. Click + Create new DataHub at the top right corner of the page to open the Data Hub wizard.
710710

Data Hub Wizard

  1. Enter a name for the new Data Hub and click Create DataHub.
702702

Data Hub Wizard

  1. Click Download installer to download the installation script.
  2. Copy the installation script to your Data Hub environment.
  3. Open the Terminal app and navigate to the installation script directory. Change the installation script to run as an executable by entering: sudo chmod +x datahub-installer.sh

For TDP Versions >= 2.22.0

If the Data Hub machine is behind a proxy, then you can:

  • Manually add environment variables for the proxy (usually done when network administrators prepare a clean machine for the Data Hub as part of their set up), or
  • Configure it automatically through an installation script*.
  1. Run the installation script as root by typing sudo ./datahub-installer.sh. Click here for details.
  2. The Data Hub installer performs various checks and prompts you for input and/or confirmation.
  • Installer checks if the machine has enough RAM memory:
    • if there < 4 GB of RAM, then the installer will abort.
    • if there >= 4 GB but <= 8 GB of RAM, then the installer will issue a warning and ask if you want to continue.
    • if there > 8 GB of RAM, then the installer will continue without any warning.

📘

MEM Configuration

The MEM configuration can be bypassed during installation. TetraScience has identified performance issues for AWS instance types < 4 GB of RAM. Therefore, we recommend that you use t3.small or larger AWS instance types.

  • Installer checks if the machine has enough allocated disk space:
    • if there < 20 GB of disk space, then the installer will abort.
    • if there >= 20 GB but <= 50 GB of disk space, then the installer will issue a warning and ask if you want to continue.
    • if there > 50 GB of disk space, then installer will continue without any warning.
  • Installer attempts to detect environment proxy variables:
    • If environment proxy variables are set, then the installer presents them and checks if they have the correct values.
    • If no environment proxy variables are detected, then the installer asks if the machine is behind the proxy. If you enter Yes, then you must provide the proxy settings.
    • If proxy settings were detected, or you manually entered the proxy settings in a previous step, then the installer will ask for permission to update the AWS SSM client settings with those proxy details after installation completes. If you reject to provide permission, then the installer will abort. Otherwise, if no proxy settings were detected and you did not provide proxy settings in a previous step, then the installer continues normally.
  • Installer checks if all required software is installed, and if not, it will install it.
  1. After the installation completes, return to the TDP platform UI to register and activate the Data Hub with AWS. Click Activate. The activation expires 24 hours after the Data Hub was created. You can only use the activation code once and it must be within the 24 hours after you created the Data Hub in the TDP UI. If it expires, then you must create a new Data Hub and run a new installation script.

The new Data Hub should appear as activated and online. You can add connectors to this Data Hub.

For TDP Versions < 2.22.0

After the installation is complete, return to the TDP UI to activate the newly installed Data Hub. Click Activate to continue. The activation expires 24 hours after the Data Hub was created. You can only use the activation code once and it must be within the 24 hours after you created the Data Hub in the TDP UI. If it expires, then you must create a new Data Hub and run a new installation script.

The new Data Hub should appear as activated and online. You can add connectors to this Data Hub.

Troubleshooting Common Tetra Data Hub Installation Issues

These common issues may occur during the Tetra Data Hub installation procedure:

  • Installation script fails because there is no network access. To fix this issue, you should check:

    • Does the Data Hub machine have network access?
    • Does the Data Hub machine have open 443 port?
    • Is the Data Hub machine behind a proxy? If so, then you must configure the environment variables.
  • Installation script fails because some of required software components cannot be installed automatically. This generally occurs with Docker installation. If it does happen, then manually install Docker and run the installation script again.

  • Data Hub activation fails. Please review the log at /var/log/amazon/ssm/amazon-ssm-agent.log and verify that there are no network related issues. If there are network issues, then review the network and proxy settings for the Data Hub machine.