Run the offline script for deployment on your own OS

After you untar the ansible tarball, but before you configure and run the ansible playbook, you must run the run_offline.sh script on your local machine. This is only required for offline deployments of ThoughtSpot on your own OS. This script is not available if you are deploying online.

The run_offline.sh script installs the required Yum, Python, and R packages without connecting to the internet.

Run the run_offline.sh script on all nodes, including the optional flags as necessary. Run this command as either a root user or with sudo.

Run run_offline as a root user

Run the following command as a root user, including the optional flags as necessary.

run_offline.sh

Run run_offline with sudo

Run the following command, including the optional flags as necessary. Run this command as a non-root user with sudo permissions.

sudo run_offline.sh

Optional flags

run_offline.sh has the following optional flags:

-r

Skips installing R packages. This can make the installation quicker. If you specify this flag in the run_offline.sh script, you must also set the skip_r flag in the ansible playbook.

-s

Skips installing ansible. If you already have ansible installed, or if you run ansible on a different node separate from the ThoughtSpot installation, include this flag when you run run_offline.sh. This skips the ansible yum package installation on the node.

-v

Verbose output.

-y

Skips installing yum packages. Only use this flag if you are sure you already have all the required yum packages already installed.


Was this page helpful?