Skip to content

Configure Diagnostics Server Advanced Settings

This document provides instructions on how to configure advanced settings for the Privacera Diagnostics Server. These settings allow you to customize server behavior like database connection pooling to better suit your organization's needs.

Note

  • All configuration variables are optional and have default values.
  • Uncomment and set values only if you need to override the defaults.

To configure Diagnostics Server advanced settings, perform the following steps:

  1. Copy vars.privacera-diagnostics.yml from sample-vars and open it to configure. If the file is already present, you can skip this step:

    Bash
    1
    2
    3
    cd ~/privacera/privacera-manager
    cp config/sample-vars/vars.privacera-diagnostics.yml config/custom-vars
    vi config/custom-vars/vars.privacera-diagnostics.yml
    

  2. Uncomment and update the following variables in vars.privacera-diagnostics.yml as needed:

    Variable Name Description Default Value
    DIAG_SERVER_DB_POOL_CAPACITY Set the maximum number of database connections in the pool 10
    DIAG_SERVER_DB_POOL_TIMEOUT_SECS Set the timeout in seconds for database connection pool operations 30
  3. Save and close the file.

  4. Generate the Helm charts. This step prepares the necessary Kubernetes configurations for deploying the Privacera services:

    Bash
    cd ~/privacera/privacera-manager
    ./privacera-manager.sh setup
    

  5. Apply the Helm charts. This will deploy the Privacera services to your Kubernetes cluster:

    Bash
    cd ~/privacera/privacera-manager
    ./pm_with_helm.sh upgrade