Hi @sakuraime ,
The same OS is not a prerequisite for the realization of an availability group. You need to ensure the same version of the sql instance. Please refer to this article which looks clearer.
https://www.sqlservercentral.com/articles/steps-for-installing-alwayson-availability-groups-sql-2019
Here is the official doc: https://learn.microsoft.com/en-us/sql/database-engine/availability-groups/windows/prereqs-restrictions-recommendations-always-on-availability?view=sql-server-ver15#SystemRequirements
Best regards,
Seeya
If the response is helpful, please click "Accept Answer" and upvote it, as this could help other community members looking for similar queries.
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.