Katalon On-Premises deployment guide v3.0.0
This guide provides instructions on how to install Katalon On-Premises version 3.0.0, covering both License Server and Katalon Platform options.
On-Premises License Server
- The On-Premises License Server only applicable to users with any On-Premises plan.
- The On-Premises License Server only supports Linux.
- Existing On-Premises package users can contact our Sales team at business@katalon.com for information regarding Katalon Studio plan upgrades and data migration.
The Katalon Studio On-Premises License Server allows the installation and activation of Katalon Studio at the client's network location. It is best for users who need to work within a restricted network environment.
There are two package plans available:
-
License Server only.
-
License Server with Katalon Platform.
Prerequisites
Before deploying Katalon Platform On-Premises, you need to satisfy the following prerequisites:
Katalon Platform Server
Supported platforms:
- 64-bit Linux (x86_64 architecture) distributions:
Ubuntu
Debian
Red Hat Enterprise Linux (RHEL)
Katalon On-Premises has not tested or verified installations on other platforms.
General system requirements:
Operating System | 64-bit Linux (Debian or CentOS based) |
CPU | Minimum 4 cores |
Memory | Minimum 16 GiB |
Hard Drive | Minimum 100 GiB available hard disk space |
To install Docker for Linux, see Docker's guide here: Install Docker Desktop on Linux or Install Docker Engine.
To install Docker Compose (version 2.20.x or latest) for Linux, see Docker's guide here: Install Docker Compose.
User Managed PostgreSQL Server
In general, the Katalon On-Premises Platform only supports the PostgreSQL database management system.
The recommended version of PostgreSQL is 14.3.x
CPU: Minimum 2 cores
Memory: Minimum 8 GiB
- A PostgreSQL Database Server to host the platform database instances:
k1
kit
keycloak
Enable extension: pg_stat_statements
The following table lists the minimum and recommended values for the configuration parameters:
Parameter | Minimum Value | Recommended Value |
max_connections | 200 | 400 |
shared_buffers | 2 GiB | 8 GiB |
Network Configuration
To access Katalon Platform On-Premises, configure to open these ports in firewall/security group. Make sure to open these ports (inbound/outbound) in Katalon Platform Server:
443: HTTPS Port
8000: License Server Port
8080: TestOps Port
8081: Authorizer Port
SSL Certificate
To run the License Server with Katalon Platform with HTTPS, you need to run with three sub-domains that meet:
A domain for License Server (ex: admin.my-domain.com);
A domain for TestOps (ex: testops.my-domain.com);
A domain for Authorizer (ex: login.my-domain.com); and
SSL Certificate for your domain.
Install the Katalon Platform On-Premises License Server
The following is the complete process of installing and configuring the Katalon Platform On-Premises License Server. Make sure your environment meets all of the system requirements and prerequisites as outlined, see Prerequisites.
You will learn how to:
Back up your existing databases.
Create and configure the Keycloak database.
Download, configure, and deploy the License Server and TestOps.
Set up TestOps storage.
Configure SSL certificates and update environment variables.
Start the services using Docker Compose.
Back up the database
This backup step is critical. Ensure all existing databases are backed up before proceeding with the upgrade to avoid potential data loss.
Create the Keycloak database
keycloak
is required in addition to the existing k1
and kit
databases.Download the Katalon On-Premises package and configure
You will receive the On-Premises package from the Katalon Sales team. If you have not yet received the package, contact the team at business@katalon.com.
Set up TestOps storage
TESTOPS_FILE_STORAGE_PATH
. In this example, the preferred configuration is TESTOPS_FILE_STORAGE_PATH=/opt/testops-data
. If you choose a different path, replace /opt/testops-data
with your preferred directory.Deploy the License Server and TestOps
To start the deployment process for Katalon On-Premises, follow these steps to configure the environment and set up the License Server and TestOps.
-
Navigate to the
katalon-op
directory.Use the following commands to go to thekatalon-op
directory and verify the files:You should see the following files in the directory:cd katalon-op
ls -alYou should see the following files in the directory:
drwxrwxr-x 3 root root 4096 Jun 4 07:56 .
drwxr-xr-x 3 root root 4096 Jun 4 03:43 ..
-rw-rw-r-- 1 root root 960 Jun 4 07:56 .env
-rw-rw-r-- 1 root root 1090 Jun 3 08:59 Build-Info.txt
-rw-rw-r-- 1 root root 6105 Jun 3 08:44 docker-compose.yml
-rw-rw-r-- 1 root root 5033163363 Jun 3 08:59 images_3.0.0.tar.gz
-rw-rw-r-- 1 root root 1305 Jun 3 08:44 katalon-op.crt
-rw-rw-r-- 1 root root 1703 Jun 3 08:44 katalon-op.key
drwxr-xr-x 2 root root 4096 Jun 4 04:32 logs -
Configure the
.env
file. Open the.env
file and replace the placeholder values with your own information. Ensure you update the following:-
Database information.
-
Email and password information.
-
TestOps storage path, URLs, domain certificate, and key.
notes- Ensure the admin password follows these guidelines:
- Minimum of 8 characters.
- Contains at least one uppercase letter, one lowercase letter, one special character, and one number.
- The password must not start or end with a space.
- Ensure the admin password follows these guidelines:
-
The
env
file should contain basic and advanced settings for both HTTP and HTTPS scenarios, depending on your deployment. Refer to the following sample script guide to know which values to replace with your configuration: -
HTTP scenario configuration
### Katalon-OP env
########### Basic Settings ###########
# Database configs
DB_HOST=host.docker.internal <= Replace your own
DB_PORT=5432 <= Replace your own
DB_USERNAME=postgres <= Replace your own
DB_PASSWORD=admin <= Replace your own
# Admin user configs
ADMIN_EMAIL=admin@my.domain <= Replace your own
ADMIN_PASSWORD=Admin@123 <= Replace your own (see note)
# Auth server configs
AUTH_SERVER_URL=http://localhost:8082 <= Replace your own
# License Server configs
LICENSE_SERVER_URL=http://localhost:8080 <= Replace your own
# TestOps configs (optional if testops profile is not used)
TESTOPS_SERVER_URL=http://localhost:8081 <= Replace your own
TESTOPS_FILE_STORAGE_PATH=/opt/testops-data <= Replace your own
########### Advanced Settings ###########
# HTTP config
HTTP_PORT_1=8080 <= If apply HTTP, can adjust with your port or leave it by default
HTTP_PORT_2=8081 <= If apply HTTP, can adjust with your port or leave it by default
HTTP_PORT_3=8082 <= If apply HTTP, can adjust with your port or leave it by default
# HTTPS configs
HTTPS_PORT= <= Leave it empty by default
CERT_PATH= <= Leave it empty by default
KEY_PATH= <= Leave it empty by default
KEY_PASSPHRASE= <= Leave it empty by default
# TestOps proxy configs (optional if testops profile is not used)
PROXY_PROTO=http <= Leave it by default
PROXY_HOST= <= If have Proxy, replace your own
PROXY_PORT= <= If have Proxy, replace your own
PROXY_USERNAME= <= If have Proxy, replace your own
PROXY_PASSWORD= <= If have Proxy, replace your own
PROXY_EXCLUDE_LIST= <= If have Proxy, replace your own
TRUSTED_CA_CERT_PATH= <= If have an internal CA, replace your own- HTTPS scenario configuration
### Katalon-OP env
########### Basic Settings ###########
# Database configs
DB_HOST=host.docker.internal <= Replace your own
DB_PORT=5432 <= Replace your own
DB_USERNAME=postgres <= Replace your own
DB_PASSWORD=admin <= Replace your own
# Admin user configs
ADMIN_EMAIL=admin@my.domain <= Replace your own
ADMIN_PASSWORD=Admin@123 <= Replace your own (see note)
# Auth server configs
AUTH_SERVER_URL=https://login.kata-op.com <= Replace your own
# License Server configs
LICENSE_SERVER_URL=https://admin.kata-op.com <= Replace your own
# TestOps configs (optional if testops profile is not used)
TESTOPS_SERVER_URL=https://testops.kata-op.com <= Replace your own
TESTOPS_FILE_STORAGE_PATH=/opt/testops-data <= Replace your own
########### Advanced Settings ###########
# HTTP config
HTTP_PORT_1=8080 <= Leave it by default
HTTP_PORT_2=8081 <= Leave it by default
HTTP_PORT_3=8082 <= Leave it by default
# HTTPS configs
HTTPS_PORT=443 <= If apply HTTPS, input 443
CERT_PATH= <= Replace your own
KEY_PATH= <= Replace your own
KEY_PASSPHRASE= <= Replace your own if have
# TestOps proxy configs (optional if testops profile is not used)
PROXY_PROTO=http <= Leave it by default
PROXY_HOST= <= If have Proxy, replace your own
PROXY_PORT= <= If have Proxy, replace your own
PROXY_USERNAME= <= If have Proxy, replace your own
PROXY_PASSWORD= <= If have Proxy, replace your own
PROXY_EXCLUDE_LIST= <= If have Proxy, replace your own
TRUSTED_CA_CERT_PATH= <= If have an internal CA, replace your own
-
Configure SSL certificate FQDNs/URLs
If you are running the License Server with Katalon Platform, you must configure three sub-domains, known as Fully Qualified Domain Names (FQDNs). An FQDN is the complete domain name that specifies the exact location of a server or resource on the internet.
admin.kata-op.com
(for the License Server)testops.kata-op.com
(for TestOps)login.kata-op.com
(for the Authorizer)
Katalon recommends using a Wildcard SSL certificate to secure these sub-domains.