Linux-UNIX: Upgrading the S-TAP agent using the shell installer

Use the shell installer, either in interactive mode or non-interactive mode, to upgrade the S-TAP agent on Linux, Solaris, HPUX, and AIX database servers.

Before you begin

About this task

If any stage of the upgrade fails, undo all of the steps up to that point. Do not leave the S-TAP partially upgraded.

The S-TAP package name is in the format: guard-stap-11.0.0.0_r123456_1-rhel-5-linux-x86_64.sh, where the first three numbers are the release number, followed by the revision number, in this example r123456.

Procedure

  1. Log on to the database server using the root account.
  2. Copy the S-TAP bundle to the installation directory, and run the command: ./guard-stap-guard-<release number>_<revision number>_1-rhel-5-linux-x86_64.sh. If you want to enable the FlexLoad mechanism setting, include the parameter: ktap_allow_module_combos
    If you are running the script interactively, without the -u parameter, the system responds:
    Do you want to update the previous STAP installation? [y/N]
    If you're running non-interactively (–ni) without the -u parameter, the system responds with this error:
    Detected previous STAP installation Run installer with '-u' flag to update previous installation
  3. Confirm you want to upgrade. The script runs, and at completion you should see output similar to: Successfully updated from 10.6.0.0 105601 to 11.0.0.0 105854

What to do next

Verify that the row of the S-TAP has a green status (first column) in Monitor > Maintenance > S-TAP Logs > S-TAP Staus