Hi,
2 weeks ago we deployed and configured some SSIS packages to run via SQL Agent Job. Everything was running smoothly until when the Database (Part of Basic Availability Group) was failed over to secondary replica due performance issue. See the error snippet below:
We setup the SQL Agent Job to run via Proxy Account and the SQL Agent account is an AD account.
The snippet below shows the Architecture of our BAG Setup.
the questions is:
1. Why the job is running smoothly when the database is on Primary?
2. Why it failed even though the connection is via listener?
I though it was due to SQL Agent user was missing on the secondary server and created one with the same permissions.