SQL Server 2008 Database Mirroring deployment Instance Two configuration mirrors, implementing manual failover _mssql2008

Source: Internet
Author: User
Tags failover

The previous article has been prepared for the configuration of the mirrored database, and the next step is to enter the real configuration phase

First, set security on the mirror database server and start the database mirroring session

1, expand the database, select Virtualmanagerdb, right-click Select Task-Mirror

2, click Configure security, select is, including the witness server

3, remove the witness server, the future configuration

4, set the principal server, fill in the end name called Site1

5, add mirror server, take the end named Site2

6, the designated service account for the Domain Administrator account (can be configured in advance in the domain)

7, create success, click Off

8, pop-up dialog box, choose not to start mirroring

9, select the high-performance mode of operation mode, click Start Mirror, view the status show has been synchronized

10, after the synchronization is completed, the following display

Now that the mirror is configured, you start testing failover

Second, manual failover test

1, the main database right click--Task--mirror

Change run mode to High Security (no manual failover in high availability mode)

Click on the right failover, prompt to disconnect all links to the principal database

1, click Yes, start to restore to the mirror database, the following image is performing the mirroring process

4, at this time the display mirror is nearly complete, the main database was transferred to the original mirror database HYTEST02. The entire process is completed in 1 seconds.

To be continued, next, install the witness server, configure automatic failover

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.