In the ever-evolving landscape of IT infrastructure, staying up-to-date with the latest operating system upgrades is crucial for maintaining optimal performance and security. Recently, we embarked on a series of 24H2 upgrades in preparation for upcoming solution enhancements. Our automated process, designed to mirror the Cluster-Aware Updating (CAU) process, includes additional functionalities to ensure a smooth transition.
The Challenge: VM Version Discrepancies
During the validation phase post-OS upgrade, we observed that the cluster functional level was set to 12, and the upgrade process was skipped if it was already at version 12. However, an unexpected issue arose when we discovered that a newly deployed 24H2 cluster supported VM version 12, while an upgraded 24H2 cluster could only support version 11.2. This discrepancy prompted further investigation and collaboration with Microsoft support.
Identifying the Root Cause
Upon thorough debugging, it became evident that the Cluster Upgrade Version was the key factor to be checked. By examining the output, we identified a difference in the upgrade versions:
Get-Cluster | Select ClusterFunctionalLevel, ClusterUpgradeVersion
| 23H2 | 24H2 | |
| ClusterFunctionalLevel | 12 | 12 |
| ClusterUpgradeVersion | 32772 | 32774 |
| SupportedVmVersion | 11.2 | 12 |
Solution: Automated Script for Functional Level Upgrade
To address this issue, we developed a script that checks and upgrades the functional level of the cluster. This script is readily available for use and can be executed with the following command:
.\Update-ClusterFunctionalLevel.ps1 -ServerName "MyServer.domain.com"

Additionally, you can provide the required level parameters using the command:
Script can be downloaded here Update-Cluster-FuctionalLevel.ps1
Conclusion
By implementing this automated script, we ensure that our clusters are consistently upgraded to the appropriate functional level, thereby eliminating VM version discrepancies and enhancing overall system reliability. As we continue to navigate the complexities of IT infrastructure upgrades, our commitment to innovation and excellence remains unwavering.
No responses yet