SRM: After upgrading SRM, the update-manager still has the previous version of Java installed

Zusammenfassung: After upgrading SRM the update-manager still contains the previous version of Java from prior to the upgrade. This is not cleaned up by default post upgrade.

Dieser Artikel gilt für Dieser Artikel gilt nicht für Dieser Artikel ist nicht an ein bestimmtes Produkt gebunden. In diesem Artikel werden nicht alle Produktversionen aufgeführt.

Symptome

  • After upgrading SRM, the update-manager on the Frontend server contains the previous version of Java that was used before the upgrade:
/opt/APG/Tools/Update-Manager/[version]/data/Sun-JRE_[version]/
Example, on SRM 4.7.1.0: 
/opt/APG/Tools/Update-Manager/7.4.1/data/Sun-JRE_8.0.311/
  • SRM does not use the update-manager JRE installation. This is only used for the update-manager during the upgrade process. 
  • SRM has the correct version of Java post upgrade:
/opt/APG/Java/Sun-JRE/[version]
Example, on SRM 4.7.1.0:
/opt/APG/Java/Sun-JRE/8.0.321

Ursache

  • The update-manager installs the current version of Java during the upgrade process (that is, the Java version used before the upgrade). This is used during the upgrade.
  • After the upgrade, the update-manager does not clean up the Java installation that is used for the upgrade process, hence why the previous version of Java is still present. 

Lösung

The update-manager is used during the SRM upgrade process but is not needed for daily use post upgrade. As a workaround, the update-manager can be manually removed after the upgrade is complete as below:
  1. Log in to the Frontend server.
  2. Run the manage-modules script to remove the update-manager service:
/opt/APG/bin/manage-modules.sh remove update-manager
  1. When prompted, select "yes" to remove, and "yes" to purge the module, similar to below:
[root@sirius01 ~]# /opt/APG/bin/manage-modules.sh remove update-manager
Modules to be removed, in processing order:
   [1] D update-manager '7.5' v7.5
 ? Enter the step to modify, 'yes' to accept them, or 'no' to cancel the operation [yes] > yes

Starting removal of update-manager 7.5...
 * Gathering information...
 * The module installed in '/opt/APG/Tools/Update-Manager/7.5' will now be removed.
 ? Do you want to completely purge the module Update-Manager 7.5 out of the system, including data files, configuration files and restore points? (yes/no) [n] > yes
 * Removing files... 100%
 * Finalizing removal...
Removal complete.
[root@sirius01 ~]#
  1. Once complete, verify that the update-manager and its Java installation are removed.

Betroffene Produkte

SRM

Produkte

SRM
Artikeleigenschaften
Artikelnummer: 000205153
Artikeltyp: Solution
Zuletzt geändert: 23 Jan. 2023
Version:  4
Antworten auf Ihre Fragen erhalten Sie von anderen Dell NutzerInnen
Support Services
Prüfen Sie, ob Ihr Gerät durch Support Services abgedeckt ist.