Solved

Database Mirroring issue

Posted on 2014-01-15
5
203 Views
Last Modified: 2014-01-31
Hello,

When trying to do a database mirror, I get the attached error after I go through the wizard.  Note that during the wizard everything connects just fine between servers and I get the green checkmarks at the end of the wizard.  When I click start mirroring, the attached error comes up.

Any ideas?  Here is the sql statement I used to create the endpoints:


USE [master]

GO

CREATE ENDPOINT [Mirroring]

        AUTHORIZATION [domain\administrator]

        STATE=STARTED

        AS TCP (LISTENER_PORT = 5022, LISTENER_IP = ALL)

        FOR DATA_MIRRORING (ROLE = PARTNER, AUTHENTICATION = WINDOWS NEGOTIATE

, ENCRYPTION = REQUIRED ALGORITHM AES RC4)

GO


Thanks,DB Mirror Issue
0
Comment
Question by:soadmin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 13

Expert Comment

by:magarity
ID: 39783773
The mirror port 5022 is different from the basic connection port; I suggest checking the firewall rules both on the server and at the network switches as a first step.  The network switch port rules are a likely culprit.  You might have to ask for help from your network admin.
0
 

Author Comment

by:soadmin
ID: 39785603
Hello,

I use port 1533 and have set everything correctly.  I can telnet to each server with port 5022, and 1533.  I cannot telnet to port 1434 however, even though I have put a firewall rule in place on the windows firewall.  Also, when I open up sql and do browse for more server and click on network servers, I do not see the mirror server from the principal and vice versa.  Could this be the problem?
0
 
LVL 13

Expert Comment

by:magarity
ID: 39786154
Well, it's really hard to diagnose without being there but it does suspiciously sound like a case of a blocking rule somewhere. Have you checked the settings in the connection manager (under sql server > configuration tools from the start menu)?  Is your company big enough to have a dedicated networking admin and did you check with that person?  Network switch filewall and or port forwarding rules will frequently stop this kind of thing too.
0
 

Author Comment

by:soadmin
ID: 39786196
Hello,

Yes, I forgot to mention that I did check with them and they said they are not blocking anything.  Could this be due to the size of the database?

What settings do I need to look at in connection manager?
0
 
LVL 13

Accepted Solution

by:
magarity earned 500 total points
ID: 39786877
Here's the mirror setup troubleshooting checklist on technet. Do the 6 items in the 'endpoints' section: http://technet.microsoft.com/en-us/library/ms189127.aspx#Endpoints
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A procedure for exporting installed hotfix details of remote computers using powershell
In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question