39 | | ''Note : only one version of RPMs for kernel and kernel module are present at anytime in the configuration. Be cautious when changing one of these variables on an already installed machine as it will uninstall previously used version. This will change in the future when SPMA will be able to keep the previously installed version, even if no longer part of the configuration. Grub cannot be configured to use a kernel version other than the one present in the node profile.'' |
| 39 | Defining `KERNEL_VERSION_NUM` directly may not be convenient if you want to define it for a large number of machines but not all in your cluster because if you define it in the node profile, this involves editing a large number of templates and if you define it at the cluster level, it may not work if all the machines don't use the same OS version. An alternative to defining this variable directly is to define the variable `OS_KERNEL_VERSION`. This variable is a nlist with one entry per OS version where: |
| 40 | * Key is the OS version+architecture as used to define the OS used by the machine (e.g. `sl470-x86_64`) or the OS version without the architecture (e.g. `sl470`) in which case the kernel version will be used for all architectures of this OS version. |
| 41 | * Value is a string corresponding to the kernel RPM version. |
| 42 | |
| 43 | The variable `OS_KERNEL_VERSION` must typically be defined in the template defining the OS version for each machine (the template pointed by variable `NODE_OS_VERSION_DB`). |
| 44 | |
| 45 | ''Note : only one version of RPMs for kernel and kernel module are present at anytime in the configuration. Be cautious when changing one of these variables on an already installed machine as it will uninstall the previously used version. This will change in the future when SPMA will be able to keep the previously installed version, even if no longer part of the configuration. Grub cannot be configured to use a kernel version other than the one present in the node profile, thus rebooting with an old kernel may require an interactive boot to reconfigure Grub.'' |