Skip to main content

How to Set up Greenplum

Updated this week

Setup takes 5 minutes.

Introduction

Connecting Greenplum to Foundational allows Foundational to scan and determine lineage and downstream impact for Greenplum/VMware Tanzu Greenplum.

To make the connection, you need to:

  • Create a user and grant permissions to the metastore database

  • Configure the Greenplum connector in Foundational


Prerequisites

Ensure you have:

  • Greenplum admin rights

  • Access to your preferred Greenplum client (the examples in this guide use psql)

  • Configured firewalls and security groups so that Foundational can access the Greenplum database. To add Foundational IP address to the allowlist, see the article Allowing IP Access to Foundational


Access permissions

The permissions you assign to Foundational enable it to read metadata and determine lineage and downstream impact for Greenplum.


Create a user and grant permissions to the Metastore database

You access the Greenplum database through your preferred client. The command-line examples in this guide use psql.

  1. Download the script that creates the foundational user and role: create_foundational_user.sql.

  2. Open the downloaded script in a text editor and change <fill-the-password-here> to a password of your choice.

  3. Save the script.

  4. Run the script on your Greenplum database as admin with the following command: psql -h <greenplum-host> -p 5432 -U gpadmin -d postgres -f create_foundational_user.sql

  5. Verify that no errors occur. The script succeeds when you see this message:

   ...    ----------------------------------------------------------------------    Succeeded in creating Foundational role, and granting metadata permissions    ----------------------------------------------------------------------    ...

Connect Foundational to Greenplum

  1. In Foundational, open the Connectors & Integrations page.

  2. In Data Stores, select the Greenplum card and click Connect.

  3. Click Add Database.

  4. The initial setup screen opens. Click Start Setup.

  5. The Set Up New Connection screen opens.

    Enter the details:

    • Database URL: The host address of the Greenplum database.

    • Database Name: The name of the database in your Greenplum instance.

    • User Name: The username for Foundational to connect to your Greenplum. If you used the script, the name is foundational.

    • Password: The password for the foundational username. The password is the password you set when you edited the script.

  6. Click Next.

  7. The final setup screen opens. To complete the connection, click Save.

That's it. Foundational is now connected to Greenplum.

Did this answer your question?