Undo a Patch Deploy Job


TrueSight Server Automation supports undo when you are deploying Windows, AIX, or Solaris patches. You can access the Deploy Jobs results to undo the following types of packages:

  • Packages that are in the committed state for Windows or Solaris Patching Jobs
  • Filesets that are in the applied state for AIX Patching Jobs

You cannot undo AIX Deploy Jobs after the AIX Server has been migrated to another version.

The Undo operation for a Solaris patch can be performed in TrueSight Server Automation only if the Solaris patch is allowed to be removed after installation. BMC recommends to check the readme document for the Solaris patch in the Oracle documentation. 

Warning

Note

When you perform this procedure on a Deploy Job in an Incomplete state, the Deploy Job remains in an Incomplete state. If you perform it on a job in a Failed or Succeeded state, the job remains in a Failed or Succeeded state.

To undo a Patch Deploy Job

  1. Display job results by selecting a job, right-clicking, and selecting Show Results from the pop-up menu.
  2. Select the corresponding Deploy Job for filesets that you want to undo.
  3. Do one of the following actions:

    • To undo the applied filesets, select the corresponding job run and select Undo from the pop-up menu.
    • To undo deployed packages for selected servers, click the Deploy Status tab if it is not already selected. Select cells in the Commit column for those servers where you want to undo packages. Use Shift-click or Ctrl-click to select multiple cells. Right-click and select Undo from the pop-up menu.

      A confirmation dialog box shows the BLPackage or the software packages that are being rolled back and lists the servers on which you are undoing the Deploy Job.
    Warning

    Note: About selecting Allow rollback - Leave rollback files on target for later use option

    If you have not selected Allow rollback - Leave rollback files on target for later use option in Deploy Job - Phase Options, then even if you select the Undo option from the pop-up menu for a specific job run, the undo action fails with the following error message in the Application Server log file:

    Cannot undo as the 'Allow rollback' option for this job is not enabled.

    Also, when you right-click the cells in the Commit column, the Undo option is not present in the pop-up menu.

  4. To confirm the undo, click OK. A dialog box announces that the undo is in process and allows you to cancel the undo if necessary.

    Warning

    Note

    After undoing a Deploy Job, you can display the Deploy Status panel again. It displays a column called Rollback, which shows the status of the undo. Selecting a cell under the Rollback column displays messages for the undo on that server.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

TrueSight Server Automation 24.2