To upgrade Cloud Discovery & Visibility using volume mounts:
- Log in to the console of the Cloud Discovery & Visibility container.
- Retrieve information about the container using the following
command:
docker inspect <container_name_or_container_id>
- In the response of the
docker inspect
command, find the volume information similar to the following:[ { ..., "Mounts": [ ..., { "Type": "volume", "Name": <volume_name>, "Source": "/var/lib/docker/volumes/<volume_name>/_data", "Destination": "/var/lib/postgresql", "Driver": "local", "Mode": "", "RW": true, "Propagation": "" }, ... ], ... } ]
- Verify the existence of the volume using the following
command:
docker volume inspect <volume_name>
- Stop the container using the following
command:
docker stop <gateway_container_name>
- Remove the container using the following
command:
docker rm <gateway_container_name>
- Create a new container for Cloud Discovery & Visibility v23.1.1, adding
a volume that points to the database volume of the Cloud Discovery &
Visibility v22.1.1 or v22.2.3 container listed in the response of the
docker inspect
command:docker run -d \ -p 80:8000 \ -p 443:44300 \ -v <path_to_mapped_log_directory>:/logs/ \ -v <volume_name>:/var/lib/postgresql \ -e BAM_IP=<your_bam_ip_address> \ --name <gateway_container_name> \ quay.io/bluecat/cloud_discovery_visibility:23.1.1
- Once you successfully upgrade to Cloud Discovery & Visibility v23.1.1, log in to the UI and re-enable the visibility jobs from the Management tab.