Failed to bring availability group 'availability_group' online. The operation timed out.
Verify that the local Windows Server Failover Clustering (WSFC) node is online.
Then verify that the availability group resource exists in the WSFC cluster.
If the problem persists, you might need to drop the availability group and create it again.
USE [master]
GO
CREATE LOGIN [NT AUTHORITY\SYSTEM] FROM WINDOWS WITH DEFAULT_DATABASE=[master]
GO
添加相关权限
1
2
3
4
5
6
GRANT ALTER ANY AVAILABILITY GROUP TO [NT AUTHORITY\SYSTEM]
GO
GRANT CONNECT SQL TO [NT AUTHORITY\SYSTEM]
GO
GRANT VIEW SERVER STATE TO [NT AUTHORITY\SYSTEM]
GO