Aviatrix Controller HA monitor and restart for Google Cloud
This script is meant to monitor the controller instance in GCP. Before you run the script make sure the following information is in place.
- An Ubuntu instance with python and gcloud SDK library along with gce_backend_service.py script
- Name of controller instance
- Zone where the controller instance is running
- Google Could project API credential (copy the file into path)
The script leverages GCP backend monitoring service on the controller instance and restart the controller instance if a failure is detected.
usage: python gce_backend_service.py instance-name instance-zone project-credentials
python gce_backend_service.py dry-test us-east1-b /var/cloudx/ucc-gcloud.json