This document outlines key considerations and best practices for maintaining your Virtru Customer Hosted Gateway (VG) after installation. Below is an organized summary:
1. Load Balancer
- Scenario 1: Traffic flows directly to the containers.
- Scenario 2: Traffic is terminated at a load balancer and re-initiated to containers.
2. Status Check
To validate the health and functionality of the Virtru Hosted Gateway, perform the following checks:
- Refer to the Customer Hosted Gateway Validation Article.
Ensure to verify that all hosts in the setup respond as expected.
3. Backup
Back up your environment by saving the base folder where the Virtru Gateway is installed:
/var/virtru/vg
This includes:
- Configuration files
- Certificates
4. Disaster Recovery
- A backup host with:
- Internet connection
- Docker installed
- A backup of the
/var/virtru/vg
folder.
Steps:
- Forward the same port used for the backup to the new host.
- Restore the backup folder to the new host.
- Verify functionality using a Status Check and examine container logs.
High Availability:
- Repeat the steps above for each host in your high-availability setup.
5. Logs
By default, the gateway logs are stored using Docker’s logging system.
- Recommendation: Log to server and manage logging at the system level.
For further customization and troubleshooting, refer to the Docker Documentation.
6. Upgrade
To upgrade your gateway please follow the instructions here:
- Kubernetes or Linux Server Gateway Upgrade
Key Notes
- Regularly validate the status of your gateway using the official validation guide.
- Automate backups to ensure minimal downtime during recovery.
- Implement a robust load balancer configuration for better scalability and fault tolerance.