Problem in Configuring Mirroring

  • Dear,

    I am trying to configure mirroring. Principal server is Serv1 and Mirror server is Serv2. Both servers are running SQL Server using Local System Account and both are installed using Mixed Mode authentication. Serv1 is not under domain controller but Serv2 is under a domain controller. Both are accessible using SQL Server Browser. While configuring mirroring, I select Principal Server and Mirror Server Instance and connect them using SQL Server Authentication and I keep Service accounts field blank. But when I click on Start Mirroring, an error message displays,

    Error:

    The server network address "TCP://Serv2:5022" 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. (Microsoft SQL Server, Error: 1418)

    Please help me in this regard.

  • As it looks like your servers are not part of the same domain and are using local service accounts, you may need to look at using certificates to configure the database mirroring connects. I haven't done this, but I believe that Books Online can assist you here. Also, you may want to try Googling for database mirroring using certificates.

  • see this link for configuring mirroring using certificates.

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • Thank you, all for helping me.

    I have solved the problem. I followed the several ways in both Principal and Mirror Server as follows.

    |--Created two new local users Server1\ABC (P) and Server2\ABC (M)

    |--Run SQL Server and SQL Server Agent by Server1\ABC (P) and Server2\ABC (M)

    |--Created two new logins by Server1\ABC (P) and Server2\ABC (M) with windows authentication in SSMS

    |--Grant Connect to Endpoint::Mirroring To [Server1\ABC] (P) and [Server2\ABC] (M)

    Then I configured database mirroring. Now its working fine.

    Is there any security issue? Please let me know.

  • shohelr2003 (12/11/2012)


    Is there any security issue? Please let me know.

    Yes, hence why you should use certificates!! See more on NTLM and passthrough authentication at this link.

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • After configuring mirroring, I opened Mirroring Monitor and I got the following scenarios.

    @Principal,

    @Mirror,

    Though it is shown that "Synchronized" but why is it showing "Not Connected to"? Please let me know is everything ok?

  • Try refreshing the connections

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • shohelr2003 (12/12/2012)


    After configuring mirroring, I opened Mirroring Monitor and I got the following scenarios.

    @Principal,

    @Mirror,

    screenshot not visible

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • Thank you, All. I solved the prob. Just going to Mirroring Monitor, right click on Database Mirroring Monitor Node and select Manage Server Instance Connections. After that I connected Server using SQL Server Authentication. So solved the prob.

  • In this tip I am going to outline my environment and then walk through the process of setting up Database Mirroring. This will include the configurations, backups, restores and verification process.

    1) On the folder ( where all Databases are present ) given full control permission to DOMAIN user account ( principle and mirror server )

    2) Started the SQL server service on both the servers ( principle and mirror server ) with same DOMAIN user Account

    3) Logged on both servers with DOMAIN User Account ( on mirror to restire database and tlog )

    4) connected to SQL server ( using Managemnet studio on principle server ) with windows Authentication

    5) verified that able to telnet on port 5022

    6) Created End points and configured mirroing

    ---

    IT Services

  • @sjumani8462,

    Actually I have tried in several environments. Under domain controller, beyond domain controller, local account etc. However, now I am successful to configure mirroring in different situations.

    Thank you all to cooperate with me.

Viewing 11 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic. Login to reply