This is an old revision of the document!
The Live Update feature is intended for applying interim fixes that contain kernel changes or kernel extension changes that require a reboot. The interim fix might contain other files (for example, commands and libraries), and the Live Update feature does not change anything about the way these files are applied. For example, a shared library will be modified on the file system, but any running processes continues to use the old version of the library. Therefore, applications that require a library fix must be stopped and restarted to load the new version of the library after the fix is applied. In AIX® Version 7.2 with the 7200-01 Technology Level, or later, you can use the genld -u command to list the processes that are using the old version of any shared libraries or other objects that are updated. You can use the list that is displayed from the genld -u command to identify the processes that must be stopped and restarted to load the updated objects.
Requirements:
Security restrictions:
TEP=ON TLP=ON CHKSHLIB=ON and STOP_UNTRUSTD=ON TSD_FILES_LOCK=ON
Which kernel nodule or old library still in use ? (only AIX 7.2 and higher)
[root@nim]/root# oslevel -s 7200-02-02-1810 [root@nim]/root# genld -u Proc_pid: 15466758 Proc_name: sshd Proc_pid: 16253288 Proc_name: dsmc Proc_pid: 16646408 Proc_name: sshd [root@nim]/root# stopsrc -s sshd 0513-044 The sshd Subsystem was requested to stop. [root@nim]/root# startsrc -s sshd 0513-059 The sshd Subsystem has been started. Subsystem PID is 8782122. [root@nim]/root# genld -u Proc_pid: 15466758 Proc_name: sshd Proc_pid: 16253288 Proc_name: dsmc Proc_pid: 16646408 Proc_name: sshd [root@nim]/root# ps -ef | grep dsm root 6488440 15401388 1 11:51:14 pts/6 0:00 grep dsm root 15532328 1 0 Nov 13 - 115:39 /usr/tivoli/tsm/client/ba/bin/dsmc sched root 16253288 13173056 0 Oct 13 pts/0 18:11 dsmc i [root@nim]/usr/bdl# kill 15532328 [root@nim]/usr/bdl# genld -u Proc_pid: 15466758 Proc_name: sshd Proc_pid: 16253288 Proc_name: dsmc Proc_pid: 16646408 Proc_name: sshd [root@nim]/root# ps -ef | grep 15466758 root 13173056 15466758 0 Oct 13 pts/0 0:01 -ksh93 root 15466758 1 0 Oct 13 - 0:00 sshd: root@pts/0 root 17564108 15401388 1 11:52:31 pts/6 0:00 grep 15466758 [root@nim]/root# kill 15466758 [root@nim]/root# ps -ef | grep 16646408 root 13173058 15401388 1 11:52:58 pts/6 0:00 grep 16646408 root 16515370 16646408 0 Oct 16 pts/2 0:01 -ksh93 root 16646408 1 0 Oct 16 - 0:00 sshd: root@pts/2 [root@nim]/root# kill 16646408 [root@nim]/root# genld -u [root@nim]/root#