Deploying AuditSafe Docker Images

Perform the following steps to deploy AuditSafe docker images.

  1. Download TIB_auditsafe-deployment_<version>.tar.gz file from the TIBCO Community (https://community.tibco.com).
  2. Extract the file contents to a folder.
  3. Navigate to <folder>/auditsafe-deployment_<version>/config folder.
  4. Open the deployment.properties file and configure the following properties:
    Deployment Properties
    Property Description
    docker_repository=<docker_registry_ip> <docker_registry_ip> is the IP address of the machine in which you want to push the docker images.
    docker_username= Specify the user name of the docker login.
    database_url=jdbc:mysql://<database_machine_ip>:3306/<database_name> <database_machine_ip> is the IP address of the machine where the database resides.

    <database_name> is the name of database.

    database_username=<username> <username> is the name of the user accessing the database.
    database_password=<password> <password> is the password to access the database.
    elasticsearch_host=<elasticsearch_ip> <elasticsearch_ip> is the IP address of the machines where the ElasticSearch database resides.
    elasticsearch_username=<usr_name> <usr_name> is the name of the user accessing the ElasticSearch database.
    elasticsearch_password=<pwd> <password> is the password to access the ElasticSearch database.
  5. Save and close the deployment.properties file.
    Note: Before you deploy docker images, if you are using MySQL 5.7.x and above versions, then add skip_ssl and set max_allowed_packet to 500M in the my.ini file under [mysqld] section.
  6. Do one of the following:
    • For Docker - Navigate to <folder>/auditsafe-deployment_<version>/samples/docker-scripts and run the following command:

      ./docker-run-auditsafe-all.sh

    • For Kubernetes - Navigate to <folder>/auditsafe-deployment_<version>/scripts and run the following command:

      ./deploy-auditsafe.sh

    A message - You must accept the License agreement before proceeding. Press ENTER key to read the License. Press q to finish reading. is displayed.

  7. Press ENTER key to read the license agreement. Press q to finish reading.
  8. Enter y to accept the license agreement.

    A message - Do you want to run TIBCO AuditSafe Data-Server docker container?

    (y/n) is displayed.

  9. Enter y.

    A message - Do you want to run TIBCO AuditSafe Web-Server docker container?

    (y/n) is displayed.

  10. Enter y.

You can verify if the AuditSafe servers are deployed by using the following command:

For Docker - docker ps

For Kubernetes - kubectl get pods -n <namespace>