I would like to setting up Transactional replication on a database which is part of basic AlwaysOn Availability Group with No readable secondary
Server 1 : AlwaysOn Availability Group Primary replica and transactional replication publisher
Server 2 : AlwaysOn Availability Group Primary replica and transactional replication publisher
Server 3 : replication subscriber and distributor
I received the error message (as below) when I EXEC sys.sp_validate_replica_hosts_as_publishers at distribution database:
Msg 21899, Level 11, State 1, Procedure sp_hadr_verify_subscribers_at_publisher, Line 109 [Batch Start Line 2]
The query at the redirected publisher 'Server 1' to determine whether there were sysserver entries for the subscribers of the original publisher 'Server 1' failed with error '976', error message 'Error 976, Level 14, State 1, Message: The target database, 'xxx', is participating in an availability group and is currently not accessible for queries. Either data movement is suspended or the availability replica is not enabled for read access. To allow read-only access to this and other databases in the availability group, enable read access to one or more secondary availability replicas in the group. For more information, see the ALTER AVAILABILITY GROUP statement in SQL Server Books Online.'.
One or more publisher validation errors were encountered for replica host 'Server 1'.
Due to SQL Server edition limitation, readable secondary is not able to set to read-only or intended read.
Is it possible to Configure Replication for Always On Availability Groups in this scenario and how to setup.
Server 1 : AlwaysOn Availability Group Primary replica and transactional replication publisher
Server 2 : AlwaysOn Availability Group Primary replica and transactional replication publisher
Server 3 : replication subscriber and distributor
I received the error message (as below) when I EXEC sys.sp_validate_replica_hosts_as_publishers at distribution database:
Msg 21899, Level 11, State 1, Procedure sp_hadr_verify_subscribers_at_publisher, Line 109 [Batch Start Line 2]
The query at the redirected publisher 'Server 1' to determine whether there were sysserver entries for the subscribers of the original publisher 'Server 1' failed with error '976', error message 'Error 976, Level 14, State 1, Message: The target database, 'xxx', is participating in an availability group and is currently not accessible for queries. Either data movement is suspended or the availability replica is not enabled for read access. To allow read-only access to this and other databases in the availability group, enable read access to one or more secondary availability replicas in the group. For more information, see the ALTER AVAILABILITY GROUP statement in SQL Server Books Online.'.
One or more publisher validation errors were encountered for replica host 'Server 1'.
Due to SQL Server edition limitation, readable secondary is not able to set to read-only or intended read.
Is it possible to Configure Replication for Always On Availability Groups in this scenario and how to setup.