Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit 11a7bb1

Browse files
authored
Merge pull request #21961 from PiJoCoder/AGConfig_Enable_JoPilovPrMadhes_050522
Add info on Enabling/Disabling AG feature when SQL installed before WSFC
2 parents b9b2914 + 2baaa44 commit 11a7bb1

1 file changed

Lines changed: 17 additions & 2 deletions

File tree

docs/database-engine/availability-groups/windows/troubleshoot-always-on-availability-groups-configuration-sql-server.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,23 @@ ms.author: mathoma
3838
|[Related Content](#RelatedContent)|Contains a list of relevant resources that are external to [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] Books Online.|
3939

4040
## <a name="IsHadrEnabled"></a> Always On Availability Groups Is Not Enabled
41-
The [!INCLUDE[ssHADR](../../../includes/sshadr-md.md)] feature must be enabled on each of the instances of [!INCLUDE[ssnoversion](../../../includes/ssnoversion-md.md)]. For more information, see [Enable and Disable Always On Availability Groups &#40;SQL Server&#41;](../../../database-engine/availability-groups/windows/enable-and-disable-always-on-availability-groups-sql-server.md).
42-
41+
42+
The [!INCLUDE[ssHADR](../../../includes/sshadr-md.md)] feature must be enabled on each of the instances of [!INCLUDE[ssnoversion](../../../includes/ssnoversion-md.md)]. For more information, see [Enable and Disable Always On Availability Groups &#40;SQL Server&#41;](../../../database-engine/availability-groups/windows/enable-and-disable-always-on-availability-groups-sql-server.md).
43+
44+
If the Always On Availability Groups feature is not enabled, you will get this error message when you try to create an Availability group on SQL Server.
45+
46+
`The Always On Availability Groups feature must be enabled for server instance 'SQL1VM' before you can create an availability group on this instance. To enable this feature, open the SQL Server Configuration Manager, select SQL Server Services, right-click on the SQL Server service name, select Properties, and use the Always On Availability Groups tab of the Server Properties dialog. Enabling Always On Availability Groups may require that the server instance is hosted by a Windows Server Failover Cluster (WSFC) node. (Microsoft.SqlServer.Management.HadrTasks)`
47+
48+
The error message clearly indicates that the AG feature is not enabled and also directs you how to enable it.
49+
50+
If SQL Server was installed and the Always On Availability Groups feature enabled before you install the Windows Failover Clustering feature, you may get this error you when you attempt to create an Always On AG. In such cases you can take the following steps to resolve it:
51+
52+
1. Disable the AG feature
53+
1. Restart SQL Server service
54+
1. Enable the AG feature back
55+
1. Again restart the SQL Service
56+
57+
4358
## <a name="Accounts"></a> Accounts
4459
The accounts under which [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] is running must be correctly configured.
4560

0 commit comments

Comments
 (0)