Installation
Instructions for installing Model9 Gravity in an on-premise environment.
Introduction
The following guides provides details on how to install and configure the Model9 Gravity application.
Prerequisites
8 vCPU, 32gb RAM instance, 1TB of storage (preferably SSD).
AWS instance types:
m5d.2xlarge
m5ad.2xlarge
docker
is expected to be installed on the instance.A user with docker privileges will be required for running docker commands.
Installation
Depending on the system's configuration, root access might be required for some steps. Using a root user for the installation is recommended.
Download Model9 Gravity installation package file
Obtain the Model9 Gravity installation package from Model9 and move it to the target installation system.
The recommended location for the package files on the installation system is:
Prepare installation
Set version environment variable
In the snippet above, <version>
represents the package version number. E.g., "1.0.0".
Exported environment variables will be used by the following installation steps.
Extract the package file
Create installation target folder structure
$GRAVITY_HOME/work
is the work directory used by the service for data processing. It should be mounted on a block-device on which enough space is available.
Create Model9 Gravity PostgreSQL database container
A user with docker privileges or root access will be required for the following steps.
Create docker network bridge
Load the PostgreSQL docker image
Run docker PostgreSQL container
model9
is chosen here as the default database password.
Create database
Configure Model9 Gravity
Copy key stores into the $GRAVITY_HOME/keys
folder
$GRAVITY_HOME/keys
folderThe key stores provided in the package include the default self-signed Model9 certificates for setting up TLS in the Gravity service. If required, these key stores can be replaced with key stores provided by the organization.
Create the Model9 Gravity configuration file
After creating the application.properties
file edit it and fill in the missing values:
vi
is usually available by default on Linux systems. If more convenient, other editors such as nano can also be used.
If the default database password has been changed, use the model9.gravity.datasource.password
configuration option to change it.
For details of the configuration options and their default values, see the Configuration page.
Start the Model9 Gravity service
Load the Model9 Gravity docker image
Start the Model9 Gravity container
Change the
TZ
environment variable as appropriate.Change the
-Xmx
value to reflect the amount of available memory for the service (in GBs) - Remember to leave a few free GBs for the operating system.443
is the default secure port, if running the service on another port, this value should be changed as well.
Last updated