Upgrading Cloud Discovery & Visibility using volume mounts - Adaptive Applications - BlueCat Gateway - 23.3.2

Cloud Discovery & Visibility Administration Guide

Locale
English
Product name
BlueCat Gateway
Version
23.3.2

To upgrade Cloud Discovery & Visibility using volume mounts:
  1. Log in to the console of the Cloud Discovery & Visibility container.

  2. Retrieve information about the container using the following command:

    docker inspect <container_name_or_container_id>
  3. 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": ""
                },
                ...
            ],
            ...
        }
    ]
  4. Verify the existence of the volume using the following command:

    docker volume inspect <volume_name>
  5. Stop the container using the following command:

    docker stop <gateway_container_name>
  6. Remove the container using the following command:

    docker rm <gateway_container_name>
  7. Create a new container for Cloud Discovery & Visibility v23.3.2, adding a volume that points to the database volume of the Cloud Discovery & Visibility v23.1.1 or v23.2 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.3.2
  8. After you successfully upgrade to Cloud Discovery & Visibility v23.3.2, log in to the UI and re-enable the visibility jobs from the Management tab.