patchinstall

UNIX only. Manage patches in a licensed Platform cluster.

Synopsis

patchinstall [-f env_file] [--silent]package...

patchinstall -c [-f env_file] [--silent]package...

patchinstall -r [-f env_file] [--silent]package

patchinstall -r [-f env_file] [--silent]build_number

patchinstall -h

Description

Permission required to run this command depends on the package contents and the original cluster installation account; you should normally log on as root, but you can patch some binaries as cluster administrator (lsfadmin).

By default, the command installs one or more packages in an existing cluster.

The cluster location is normally determined by your environment setting, so ensure your environment is set before you run this command (for example, you sourced cshrc.lsf or profile.lsf).

Specify the packages you want to install.

The installer does some checking first. If it does not find a problem, it prompts you to proceed with installation. If you confirm, it backs up the current binaries to the patch backup directory and then installs the specified packages on the cluster, updating or adding new binaries. It does not modify any existing configuration files. If there is any problem during installation of a package, it automatically rolls back to the cluster’s previous state. It records the changes in the patch history directory. This additional checking can take more time than installing with lsfinstall.

The command can also be used to do the following:

Check—do the checking for the packages without installing them. For more information, see the -coption.

Roll back—remove the most recent patch and return the cluster to the previous patch level. If you want to roll back multiple versions, you must roll back one patch level at a time, in the reverse order of installation. For more information, see the -roption.

Options

-cCheck. Perform checking as if to install, but do not proceed with installation.

Specify each package you want to check. You may specify multiple packages.

Checks that the existing cluster is compatible with the patch (the same version of the product is already installed on the same binary types). Fixes and fix packs may also require that a specific enhancement pack be installed.

Platform LSF Command Reference 285