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
- Download the product tar file from the IBM Passport Advantage website.
- Optionally verify the downloaded product tar file by following the steps
in this topic: Verify the downloaded tar file
- 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
- Download these files:
- 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:
Run the installation command for the platform you are installing on:$ 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
- RHEL
sudo yum install ./<file_name>.rpm
- Ubuntu
sudo dpkg -i ./<file_name>.deb
- Load the product Docker images with the container tar file:
The file name has this format: visual-insights-inference-\<arch\>-containers-\<release\>.tar, where \<arch\> is/opt/ibm/vision-inference/bin/load_images.sh -f <tar_file>
x86
orppc
, and \<release\> is the product version being installed.IBM Visual Insights Inference Server will be installed at /opt/ibm/vision-inference.
Installing from AAS
- Download the product tar.gz file from Advanced Administration System (AAS). This system is also called Entitled Software Support (ESS).
- 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
- (Optional) Verify the downloaded tar file by following the instructions in this topic: Verify the downloaded tar file.
- Unzip and untar the appropriate tar.gz file,
visual-insts-inferenc-aas-<arch>-<version>.tar.gz
, where <arch> isx86
orppc
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/
. - 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
- Load the product Docker images with the container tar file:
The file name has this format: visual-insights-inference-\<arch\>-containers-\<release\>.tar, where \<arch\> is/opt/ibm/vision-inference/bin/load_images.sh -f <tar_file>
x86
orppc
, 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:
- It is recommended that deployed models be undeployed, see Stopping a deployed model.
- 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
- Optionally also uninstall the package:
- For RHEL:
sudo yum remove visual-insights-inference
- For Ubuntu:
sudo dpkg --remove visual-insights-inference
- For RHEL: