Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Database Mirroring issue

Posted on 2014-01-15
5
Medium Priority
?
212 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
  • 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 2000 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

Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

Question has a verified solution.

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

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 ?
Resolving an irritating Remote Desktop connection that stops your saved credentials from being used.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

885 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