Setting up your environment

Download the Guardium Insights CASE file and set up your environment for dependencies.

About this task

After you install Guardium Insights, you must download the CASE file and set up your environment.

Procedure

  1. Create a local directory for the installation.
    export LOCAL_INSTALL_DIR=$HOME/guardium-insights
    mkdir $LOCAL_INSTALL_DIR 
  2. Create a local directory for the CASE bundle.
    export LOCAL_CASE_DIR=$LOCAL_INSTALL_DIR/local_case
    mkdir $LOCAL_CASE_DIR
     
  3. Specify the CASE version that is supported for the version of Guardium Insights that you are installing. For more information, see System requirements and prerequisites.
    For example, if you are installing Guardium Insights Version 3.2.0, you must specify the 2.2.0 bundle file.
    export CASE_VERSION=<CASE_VERSION>
    export CASE_ARCHIVE=ibm-guardium-insights-$CASE_VERSION.tgz

    Where the CASE version (<CASE_VERSION>) is the new version for your Guardium Insights deployment and <CASE_ARCHIVE> is the CASE file name with the new CASE version included. CASE versions are explained in Container Application Software for Enterprises (CASE) version support.

  4. Save the CASE bundle locally
    cloudctl case save \
      --case https://github.com/IBM/cloud-pak/raw/master/repo/case/ibm-guardium-insights/$CASE_VERSION/$CASE_ARCHIVE \
      --outputdir $LOCAL_CASE_DIR --tolerance 1
    
    Note: If you encounter the following error: No Case registries found for case ibm-cert-manager->=1.3.0 <1.3.1.tgz with the given repository URL information FAILED, you might be experiencing a temporary communication problem with the remote repository. Try to save the CASE bundle after a few minutes.
  5. To use the all-in-one-script to install Guardium Insights, extract the CASE bundle to your local directory. You do not require this step if you are performing a manual installation.
    tar -xvf $LOCAL_CASE_DIR/$CASE_ARCHIVE --dir $LOCAL_CASE_DIR

What to do next

Edit the values configuration file.