Hi VijayRana-0164,
To upgrade the cluster OS, please check Cluster operating system rolling upgrade.
To upgrade SQL Server failover cluster, use SQL Server setup to upgrade each node participating in the failover cluster instance, one at a time, starting with the passive nodes. As you upgrade each node, it is left out of the possible owners of the failover cluster instance. Please refer to Upgrade a failover cluster instance for more datails.
To upgrade an AG that contains failover cluster instance (FCI) nodes, you should upgrade the inactive nodes before you upgrade the active nodes. Please check Upgrading Always On Availability Group Replica Instances for more information.
Best Regards,
Amelia
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.