Presentation is loading. Please wait.

Presentation is loading. Please wait.

Roy Ernest Database Administrator Pinnacle Sports Worldwide SQL Server High Availability.

Similar presentations


Presentation on theme: "Roy Ernest Database Administrator Pinnacle Sports Worldwide SQL Server High Availability."— Presentation transcript:

1 Roy Ernest Database Administrator Pinnacle Sports Worldwide royernest@yahoo.com SQL Server High Availability

2 Contents What is High Availability (HA) What is Disaster Recovery (DR) What are the options of HA Database Mirroring Cons of database mirroring Jan 27th, 20112Curaçao SQL Server User Group

3 What is HA High availability is the percentage of Uptime of your applications. HA percentage is defined by your SLA. There are different methods to achieve this. Jan 27 th 20113 Curaçao SQL Server User Group

4 Jan 27 th, 2011Curaçao SQL Server User Group4 What is DR Disaster recovery is the method by which you can minimize the impact of a disaster. Two types of disasters are 1. Physical 2. Logical How can we recover from a disaster?

5 What are the options available for HA? Database Clustering. Log Shipping. Replication. Database Mirroring. Jan 27 th, 20115Curaçao SQL Server User Group

6 Database Mirroring What is Database mirroring? Pros of Database mirroring. Things to watch out for. Replication Adding file group Jan 27 th, 20116Curaçao SQL Server User Group

7 How to setup Database mirroring? Make sure that the DB is in FULL Mode. Take a back up, transaction log back up Restore back up and T-Log to mirror with NORECOVERY Use GUI from the Primary to set up mirror. Jan 27 th, 20117 Curaçao SQL Server User Group

8 Primary use master go Backup database AdventureWorks to disk ='E:\ADW.Bak' with init,Compression go Backup log AdventureWorks to disk ='E:\ADW.trn' with init,Compression go Jan 27 th, 20118 Curaçao SQL Server User Group

9 Secondary. In the Master Database execute restore database AdventureWorks from disk ='E:\ADW.Bak' with norecovery, replace, move 'AdventureWorks_Data' to 'E:\Denali\Data\AdventureWorks_data.mdf', move 'AdventureWorks_log' to 'C:\Denali\Log\AdventureWorks_log.ldf', stats = 10 go Jan 27 th, 20119 Curaçao SQL Server User Group

10 Secondary. In the Master Database execute restore log AdventureWorks from disk ='E:\ADW.trn' with norecovery, replace,move 'AdventureWorks_Data' to 'E:\Denali\Data\AdventureWorks_data.mdf', move 'AdventureWorks_log' to 'C:\Denali\Log\AdventureWorks_log.ldf', stats = 10 go Jan 27 th, 201110 Curaçao SQL Server User Group

11 Jan 27 th, 201111 Curaçao SQL Server User Group

12 Jan 27 th, 201112 Curaçao SQL Server User Group

13 Jan 27 th, 201113 Curaçao SQL Server User Group

14 Jan 27 th, 201114 Curaçao SQL Server User Group

15 Jan 27 th, 201115 Curaçao SQL Server User Group

16 Jan 27 th, 201116 Curaçao SQL Server User Group

17 Jan 27 th, 201117 Curaçao SQL Server User Group

18 Jan 27 th, 201118 Curaçao SQL Server User Group

19 Jan 27 th, 201119 Curaçao SQL Server User Group

20 Jan 27 th, 201120 Curaçao SQL Server User Group

21 Jan 27 th, 201121 Curaçao SQL Server User Group

22 Jan 27 th, 201122 Curaçao SQL Server User Group

23 Jan 27th, 201123Curaçao SQL Server User Group

24 Jan 27th, 201124Curaçao SQL Server User Group


Download ppt "Roy Ernest Database Administrator Pinnacle Sports Worldwide SQL Server High Availability."

Similar presentations


Ads by Google