Single-VM (Ubuntu)
This article describes the procedure for deploying askEdgi components on a Single-VM Ubuntu environment, including:
Edgi Data Service
Edgi Insight Service
Required configuration updates to the OvalEdge UI and Job Services
Each service is implemented as a Python application managed using Poetry and integrated with an existing OvalEdge installation.
This guide assumes an on-premises deployment model in which all components run on the same VM.
Purpose
The purpose of this article is to provide a comprehensive, standardized procedure for deploying and configuring askEdgi components—Edgi Data Service and Edgi Insight Service—in a single-VM Ubuntu environment integrated with an existing OvalEdge installation.
It guides administrators through prerequisites, software setup, environment configuration, service deployment, and validation steps to ensure seamless communication between askEdgi services and OvalEdge.
By following this article, teams can achieve a secure, reliable, and fully functional askEdgi setup, with all components running as managed system services and ready for operational use.
Prerequisites
Before starting the installation, ensure the following:
System & Access
Ubuntu Linux (LTS recommended)
User with sudo privileges
Internet access for package installation
Application Prerequisites
OvalEdge application is already installed and running on the same VM
MySQL database is accessible
Elasticsearch is installed and running (port 9200)
Software Requirements
Python 3.13.x
Poetry 2.1.3
Do not remove or overwrite the system default Python version used by Ubuntu. Doing so may break apt and system services.
Network & Port Requirements
The following inbound ports must be opened on the VM firewall to allow communication between OvalEdge and askEdgi services:
8001
Edgi Data
Communication between Edgi Data Service and OvalEdge
8000
Edgi Insight
Communication between Edgi Insight Service and OvalEdge
Restrict inbound access to these ports to localhost or trusted internal IP ranges only.
Installation Steps
Python 3.13
Enable Required Repository
Check the existing Python version:
If the version is below 3.13.x, install Python 3.13:
Sample Reference Screenshot:

Configure alternatives (do not remove existing Python):
Verify Python version.
Sample Reference Screenshot:

There are two alternatives: python3 (providing /usr/bin/python3).
*0
/usr/bin/python3.10
1
auto mode
1
/usr/bin/python3.10
1
manual mode
2
/usr/bin/python3.13
2
manual mode
Poetry Installation (Version 2.1.3)
Install Poetry:
Sample Reference Screenshot:

Update PATH:
Verify installation:
Sample Reference Screenshot:

We need to create two directories for edgi_data and edgi_insight.
Edgi Data Service Deployment
Directory Setup
Create Required Directory Structure.
Sample Reference Screenshot:

Environment Configuration (.env)
In the .env file, add the following environment variables.
Sample Reference Screenshot:

Avoid special characters, such as @, in passwords unless explicitly supported.
Package Download & Extraction
Download the Edgi Data .tar.gz package (provided by DevOps).
Extract it inside /home/ovaledge/edgi_data:
Sample Reference Screenshots:



Dependency Installation
Navigate to the directory containing pyproject.toml:
Sample Reference Screenshots:


Service Validation (Manual)
Sample Reference Screenshot:

If the service starts successfully, stop it using Ctrl+C.
Configure systemd Service
Find Poetry path:
Sample Reference Screenshot:

Create service file:
Enable and start:
Service Management Commands
Reload Service
systemctl daemon-reload
Start Service
systemctl start data.service
Enable Service
Systemctl enable data.sevice
Check Status
systemctl status data.service
Edgi Insight Service Deployment
Directory Setup
Inside the edgi_insight folder, we need to create the following folders and an '.env' file.
Sample Reference Screenshot:

Environment Configuration (.env)
In the $ vi .env file, add the following environment variables.
Sample Reference Screenshot:

Package Installation
Download the Edgi insight tar. gz file inside the edgi_data.
For the Edgi insight package file, the DevOps team will provide a link.
Sample Reference Screenshots:


Use the tar -xvf command to extract the tar. gz file. Sample Reference Screenshot:

Extract the Insight package and install dependencies:
Sample Reference Screenshot:

Validate service manually:
Once it runs without errors, cancel the running process by clicking Ctrl-C.
systemd Configuration
Create as a Service
Enable and start:
Service Management Commands
Reload Service
systemctl daemon-reload
Start Service
systemctl start insight.service
Enable Service
systemctl enable insight.service
Check Status
systemctl status insight.service
OvalEdge Oasis Configuration
Update the Oasis configuration file:
Sample Reference Screenshot:

Restart Tomcat:
OvalEdge UI Configuration
Log in to OvalEdge.
Validate the -1 MySQL connector and perform crawl & profiling.


Navigate to Administration → System Settings → AI
Update:
askedgi.edition = Data Analytics
Askedgiplus.enable = true
askedgi.ovaledge.recipe.connection.id = -1 (MySQL connector ID)


Ai.config = (Developer will provide the KEY); the remaining settings are the same as below.

Ensure Marketplace settings are populated. Log out and log back in.

Validation & Testing
Navigate to AskEdgi.

Allow workspace creation (initial delay expected).


Add a catalog table to the workspace.

Click the catalog and verify data access.


Now, enter any query in the search field, and it should return an answer.


If results are returned successfully, the setup is complete ✅
Copyright © 2026, OvalEdge LLC, Peachtree Corners, GA, USA.
Last updated
Was this helpful?

