After you have prepared your environment for installation, please complete the following steps to install the Designer Cloud Powered by Trifacta platform. You must install a supported version of OpenJDK on the Alteryx node. NOTE: If you are integrating with S3, a different version of Java may be required. For more information, see System Requirements. Install commands: Centos/RHEL: NOTE: If Ubuntu: JAVA_HOME: By default, the Edit the following file: Update the following parameter value: NOTE: Install curl if not present on your system. Install dependencies with Internet access for CentOS or RHEL: Use the following to add the hosted package repository for CentOS/RHEL, which will automatically install the proper packages for your environment. These steps also install the proper version of PostgreSQL and the Alteryx database. Install dependencies with Internet access for Ubuntu: Use the following to add the hosted package repository for Ubuntu, which will automatically install the proper packages for your environment. NOTE: When dependencies are acquired for Ubuntu, the operating system grabs the latest version of a dependency, even if it is later than the version on which the software is dependent. In some cases, this mismatch can result in installation errors, which can be fixed by manually installing the dependency with the correct version. Then, execute the following command: NOTE: If your installation server is connected to the Internet, the required dependencies are automatically downloaded and installed for you. You may skip this section. Use the steps below to acquire and install dependencies required by the Designer Cloud Powered by Trifacta platform. If you need further assistance, please contact Alteryx Support. Install dependencies without Internet access for CentOS or RHEL: In a CentOS or RHEL environment, the dependencies repository must be installed into the following directory: The following commands configure Yum to point to the repository in The following command installs the RPM while disable all repos other than local, which prevents the installer from reaching out to the Internet for package updates: NOTE: The disabling of repositories only applies to this command. If the above command fails and complains about a missing repo, you can add the missing repo to the If you do not have a supported version of a Java Developer Kit installed on the Alteryx node, you can use the following command to install OpenJDK, which is included in the offline dependencies: Install dependencies without Internet access in Ubuntu: If you are trying to perform a manual installation of dependencies in Ubuntu, please contact Alteryx Support. NOTE: Installing the Designer Cloud Powered by Trifacta platform in a different directory other than the default one is not supported. For CentOS or RHEL: Install the package with yum, using root: For Ubuntu: Install the package with apt, using root: The previous line may return an error message, which you may ignore. Continue with the following command: The product is installed in the following directory: Please install the license key provided to you by Alteryx Inc into the following directory: For more information, see License Key. For safekeeping, you should retain all install packages that have been installed with this Alteryx deployment. Use the following commands to install the Alteryx databases in a local instance of PostgreSQL. NOTE: The following distributions and commands are for PostgreSQL 9.6. For CentOS 7.x: For Red Hat Enterprise Linux 6.x: For Red Hat Enterprise Linux 7.x: For Ubuntu 14.04: Add the repository's archive key to your apt-key keyring: Create a file named Run the following command: Add the repository's archive key to your apt-key keyring: Create a file named Run the following command: Use the following steps to initialize the databases of the Designer Cloud Powered by Trifacta® platform. NOTE: These steps assume that the Alteryx node is the host of these databases. Please modify the following steps if you are connecting to databases on other nodes. Pre-requisites: NOTE: The following steps are for configuring PostgreSQL 9.6. For CentOS 6.x, RHEL 6.x: For RHEL 7.x: For Ubuntu 14.04 / 16.04: NOTE: This configuration step only applies if the Alteryx databases are installed on a PostgreSQL instance that was not created as part of a Designer Cloud Enterprise Edition installation. Please verify the datestyle setting for your PostgreSQL instance. Steps: Execute the following in PostgreSQL: Set the No additional steps are required to initialize the databases in MySQL. Use the following steps to set custom database names, usernames, and passwords in the Designer Cloud Powered by Trifacta platform: Edit For each database below, you can review the database name, username, and password. Change this value only if you are installing the databases in a non-PostgreSQL environment. NOTE: H2 database type is used for internal testing. It is not a supported database. Change this value only if you are installing the databases in a non-PostgreSQL environment. NOTE: H2 database type is used for internal testing. It is not a supported database. Change this value only if you are installing the databases in a non-PostgreSQL environment. NOTE: H2 database type is used for internal testing. It is not a supported database. Change this value only if you are installing the databases in a non-PostgreSQL environment. NOTE: H2 database type is used for internal testing. It is not a supported database. If you have customized database properties, you must apply the edits from the new sample file to the existing configuration file after you have upgrade the Designer Cloud Powered by Trifacta platform. If you are using all defaults, you can just overwrite the existing file with the new version's sample file. PostgreSQL: Locate the sample Postgres configuration file: Ubuntu dir: From the NOTE: You can substitute different database usernames and groups for the ones listed below ( Alteryx database: Jobs database: Scheduling database: For more information on scheduling, see Configure Automator. Time-based Trigger database: For more information on scheduling, see Configure Automator. Configuration Service database: Artifact Storage Service database: Save the file. Restart the databases: If you are have also restarted the operating system, please execute the following first, followed by the O/S-specific commands: NOTE: This command is valid only if the Postgres DB is also hosted in the Alteryx node. CentOS/RHEL: Ubuntu: MySQL: Upgrading MySQL versions is not supported in this release. For more information, see Configure the Databases. If needed, you can change the default database port. See Change Database Port.1. Install OpenJDK
sudo yum install java-1.8.0-openjdk-1.8.0 java-1.8.0-openjdk-devel
java-1.8.0-openjdk-devel
is not included, the batch job runner service, which is required, fails to start.sudo apt-get install openjdk-8-jre-headless
JAVA_HOME
environment variable is configured to point to a default install location for the OpenJDK package. The property value must be updated in the following locations:/opt/trifacta/conf/env.sh
trifacta-conf.json
.
For more information, see Platform Configuration Methods."env.JAVA_HOME": "/usr/lib/jvm/java-1.8.0-openjdk.x86_64",
2. Install Dependencies
# If the client has curl installed ...
curl https://packagecloud.io/install/repositories/trifacta/dependencies/script.rpm.sh | sudo bash
# Otherwise, you can also use wget ...
wget -qO- https://packagecloud.io/install/repositories/trifacta/dependencies/script.rpm.sh | sudo bash
curl https://packagecloud.io/install/repositories/trifacta/dependencies/script.deb.sh | sudo bash
\*deps\*
file./var/local/trifacta
/var/local/trifacta
, which yum knows as local
. Repo permissions are set appropriately. Commands:tar xvzf <DEPENDENCIES_ARCHIVE>.tar.gz
mv local.repo /etc/yum.repos.d
mv trifacta /var/local
chown -R root:root /var/local/trifacta
chmod -R o-w+r /var/local/trifacta
sudo yum --disablerepo=* --enablerepo=local install <INSTALLER>.rpm
enablerepo
list. For example, if the centos-base
repo is reported as missing, then the command would be the following:sudo yum --disablerepo=* --enablerepo=local,centos-base install <INSTALLER>.rpm
sudo yum --disablerepo=* --enablerepo=local,centos-base install java-1.8.0-openjdk-1.8.0 java-1.8.0-openjdk-devel
3. Install Alteryx package
sudo yum install <rpm file>
sudo dpkg -i <deb file>
sudo apt-get -f -y install
/opt/trifacta
4. Install License Key
/opt/trifacta/license
5. Store install packages
6. Install databases
O/S Distribution URL Package Name CentOS 6 https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-6-x86_64/pgdg-centos96-9.6-3.noarch.rpm postgresql96-server CentOS 7 https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-x86_64/pgdg-centos96-9.6-3.noarch.rpm postgresql96-server RHEL 6 https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-6-x86_64/pgdg-centos96-9.6-3.noarch.rpm postgresql96-server RHEL 7 https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-x86_64/pgdg-centos96-9.6-3.noarch.rpm postgresql96-server
For CentOS 6.x:wget https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-6-x86_64/pgdg-centos96-9.6-3.noarch.rpm
sudo yum -y install pgdg-centos96-9.6-3.noarch.rpm
sudo yum -y install postgresql96-server
wget https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-x86_64/pgdg-centos96-9.6-3.noarch.rpm
sudo yum -y install pgdg-centos96-9.6-3.noarch.rpm
sudo yum -y install postgresql96-server
wget https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-6-x86_64/pgdg-redhat96-9.6-3.noarch.rpm
sudo yum -y install pgdg-redhat96-9.6-3.noarch.rpm
sudo yum -y install postgresql96-server
wget https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-x86_64/pgdg-redhat96-9.6-3.noarch.rpm
sudo yum -y install pgdg-redhat96-9.6-3.noarch.rpm
sudo yum -y install postgresql96-server
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
/etc/apt/sources.list.d/pgdg.list
, containing the following:deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main
deb-src http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main
sudo apt-get update
sudo apt-get install -y postgresql-9.6
For Ubuntu 16.04:wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
/etc/apt/sources.list.d/pgdg.list
, containing the following:deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main
sudo apt-get update
sudo apt-get install -y postgresql-9.6
7. Configure databases
Initialize
PostgreSQL
For CentOS 7.x:sudo /usr/pgsql-9.6/bin/postgresql96-setup initdb
sudo service postgresql-9.6 initdb
sudo /usr/pgsql-9.6/bin/postgresql96-setup initdb
pg_createcluster -d /var/lib/postgresql/9.6/main 9.6 main
Verify datastyle value
trifacta=# show datestyle;
DateStyle
-----------
ISO, MDY
(1 row)
ISO
, please edit the following file (PostgreSQL 9.6):/var/lib/pgsql/9.6/data/postgresql.conf
/etc/postgresql/9.6/main/postgresql.conf
datestyle
property to the following:datestyle = 'ISO,MDY';
MySQL
Set custom database parameters
/opt/trifacta/conf/trifacta-conf.json
. Database Property Notes Main database webapp.database.name webapp.database.username webapp.database.password You should change the default password. This change must also be applied on the database server. See Change Database Passwords for PostgreSQL. See Change Database Passwords for MySQL. webapp.database.type Change this value only if you are installing the databases in a non-PostgreSQL environment. Jobs database batch-job-runner.database.name batch-job-runner.database.username batch-job-runner.database.password You should change the default password. This change must also be applied on the database server. See Change Database Passwords for PostgreSQL. See Change Database Passwords for MySQL. batch-job-runner.database.type Change this value only if you are installing the databases in a non-PostgreSQL environment. Scheduling database scheduling-service.database.name scheduling-service.database.username scheduling-service.database.password You should change the default password. This change must also be applied on the database server. See Change Database Passwords for PostgreSQL. See Change Database Passwords for MySQL. scheduling-service.database.type Time-Based Trigger database time-based-trigger-service.database.name time-based-trigger-service.database.username time-based-trigger-service.database.password You should change the default password. This change must also be applied on the database server. See Change Database Passwords for PostgreSQL. See Change Database Passwords for MySQL. time-based-trigger-service.database.type Configuration Service database configuration-service.database.name configuration-service.database.username configuration-service.database.password You should change the default password. This change must also be applied on the database server. See Change Database Passwords for PostgreSQL. See Change Database Passwords for MySQL. configuration-service.database.type Artifact Storage Service database artifact-storage-service.database.name artifact-storage-service.database.username artifact-storage-service.database.password You should change the default password. This change must also be applied on the database server. See Change Database Passwords for PostgreSQL. See Change Database Passwords for MySQL. artifact-storage-service.database.type Apply customizations on upgrade
/opt/trifacta/bin/setup-utils/db/pg_hba.conf.SAMPLE
/var/lib/pgsql/9.6/data/pg_hba.conf
/etc/postgresql/9.6/main/pg_hba.conf
SAMPLE
file, copy the following declarations and paste them into the production pg_hba.conf
file above any other declarations:trifacta
and trifacta
). These values may be needed for other configuration.local trifacta trifacta md5
host trifacta trifacta 127.0.0.1/32 md5
host trifacta trifacta ::1/128 md5
local trifacta-activiti trifactaactiviti md5
host trifacta-activiti trifactaactiviti 127.0.0.1/32 md5
host trifacta-activiti trifactaactiviti ::1/128 md5
local trifactaschedulingservice trifactaschedulingservice md5
host trifactaschedulingservice trifactaschedulingservice 127.0.0.1/32 md5
host trifactaschedulingservice trifactaschedulingservice ::1/128 md5
local trifactatimebasedtriggerservice trifactatimebasedtriggerservice md5
host trifactatimebasedtriggerservice trifactatimebasedtriggerservice 127.0.0.1/32 md5
host trifactatimebasedtriggerservice trifactatimebasedtriggerservice ::1/128 md5
local trifactaconfigurationservice trifactaconfigurationservice md5
host trifactaconfigurationservice trifactaconfigurationservice 127.0.0.1/32 md5
host trifactaconfigurationservice trifactaconfigurationservice ::1/128 md5
local trifactaartifactstorageservice trifactaartifactstorageservice md5
host trifactaartifactstorageservice trifactaartifactstorageservice 127.0.0.1/32 md5
host trifactaartifactstorageservice trifactaartifactstorageservice ::1/128 md5
chkconfig postgresql-9.6 on
sudo service postgresql-9.6 start
sudo service postgresql start
Next Steps
This page has no comments.