Server-Side Prerequisites and Requirements

Below is the list of prerequisites required for the server-side configuration and installation:

Prerequisites

This section discusses about the server-side perquisites:

  • Ensure that the platform is deployed and the DW client is correctly configured. For more information on DW configuration, see the Platform-Installation Guide.pdf.
  • Ensure to have an existing Kubernetes cluster connected and running with appropriate access.
  • Database credentials
    • If you are creating the database, ensure to have the PostgreSQL database server admin credentials. To create databases and users in the PostgreSQL DB server, see the Creating Databases section in the Platform-Installation Guide.pdf.
    • If database is already created, ensure to have the database name and database user credentials.
  • Ensure that Kubectl and Helm are installed on your deployment Linux machine. For installation related information, see the Install Kubectl and Installing Helm sections in the Platform-Installation Guide.pdf.
  • Ensure jq is installed on the server machine.
    • Use the sudo yum install jq, to install the jq.
  • PSQL must be installed on the server machine.
  • Ensure to get the Platform provided env.json file.
  • Procure the SSL certificates accordingly:
    • If the database (DB) is configured with mutual TLS enabled, you need to obtain the DB client certificate from the DB admin.
    • The load balancer SSL certificate is required for the load balancer, in case you use https.
  • Ensure the following Digital Worker keys are configured for the digitalworker-vault-role and are available in HashiCorpVault for storing generated secrets and caches. For more information, see the Platform-Installation Guide.pdf.
     

    {
       "databasePassword": "xxxxxx",
       "jwtKey": "xxxxxxxxxx",
       "oidcClientSecret": "xxxxxxxxxxx",
       "erlangCookie": "xxxxxxxxxxxx"
    }

 

License Placement

Before installing DW, follow these steps to place the server license file:

  1. Run the ./dw.sh serverkey command to generate the server key. 
  2. Share the server key with the License Procurement team to obtain the server license file for your DW deployment.
  3. Place the server license in the local directory.
  4. Mention the above local directory path in the Platform provided env.json file against the license_source_dir in the Digital Worker section.

Database Table Creation

Before installing Digital Worker, ensure that tables for DW are created in the database server. To create tables, follow the below steps:


Prerequisites

Below is the list of prerequisites for creating tables in the database server:

  • You should have the server details and port details in which the database is created.
  • Ensure that database is created in the database server. For information on how to create database in the database server, see the Create DB section.
  • You should have the Digital Worker database name, username, and password. 

 

NOTE:

The PostgreSQL database port 5432 must be open for all users to connect.

 

To create Tables in Database

Below are the steps to create the objects in the existing Digital Worker database:

  • Download the Digital Worker utility available in the generic repository.
  • Run the ./dw.sh createdbtables command.
    • Enter Database Hostname: Provide the database hostname for the instance.
    • Enter Database Port: Provide the database port number for the instance.
    • Enter Database Username: Provide the username of the database for Digital Worker.
    • Enter Database Password <HIDDEN>: Provide password of the above database user.
    • Enter Database Name: Provide name of the database for Digital Worker.

NOTE:

You don't need to provide the database details if they are already updated in the Platform provided env.json file.