mirror--different SQL Server versions use the default mirroring endpoint encryption algorithm

Source: Internet
Author: User

In the construction of the image encountered a small problem, building the mirror times wrong, troubleshooting long time, certificate/user/login/connection authorization and other aspects have done one by one, did not find the exception, and finally generate the mirror endpoint creation script, only to find the cause of the problem:

The mirroring endpoint creation script for the Mirror Master node (10.50.4276) is:

CREATE ENDPOINT [Endpoint_mirror_server]     state =STARTED    5022, listener_ip = all )    = all, authentication == REQUIRED algorithm RC4)

In the Mirror-ready node (10.50.2500) Mirroring endpoint creation script is:

CREATEENDPOINT[Endpoint_mirror_server] State=STARTED asTCP (Listener_port= 5022, LISTENER_IP=  All)     forData_mirroring (ROLE=  All, authentication=CERTIFICATE[cert_2], encryption=REQUIRED algorithm AES)


Because the encryption algorithm is not specified when the mirroring endpoint is created, and the default encryption algorithm is different for different versions, resulting in the last image not being built properly, the workaround: Modify one of the nodes ' encryption algorithms to use the same encryption algorithm on both sides of the mirror.

--===================================

Summarize:

1. The encryption algorithms on both sides of the mirror must be consistent or not be built

2. If the mirror ends are only minor versions, you can set up the image (first make sure the backup node can back up the primary node)

--=================================

Sister pressure Field

mirror--different SQL Server versions use the default mirroring endpoint encryption algorithm

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.