This procedure describes how to upgrade CSM to a newer version on a system where a Rapid Release Update (RRU) has already been installed.
A Rapid Release Update (RRU) delivers SUSE kernel security (CVE) fixes for a specific CSM base release by adding the csm-security CFS layer, rebuilding the NCN images, and rebooting the NCNs with the new image.
A subsequent CSM upgrade delivers new NCN images, which may contain kernel versions that are either higher or lower than the kernel version currently installed on the system.
Depending on the CSM version installed on the system, refer to Considerations for upgrading CSM after installing RRU before proceeding with the upgrade.
ncn-m001#) Determine the kernel version currently running on the NCNs.CURR_KERNEL_VERSION=$(uname -r)
echo $CURR_KERNEL_VERSION
| CSM Version | Kernel Version |
|---|---|
CSM 1.6.2 |
6.4.0-150600.23.17-default |
CSM 1.7.0 |
6.4.0-150600.23.53-default |
CSM 1.7.1 |
6.4.0-150700.53.25-default |
CSM 1.7.1-patch.1 |
6.4.0-150700.53.52-default |
CSM 1.7.1-patch.2 |
6.4.0-150700.53.78-default |
TARGET_KERNEL_VERSION=<KERNEL_VERSION>
echo $TARGET_KERNEL_VERSION
Note: Replace KERNEL_VERSION with the identified target kernel version.
if [[ "$CURR_KERNEL_VERSION" != "$TARGET_KERNEL_VERSION" ]] && [[ "$(printf '%s\n' "$CURR_KERNEL_VERSION" "$TARGET_KERNEL_VERSION" | sort -V | tail -n 1)" == "$CURR_KERNEL_VERSION" ]]; then
echo "Bootprep file has to be updated with the csm-security layer."
fi
update-cfs-config stage of the CSM upgrade, update the bootprep file to include the csm-security layer before proceeding with the update-vcs-config stage.