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

Riepilogo: 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.

Questo articolo si applica a Questo articolo non si applica a Questo articolo non è legato a un prodotto specifico. Non tutte le versioni del prodotto sono identificate in questo articolo.

Sintomi

  • 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

Causa

  • 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. 

Risoluzione

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.

Prodotti interessati

SRM

Prodotti

SRM
Proprietà dell'articolo
Numero articolo: 000205153
Tipo di articolo: Solution
Ultima modifica: 23 gen 2023
Versione:  4
Trova risposta alle tue domande dagli altri utenti Dell
Support Services
Verifica che il dispositivo sia coperto dai Servizi di supporto.