Installing, upgrading, and uninstalling IBM Visual Insights Inference Server Version 1.2.0

Follow these steps to install, upgrade, or uninstall IBM Visual Insights Inference Server.

Upgrading IBM Visual Insights Inference Server

The IBM Visual Insights Inference Server does not have any application state. A new version can be installed without any required upgrade steps.

The prior version of the application can be safely uninstalled before installing the new version - see Uninstalling IBM Visual Insights Inference Server.

To reduce disk space usage, the docker containers required for the prior version of the product can be purged - see Uninstalling IBM Visual Insights Inference Server.

Installing from IBM Passport Advantage

  1. Download the product tar file from the IBM Passport Advantage website.
  2. Optionally verify the downloaded product tar file by following the steps in this topic: Verify the downloaded tar file
    1. Download these files:
      For x86
      visual-insight-infer-x86-1.2.0.0-ppa.sig
      visual-insights-1.2.0.0-key.pub
      visual-insights-ocsp-1.2.0.0-key.pub
      visual-insights-ocspchain-1.2.0.0-key.pub
      For Power Systems :
      visual-insight-infer-ppc-1.2.0.0-ppa.sig
      visual-insights-1.2.0.0-key.pub
      visual-insights-ocsp-1.2.0.0-key.pub
      visual-insights-ocspchain-1.2.0.0-key.pub
  3. Decompress the product tar file, change directories to the newly created directory, then run the installation command. For example, using the downloaded package for Power:
    $ tar -xvf visual-insight-infer-ppc-1.2.0.1-ppa.tar 
    
    visual-insight-infer-ppc-1.2.0.1-ppa/
    
    visual-insight-infer-ppc-1.2.0.1-ppa/visual-insights-inference-ppc64le-containers-1.2.0.1.tar
    
    visual-insight-infer-ppc-1.2.0.1-ppa/visual-insights-inference-1.2.0.1-472.22b7a1d.ppc64le.rpm
    
    visual-insight-infer-ppc-1.2.0.1-ppa/visual-insights-inference_1.2.0.1-472.22b7a1d_ppc64el.deb
    
    $ cd visual-insight-infer-ppc-1.2.0
    Run the installation command for the platform you are installing on:
    RHEL
    sudo yum install ./<file_name>.rpm
    Ubuntu
    sudo dpkg -i ./<file_name>.deb
  4. Load the product Docker images with the container tar file:
    /opt/ibm/vision-inference/bin/load_images.sh -f <tar_file>
    The file name has this format: visual-insights-inference-\<arch\>-containers-\<release\>.tar, where \<arch\> is x86 or ppc, and \<release\> is the product version being installed.

    IBM Visual Insights Inference Server will be installed at /opt/ibm/vision-inference.

Installing from AAS

  1. Download the product tar.gz file from Advanced Administration System (AAS). This system is also called Entitled Software Support (ESS).
  2. Unzip and untar the tar.gz file by running this command.
    gunzip -c file_name.tar.gz | tar -xvf
        -

    This will extract the following files:

    On Power Systems :

    visual-insight-infer-aas-ppc-1.2.0.0.sig
    visual-insight-infer-aas-ppc-1.2.0.0.tar.gz
    visual-insights-1.2.0.0-key.pub
    visual-insights-ocsp-1.2.0.0-key.pub
    visual-insights-ocspchain-1.2.0.0-key.pub
    On x86:

    visual-insight-infer-x86-1.2.0.0-aas.sig
    visual-insight-infer-aas-x86-1.2.0.0.tar.gz
    visual-insights-1.2.0.0-key.pub
    visual-insights-ocsp-1.2.0.0-key.pub
    visual-insights-ocspchain-1.2.0.0-key.pub
  3. (Optional) Verify the downloaded tar file by following the instructions in this topic: Verify the downloaded tar file.
  4. Unzip and untar the appropriate tar.gz file, visual-insts-inferenc-aas-<arch>-<version>.tar.gz, where <arch> is x86 or ppc and <version> is the product version: ​​​​​​
    
    gunzip -c file_name.tar.gz | tar -xvf -

    The install files are extracted to vision-inference-aas-1.2.0.0/.

  5. Decompress the product tar file, and run the installation command for the platform you are installing on:
    RHEL
    sudo yum install ./<file_name>.rpm
    Ubuntu
    sudo dpkg -i ./<file_name>.deb
  6. Load the product Docker images with the container tar file:
    /opt/ibm/vision-inference/bin/load_images.sh -f <tar_file>
    The file name has this format: visual-insights-inference-\<arch\>-containers-\<release\>.tar, where \<arch\> is x86 or ppc, and \<release\> is the product version being installed.

    IBM Visual Insights Inference Server will be installed at /opt/ibm/vision-inference.

Uninstalling IBM Visual Insights Inference Server

Follow these steps to uninstall IBM Visual Insights Inference Server:

  1. It is recommended that deployed models be undeployed, see Stopping a deployed model.
  2. To recover disk space, run docker rmi to remove the "deploy" docker images with the current release tag. For example, to remove all deploy images for the 1.2.0.0 release:
    $ for deploy_img in $(docker images --format '{{.Repository}}:{{.Tag}}' | egrep 'vision-dnn-[a-z]*[-]*deploy[-]*[a-z0-9]*\:1.2.0.0') ; do docker rmi ${deploy_img} ; echo "Purged image ${deploy_img}." ; done
    
  3. Optionally also uninstall the package:
    • For RHEL:
      sudo yum remove visual-insights-inference
    • For Ubuntu:
      sudo dpkg --remove visual-insights-inference