Insight HA Interactive Script Installation

JFrog Installation & Setup Documentation

Content Type
Installation & Setup
ft:sourceType
Paligo

All install types are supported, including: Docker Compose, Linux Archive, RPM, and Debian.

The installer script provides you an interactive way to install Insight and its dependencies. All install types are supported. Use this installer for Docker Compose.

Install the First Node

  1. Install the first node. The installation is identical to the single node installation.

  2. Start the Insight service.

    systemd OS

    systemctl start insight.service

    systemv

    service insight start

    Docker Compose

    cd jfrog-insight-<version>-compose
    docker-compose -p insight up -d

    Note

    You can install and manage Insight as a service in a Linux archive installation. Refer the Start Insight section under Manual Linux Archive Installation for more details.

    Linux Archive

    insight/app/bin/insight.sh start
  3. Access Insight from your browser at: http://<jfrogUrl>/ui/ and go to the Dashboard tab in the Application module in the UI.

  4. Check the Insight log.

    tail -f $JFROG_HOME/insight/var/log/console.log

    Docker Compose

    docker-compose -p insight logs
Install Additional Nodes

For a node to join a cluster, the node must have the same database configuration and the master key.

  1. Install the additional node. The installation is identical to the single node installation with the following differences:

    • Enter Y when the installer prompts whether to join a cluster.

    • Enter the database connection string of the primary node.

    • If you use the bundled PostgreSQL database, enter the database name as insight.

    • Enter the master key of the primary Insight node.

      The master key is available at $JFROG_HOME/etc/security/master.key.

    • For Debian or RPM Installations,

      After the primary Insight node is operational, you must copy the Elasticsearch certificate to all other nodes in the cluster before initiating their installation.

      Create a  certs. folder in the install directory and copy the Elasticsearch Certificate file $ELASTICSEARCH_HOME/certs/elastic-certificates.p12 from primary to the certs folder. The installation script will copy the certificate to the right location.

  2. Start the additional node.

  3. Access Insight from your browser at: http://<jfrogUrl>/ui/ and go to the Dashboard tab in the Application module in the UI.

  4. Check the Insight log.

    tail -f $JFROG_HOME/insight/var/log/console.log

    Docker Compose

    docker-compose -p insight logs