AlwaysON issue v2

Hram Admin 40 Reputation points
2024-12-06T14:46:03.6333333+00:00

Hello!

There are two newly installed SQL Server 2022 Standard servers installed from the same ISO(say SQL1 and SQL2), OS = WinServer 2022 Standard (for both servers, same ISO), both added to the domain with the single domain controller named DC1.

Here's the screenshot of the last step in configuring AlwaysON:CLUSTER9

Does this warning want to say SQL Server 2022 Standard does not support AlwaysON (Is HADR enabled = TRUE for SQL1 and SQL2) ???

Regards,
Michael

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,283 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Erland Sommarskog 115.3K Reputation points MVP
    2024-12-06T15:51:12.2033333+00:00

    Does this warning want to say SQL Server 2022 Standard does not support AlwaysON

    It's a little tricky. You are trying to create a "normal" availability group, and that is indeed not supported on Standard Edition. On Standard Edition you can only create basic availability groups. That is, you need to say

    CREATE AVAILABILITY GROUP grpname 
    WITH (BASIC) 
    FOR ...
    

    Exactly how you would do that from the UI in SSMS, I don't know, since I've never used it. Then again, one likes to think that SSMS should know that you are on Standard and handle this for you, but apparently not.

    Basic availability groups are limited to two nodes, and the secondary cannot be readable. There can only be one database in a basic AG.


  2. ZoeHui-MSFT 39,496 Reputation points
    2024-12-09T02:53:06.63+00:00

    Hi @Hram Admin

    Enabling Always On availability groups is a prerequisite for a server instance to use availability groups. Before you can create and configure any availability group, the Always On availability groups feature must have been enabled on each instance of SQL Server that will host an availability replica for one or more availability groups.

    Enable or disable Always On availability group feature

    To create a basic availability group, use the CREATE AVAILABILITY GROUP Transact-SQL command and specify the WITH BASIC option (the default is ADVANCED). You can also create the basic availability group using the UI in SQL Server Management Studio starting with version 17.8. For more information, see CREATE AVAILABILITY GROUP.

    Regards,

    Zoe Hui


    If the answer is helpful, please click "Accept Answer" and upvote it.


  3. Zhou, Yun (CMOC) 0 Reputation points
    2024-12-18T09:05:42.4533333+00:00

    First, your standard edition does not support the sql always on creation requirement. Secondly, please clarify your creation steps. Have you created a windows cluster first and added both server nodes to it? After ensuring that there is no creation error for the windows cluster, please find the sql configuration manager, select the instance (usually the default MSSQL) and enable the always on function. Please do not configure a shared disk under the windows cluster.

    Bert


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.