Now that the Virtru Private Keystore (for Virtru Solutions) has been installed on the first server, the additional servers should be deployed by copying the install folder and editing the appropriate information.
Create Additional Container
Stop CKS Container on Primary Host
From the original server, Host A:
cd /var/virtru/cks/
docker ps -a
docker stop <containerID>
Copy Configuration to Secondary Host
This will copy the container configurations to a new server.
From the original server, Host A:
scp -r /var/virtru/cks root@cksb.example.com:/var/virtru/cks
Start the CKS Container
Running this command will start the container.
Connect to cksa.example.com and run these commands:
cd /var/virtru/cks
sh run.sh
Now, connect to cksb.example.com and run these commands:
cd /var/virtru/cks
sh run.sh
Container Validation
Check that your CKS container's started successfully with the below command:
docker ps -a
View the logs from the container on each host to ensure the process started successfully:
docker logs <containerID> -f