Updating the IBM Spectrum LSF Predictor service

To update the LSF Predictor service, stop the current service and extract the new package.

Procedure

  1. Log in to the LSF Predictor host as the LSF Predictor user.

    For example, log in to the LSF Predictor host as lsfadmin.

  2. Navigate to the LSF Predictor directory.

    For example,

    $ cd /opt/ibm
  3. Copy the new installation package to the directory.

    For example,

    $ cp /tmp/lsf_cognitive_predictor_v1.tar.gz .
  4. Remove the previous LSF Predictor image from the local registry by running the following command:

    ./lsf_cognitive_v1/bcogn stop -f

  5. Extract the new installation package to overwrite the old installation.
    $ tar -zxvf lsf_cognitive_predictor_v1.tar.gz
  6. To update the LSF Predictor service, choose one of the following methods:
    • Use the bcogn start -u command to update and start the new version of the Predictor service.

      ./lsf_cognitive_v1/bcogn start -u

    • Update without starting the new version of the Predictor service.

      ./lsf_cognitive_v1/bcogn upgrade

  7. To stop the Predictor service and uninstall Docker images from the images repository, run the following command:
    $ ./lsf_cognitive_v1/bcogn stop -f