I have setup only 2 servers to participate in HA. All setup appears to be OK. For the various testing, I wanted to take an individual server down and ensure that job related backups will still perform. In the backup priority, I made the secondary server (lets call B) with a priority of 51 and the primary server (A) with a priority of 50. For the option of where should backups occur, I use 'Prefer Secondary (which reads if the secondary is not availability then backup on the primary).
First test was to take down A. Everything worked as expected and I was able to execute backup jobs on B (which became the primary as expected).
Next test was to bring A up again and take down B. Server A becomes the primary. This is where I have an issue. Server A is up as primary but when I run the fn_hadr_backup_is_preferred_replica, I get a return value of zero. My guess is due to the backup priority but shouldn't the fact that I have no secondary server supercede the backup priority? My jobs on server A will not create backup files. I am on version 11.0.2100.60. Any assistance would be definitely appreciated. Thanks