Administer > Configure CSA > Configure DB Purge tool

Configure DB Purge tool

Complete the following steps to configure the DB Purge tool:

  1. Open the command prompt and change the directory to /var/vols/itom/hcm/shared/tools/csa/DBPurgetool folder.
  2. Copy the certificate (*.pem) file from location the /etc/nginx-ssl/ to hcm-nginx-ingress-controller container, by running the following command: docker cp <container_ID>:/etc/nginx-ssl/<certificate-file-name>.pem /tmp.
  3. Next, run the following command: keytool -importcert -file /var/vols/itom/hcm/certs/hcm1-hcm-default-secret.pem -alias <hostname> -keystore /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.65-3.b17.el7.x86_64/jre/lib/security/cacerts.
  4. Note: Replace the parameters marked in bold to suit your HCM environment.

  5. Edit the config.properties.<database> file according to your database.
  6. Change the name of the config.properties.<database> file to config.properties.
  7. Run java –jar <tool name>.