Deploying AuditSafe Docker Images
Perform the following steps to deploy AuditSafe docker images.
- Download TIB_auditsafe-deployment_<version>.tar.gz file from the TIBCO Community (https://community.tibco.com).
- Extract the file contents to a folder.
- Navigate to <folder>/auditsafe-deployment_<version>/config folder.
- 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. - Save and close the deployment.properties file.
- 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.
- For Docker - Navigate to
<folder>/auditsafe-deployment_<version>/samples/docker-scripts and run the following command:
- Press ENTER key to read the license agreement. Press q to finish reading.
- Enter
y to accept the license agreement.
A message - Do you want to run TIBCO AuditSafe Data-Server docker container?
(y/n) is displayed.
- Enter
y.
A message - Do you want to run TIBCO AuditSafe Web-Server docker container?
(y/n) is displayed.
- 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>
