You can configure visibility jobs to use persistent storage to make sure that visibility jobs are not lost and can be restarted in the case of a container shutdown.
To configure the Cloud Discovery & Visibility image with persistent storage:
- Create a docker volume using the following
docker volume create <volume-name>Note: A persistence volume can only be used when starting a new container.
- Run a new container with the volume created using the following
docker run -d \ -p 80:8000 \ -p 443:44300 \ -v <volume-name>:/var/lib/postgresql/ \ -e BAM_IP=<your_bam_ip_address> \ --name <gateway_container_name> \ quay.io/bluecat/cloud_discovery_visibility:22.2.2
Attention: When installing a Cloud Discovery & Visibility image with persistent storage, the Override Configuration option is automatically enabled when restarting visibility jobs. Also, any resources that appear in Address Manager but that found to be removed in the new discovery task are flagged in the Deleted Tagged Resources tab.