Hi
I am following the instructions for Manual failover without data loss and it fails in SQL 2019, however, it works correctly in SQL 2017.
I created a Read Scale Only Availablity Group with two instances on linux, and it fails. I created a Read Scale Only Availablity Group with one instances on linux and another in Windows and fails with the same error.
I get the error when I execute: ALTER AVAILABILITY GROUP [ag1] SET (ROLE = SECONDARY);
and it does make sense to me as it mention the AG resouce that does not exsits as there is no cluster in place.
The message is:
Msg 41104, Level 16, State 5, Line 1
Failover of the availability group to the local replica failed because the availability group resource did not come online due to a previous error.
I was intructed to refer to https://support.microsoft.com/en-ph/help/4492604/fix-manual-failover-between-forwarder-and-secondary-replica-fails-with, but the issue is different. In my case, the databases are in Synchronized state and there is no cluster (Pacemaker or WSFC) in place.