Roll back patches on UNIX and Linux

Removes patches installed using patchinstall, and returns the cluster to a previous state.

Procedure

  1. Log on to a host in the cluster.
  2. Set your environment (if you cannot, prepare a configuration file and use -f option in pversions and patchinstall commands).

    source LSF_TOP/conf/cshrc.lsf (for csh or tcsh)

    . LSF_TOP/conf/profile.lsf (for sh, ksh, or bash)

  3. Run LSF_TOP/version/install/pversions to determine the state of the cluster and find the build number of the last patch installed (roll back one patch at a time).
  4. Run patchinstall with -r and specify the build number of the last patch installed (the patch to be removed).

    patchinstall -r 12345

  5. If you were prompted to do so, restart the cluster.

    Patches that affect running daemons require you to restart manually.

  6. If necessary, modify LSF cluster configuration manually. This may be necessary to roll back an update.
  7. Optional. Run LSF_TOP/version/install/pversions to determine the state of the cluster.

Results

To roll back multiple builds, repeat as required until the cluster is in the state you want.