Manage High Availability and Disaster Recovery Flashcards
When can you use the New-Volume cmdlet?
This is used with Storage Spaces Direct (S2D) to create Cluster Shared Volumes (CSV)
What is Storage Spaces Direct?
It allows you to group three or more drives together in a storage pool and then use capacity from that pool to create storage spaces. Similar to RAID
What are two ways that you can use to create Cluster Shared Volumes that are not using Storage Spaces Direct?
Using the Add-ClusterSharedVolume PS cmdlet and using Failover Cluster Manager
How many listeners can be created for an AG using SQL Server? How would you configure more if needed?
One listener can be configured using SQL Server. Additional listeners would need to be configured using PowerShell or the Failover Cluster Management Console
What are the steps to failover a database using Log Shipping?
- Copy any uncopied backup files
- Apply unapplied transaction logs to the secondary server
- Perform a tail log backup on the primary server WITH NORECOVERY
- Apply the tail log backup to the secondary server
- Make the database in the secondary server available
How would you specify that a connection is ReadOnly in the application connection string?
by adding “ApplicationIntent=ReadOnly” to the connection string
Which servers would you add to a Read-Only routing list?
Only those that can assume the primary role
Which versions of SQL Server allow you to move the TempDB to local storage, as opposed to shared storage, when using WSFC?
SQL Server 2012. Previous versions required you to place it on shared storage
Which servers contain the Backup, Copy, Restore, Alert jobs for log shipping?
Primary - Backup
Secondary - Copy and Restore
Monitor - Alert
When a Cluster Shared Volume is created, which folder is it created under?
C:\ClusterStorage\
What are the steps to configure Log Shipping using T-SQL?
- Restore full backup of primary on secondary
- On primary, run sp_add_log_shipping_primary_database to add primary database
- On primary, run sp_add_jobschedule to add a schedule for backup job
- on monitor, run sp_add_log_shipping_alert_job to add alert job
- on primary, enable backup job
- on secondary, run sp_add_log_shipping_secondary_primary to supply details of primary server and database
- on secondary, run sp_add_jobschedule to schedule copy and restore jobs
- on secondary, run sp_add_log_shipping_secondary_database to add secondary database
- on primary, run sp_add_log_shipping_primary_secondary add info about secondary to primary
- on secondary, enable copy and restore jobs