SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Help setting up Mirroring on my Test pc in SQL Server 2012 Developer.


Help setting up Mirroring on my Test pc in SQL Server 2012 Developer.

Author
Message
mcdba@russweb.co.uk
mcdba@russweb.co.uk
SSC Rookie
SSC Rookie (28 reputation)SSC Rookie (28 reputation)SSC Rookie (28 reputation)SSC Rookie (28 reputation)SSC Rookie (28 reputation)SSC Rookie (28 reputation)SSC Rookie (28 reputation)SSC Rookie (28 reputation)

Group: General Forum Members
Points: 28 Visits: 224
Hi,

I am following the article on this site about setting up Database Mirroring and am having a bit of difficulty setting it up in my test environment.

I have recently installed SQL Server 2012 Developer Edition on my pc so that I can test mirroring.

To do this I have installed 3 instances and enabaled Named Pipes and TCP/IP. I have 1 default instance and 2 named instances.

I have backed up and restored the DB and the Tlog onto the secondary sever.

I have managed to created the enpoints (As all 3 are on the same machine I have given each one a separate port number).

I have run the alter databse on the secondary server.

The issue I am having is when I run the alter database on the primary server to set the partner database I get the following error

Msg 1418, Level 16, State 1, Line 1
The server network address "TCP://MY-PC.local:5023" can not be reached or does not exist. Check the network address name and that the ports for the local and remote endpoints are operational.

I have checked the endpoints and they are present and started. I have aslo checked that the user is in the relevant local policy as specifed in the article.

Can anyone suggest what I am missing?



mcdba@russweb.co.uk
mcdba@russweb.co.uk
SSC Rookie
SSC Rookie (28 reputation)SSC Rookie (28 reputation)SSC Rookie (28 reputation)SSC Rookie (28 reputation)SSC Rookie (28 reputation)SSC Rookie (28 reputation)SSC Rookie (28 reputation)SSC Rookie (28 reputation)

Group: General Forum Members
Points: 28 Visits: 224
I have now fixed this issue. It seems that even though all 3 instances are on my local machine they need to run with a windows account rather than the default system accounts the services use when SQL is installed.



Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search