I've configured avamar and the sql agent for backing up a SQL2014 DAG on Windows 2012R2 but it seems i cannot see all my databases.
If i am taking a guess i can only see databases that do not appear in an availability group.
I saw another post that suggested i needed to add "NT AUTHORITY\SYSTEM" into the serveradmin server roles. I have done this and add the Domain Admin account that i used to install the cluster backup agents. I also changed the "Log on as" user for the service itself to my Domain Admin account.
I can open SQL Server Management Studio and browse and look at all the databases, availability groups, replicas and settings etc so not sure what i'm missing here.
I don't know much about SQL so it's very likely i just may be missing something somewhere.
*edit*
so i can only assume i've got a misconfiguration somewhere as when i browse my cluster clients in avamar i only see (local) databases and not the databaselistener\availability group
oh wow i can see ALL databases now which is a step forward i suppose.
i was under the impression that i registere each availability group and it's listener as it's own client and i would only see those databases under each client?
Good. Then create avsql.cmd file under the shared "var" directory. Add the following line '--show_db_in_availability_group=true and save it.
Take the Avamar cluster group offline and make it online using the Failover Cluster Manager. Try to browse and let me know if you are able to view the DB's in Always ON group.
hrmmm i do have an SR open with EMC who's investigating as i have another customer who uses Always on Availability groups and when i browse that client in Avamar under Windows SQL it shows up as databaselistener\availabilitygroup as opposed to just (local)
i'll keep digging and see what they come up with.
We need to see the databases on a per availability group basis to stagger backups
As all of them are part of the Same Cluster, it would not work. We have few customer's here with similar configuration and that is how we made it work.
If you think my answer has resolved your query, please mark that as solution so that others can leverage if they face similar situation.
databaselistener\availabilitygroup this format comes if you run the "Avamar Cluster Wizard" and choose "SQL ALwaysON" as the option. This will only protect the DB's which are in Availability Group and would not protect the DB's in Failover Clustering.
ChrisFranklin2
9 Posts
3311
0
Posted May 15th, 2016 22:00
SQL is most definately Always on availability group.
Within windows failover clustering, each Availability group appears as a Role where the listener and "other resource" lists the Availability group
we selected always on sql when running cluster configuration wizard