Under Construction
Preview des Updates durchführen
Wir führen hier zunächst einen Preview des Updates durch. Dies ist optional, man kann natürlich auch den Update direkt starten. Wir wollen uns aber den Preview genauer anschauen und dabei insbesondere auf die installierten Ifixes schauen.
Auch wenn wir nach den vorangegangenen Untersuchungen schon wissen, das bei einem Update auf 7200-05-08-2420 nur der Ifix IJ50424s7a automatisch entfernt wird, lassen wir zunächst alle 3 Ifixes installiert und führen zunächst einen Preview Update durch:
# install_all_updates -Y -p -d /mnt/aix720508lpp
…
install_all_updates: ATTENTION, a higher level of install utilities is
available. The preview option will be more accurate and complete after
updating to the latest level (see the -i option).
install_all_updates: Log file is /var/adm/ras/install_all_updates.log
install_all_updates: Result = SUCCESS
#
Da der Update eine neuere Version der Install Utilities (bos.rte.install) enthält, ist der Preview Update nicht vollständig aussagekräftig. Wir aktualisieren daher im ersten Schritt nur die Install Utilities (Option „-i„):
# install_all_updates -i -d /mnt/aix720508lpp
…
Installation Summary
--------------------
Name Level Part Event Result
-------------------------------------------------------------------------------
bos.rte.install 7.2.5.206 USR APPLY SUCCESS
bos.rte.install 7.2.5.206 ROOT APPLY SUCCESS
#
Hinweis: Möchte man den Update ohne einen Preview durchführen, ist der Update der Install Utilities in einem eigenen Schritt nicht notwendig. Diese werden bei einem Update immer automatisch zuerst aktualisiert.
Wir wiederholen nun den Preview Update:
# install_all_updates -Y -p -d /mnt/aix720508lpp
…
+-----------------------------------------------------------------------------+
BUILDDATE Verification ...
+-----------------------------------------------------------------------------+
Verifying build dates...done
The updates being installed do not contain all the APARs to allow
all existing interim fixes to be automatically removed. Please ensure
the interim fixes are enabled for automatic removal and obtain the
updates that contain the APARs for the following interim fixes,
or remove the interim fixes, as described below.
81112ma
IJ52366s7a
EFIX MANAGER LOCKS
------------------
* * * ATTENTION * * *
The following selected filesets are locked by EFIX manager:
openssh.base.server
openssh.base.client
bos.net.tcp.sendmail
bos.net.tcp.client_core
installp has halted this operation because one or more files in the
filesets listed above are registered as having an EFIX. You must remove
these EFIXES before performing operations on the given fileset.
To get a listing of all locked filesets and the locking EFIX label,
execute the following command:
# /usr/sbin/emgr -P
To remove the given EFIX, execute the following command:
# /usr/sbin/emgr -r -L <EFIX label>
For more information on EFIX management please see the emgr man page
and documentation.
install_all_updates: Log file is /var/adm/ras/install_all_updates.log
install_all_updates: Result = FAILURE
#
Das Ergebnis des Previews ist FAILURE, da zu aktualisierende Filesets durch installierte Ifixes gesperrt sind. Die installierten Ifixes, die nicht automatisch entfernt werden können, werden aufgelistet. Wie erwartet, sind das die beiden folgenden Fixes:
- 81112ma
- IJ52366s7a
Der installierte Ifix IJ50424s7a wird nicht aufgelistet, da für diesen der offizielle Fix im Update enthalten ist und er daher automatisch beim Update entfernt werden würde.
Die Ausgabe des Preview Updates bestätigt also unsere Untersuchungen!
Wir deinstallieren die beiden Ifixes (81112ma und IJ52366s7a), da diese nicht automatisch beim Update entfernt werden:
# emgr -r -L 81112ma
…
EFIX NUMBER LABEL OPERATION RESULT
=========== ============== ================= ==============
1 81112ma REMOVE SUCCESS
Return Status = SUCCESS
#
# emgr -r -L IJ52366s7a
…
EFIX NUMBER LABEL OPERATION RESULT
=========== ============== ================= ==============
1 IJ52366s7a REMOVE SUCCESS
ATTENTION: system reboot is required. Please see the "Reboot Processing"
sections in the output above or in the /var/adm/ras/emgr.log file.
Return Status = SUCCESS
#
Der automatisch entfernbare Ifix IJ50424s7a bleibt installiert.
Wir wiederholen den Preview Update:
# install_all_updates -Y -p -d /mnt/aix720508lpp
…
+-----------------------------------------------------------------------------+
BUILDDATE Verification ...
+-----------------------------------------------------------------------------+
Verifying build dates...done
The updates being installed contain the following interim fix labels,
which will be removed prior to installing the updates:
IJ50424s7a
NOTE: Rejecting an update that contains an interim fix will not
re-install the interim fix on the system.
…
******************************************************************************
End of installp PREVIEW. No apply operation has actually occurred.
******************************************************************************
install_all_updates: Log file is /var/adm/ras/install_all_updates.log
install_all_updates: Result = SUCCESS
#
Das Ergebnis ist jetzt SUCCESS und in der Ausgabe des Preview wird explizit auf das automatische Entfernen des installierten Ifixes IJ50424s7a hingewiesen!