Updating the IBM Spectrum LSF Predictor service
To update the LSF Predictor service, stop the current service and extract the new package.
Procedure
-
Log in to the LSF
Predictor host as the LSF
Predictor user.
For example, log in to the LSF Predictor host as lsfadmin.
-
Navigate to the LSF
Predictor directory.
For example,
$ cd /opt/ibm
-
Copy the new installation package to the directory.
For example,
$ cp /tmp/lsf_cognitive_predictor_v1.tar.gz .
-
Remove the previous LSF
Predictor image from the local registry by running the following command:
./lsf_cognitive_v1/bcogn stop -f
-
Extract the new installation package to overwrite the old installation.
$ tar -zxvf lsf_cognitive_predictor_v1.tar.gz
-
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
- Use the bcogn start -u command to update and start the new version of the
Predictor service.
-
To stop the Predictor service and uninstall Docker images from the images repository, run the
following command:
$ ./lsf_cognitive_v1/bcogn stop -f