Myself and my team are done with it. We're scheduling a redeployment of all of our clustered environments in 2016 as traditional failover cluster environments. It's such a headache and has wasted so much time for us. I don't see any significant improvements in 2016 that would sway our decision at this point.
Primarily, it's an administrative nightmare. They implemented an awesome feature without updating the rest of the surrounding feature set to work seemlessly with AlwaysOn. Here are some pain points
Replication - requires additional configuration (redirected publishers, additional subscriber config, automatic failover doesn't work well with it)
Job Scheduler - jobs typically require additional logic to be "aware" of whether databases are primary on that server or not in order to run or they fail. We solved this by creating a function that exists on all of our nodes that returns a bit value if a database is primary or not
Backup/Restore - is you're not using a share off server, then you could potentially have mismatching / incomplete backups after a failover event. You either need something to synchronize the backup folders or you have to do a manual reconciliation. Also, when you go to do a restore, you cannot depend on the msdb entries because if a failover occurred you'll get incomplete data. You need to rely only on the files and their header information to compile the proper info
clustering stability - this is supposed to be more stable / robust but we've experienced a number of occasions where a node goes down and it takes the entire cluster down. We believe this bug is fixed in the most recent SQL SP's / CU's though, still have yet to test it.
Login management - Any time you provision or modify logins you have to do it on every node exactly the same way or you risk the application breaking when a failover occurs. Additionally, you MUST create logins using the same SID or when failover occurs the login will lose its ability to authenticate. It's something that can be automated, but it can be easily forgotten.
That's just what I can think off the top of my head in 5 minutes. I feel like every month or two we have some major headache and it's always due to AlwaysOn complexities that literally don't exist in traditional failover clusters. In general, it's just a lot of "extra stuff" that has to happen to do things that are literally 5-10 minutes in a standard environment. We've wasted probably hundreds of man hours at this point trying to tweak things so they work in AlwaysOn and the benefits are just not outweighing the costs anymore. I'll deal with 1-2 minute failovers and same-subnet networking over all the headache.
Another recent issue we've had, and I'm sure it's probably just something we misconfigured somewhere so I didn't add it to the list above, is that we tried using AG's in different subnets and even after adding NICs with the correct IPs so the cluster / AG would let us add the listener IP on the correct subnet, the applications (and anything outside the servers) can't connect. We can't figure out what's wrong so we had to abandon it and go back to a single subnet/network configuration. I just feel like it is another falsely advertised feature that is supposed to work but doesn't but I'm salty at this point.
Wow, thanks for the comprehensive reply. I think I might grab a few minutes with our DBA tomorrow and see what he's experiences are. We're moving to a whole new infrastructure next year and this is one of the big selling points.
Wow I don't want to argue with zylo4747 because they have their own experiences which are totally valid, but my interpretation of them are really opposite. We love AOAG and manage a lot of them.
Replication: Always extremely tough whether it's AOAG or not.
Jobs: Applications which create their own jobs don't belong on AOAG unless they support it natively. But it's not hard to work around anything else with the job step fix he/she mentioned.
Backup/restore: Use a share. It's a non-issue.
Clustering: A non-issue on a patched Windows Server 2012/2012 R2+ server.
Logins: Every place needs a good process to provision logins. If you do it manually and have proper work instructions then it's easy. If you automate it then it's easy. If you're doing stuff ad-hoc then you're asking for trouble no matter what. Logins to a server need to be managed, documented, and audited. It's just good business.
That's not to say everything is perfect:
You need more coordination between DBAs and Infrastructure in order to set up the AD side (assuming the DBAs don't have AD access). Also, clusters need backups (and outside-of-SQL backups often causes failovers), and Infrastructure often don't want to care about that, back them up properly, or support the clustering side.
You need to stay current on Windows patching and also watch the Windows Server cluster patching document for changes. A lot of stuff in there that is required for clusters won't automatically come up in WSUS.
You need to stay current on SQL Server patching. That's a given with the 2012/2014 releases anyway.
When things go wrong (or are even working fine) it can be impossible to work out why. We regularly get tonnes of cluster-related information dumped into the SQL Server errorlog and nobody has documented what they mean. Google searches only turn up people talking about them with zero solutions.
Now zylo4747 also mentioned multi-subnet clusters and that is of course something I don't have to deal with. I do know that we can use AOAG across our two data centres where we could not do that with FCI because of shared storage limitations we have. Multi-subnet clusters have AFAIK always been problematic.
So, all valid, but extremely open to interpretation. I hope it doesn't come off as snarky. We just love AOAG.
When you get given a fucking huge existing server and asked to "just scale it out", about the only thing you can do aside from performance tuning is ask, "How do you feel about redirecting 50% of your read load to another server using AOAG?" People love it. It's a lifesaver.
I was about to start a detailed post with exactly this. We've implemented AOAG, we did run into most of these but solved all of them. Great job on a well detailed post.
My favorite is when a user tries to load a big file to AlwaysOn, and something happens to cause it to fail. I'm talking about 60GB or so. When the load fails, the transaction rollback can take DAYS. Literally days. Yes, I know that people shouldn't be doing bulk load on 60GB files in a single shot, but unfortunately not all the users know that.
are you suggesting that running SQL in a virtual environment rather than on metal makes HA unnecessary? because, no.
clustering, always on, mirroring, etc. provide psudo-instantaneous recovery, kinda like RAID does. if a VM fails, you may have a snapshot to restore, but you're losing data and time restoring it. also, in most situations where you're maintaining client-server-db environments, ala sharepoint, snapshots make a terrible recovery plan.
Hats lucky when you can get away with VMs. Our workload has to run on bare metal since the extra latencies a VM introduces would not permit the scalability we need.
10
u/zylo4747 Dec 10 '15
Myself and my team are done with it. We're scheduling a redeployment of all of our clustered environments in 2016 as traditional failover cluster environments. It's such a headache and has wasted so much time for us. I don't see any significant improvements in 2016 that would sway our decision at this point.
Anyone else in this same situation?