- Log in to the console of the Cloud Discovery & Visibility v21.3.1 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 Cloud Discovery & Visibility v22.1.1 container and add a volume
that points to the database volume of the Cloud Discovery & Visibility
v21.3.1 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:22.1.1
- Once you have successfully upgraded to Cloud Discovery & Visibility v22.1.1, log in to the UI and re-enable the visibility jobs from the Management tab.
Upgrading from Cloud Discovery & Visibility v21.3.1 deployed on a BDDS
If you deployed Cloud Discovery & Visibility v21.3.1 on a BDDS, perform the following steps to upgrade to Cloud Discovery & Visibility v22.1.1:
- Log in to the Cloud Discovery & Visibility UI.
- Click in the top-right corner of the page.
- From the drop-down menu, select Export Visibility Jobs. The Export visibility jobs window opens.
- (Optional) Under Secret Key, enter a secret key value that will be used to decrypt the visibility job configuration file.
- Click Export.
Cloud Discovery & Visibility generates the visibility job configuration file and downloads it to your browser.
Upgrading the Cloud Discovery & Visibility container
Once you have exported the visibility job configuration file, you can proceed to upgrade the container. Depending on the deployment of the BDDS, you can upgrade the container via a cloud or local repository, or upgrade the container in a Production Environment. For more information on upgrading, refer to Upgrading a container in the Address Manager Administration Guide.
Importing the visibility jobs
- Log in to the Cloud Discovery & Visibility UI.
- Click the Management tab.
- Under Visibility Management, click and select Import Visibility Jobs. The Import visibility jobs window opens.
- Under File, click Upload and select the visibility job configuration file to upload.
- Under Secret Key, enter the secret key if you encrypted the visibility job configuration file.
- Click Import.
Cloud Discovery & Visibility attempts to import the visibility jobs from the configuration file. Once you have successfully upgraded to Cloud Discovery & Visibility v22.1, log in to the UI and re-enable the visibility jobs from the Management tab.