Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Kyvos Manager supports and uses Postgres as its repository. Data source configuration is set in file jdbc.properties, located at kyvosmanagerdata/server/db/.

By default, Kyvos Manager uses bundled Postgres as its repository. However, in cloud-based deployments, Kyvos Manager also supports using an external repository for AWS RDS, Azure Single, or Flexible server.

  • For automated deployment (default Path), the location of the Kyvos Manager data folder is /data/kyvos/installs/kyvosmanager_war/

  • For non-automated deployments (i.e., on Prem or wizard-based deployments in a cloud environment), its location will be inside the kyvosmanager_war folder that was created initially.

...

  • jdbc.driverClassName=org.postgresql.Driver

  • jdbc.dialect=org.hibernate.dialect.PostgreSQLDialect

  • jdbc.url=jdbc:postgresql://localhost:45421/kmrepo

  • jdbc.username=kmdbuser

  • jdbc.password=S+VEVINQjaE8zJwrvLIsWk0VGCMCv0iv1txMIxYeJ0vH2A29RKYMug1n6iqArGgMrrfHMS34pUSEBX18

 Password encryption-related configuration

...

  • useBundledRepo=true

  • homePathBundledRepo=

  • manageBundledRepoService=true

...

Configuring jdbc.properties

For fresh deployment

  • Automated deployment

    • Bundled Postgres: No manual configuration is necessary in jdbc.properties since it works well with default configuration values provided in jdbc.properties.

    • External Repository (AWS RDS, Azure Single, Flexible server): No manual configuration is required in jdbc.properties as everything is configured automatically.

...

  • Wizard based deployment

    • Bundled Postgres: No manual configuration changes are required in the jdbc.properties as everything works well with default provided configuration values in jdbc.properties

    • External Repository (AWS : RDS, Azure: Single / Flexible server):(RDS) or Flexible server):

      • Before configuring the jdbc.properties file, ensure that Kyvos Manager is not started.

      • Replace the server name in jdbc url with the server name of the Flexible server, port and SSL.
        For example, jdbc.url=jdbc:postgresql://kyvosmanager-postgresserver-5122.postgres.database.azure.com:5432/kmrepo?sslmode=require

      • jdbc.username should be kmdbuser.

      • Set the value of useBundledRepo and manageBundledRepoService to ‘false.’

Upgrade or Switching

  • Depending on whether switching from bundled to external or external to bundled, set some properties while making values of irrelevant properties blank.

Changing jdbc.properties

Case 1

Suppose you plan to To use an external repository for Kyvos Manager (Either either during fresh deployment or upgrade or switching to an external repository as a Kyvos Manager repository). In that , in this case, you must update the following properties in the jdbc.properties file.

  • Set the value of useBundledRepo and manageBundledRepoService to ‘False‘false.’

  • jdbc.url

  • repoIdentifier

Panel
panelIconIdatlassian-info
panelIcon:info:
bgColor#FFFAE6

Important

When you switch to an external repository, such as the Kyvos Manager repository, while currently using bundled Postgres, data migration from the bundled Postgres to the external repository becomes a prerequisite and a manual activity.

Case 2

Update the following properties when migrating from external repo repository to bundled Postgres:

Anchor
External-Repository-to-Bundles-Postgres
External-Repository-to-Bundles-Postgres

  • Set the value of useBundledRepo and manageBundledRepoService to true.

  • Set the appropriate value for the homePathBundledRepo property.

  • Specify the jdbc.url

  • Leave the external repository-related properties blank.

Panel
panelIconIdatlassian-info
panelIcon:info:
bgColor#FFFAE6

Important

When you switch to a bundled repository as the Kyvos Manager repository while currently using the external repository, data migration from the external repository to a bundled repository becomes a prerequisite and a manual activity.

Case 3

Update the following properties when migrating from Flexible Server to Single Server:

Anchor
Flexible-Server-to-Single-Server
Flexible-Server-to-Single-Server

  • jdbc.url

  • jdbc.username

Other properties

The username and password must be updated if they are not the default.

  • jdbc.username=kmdbuser

  • jdbc.password=S+VEVINQjaE8zJwrvLIsWk0VGCMCv0iv1txMIxYeJ0vH2A29RKYMug1n6iqArGgMrrfHMS34pUSEBX18

    • During Kyvos Manager bootup or cluster deployment, it will be encrypted even if a password is added in plain text. If a plain text password is provided, ensure that the value for the property cryptographyAlgorithm is blank.

    • After restarting Kyvos Manager or completing the cluster deployment, if the specified password is used, it will also be moved to the secret used in the cluster.

After the cluster deployment, the following properties automatically configured through Kyvos Manager if external repository is in use as Kyvos Manager repository.

...