Mirroring: steps to configure











Following are the step by step configuration guide of mirroring.

Activity Task:

Steps to Configure :


Step 1- First take two servers- principal & mirror

The following dmv is used to check the database is involved in mirroring and to check the mirroring endpoint.

Mirror:

Principal:

Step 2- create new database and table on principal server.

Step 3- Check and confirm recovery model and take full backup of database.

Step 4- now restore database at mirror server with norecovery option.

5. Drop and Create New Endpoints on Principle and Mirror Server.

Step 6- now start mirroring , first go created database on principal server, right click- >task->mirror
Click on configure security option.


Step 7- No to the witness server

Step 8- Confirm endpoints & the principle server then Select Next

Step 9-now select mirror server name & click next.

Step10- leave this option blank at it is and click on next.
Step11- now finish job and you can see there all three jobs status success, now click on close.

Step 12-now you can see there start mirroring pop up, click start mirroring.
Step13- Check the Database States on both server.
Step 14- if mirroring is successful then you can see there failover option, when your principal server does not working that time witness server help failover occur, in this situation principal become mirror, and mirror become principal.


Advantages of Database Mirroring:

  • Database Mirroring architecture is more robust and efficient than Database Log Shipping. It can be configured to replicate the changes synchronously to minimized data loss.
  • It has automatic server failover and client failover mechanism.
  • Configuration is simpler than log shipping and replication, and has built-in network encryption support (AES algorithm).
  • Because propagation can be done asynchronously, it requires less bandwidth than synchronous method (e.g. host-based replication, clustering) and is not limited by geographical distance with current technology.
  • Database mirroring supports full-text catalogs. 
  • Do not need any singular hardware.

Disadvantages of Database Mirroring:

  • Data loss is possible,if it is in asynchronous operation mode.
  • User operation is not possible in the mirror server/database.
  • Late delay possibilities can occur during data transfer.
  • Delay possibilities can only be prevented with a good hardware.
  • SQL Server database mirroring can only be possible in full recovery mode.



Name

Azure Backup Database Clustering Crash Dumps DBCC Deadlock Link Server Log Shipping Maintenance Migration Mirroring Monitoring Performance Tuning Permissions Post Installations Prerequisites Replication Restore Database SQL Installations SQL on Linux SQL Uninstallations SSIS T-SQL Windows Server
false
ltr
item
hybriddba.blogspot.com: Mirroring: steps to configure
Mirroring: steps to configure
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiaa4rS0piqPtI-nPQpY_QWrdogmSEDwF4bDT7-OLLlps19FWK-MtGnS2oryNOXH3Ne6bc2c-XoPlAccE8y8FUA979ECQj-ioGME1BMyXAJrX-9OQTNsDtsZwC3bPsaj2ul-hYf1Cd9Uoqx/s1600/1580410475384614-0.png
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiaa4rS0piqPtI-nPQpY_QWrdogmSEDwF4bDT7-OLLlps19FWK-MtGnS2oryNOXH3Ne6bc2c-XoPlAccE8y8FUA979ECQj-ioGME1BMyXAJrX-9OQTNsDtsZwC3bPsaj2ul-hYf1Cd9Uoqx/s72-c/1580410475384614-0.png
hybriddba.blogspot.com
https://hybriddba.blogspot.com/2018/11/mirroring-steps-to-configure.html
https://hybriddba.blogspot.com/
https://hybriddba.blogspot.com/
https://hybriddba.blogspot.com/2018/11/mirroring-steps-to-configure.html
true
7679493960263860249
UTF-8
Not found any posts Not found any related posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU Tag ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Contents See also related Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS CONTENT IS PREMIUM Please share to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy