How to display package lock operations of interim fix
emgr -P
or
emgr -P <Package Name>
How to display interm fix package information
Syntax:
emgr -d -e <ifix package name>
How to list installed interm fix
Syntax:
emgr -l
or
emgr -l -L <ifix Lable>
Note:- The default level of verbosity is 1. You can specify up to level 3 with the -v flag. The verbosity levels include the following information:
How to check the status of installed interim fixes
Syntax:
emgr -c
or
emgr -c -L <Label>
How to check a preview of ifix package
Syntax:
emgr -pe <package name>
How to install ifix package
Syntax:
emgr -Xe <package name>
How to force removal interm fix
Syntax:
emgr -R <ifix name>
Understanding interim fix states
The following installed interim fix states are maintained by the emgr command:
S=STABLE
The interim fix was installed with a standard installation (-e flag), and successfully completed the last installation operation. To verify the interim fix details, run a check operation on the given interim fix or interim fixes.
M=MOUNTED
The interim fix was installed with a mount installation operation, and successfully completed the last installation or mount operation. A state of MOUNTED does not mean all interim fixes are currently mounted. For example, the interim fixes might have been manually unmounted. This state represents the emgr command’s previous actions and determination of the mount status. To verify the interim fix details, including mount status, run a check operation on the given interim fix or interim fixes.
U=UNMOUNTED
The interim fix was installed with a mount installation operation and one or more interim fix files were unmounted in a previous emgr command operation. The state of UNMOUNTED does not mean that all interim fixes are currently unmounted. For example, the interim fixes might have been manually mounted or partially mounted. This state represents the emgr command’s previous actions and determination of the mount status. To verify the interim fix details, including mount status, run a check operation on the given interim fix or interim fixes.
B=BROKEN
An unrecoverable error occurred during an installation or removal operation. The status of the interim fix is unreliable. You can attempt to remove this interim fix and reinstall it from the interim fix package.
I=INSTALLING
The interim fix is in the process of installing. Normally, this state occurs only for a brief time during interim fix installation. However, if an interim fix installation is suddenly interrupted (such as in a sudden power loss or a system crash), and the emgr command is unable to clean up the failed installation, an interim fix might be left in the INSTALLING state. You can attempt to remove this interim fix and reinstall it from the interim fix package.
Q=REBOOT REQUIRED
The interim fix was installed successfully and requires a reboot to fully integrate into the target system. After you reboot the target system, emgr changes the interim fix state to STABLE.
Note:
1. This feature is not supported in the original release of interim fix management. You should update to the latest level of interim fix management to enable this feature. To update interim fix management, update bos.rte.install to the latest level.
2. emgr is called by init with the -B bootup flag during system start. emgr examines the state data for all interim fixes and changes the interim fix states as necessary. The /etc/inittab entry rcemgr is created the first time emgr installs an interim fix file. rcemgr is set to not block or respawn. All rcemgr activities and output are logged to the emgr log in /var/adm/ras/emgr.log. Do not directly execute emgr with the -B flag.
R=REMOVING
The interim fix is in the process of being removed. Normally, this state occurs only for a brief time during interim fix removal. However, if an interim fix installation is suddenly interrupted (such as in a sudden power loss or a system crash), and the emgr command is unable to clean up the failed installation, an interim fix might be left in the REMOVING state. You can attempt to remove this interim fix and reinstall it from the interim fix package.
T = TESTED
Specifies that the interim fix was tested. Reflects the value of the epkg command -T flag that may be used during package creation.
P = PATCHED
Concurrent update has been patched directly in memory. Corresponding binaries on disk have not been modified.
N = NOT PATCHED
Concurrent update has been “updated by” a follow-on concurrent update, making the patch inactive.
State is also set during reboot to change the state of in memory only concurrent updates that were in the PATCHED state.
SP = STABLE + PATCHED
Concurrent update has been patched in memory and the corresponding on-disk binaries have been replaced. The fix will now persist on the system across reboots.
SN = STABLE + NOT PATCHED
A concurrent update in the STABLE + PATCHED state will be moved to this state when it is “updated by” a follow-on concurrent update, making the patch inactive.
State may also be set if an interim fix containing a concurrent update in the NOT PATCHED state is committed to disk.
QP = BOOT IMAGE MODIFIED + PATCHED
Same as Stable + Patched except that, in replacing on-disk binaries, a file belonging in the boot image was modified and bosboot was invoked.
QN = BOOT IMAGE MODIFIED + NOT PATCHED
A concurrent update in the BOOT IMAGE MODIFIED + PATCHED state will be moved to this state when it is “updated by” a follow-on concurrent update, making the patch inactive.
State may also be set if an interim fix containing a concurrent update in the NOT PATCHED state is committed to disk.
RQ = REMOVING + REBOOT REQUIRED
When an interim fix that was committed to disk has been removed, the system must be rebooted to remove all patched code from memory. The interim fix will be removed from the Interim Fix database by the rc_emgr function called by init at boot time.