Setting Up Database Mirroring or Availability Groups Using Certificates

Setting Up Database Mirroring or Availability Groups Using Certificates

If you need to set up database mirroring in SQL Server using certificates, or if you need to set up availability groups using certificates, then prepare for a long and tedious step-by-step scripting that you need to do on each one of the nodes. Fortunately, there is a very good resource on the Microsoft documentation: Example: Setting Up Database Mirroring Using Certificates (Transact-SQL).

This page provides explanations and scripts for the 4 steps you need to take:

  1. Configuring Outbound Connections
  2. Configuring Inbound Connections
  3. Creating the Mirror Database
  4. Configuring the Mirroring Partners

If you follow the directions and execute the scripts in the right order and on the right nodes, then you should be OK. It’s very easy to make mistakes, so don’t do this in the middle of the night or after a shot of Tequila. You need to be focused.

Good luck!

Mordechai Danielov

CEO at BitWise | Helping CTOs | We take complicated things and make them simple

6 年

Another excuse to write cool admin scripts :)

回复

要查看或添加评论,请登录

Guy Glantser的更多文章

  • SQL Saturday Albany 2019

    SQL Saturday Albany 2019

    I love speaking and I love to travel. And I'm fortunate to be able to combine the two from time to time.

    7 条评论
  • My Recap of SQL Saturday Athens

    My Recap of SQL Saturday Athens

    I had the honor and the pleasure to speak in SQL Saturday Athens last week. It was a short visit to Athens, but I…

    6 条评论
  • Introduction to Azure Machine Learning

    Introduction to Azure Machine Learning

    Last week I presented a session about Azure Machine Learning in the Big Data Demystified meetup. It was an introductory…

    3 条评论
  • Average Number of Commands in Replication Transactions

    Average Number of Commands in Replication Transactions

    Recently I had the pleasure of troubleshooting transactional replication with multiple publications and large…

    1 条评论
  • How We Improve the Quality of Our Services

    How We Improve the Quality of Our Services

    Once a year we run a customer satisfaction survey among our customers. It's important for us to provide the best…

  • SQL Saturday Israel 2019

    SQL Saturday Israel 2019

    It's over. And it was awesome! SQL Saturday Israel is just getting better every year.

    2 条评论
  • Benchmarking

    Benchmarking

    As DBAs, in almost every work that we do on SQL Server, we change something. We might be rewriting a query, adding a…

  • My SQLBits 2019 Session

    My SQLBits 2019 Session

    I have just finished my session in #SQLBits - How to Make Sure Your SSIS Packages Will Never Fail. I began my session…

    4 条评论
  • Working with Very Large Tables

    Working with Very Large Tables

    In July and August 2017, I presented an online session with the title “Working with Very Large Tables Like a Pro in SQL…

  • Customer Satisfaction Survey 2018 - The Results

    Customer Satisfaction Survey 2018 - The Results

    One of our core values is Service Experience. It's really important for us to provide a unique level of service to our…

    3 条评论

社区洞察

其他会员也浏览了