Disaster Recovery Architecture and Testing

RPO, RTO, failover procedures, service continuity, and DR readiness.

41 associated posts41 primary posts

[Video] Office Hours 2016/08/10 (With Transcriptions)

This week, Brent, Richie, Erik, and Tara get together in Round Rock, TX, for Dell DBA Days, to talk through your SQL questions and answers. They discuss what they are working on at Dell during the event, as well as Windows Kerberos and NTLM Authentication, Always On Availability Groups, Microsoft's Document DB, automating restore databases to other servers, why they are wearing "fun" hats, and much, much more!

Read more about [Video] Office Hours 2016/08/10 (With Transcriptions) 3 comments — Join the discussion
Production DBA

Updated High Availability and Disaster Recovery Planning Worksheet

One of the most popular things in our First Responder Kit is our HA/DR planning worksheet. Here's page one: In the past, we had three columns on this worksheet - HA, DR, and Oops Deletes. In this new version, we changed "Oops" Deletes to "Oops" Queries to make it clear that sometimes folks just update…

Read more about Updated High Availability and Disaster Recovery Planning Worksheet 9 comments — Join the discussion
Production DBA

What Is a Staging Environment and How Do You Build One?

If you're a full time production database administrator, you need a staging environment.

This is where you test infrastructure tasks like failing over mirroring, doing a disaster recovery role swap, cluster quorum changes, log shipping configuration, and patching. You need to test this stuff repeatedly so that when you're under pressure in the production environment, you feel comfortable and confident. Bonus points if you use this environment to build checklists and screenshots for rarely-done tasks like recovering from corruption.

Read more about What Is a Staging Environment and How Do You Build One? 4 comments — Join the discussion
Production DBA

Why Zero Data Loss in SQL Server is Harder Than You Think

But Kendra, it can't be that hard... after all, we have synchronous modes in Database Mirroring and Availability Groups, right?
Synchronous Commit doesn't mean "zero data loss"
When we think about limiting data loss, the first thing we think of is a technology that lets us reduce points of failure. If every transaction must be written to two separate storage systems, we have a pretty good chance to have no data loss, right?

Read more about Why Zero Data Loss in SQL Server is Harder Than You Think 3 comments — Join the discussion
Production DBA

How Many Databases Can I Put on One SQL Server?

I've seen servers with thousands of databases on a single SQL Server, and it works. Sure, opening the databases list in SQL Server Management Studio is painful, and a lot of third party monitoring tools fall over, but it's not so bad once you know how to work around these issues.

But there's two issues you can't work around: our old archenemies, RPO and RTO. A quick reminder:

Read more about How Many Databases Can I Put on One SQL Server? 22 comments — Join the discussion

Reporting From a Log Shipping Secondary in STANDBY mode

I'm a fan of SQL Server's transaction log shipping. It works in Standard Edition, it's relatively simple to set up, and you can even make your log shipping secondary readable using STANDBY mode.

I've worked with some pretty cool, complex log shipping environments over the years. In one case, we had multiple log shipping secondaries and a load balancer involved to support a full fledged reporting application. It worked pretty well-- with a lot of careful scripting and support.

Read more about Reporting From a Log Shipping Secondary in STANDBY mode 65 comments — Join the discussion

The Second Concern for SQL Server Virtualization: Recoverability

Your first concern is licensing, and once you've got that under control, it's time to talk about backups, restores, and uptime.

The business begins by defining the RPO and RTO requirements for high availability, disaster recovery, and "oops" deletions. Use our High Availability Planning Worksheet and fill in the "Current" column on page 1:

Read more about The Second Concern for SQL Server Virtualization: Recoverability 20 comments — Join the discussion
Production DBA

The First Step to the Poor Man’s Runbook

In theory, before you introduce a new system - database server, load balancer, virtualization infrastructure, etc - you build a robust runbook that documents how you'll handle every conceivable scenario.  When there's any kind of failure, you'll simply turn to chapter X and start going through a precise checklist that will guide you to the promised land of uptime.

Read more about The First Step to the Poor Man’s Runbook Be the first to comment
Production DBA

The 9 Letters That Get DBAs Fired

I'm proud to say that I've only lost one job in my life.  I was a grocery store bagger when the store came under pressure to increase their percentage of minority workers.  They laid off all of the Caucasian baggers, but I'm not bitter.  I actually loved bagging groceries, and if I hadn't been laid off, I'd still be the guy asking you "Paper or plastic?"

Read more about The 9 Letters That Get DBAs Fired 39 comments — Join the discussion