Linux (Clean Installation)
This section provides instructions for performing a clean installation of Self-Service Analytics in your operating environment and is applicable to for both RPM (CentOS, REHL) and Ubuntu environments. For information about the difference between a clean installation of Self-Service Analytics and an upgrade to the latest GA release, see Clean Installation and Upgrade Differences.Upgrade and Migration Considerations
- Windows Server 2012R2 is not compatible with both Java17 binaries and the latest releases of Self-Service Analytics. We recommend you use Windows 2019 or later.
- In general, you can upgrade directly to the latest version of Self-Service Analytics from a prior version.
- If you are upgrading to a newer version of Self-Service Analytics and you also want to change your encryption mode, perform the upgrade first and then complete the steps described in Encryption.
New installations of Self-Service Analytics use PostgreSQL 16. If you are upgrading your environment to Self-Service Analytics, you can retain your existing PostgreSQL version.
To install Self-Service Analytics in other environments, see Install Self-Service Analytics - Windows. To install an orchestrated Self-Service Analytics solution, see Run Self-Service Analytics in Kubernetes.
- Plan Your Installation
- Installation Steps
- Alternative Installation Options
- Post-Installation Options
- Access and Use Self-Service Analytics
Installation Steps
To begin the installation process, you must receive the installation instructions from insightsoftware Technical Support. This email contains the installation script that you will run on the server where the environment will reside. If you have not received installation instructions, open a ticket with insightsoftware Technical Support.To install Self-Service Analytics in other environments, see Install Self-Service Analytics - Windows. To install an orchestrated Self-Service Analytics solution, see Run Self-Service Analytics in Kubernetes.
Steps
After you have received installation instructions from Technical Support, complete the following steps.- Step 1: Run the Installation Script
- Step 2: Configure the Firewall
- Step 3: Identify the IP Address
- Step 4: Access Self-Service Analytics from a Web Browser
Step 1: Run the Installation Script
The email or PDF you receive from insightsoftware Technical Support describes the command used to obtain the installation bootstrap procedure and the command used to run the bootstrap procedure. Run these commands, in order, on the target server for to start the automated installation process. Linux environments: The following components are downloaded to your target server:- Database for metadata store (using PostgreSQL)
- The Server
- Query Engine
- Data Writer microservice
- Connector microservices
- Self-Service Analytics 26.3 and later: PostgreSQL 16
systemctl status output, confirm that the service is both active and enabled. Enabling the service is what keeps it running after a reboot. To confirm the service is functional, export a dashboard or visual. A running status alone does not confirm that exports work.
See Self Service Report Microservice.
Windows Environments
By default, the bootstrap script installs these core components, connectors, and required dependencies:
- Zoomdata web application
- Query Engine
- MSSQL
- Mongo DB
- Elastic 7
- Solr
- Cloudera Search
- Consul
-
PostgreSQL
New installations of Self-Service Analytics use PostgreSQL 16. If you are upgrading your environment to Self-Service Analytics, you can retain your existing PostgreSQL version.
- Corretto JDK17
- Chocolatey
Step 2: Configure the Firewall
See Configure the Firewall.Step 3: Identify the IP Address
See Identify the Self-Service Analytics IP Address.Step 4: Access Self-Service Analytics from a Web Browser
After the installation script has completed, it will take a few minutes for Self-Service Analytics to complete its setup of the metadata store. Please wait a few minutes before accessing Self-Service Analytics from your web browser. When you are ready to access Self-Service Analytics, read Access and Use Self-Service Analytics.We recommend that you log into for the first time using admin credentials. This allows you to review all the account-level features available. As an admin, you can access functions that let you connect your data sources to Self-Service Analytics. You can also create and activate user accounts, including an admin user account that will allow you to access the admin functions. See Supplied Users and User Groups.
Install Self-Service Analytics Manually
If running the installer script is not a viable option for you, you can install Self-Service Analytics manually.Manual install of Self-Service Analytics is not currently supported for Windows environments.
- Step 1. Review the Prerequisites
- Step 2. Set Up Self-Service Analytics’s Metadata Store
- Step 3. Configure a Dedicated Directory
- Step 4. Download Dependencies and the Self-Service Analytics Installation Packages
- Step 5. Obtain Download Instructions and Installation Packages
- Step 6. Install the Self-Service Analytics Server
- Step 7: Set Self-Service Analytics Microservices to Start Whenever the Server Boots
- Step 8: Start the Microservices
- Step 9. Configure the Firewall
- Step 10. Identify the Self-Service Analytics IP Address
- Step 11. Access Self-Service Analytics
- Step 12. Complete Post-Installation Steps
Step 1. Review the Prerequisites
Refer to System Requirements and Server Size Guidelines for information on the recommended settings for deploying your software on-premises. The target server for your software should meet the following conditions:- The server does not have PostgreSQL already installed
- The server does not contain any Self-Service Analytics property files, meaning if a previous version of was installed in this server, ensure that all property files have been deleted.
- The user installing Self-Service Analytics is able to use the
sudocommand in the server
CentOS Requirements
CentOS 7 & 8 are end of life (EOL) support. CentOS Stream 9 is supported for new instances of Self-Service Analytics. Upgrade your operating system to CentOS Stream 9 before upgrading your instance. For more information, see Operating System Support.
Time Synchronization Requirements
Self-Service Analytics benefits from time synchronization in your network. Specifically, it leverages Network Time Protocol (NTP), which performs time synchronization of networked servers to Coordinated Universal Time (UTC). If needed, read Use the Network Time Protocol to Synchronize Time for instructions on setting this up.Java Requirements
You must have Java 21 installed to run and use Self-Service Analytics. Without it, your software will not start. After you have made any needed adjustments to your network configurations, return to this topic to continue the installation process. See How Self-Service Analytics Validates an Environment’s Java Version.Step 2. Set Up Self-Service Analytics’s Metadata Store
Self-Service Analytics uses a standard PostgreSQL database instance to store its metadata. We strongly recommend using this instance as it is configured with the appropriate settings.New installations of Self-Service Analytics use PostgreSQL 16. If you are upgrading your environment to Self-Service Analytics, you can retain your existing PostgreSQL version.
Step 3. Configure a Dedicated Directory
Before you can download the Self-Service Analytics installation packages onto your server, you need to create the Self-Service Analytics directory where the installation and property files are stored. After the directory is created, you need to create property files in that directory.Create the Self-Service Analytics Directory
Create the following directory to store all Self-Service Analytics-related files:Create the Default Self-Service Analytics Properties File
Create the default Self-Service Analytics properties file that contains the available variables and parameters related to Self-Service Analytics operation:Create the Query Engine Properties File
Create the Self-Service Analytics query engine properties file that contains the available variables and parameters related to query engine operation:Add the Default Metadata Parameters to the Appropriate Self-Service Analytics Properties File
-
Add the following metadata store-related parameters in the newly-created
zoomdata.propertiesfile. Essentially, you are storing the username and password details for the metadata store in this property file. -
Add the following
zoomdata-qedatabase metadata store-related parameters in the newly-createdquery-engine.propertiesfile.
Step 4. Download Dependencies and the Self-Service Analytics Installation Packages
Self-Service Analytics requires the following external dependencies for a successful installation: If you have not already received the Self-Service Analytics installation package, contact insightsoftware Technical Support to request it. In the request, be sure to include the Linux operating system version you are using (for example, CentOS).If your server does not have internet access, you will need an internet-enabled computer to download the packages and then move them to the intended server.
Step 5. Obtain Download Instructions and Installation Packages
Contact your insightsoftware technical support representative and obtain download instructions for the Self-Service Analytics installation packages. Follow the instructions and download the installation packages, remembering to place them in the Self-Service Analytics directory on the target server. The following Self-Service Analytics components are included in your installation packages:- The Self-Service Analytics server
- Connector microservices
- Query Engine
Step 6. Install the Self-Service Analytics Server
Use the following command to install Self-Service Analytics in a CentOS environment:Install this package before you complete Step 7 and Step 8. The commands in those steps enable and start every
zoomdata service found on the server, including this one.Step 7: Set Self-Service Analytics Microservices to Start Whenever the Server Boots
Microservices need to be set to automatically start whenever the server is started or rebooted. In a CentOS or an Ubuntu environment, run the following command:Step 8: Start the Microservices
The Self-Service Analytics microservices must be enabled. In a CentOS or an Ubuntu environment, run the following command:Step 9. Configure the Firewall
See Configure the Firewall for complete information.Step 10. Identify the Self-Service Analytics IP Address
Read Identify the Self-Service Analytics IP Address for complete information.Step 11. Access Self-Service Analytics
Read Access and Use Self-Service Analytics for more information.Step 12. Complete Post-Installation Steps
Complete any post-installation actions needed for your environment. These include, but are not limited to:- Enabling the Real-Time Sales demo data source
- Setting up the Screenshot microservice
Obtain the Installation Package Without Internet Access
New installations of Self-Service Analytics use PostgreSQL 16. If you are upgrading your environment to Self-Service Analytics, you can retain your existing PostgreSQL version.
-
Access the PostgreSQL website, navigate to the appropriate version of PostgreSQL section, and locate the correct repo package for your target server.
- Copy the link address of the PostgreSQL repo package. For example, right-click on the link and select the Copy Link Address option.
-
Paste the copied link address into the following command line and execute it:
This command needs to be run from a server containing the same OS version as the target server for the Self-Service Analytics installation.
-
Run the following command line to download the dependencies for your selected PostgreSQL repo package:
- Transfer the PostgreSQL repo package to the target server.
- Run the PostgreSQL repo package from the target server.
Manually Install OpenJDK
Self-Service Analytics 26.3 and later runs on Java 21. When you perform a straightforward upgrade to this release, Java is updated automatically. Manually install OpenJDK- Stop all Self-Service Analytics components (if any are running) before you install OpenJDK. See Stop Microservices.
-
Run the following command on the installation machine.
For JDK 21:
- Restart all Self-Service Analytics components. See Start Microservices.
In Windows environments, Self-Service Analytics installs a compatible JDK as part of the bootstrap installation. To install a system wide Java distribution, see https://www.java.com/en/download/help/windows_manual_download.html.
How Self-Service Analytics Validates an Environment’s Java Version
Self-Service Analytics determines which Java is being used in your environment while the microservices are starting. It evaluates your environment in the following sequence. The first Java executable in this sequence that meets minimum requirements is used and validation stops.- The directory in the $JAVA_HOME environment variable path is evaluated to verify that it points to JRE/JDK and its
$JAVA_HOME/bin/javapath contains a valid Java executable that meets the minimum requirements. - The
/etc/environmentfile is parsed for its JAVA_HOME variable identifying the Java installation directory. This Java installation directory is then evaluated for a valid Java executable that meets the minimum requirements. - The
<install-path>/jrefolder is evaluated for a valid Java executable that meets the minimum requirements. - The directories listed in the $PATH environment variable are evaluated for a valid Java executable that meets the minimum requirements.
Use the Network Time Protocol to Synchronize Time
The Network Time Protocol daemon (NTPD) is a service that performs time synchronization of networked servers to Coordinated Universal Time (UTC). Using NTP helps mitigate the effects of network latency by synchronizing your network with accurate time servers. In addition, certain Self-Service Analytics functionalities benefit from having NTP in your network, including:- The connection between Self-Service Analytics server and the data sources (so that monitoring of data source performance and possible network latency issues can be done).
- Authentication protocols (for example, Kerberos), which require precise time correspondence on all instances to work properly.
- Scaled out deployments so that all nodes can have synchronized time.
- Single Sign-On (via SAML), to avoid potential failure by the identity provider to authenticate SAML users.
Install NTP on RPM-Based Distributions
To install NTP on CentOS or RHEL, perform the following steps:-
Run the following command:
-
Check that the service is up and running:
Install NTP on Ubuntu
To install NTP on Ubuntu, perform the following steps:-
Run the following commands:
-
Check that the service is up and running:
Post-Installation Steps
If you install the NTP service after Self-Service Analytics has already been installed in your network, you should restart Self-Service Analytics service after NTP has been successfully installed:Configure the Firewall
After you have successfully installed the Self-Service Analytics components onto your server, you need to configure the firewall. Configureiptables to accept port 8443 and to forward incoming HTTPS requests on port 443 to the Self-Service Analytics server port 8443. Note that the command lines may differ slightly depending on the Linux environment. Select the appropriate Linux environment below.
These commands set up the firewall rules to the default eth0 network interface. If you want to apply them to another network interface, replace it in the commands below. If you want to apply the rules to all the interfaces, remove ‘-i eth0’ from the command line.
CentOS Commands
Ubuntu Commands
iptables-persistent, enter yes.
Windows Defender Firewall
See this best practices article: Best practices for configuring Windows Defender - Windows Security.Configure the Maximum Number of Open Processes and Files
Configuring the maximum number of open processes and open files that can run in your operating environment keeps Self-Service Analytics processes from hitting or exceeding the resource limits that may be imposed by your operating system. Instructions are provided here for the following operating environments:CentOS Instructions
If you are installing via RPM using CentOS or Red Hat, the recommended settings differ slightly. Becausesystemd is responsible for starting the various microservices, you need to amend the files and microservices that are launched so the limits.conf file is not ignored.
-
Create a new
systemddirectory:Replace <servicename> with the microservice you need to override. -
The file name for the microservice you want to override needs to be in
.conf, so use the following command:
too many files, cannot operate, you may need to increase the system limits in your CentOS or supported Ubuntu environments. Make the following changes:
-
In the
service.dfolder for each microservice, open thelimits.conffile. If the configuration file does not exist, this command creates it. -
Add the following to the file:
-
Restart the init service:
-
Restart the
zoomdatamicroservice: -
Verify your changes were applied:
-
In the output, you should see the following, indicating that your changes were applied:
Identify the Self-Service Analytics IP Address
After you have installed Self-Service Analytics and configured the firewall, you need to identify the Self-Service Analytics IP address so you can access Self-Service Analytics on your web browser. Record the IP address of the host where Self-Service Analytics is installed. To obtain the Self-Service Analytics IP address, enter the following command in a terminal window on the Self-Service Analytics server:Post-Installation Options
After the Self-Service Analytics environment has been installed in your server, the following configuration options are available to you:| To | Read |
|---|---|
| Add an SSL Certificate. By default, Self-Service Analytics enables an http port. To enable https, you must add an SSL certificate to the Self-Service Analytics server. | Add an SSL Certificate |
| Disable SSL. | Disable the SSL Certificate in Self-Service Analytics |
| Use SQL-based connectors. Some SQL connectors require a JDBC driver to be configured before you can connect to your data source. You can download the driver from the vendor’s site. Be aware that you need to download and configure JDBC drivers for the following Self-Service Analytics connectors as soon as you complete the Self-Service Analytics installation: | Add a JDBC Driver |
| Configure Self-Service Analytics memory settings. | Configure Memory Settings |
| Enable Self Service Reports and expand data export options. Self service reports and expanded data export options are controlled by the Self Service Report microservice, and must be enabled in your environment if you want your users access these features. | Self Service Report Microservice |
| Use Self-Service Analytics’s sample data generator. | Manage the Real Time Sales Demo Source |
Add a JDBC Driver
For certain data sources, the JDBC drivers needed are no longer included in the installation package of Self-Service Analytics. You need to provide your own JDBC driver for the following data sources:- Amazon Redshift
- Dremio
- Jira
- MemSQL
- MySQL
- Oracle
- SAP Hana
- SAP S/4HANA
- SAP IQ
- Salesforce
- Snowflake
- Teradata
- Vertica
Caveats
If the JDBC driver for the Self-Service Analytics connector is not configured, the connector server will not start and the connector cannot be enabled within Self-Service Analytics. See Manage Connectors and Connector Servers.Install a JDBC Driver
To use any of the connectors listed above, perform the following steps to install the required JDBC driver after successful installation of Self-Service Analytics microservices:-
Download the required driver from the vendor’s site to the corresponding Self-Service Analytics instance. Place the required driver in the following folder:
-
Linux platforms:
/opt/zoomdata/lib/edc-<connector_name>/. -
Windows platforms:
<install_path>\lib\edc-<connector_name>/. For example, place MySQL libraries for the default Self-Service Analytics path install in this folder:c:\logi-composer\lib\edc-mysql\if Self-Service Analytics is installed inc:\logi-composer\.
-
Linux platforms:
-
Use the following command to access and open the property file:
- Linux platforms:
vi /etc/zoomdata/edc-<connector_name>.properties. If you are not logged in as a root user, entersudo vi /etc/zoomdata/edc-<connector_name>.propertiesto create the desired file. If the properties file does not exist, this command creates it. - Windows platforms, using a text editor that can edit Windows property files:
<install-path>\conf-modified\edc-<connector_name>.properties.
<connector_name>with the name of the connector you are configuring: - Linux platforms:
-
In the
edc-<connector_name>.propertiesfile, add the following property:If you need to add multiple paths, use a comma-separated list: -
For MemSQL and MySQL connectors, add the following property to the property files:
- Save your changes to the properties file.
-
Restart the corresponding connector by running the appropriate command:
- For CentOS and Ubuntu:
systemctl restart zoomdata-edc-<connector_name> - For Windows:
PS C:\> Restart-Service -Name zoomdata-edc-<connector_name>
- For CentOS and Ubuntu:
- Log in as the a member of the Supervisors group, access the Connectors page, and verify that the connector is enabled so it appears in the data source list. After the JDBC driver has been configured and the connector has been enabled, users with the correct access privileges can use the connector to connect to the data store in a data source configuration.