Hello, and welcome to today's video presentation on Running ksplice commands (online mode)
on Oracle Linux 8.
In this video, we will demonstrate how to utilize the ksplice command to handle online
patching tasks on Oracle Linux 8.
The ksplice command is the Oracle Ksplice Enhanced Client executable.
System Administrators use this command to perform various Ksplice update tasks manually.
So let us get started.
Open a terminal for your system running Oracle Ksplice.
All ksplice commands require elevated privileges, so execute using sudo.
For help on the ksplice command, see the ksplice man page by typing man ksplice.
The first sample will display a list of targets that may be patched by Oracle Ksplice.
Type sudo ksplice all list-targets.
Tap your spacebar to proceed through to the end of the list.
This system's list of targets contains different glibc and openssl packages and the kernel.
To display updates applied type sudo ksplice all show.
As this is a new system, there are no ksplice patches currently installed.
The output also displays the effective kernel version.
Since there are no ksplice patches applied, the effective kernel version matches the on-disk
kernel version as shown running uname -r.
Replacing the ksplice option "all" with "user" or "kernel" will change the focus of the ksplice
command output.
The ksplice command can leverage work done by Ksplice Uptrack and focus mainly on the
kernel updates.
List the available kernel updates by typing sudo ksplice -n kernel upgrade.
You can also use sudo ksplice kernel show --available.
Apply the ksplice patches by typing sudo ksplice -y kernel upgrade.
To display the effective version of the kernel type sudo ksplice kernel uname -r.
The ksplice uname option takes the same flags as the Linux uname command.
Notice that the effective kernel version is now newer than the on-disk version.
To show all kernel updates that Uptrack or ksplice has made to the kernel type sudo ksplice
kernel show.
If you need to remove all the ksplice applied kernel updates, type sudo ksplice kernel remove
-all.
Lastly, you can disable ksplice the next time there is a system reboot and prevent reapplying
the updates.
Accomplish this by typing sudo touch /etc/uptrack/disable.
This command will create the empty "disable" file in the ksplice configuration directory,
which ksplice reads at boot time.
To enable ksplice again, remove the file by typing sudo rm /etc/uptrack/disable.
That covers the usage of the Oracle Ksplice Enhanced Client.
Thank you for watching this video and enjoy exploring the benefits of Oracle Ksplice.
Additional information is available on Ksplice and other Linux topics in the Oracle Linux
8 Documentation or Oracle Linux Learning Library.