Automatic Seeding for Availability Groups
Summary
Adding a database to an availability group may experience problems seeding to the secondary replica.
Information
Use the following steps to try and re-initiate seeding for the database.
-
Check that the SQL Server instance is running on each node.
-
Wait a few minutes for the replica to seed the database. If after a few minutes the database has still not seeded, then restart the SQL Server instance on the secondary replica(s).
-
In DxAdmin, right-click on the secondary replica under the availability group Vhost and select Resync secondary.
-
Run the following query on the primary replica:
ALTER AVAILABILITY GROUP <ag_name> MODIFY REPLICA ON '<secondary_replica>' WITH ( SEEDING_MODE = AUTOMATIC );