Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase 12»»

Problem in Configuring Mirroring Expand / Collapse
Author
Message
Posted Saturday, December 8, 2012 3:51 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Sunday, August 3, 2014 4:04 AM
Points: 203, Visits: 500
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.
Post #1394316
Posted Saturday, December 8, 2012 10:12 AM


SSC-Insane

SSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-Insane

Group: General Forum Members
Last Login: Today @ 1:25 PM
Points: 23,396, Visits: 32,236

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.



Lynn Pettis

For better assistance in answering your questions, click here
For tips to get better help with Performance Problems, click here
For Running Totals and its variations, click here or when working with partitioned tables
For more about Tally Tables, click here
For more about Cross Tabs and Pivots, click here and here
Managing Transaction Logs

SQL Musings from the Desert Fountain Valley SQL (My Mirror Blog)
Post #1394340
Posted Monday, December 10, 2012 3:01 PM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 9:39 AM
Points: 6,351, Visits: 13,679
see this link for configuring mirroring using certificates.

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

"Ya can't make an omelette without breaking just a few eggs"
Post #1394796
Posted Tuesday, December 11, 2012 2:02 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Sunday, August 3, 2014 4:04 AM
Points: 203, Visits: 500
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.
Post #1394945
Posted Tuesday, December 11, 2012 4:58 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 9:39 AM
Points: 6,351, Visits: 13,679
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"
Post #1395054
Posted Wednesday, December 12, 2012 3:22 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Sunday, August 3, 2014 4:04 AM
Points: 203, Visits: 500
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?
Post #1395549
Posted Wednesday, December 12, 2012 3:34 AM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Tuesday, August 19, 2014 12:26 AM
Points: 2,840, Visits: 3,963
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
Post #1395556
Posted Wednesday, December 12, 2012 3:34 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 9:39 AM
Points: 6,351, Visits: 13,679
Try refreshing the connections

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

"Ya can't make an omelette without breaking just a few eggs"
Post #1395557
Posted Wednesday, December 12, 2012 3:51 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Sunday, August 3, 2014 4:04 AM
Points: 203, Visits: 500
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.
Post #1395563
Posted Wednesday, December 12, 2012 4:07 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Wednesday, December 12, 2012 3:50 AM
Points: 1, Visits: 0
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
Post #1395572
« Prev Topic | Next Topic »

Add to briefcase 12»»

Permissions Expand / Collapse