This guide walks you through the installation of K2view TDM 9.4 and performs the initial setup.
1) Choose your Development setup
studio_pg
profile so PostgreSQL backs both the System DB and TDM. Follow TDM On-Prem — Web Studio for instructions on installing the in-Studio library or importing a VSIX.2) Plan your Git strategy for smooth SIT/Prod rollouts
Adopt separate branches per environment (e.g., dev
→ sit
→ prod
). Review the Git Best Practices for guidance.
3) What’s required in non-Dev environments
4) Initial setup (post-deploy)
5) Optional: AI-driven Synthetic Data (TDM-AI)
If you plan to generate AI-based synthetic data, review the TDM AI Installation guide. It covers prerequisites (e.g., GCP/GKE and GPU quotas), GPU cluster setup, project configuration, cleanup flows, and performance notes.
The procedure for upgrading to TDM V9.4 is described in the TDM upgrade document.
You can install TDM within your K2cloud Kubernetes self-hosted environment, and also Docker or Podman container runtimes on a VM or a computer.
Here are instructions links for installing Fabric Web Studio on Docker or Podman :
Internet Access is Available
If internet access is available, perform the following steps:
Internet Access is Unavailable
If internet access is unavailable, follow the following steps:
Download the VSIX file from the download page. Please request a link to this file from your K2view representative.
Upload the file to the TDM project:
Click the Extensions icon.
Click the three-horizontal-dots menu (top-right of the pane).
Select Install from VSIX….
In the pop-up window, select the uploaded TDM VSIX file.
Click Install from VSIX.
Overview
Before configuring TDM, note that Fabric Web Studio’s setup differs slightly depending on where it runs:
postgres-service
.-postgres
appended. For example, if the Space is myspacepg
, the Postgres host will be myspacepg-postgres
.To confirm what your environment is actually using:
workspace/config/config.ini
.[system_db]
section, locate SYSTEM_DB_HOST
— this is the host you should use when configuring the POSTGRESQL_ADMIN
interface. [system_db]
SYSTEM_DB_HOST=postgres-service ; K2cloud example
; or
SYSTEM_DB_HOST=myspacepg-postgres ; Docker/Podman example
postgres
, and provide the matching port/credentials.Configuration Steps
For both the TDM and POSTGRESQL_ADMIN interfaces set the connection details as follows:
Set the Host value.
postgres-service
.{your spacename}-postgres
. Please consult the overview above.Set the Port. By default, it is 5432
.
The database's name on the interface
postgres
.TDMDB
.Set the User as: postgres
Set the Password as: postgres
.
Save the interface.
Set the interface as active.
Set the CREATE_TDMDB Global in the TDM LU to true.
You will find the Globals.java file at this location:
workspace/project/Implementation/LogicalUnits/TDM/Java/src/com/k2view/cdbms/usercode/lu/TDM/Globals.java
Note. The default schema name of the TDM DB contains the cluster ID.
Changing the TDM DB schema name: If you would like to change the schema name for the TDM DB, please edit the TDMDB_SCHEMA shared Global. Restart Fabric after updating this Global.
Deploy the TDM LU.
Note that the k2masking schema can also be created by running the masking-create-cache-table.flow from the Broadway Examples.
After the TDM DB is created, set the CREATE_TDMDB Global in the TDM LU back to false in the Globals.java file.
The deployment will add a TDM item to the list of Fabric applications in the top left main menu.
In some situations, you may need to clear your browser's cache for the TDM item to become visible from the main menu.
You are now ready to proceed to the TDM Initial Setup steps.
Download the TDM Library export files from the links provided by your K2view representative.
Once downloaded, import the TDM Library export file using the Import All option: Right-click on the root of the Project tree, click on Import, and select Import All…, then in the File Browser, choose the export file to be imported. The following LUs would then be imported into your project: TDM, TDM_LIBRARY, and the TDM_TableLevel.
Click here for more information about the TDM Library.
Click here for more information about Import options.
If you use Cassandra as the Fabric system DB, you must edit the SEQ_CACHE_INTERFACE Global and update its value to DB_CASSANDRA.
Perform the following step to use the PostgreSQL DB as the Fabric system DB:
Set the POSTGRESQL_ADMIN interface to active.
Edit the TDM and POSTGRESQL_ADMIN interfaces with the installed PostgreSQL connection details.
Set the CREATE_TDMDB Global in the TDM LU to true.
Optional: If you wish to change the schema name for the TDM DB (the default schema name contains the cluster ID), then edit the TDMDB_SCHEMA shared Global. Restart Fabric after updating this Global.
Deploy the TDM LU. This deployment creates the TDM DB and the k2masking schema. Note that the k2masking schema can also be created by running the masking-create-cache-table.flow from the Broadway Examples (found in the Broadway Flow window, Main Menu > Actions > Examples and select this flow).
After the TDM DB is created, set the CREATE_TDMDB Global in the TDM LU back to false.
It is recommended to use separate Git branches for development, testing (SIT), and production environments. Changes from the development branch are merged into the testing branch, and once tested, changes from the testing branch are merged into the production branch.
To do so:
This section outlines the steps for installing TDM in non-development environments. Two deployment models are supported: On-Prem VM Installation and K2cloud Installation.
The following prerequisites apply to both deployment models:
After the TDM project is deployed to Fabric, complete the following one-time setup to make the TDM self-service app usable for your teams.
Map permission groups In the TDM app, map your Fabric roles to TDM permission groups (admin / owner / tester). This controls what each user can do in TDM.
Create Business Entities (BEs) Define BEs only after all required LUs have been deployed to Fabric, so entity definitions can reference deployed LUs.
Create Systems Register source/target systems that BEs will use within tasks.
Create Environments in the TDM app
This guide walks you through the installation of K2view TDM 9.4 and performs the initial setup.
1) Choose your Development setup
studio_pg
profile so PostgreSQL backs both the System DB and TDM. Follow TDM On-Prem — Web Studio for instructions on installing the in-Studio library or importing a VSIX.2) Plan your Git strategy for smooth SIT/Prod rollouts
Adopt separate branches per environment (e.g., dev
→ sit
→ prod
). Review the Git Best Practices for guidance.
3) What’s required in non-Dev environments
4) Initial setup (post-deploy)
5) Optional: AI-driven Synthetic Data (TDM-AI)
If you plan to generate AI-based synthetic data, review the TDM AI Installation guide. It covers prerequisites (e.g., GCP/GKE and GPU quotas), GPU cluster setup, project configuration, cleanup flows, and performance notes.
The procedure for upgrading to TDM V9.4 is described in the TDM upgrade document.
You can install TDM within your K2cloud Kubernetes self-hosted environment, and also Docker or Podman container runtimes on a VM or a computer.
Here are instructions links for installing Fabric Web Studio on Docker or Podman :
Internet Access is Available
If internet access is available, perform the following steps:
Internet Access is Unavailable
If internet access is unavailable, follow the following steps:
Download the VSIX file from the download page. Please request a link to this file from your K2view representative.
Upload the file to the TDM project:
Click the Extensions icon.
Click the three-horizontal-dots menu (top-right of the pane).
Select Install from VSIX….
In the pop-up window, select the uploaded TDM VSIX file.
Click Install from VSIX.
Overview
Before configuring TDM, note that Fabric Web Studio’s setup differs slightly depending on where it runs:
postgres-service
.-postgres
appended. For example, if the Space is myspacepg
, the Postgres host will be myspacepg-postgres
.To confirm what your environment is actually using:
workspace/config/config.ini
.[system_db]
section, locate SYSTEM_DB_HOST
— this is the host you should use when configuring the POSTGRESQL_ADMIN
interface. [system_db]
SYSTEM_DB_HOST=postgres-service ; K2cloud example
; or
SYSTEM_DB_HOST=myspacepg-postgres ; Docker/Podman example
postgres
, and provide the matching port/credentials.Configuration Steps
For both the TDM and POSTGRESQL_ADMIN interfaces set the connection details as follows:
Set the Host value.
postgres-service
.{your spacename}-postgres
. Please consult the overview above.Set the Port. By default, it is 5432
.
The database's name on the interface
postgres
.TDMDB
.Set the User as: postgres
Set the Password as: postgres
.
Save the interface.
Set the interface as active.
Set the CREATE_TDMDB Global in the TDM LU to true.
You will find the Globals.java file at this location:
workspace/project/Implementation/LogicalUnits/TDM/Java/src/com/k2view/cdbms/usercode/lu/TDM/Globals.java
Note. The default schema name of the TDM DB contains the cluster ID.
Changing the TDM DB schema name: If you would like to change the schema name for the TDM DB, please edit the TDMDB_SCHEMA shared Global. Restart Fabric after updating this Global.
Deploy the TDM LU.
Note that the k2masking schema can also be created by running the masking-create-cache-table.flow from the Broadway Examples.
After the TDM DB is created, set the CREATE_TDMDB Global in the TDM LU back to false in the Globals.java file.
The deployment will add a TDM item to the list of Fabric applications in the top left main menu.
In some situations, you may need to clear your browser's cache for the TDM item to become visible from the main menu.
You are now ready to proceed to the TDM Initial Setup steps.
Download the TDM Library export files from the links provided by your K2view representative.
Once downloaded, import the TDM Library export file using the Import All option: Right-click on the root of the Project tree, click on Import, and select Import All…, then in the File Browser, choose the export file to be imported. The following LUs would then be imported into your project: TDM, TDM_LIBRARY, and the TDM_TableLevel.
Click here for more information about the TDM Library.
Click here for more information about Import options.
If you use Cassandra as the Fabric system DB, you must edit the SEQ_CACHE_INTERFACE Global and update its value to DB_CASSANDRA.
Perform the following step to use the PostgreSQL DB as the Fabric system DB:
Set the POSTGRESQL_ADMIN interface to active.
Edit the TDM and POSTGRESQL_ADMIN interfaces with the installed PostgreSQL connection details.
Set the CREATE_TDMDB Global in the TDM LU to true.
Optional: If you wish to change the schema name for the TDM DB (the default schema name contains the cluster ID), then edit the TDMDB_SCHEMA shared Global. Restart Fabric after updating this Global.
Deploy the TDM LU. This deployment creates the TDM DB and the k2masking schema. Note that the k2masking schema can also be created by running the masking-create-cache-table.flow from the Broadway Examples (found in the Broadway Flow window, Main Menu > Actions > Examples and select this flow).
After the TDM DB is created, set the CREATE_TDMDB Global in the TDM LU back to false.
It is recommended to use separate Git branches for development, testing (SIT), and production environments. Changes from the development branch are merged into the testing branch, and once tested, changes from the testing branch are merged into the production branch.
To do so:
This section outlines the steps for installing TDM in non-development environments. Two deployment models are supported: On-Prem VM Installation and K2cloud Installation.
The following prerequisites apply to both deployment models:
After the TDM project is deployed to Fabric, complete the following one-time setup to make the TDM self-service app usable for your teams.
Map permission groups In the TDM app, map your Fabric roles to TDM permission groups (admin / owner / tester). This controls what each user can do in TDM.
Create Business Entities (BEs) Define BEs only after all required LUs have been deployed to Fabric, so entity definitions can reference deployed LUs.
Create Systems Register source/target systems that BEs will use within tasks.
Create Environments in the TDM app